/* ============================================================
   DESIGN SYSTEM V2 EXTRAS — Rediseño Profesional 2026-05-07
   Video hero, Destinos, Experiencias, Footer logo, Header shrink,
   Paginas internas V2 unificadas, Partners, Noticias fix
   ============================================================ */

/* 1. VIDEO HERO — Visible en desktop y mobile con poster fallback */
.hero__video-wrapper { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video-wrapper iframe { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%, -50%); object-fit: cover; pointer-events: none; }
.hero__video-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(26,58,10,0.30) 0%, rgba(26,58,10,0.50) 40%, rgba(26,58,10,0.85) 100%); }

/* Mobile: video sigue activo pero con poster de backup visible */
.hero__video-poster { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
@media (min-width: 768px) { .hero__video-poster { display: none; } }

/* Mejora: animación sutil en el poster */
.hero__video-poster { animation: heroPosterFade 1.5s ease-out; }
@keyframes heroPosterFade { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }

/* 2. DESTINOS */
.destinos-section { padding: 80px 0; background: var(--white); }
@media (max-width: 767px) { .destinos-section { padding: 48px 0; } }
.destinos-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 1023px) { .destinos-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (max-width: 767px) { .destinos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px; } }
.destino-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; cursor: pointer; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease; }
.destino-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.destino-card__image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.destino-card:hover .destino-card__image { transform: scale(1.08); }
.destino-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,58,10,0.85) 0%, rgba(26,58,10,0.20) 50%, rgba(26,58,10,0.05) 100%); z-index: 1; }
.destino-card__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 20px; z-index: 2; color: var(--white); }
.destino-card__location { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--gold-light); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.destino-card__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.destino-card__meta { font-size: 0.875rem; color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 6px; }
.destino-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.875rem; font-weight: 600; color: var(--gold-light); transition: color 0.2s ease; }
.destino-card:hover .destino-card__cta { color: var(--white); }
.destino-card__cta .material-icons { font-size: 16px; transition: transform 0.2s ease; }
.destino-card:hover .destino-card__cta .material-icons { transform: translateX(4px); }

/* 3. EXPERIENCIAS BENTO */
.experiencias-section { padding: 80px 0; background: var(--green-bg); }
@media (max-width: 767px) { .experiencias-section { padding: 48px 0; } }
.experiencias-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 280px); gap: 20px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 1023px) { .experiencias-bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 220px); gap: 16px; } }
@media (max-width: 767px) { .experiencias-bento { grid-template-columns: 1fr; grid-template-rows: auto; gap: 12px; padding: 0 16px; } }
.bento-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease; }
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bento-item--large { grid-column: span 2; grid-row: span 2; }
@media (max-width: 1023px) { .bento-item--large { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 767px) { .bento-item--large { grid-column: span 1; grid-row: span 1; min-height: 240px; } }
.bento-item__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.bento-item:hover .bento-item__bg { transform: scale(1.05); }
.bento-item__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,58,10,0.80) 0%, rgba(26,58,10,0.30) 60%, rgba(26,58,10,0.10) 100%); z-index: 1; }
.bento-item__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 24px; z-index: 2; color: var(--white); }
.bento-item__icon { width: 48px; height: 48px; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.bento-item__icon .material-icons-outlined { font-size: 24px; color: var(--gold-light); }
.bento-item__title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.bento-item__desc { font-size: 0.9375rem; color: rgba(255,255,255,0.8); line-height: 1.5; }
.bento-item--stat { background: var(--green-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.bento-item--stat .bento-item__number { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.bento-item--stat .bento-item__label { font-size: 1rem; color: rgba(255,255,255,0.8); font-weight: 500; }
@media (max-width: 767px) { .bento-item--stat .bento-item__number { font-size: 2.5rem; } }

/* 4. FOOTER LOGO */
.footer-brand__logo-svg { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand__logo-svg img { width: 48px; height: 48px; flex-shrink: 0; }
.footer-brand__logo-svg .footer-brand__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); }

/* 5. HEADER SHRINK */
@media (max-width: 767px) { .site-header { padding: 12px 0; transition: padding 0.3s ease, background 0.3s ease; } .site-header.is-scrolled, .site-header--scrolled { padding: 8px 0; } .site-header.is-scrolled .header-logo__img, .site-header--scrolled .header-logo__img { width: 48px; height: 48px; } .site-header.is-scrolled .header-logo__name, .site-header--scrolled .header-logo__name { font-size: 1rem; } }

/* 6. PAGE HERO V2 */
.page-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; padding: 80px 0 48px; overflow: hidden; background: #1a3a0a; }
@media (max-width: 767px) { .page-hero { min-height: 280px; padding: 60px 0 32px; } }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,58,10,0.40) 0%, rgba(26,58,10,0.70) 60%, rgba(26,58,10,0.90) 100%); z-index: 1; }
.page-hero__content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
.page-hero__title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 12px; }
.page-hero__subtitle { font-size: 1.125rem; color: rgba(255,255,255,0.75); max-width: 600px; line-height: 1.6; }

/* Breadcrumbs V2 */
.breadcrumb-v2 { margin-bottom: 20px; }
.breadcrumb-v2__list { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.breadcrumb-v2__item { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.breadcrumb-v2__item a { color: rgba(255,255,255,0.85); transition: color 0.2s ease; }
.breadcrumb-v2__item a:hover { color: var(--gold-light); }
.breadcrumb-v2__separator { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.breadcrumb-v2__item--active { color: var(--white); font-weight: 500; }

/* 7. PAGE CONTENT */
.page-content { padding: 64px 0; background: var(--white); }
@media (max-width: 767px) { .page-content { padding: 40px 0; } }
.page-content__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 767px) { .page-content__inner { padding: 0 16px; } }
.page-content__body { font-size: 1.0625rem; line-height: 1.8; color: var(--text); }
.page-content__body h2 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--green-dark); margin: 48px 0 20px; line-height: 1.2; }
.page-content__body h3 { font-family: var(--font-body); font-size: 1.25rem; font-weight: 700; color: var(--green-dark); margin: 32px 0 12px; }
.page-content__body p { margin-bottom: 16px; }
.page-content__body ul, .page-content__body ol { margin: 16px 0; padding-left: 24px; }
.page-content__body li { margin-bottom: 8px; }
.page-content__body a { color: var(--green-brand); text-decoration: underline; text-underline-offset: 3px; }
.page-content__body a:hover { color: var(--green-dark); }
.page-content__body img { border-radius: var(--radius-md); margin: 24px 0; }
.page-content__body blockquote { border-left: 4px solid var(--gold); padding-left: 20px; margin: 24px 0; font-style: italic; color: var(--text-sec); }

/* 8. STATS BAR */
.stats-bar { background: var(--green-dark); padding: 48px 0; }
.stats-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; padding: 0 24px; text-align: center; }
@media (max-width: 767px) { .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 0 16px; } }
.stats-bar__number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stats-bar__label { font-size: 0.9375rem; color: rgba(255,255,255,0.75); font-weight: 500; }

/* 9. TIMELINE */
.timeline { position: relative; padding: 0; margin: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--green-bg); }
@media (min-width: 768px) { .timeline::before { left: 50%; margin-left: -1px; } }
.timeline__item { position: relative; padding-left: 56px; margin-bottom: 40px; }
@media (min-width: 768px) { .timeline__item { padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; } .timeline__item:nth-child(odd) .timeline__content { text-align: right; padding-right: 48px; } .timeline__item:nth-child(even) .timeline__content { grid-column: 2; padding-left: 48px; } }
.timeline__dot { position: absolute; left: 12px; top: 4px; width: 16px; height: 16px; background: var(--gold); border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--green-bg); z-index: 1; }
@media (min-width: 768px) { .timeline__dot { left: 50%; margin-left: -8px; } }
.timeline__year { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.timeline__title { font-size: 1.125rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.timeline__desc { font-size: 0.9375rem; color: var(--text-sec); line-height: 1.6; }

/* 10. FAQ V2 */
.faq-v2 { padding: 64px 0; background: var(--white); }
.faq-v2__search { max-width: 600px; margin: 0 auto 40px; position: relative; }
.faq-v2__search-input { width: 100%; padding: 16px 24px 16px 52px; border: 2px solid var(--border); border-radius: var(--radius-full); font-family: var(--font-body); font-size: 1rem; color: var(--text); background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq-v2__search-input:focus { outline: none; border-color: var(--green-brand); box-shadow: 0 0 0 4px rgba(139,168,65,0.15); }
.faq-v2__search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-light); }
.faq-v2__tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.faq-v2__tab { padding: 10px 20px; border-radius: var(--radius-full); font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; color: var(--text-sec); background: var(--green-bg); border: none; cursor: pointer; transition: all 0.2s ease; }
.faq-v2__tab:hover { background: var(--green-bg2); }
.faq-v2__tab--active { background: var(--green-dark); color: var(--white); }
.faq-v2__accordion { max-width: 800px; margin: 0 auto; }
.faq-v2__item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-v2__question { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; background: none; border: none; padding: 0; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; color: var(--green-dark); text-align: left; cursor: pointer; }
.faq-v2__question .material-icons { flex-shrink: 0; transition: transform 0.3s ease; color: var(--green-brand); }
.faq-v2__item.is-open .faq-v2__question .material-icons { transform: rotate(180deg); }
.faq-v2__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-v2__item.is-open .faq-v2__answer { max-height: 500px; padding-top: 16px; }
.faq-v2__answer p { font-size: 0.9375rem; color: var(--text-sec); line-height: 1.7; margin: 0; }
.faq-v2__contact { text-align: center; margin-top: 48px; padding: 32px; background: var(--green-bg); border-radius: var(--radius-lg); }
.faq-v2__contact-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--green-dark); margin-bottom: 12px; }
.faq-v2__contact-text { font-size: 1rem; color: var(--text-sec); margin-bottom: 20px; }

/* 11. CONTACTO V2 */
.contacto-v2 { padding: 64px 0; background: var(--white); }
.contacto-v2__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 767px) { .contacto-v2__grid { grid-template-columns: 1fr; gap: 32px; padding: 0 16px; } }
.contacto-v2__info { display: flex; flex-direction: column; gap: 24px; }
.contacto-v2__card { background: var(--green-bg); border-radius: var(--radius-lg); padding: 24px; }
.contacto-v2__card-icon { width: 48px; height: 48px; background: var(--green-dark); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.contacto-v2__card-icon .material-icons-outlined { font-size: 24px; color: var(--gold); }
.contacto-v2__card-title { font-size: 1.125rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.contacto-v2__card-text { font-size: 0.9375rem; color: var(--text-sec); line-height: 1.6; }
.contacto-v2__card-text a { color: var(--green-brand); font-weight: 600; }
.contacto-v2__horario { background: var(--gold-pale); border-radius: var(--radius-lg); padding: 24px; border-left: 4px solid var(--gold); }
.contacto-v2__horario-title { font-size: 1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.contacto-v2__horario-list { list-style: none; padding: 0; margin: 0; }
.contacto-v2__horario-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.9375rem; }
.contacto-v2__horario-list li:last-child { border-bottom: none; }
.contacto-v2__horario-day { color: var(--text); font-weight: 500; }
.contacto-v2__horario-time { color: var(--text-sec); }
.contacto-v2__map { border-radius: var(--radius-lg); overflow: hidden; height: 100%; min-height: 300px; background: var(--green-bg); }

/* 12. COLEGIOS V2 */
.colegios-v2__cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 1023px) { .colegios-v2__cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .colegios-v2__cases { grid-template-columns: 1fr; } }
.colegios-v2__case { background: var(--green-bg); border-radius: var(--radius-lg); padding: 32px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.colegios-v2__case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.colegios-v2__case-icon { width: 64px; height: 64px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: var(--shadow-sm); }
.colegios-v2__case-icon .material-icons-outlined { font-size: 28px; color: var(--green-brand); }
.colegios-v2__case-title { font-size: 1.125rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.colegios-v2__case-desc { font-size: 0.9375rem; color: var(--text-sec); line-height: 1.6; }
.colegios-v2__cta-banner { background: var(--green-dark); border-radius: var(--radius-lg); padding: 48px; text-align: center; margin-top: 48px; color: var(--white); }
.colegios-v2__cta-banner h3 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
.colegios-v2__cta-banner p { font-size: 1rem; color: rgba(255,255,255,0.75); margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* 13. EQUIPO V2 */
.equipo-v2__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 1023px) { .equipo-v2__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .equipo-v2__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.equipo-v2__member { text-align: center; }
.equipo-v2__photo { width: 120px; height: 120px; border-radius: 50%; background: var(--green-bg); margin: 0 auto 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.equipo-v2__photo .material-icons-outlined { font-size: 48px; color: var(--green-brand); }
.equipo-v2__name { font-size: 1.0625rem; font-weight: 700; color: var(--green-dark); margin-bottom: 4px; }
.equipo-v2__role { font-size: 0.875rem; color: var(--text-sec); }
.equipo-v2__values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 767px) { .equipo-v2__values { grid-template-columns: 1fr; } }
.equipo-v2__value { text-align: center; padding: 32px 24px; background: var(--green-bg); border-radius: var(--radius-lg); }
.equipo-v2__value-icon { width: 56px; height: 56px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: var(--shadow-sm); }
.equipo-v2__value-icon .material-icons-outlined { font-size: 28px; color: var(--green-brand); }
.equipo-v2__value-title { font-size: 1.125rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.equipo-v2__value-desc { font-size: 0.9375rem; color: var(--text-sec); line-height: 1.6; }

/* 14. DETALLE CAMPAMENTO V2 */
.camp-detail__hero { position: relative; min-height: 500px; display: flex; align-items: flex-end; padding: 80px 0 48px; overflow: hidden; }
@media (max-width: 767px) { .camp-detail__hero { min-height: 350px; padding: 60px 0 32px; } }
.camp-detail__hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.camp-detail__hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,58,10,0.30) 0%, rgba(26,58,10,0.60) 50%, rgba(26,58,10,0.90) 100%); z-index: 1; }
.camp-detail__hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
@media (max-width: 767px) { .camp-detail__hero-content { grid-template-columns: 1fr; padding: 0 16px; } }
.camp-detail__title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 12px; }
.camp-detail__subtitle { font-size: 1.125rem; color: rgba(255,255,255,0.75); }
.camp-detail__price-box { background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-lg); padding: 24px; text-align: center; color: var(--white); min-width: 200px; }
@media (max-width: 767px) { .camp-detail__price-box { width: 100%; } }
.camp-detail__price-label { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-light); margin-bottom: 8px; }
.camp-detail__price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.camp-detail__price-note { font-size: 0.875rem; color: rgba(255,255,255,0.65); margin-top: 8px; }
.camp-detail__cta-sticky { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); box-shadow: 0 -4px 20px rgba(0,0,0,0.1); padding: 16px 24px; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 16px; transform: translateY(100%); transition: transform 0.3s ease; }
.camp-detail__cta-sticky.is-visible { transform: translateY(0); }
@media (min-width: 768px) { .camp-detail__cta-sticky { display: none; } }
.camp-detail__cta-sticky-info { flex: 1; }
.camp-detail__cta-sticky-title { font-size: 0.9375rem; font-weight: 700; color: var(--green-dark); margin-bottom: 2px; }
.camp-detail__cta-sticky-price { font-size: 1.125rem; font-weight: 700; color: var(--gold); }
.camp-detail__gallery { padding: 48px 0; background: var(--white); }
.camp-detail__gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 1023px) { .camp-detail__gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .camp-detail__gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px; } }
.camp-detail__gallery-item { aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; background-size: cover; background-position: center; cursor: pointer; transition: transform 0.3s ease; }
.camp-detail__gallery-item:hover { transform: scale(1.03); }
.camp-detail__info-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 48px 24px; }
@media (max-width: 767px) { .camp-detail__info-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px 16px; } }
.camp-detail__sidebar { display: flex; flex-direction: column; gap: 24px; }
.camp-detail__sidebar-card { background: var(--green-bg); border-radius: var(--radius-lg); padding: 24px; }
.camp-detail__sidebar-card h4 { font-size: 1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.camp-detail__sidebar-card h4 .material-icons-outlined { font-size: 20px; color: var(--green-brand); }
.camp-detail__sidebar-list { list-style: none; padding: 0; margin: 0; }
.camp-detail__sidebar-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.9375rem; color: var(--text); border-bottom: 1px solid rgba(0,0,0,0.06); }
.camp-detail__sidebar-list li:last-child { border-bottom: none; }
.camp-detail__sidebar-list .material-icons-outlined { font-size: 18px; color: var(--green-brand); flex-shrink: 0; }
.camp-detail__badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--radius-full); font-size: 0.8125rem; font-weight: 600; }
.camp-detail__badge--available { background: #E8F5E9; color: #2E7D32; }
.camp-detail__badge--limited { background: #FFF3E0; color: #E65100; }
.camp-detail__badge--waitlist { background: #F5F5F5; color: #616161; }

/* ============================================================
   15. PARTNERS / COLEGIOS — Marquee infinito
   ============================================================ */
.partners-section { padding: 80px 0; background: var(--green-bg); overflow: hidden; }
@media (max-width: 767px) { .partners-section { padding: 48px 0; } }
.partners-header { text-align: center; margin-bottom: 48px; padding: 0 24px; }
.partners-marquee { position: relative; width: 100%; overflow: hidden; }
.partners-marquee::before,
.partners-marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.partners-marquee::before { left: 0; background: linear-gradient(to right, var(--green-bg), transparent); }
.partners-marquee::after { right: 0; background: linear-gradient(to left, var(--green-bg), transparent); }
.partners-track { display: flex; gap: 48px; width: max-content; animation: marqueeScroll 30s linear infinite; }
.partners-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.partner-logo { display: flex; align-items: center; gap: 12px; padding: 16px 28px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; flex-shrink: 0; }
.partner-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.partner-logo__initials { width: 40px; height: 40px; background: var(--green-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; color: var(--green-dark); flex-shrink: 0; }
.partner-logo__name { font-size: 0.9375rem; font-weight: 600; color: var(--text); white-space: nowrap; }
@media (max-width: 767px) { .partners-track { gap: 24px; animation-duration: 20s; } .partner-logo { padding: 12px 20px; } .partner-logo__name { font-size: 0.875rem; } }

/* ============================================================
   16. NOTICIAS FIX — Grid proporcionado, no aplastado
   ============================================================ */
.news-section { position: relative; background-image: url('/sites/default/files/imagenes-instalaciones/gredos.JPG'); background-size: cover; background-position: center; background-attachment: fixed; }
.news-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(45, 80, 22, 0.92), rgba(61, 107, 30, 0.88)); }
.news-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.news-heading { text-align: center; margin-bottom: 48px; }
.news-heading h2,
.news-heading__title h2,
.news-heading__title p { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; color: var(--white); margin-bottom: 8px; }
.news-heading p { color: rgba(255,255,255,0.75); font-size: 1.0625rem; }

/* Grid principal: 3 columnas fijas en desktop, responsive en mobile */
.news-grid { display: block; width: 100%; max-width: 1200px; margin: 0 auto; }
.news-grid .views-element-container,
.news-grid .view,
.news-grid .view-content,
.news-grid .item-list { display: block; width: 100%; }
.news-grid ul,
.news-grid .item-list ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 1023px) { .news-grid ul, .news-grid .item-list ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .news-grid ul, .news-grid .item-list ul { grid-template-columns: 1fr; gap: 16px; } }
.news-grid ul li { list-style: none; }

/* Cards de noticias: altura proporcionada con imagen */
.news-grid .E-noticia-teaser,
.news-grid .views-row { display: block; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.15); transition: transform 0.3s ease, box-shadow 0.3s ease; background: var(--white); }
.news-grid .E-noticia-teaser:hover,
.news-grid .views-row:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }

.news-grid .E-noticia-teaser a,
.news-grid .views-row a { display: flex; flex-direction: column; min-height: 340px; text-decoration: none; border-radius: var(--radius-md); overflow: hidden; position: relative; }

/* Imagen de fondo en la card */
.news-grid .E-noticia-teaser a::before,
.news-grid .views-row a::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.news-grid .E-noticia-teaser a::after,
.news-grid .views-row a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.40) 50%, rgba(0,0,0,0.10) 100%); z-index: 1; border-radius: var(--radius-md); }

/* Contenido de la card */
.news-grid .E-noticia-teaser a > div,
.news-grid .views-row a > div { position: relative; z-index: 2; padding: 24px; margin-top: auto; background: transparent; }
.news-grid .E-noticia-teaser h2,
.news-grid .views-row h2 { color: var(--white); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin: 0 0 8px 0; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.news-grid .E-noticia-teaser .field--name-field-fecha,
.news-grid .views-row .field--name-field-fecha { font-size: 0.75rem; font-weight: 600; color: var(--gold-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.news-grid .E-noticia-teaser .field--name-body,
.news-grid .views-row .field--name-body { font-size: 0.875rem; color: rgba(255,255,255,0.8); line-height: 1.6; }

/* Link "Ver todas" */
.news-grid .more-link,
.news-grid a[href*='/noticias'] { display: inline-block; margin: 32px auto 0; padding: 12px 28px; background: transparent; border: 2px solid var(--gold); border-radius: 50px; color: var(--gold); font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; transition: all 0.2s ease; }
.news-grid .more-link:hover,
.news-grid a[href*='/noticias']:hover { background: var(--gold); color: var(--green-dark); }
.news-grid .view-footer { text-align: center; display: block; width: 100%; }

/* ============================================================
   17. ANIMACIONES PREMIUM — Scroll reveals, parallax, counters
   ============================================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 0 0 rgba(200,168,78,0.4); } 50% { box-shadow: 0 0 0 12px rgba(200,168,78,0); } }

/* Scroll reveal con IntersectionObserver */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Parallax sutil en hero */
.hero__video-poster,
.hero__bg { will-change: transform; }

/* Counter animation helper */
.counter-animate { display: inline-block; }

/* ============================================================
   18. TIPOGRAFIA PREMIUM — Espaciado, escala, refinamientos
   ============================================================ */
.section-title { letter-spacing: -0.02em; line-height: 1.1; }
.section-subtitle { line-height: 1.7; max-width: 600px; }

/* Mejor espaciado entre secciones */
.section { padding: 120px 0; }
@media (max-width: 767px) { .section { padding: 64px 0; } }

/* Hero title más impactante */
.hero__title { letter-spacing: -0.03em; text-wrap: balance; }
.hero__subtitle { line-height: 1.7; max-width: 540px; }

/* Cards con más aire */
.value-card { padding: 32px 28px; }
.testimonial-card { padding: 32px; }

/* ============================================================
   19. EFECTOS VISUALES AVANZADOS
   ============================================================ */
/* Glassmorphism mejorado en header */
.site-header.is-scrolled,
.site-header--scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8); box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.08); }

/* Sombras más realistas */
.shadow-premium { box-shadow: 0 1px 2px rgba(45,80,22,0.04), 0 4px 8px rgba(45,80,22,0.06), 0 12px 24px rgba(45,80,22,0.08); }

/* Gradientes más sutiles */
.gradient-overlay-soft { background: linear-gradient(180deg, rgba(26,58,10,0.15) 0%, rgba(26,58,10,0.40) 50%, rgba(26,58,10,0.80) 100%); }

/* Focus states accesibles */
a:focus-visible, button:focus-visible { outline: 2px solid var(--green-brand); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   20. HERO MEJORAS — Stats flotantes, badge premium
   ============================================================ */
.badge-heritage { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.2); padding: 8px 18px; border-radius: 50px; font-size: 0.8125rem; font-weight: 600; color: var(--gold-light); margin-bottom: 20px; letter-spacing: 0.08em; text-transform: uppercase; }
.badge-heritage::before { content: ''; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: pulse-glow 2s ease infinite; }

/* Hero stats flotantes (desktop) */
.hero__stats { display: none; }
@media (min-width: 1024px) { .hero__stats { display: flex; position: absolute; right: 32px; bottom: 120px; z-index: 3; flex-direction: column; gap: 12px; } }
.hero__stat { background: rgba(255,255,255,0.10); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg); padding: 16px 24px; text-align: right; min-width: 160px; }
.hero__stat-number { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.hero__stat-label { font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.65); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }


/* ============================================================
   21. ANIMACIONES REVEAL — Scroll-triggered fade-up
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Ken Burns effect for hero background */
@keyframes kenBurns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__bg { animation: kenBurns 20s ease-out forwards; }

/* Counter animation */
@keyframes countUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }


/* ============================================================
   22. FAMILIA DE DISPLAY DE LOS TITULARES
   ------------------------------------------------------------
   Antes forzaba 'Cormorant Garamond' con !important. Medido el 2026-08-07:
   Cormorant NO se descarga en ninguna página (0 apariciones en los 15 HTML
   servidos, ausente de frontend.libraries.yml), así que estos 13 selectores
   llevaban años pintando Georgia en iPhone/macOS y Noto Serif en Android — no
   la fuente que decía el nombre. Ahora cuelgan de var(--font-display), que
   redesign-2026.css publica en :root (§26) y resuelve a Fraunces, que sí se
   descarga. Sin !important: una declaración en el elemento gana siempre a la
   herencia del body, así que no hace falta.
   ============================================================ */
.hero__title,
.hero__title em,
.section-title,
.page-hero__title,
.cta-banner__title,
.destino-card__title,
.bento-item__title,
.value-title,
.camp-card__title,
.news-card__title,
.testimonial-text,
.partner-logo__name,
.footer-brand__name {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
}

/* --- Marquesina home: logos colegios sin tarjeta, pequeños, fundidos al fondo
   claro (feedback operador 14-jun). La home SOLO carga design-system-v2 (no
   global-styling), por eso el marquee vive aquí y no en colegios-logos.css.
   ⚠️ mix-blend-mode: multiply requiere fondo claro (la sección es var(--green-bg)). --- */
.partners-track .partner-logo {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 24px;
  min-width: auto;
}
.partners-track .partner-logo:hover {
  transform: none;
  box-shadow: none;
}
.partner-logo__img {
  display: block;
  max-height: 42px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* ============================================================
   AGY MODERN CSS - WOW FACTOR FOR DRUPAL 11 HOMEPAGE
   ============================================================ */

/* 1. Fluid Typography Overrides for Hero */
.hero__title {
  font-size: clamp(2.5rem, 5vw + 1rem, 5.5rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  animation: hero-fade-up 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(40px);
}
@keyframes hero-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

.hero__subtitle {
  font-size: clamp(1.125rem, 1.2vw + 0.8rem, 1.5rem) !important;
  opacity: 0;
  animation: hero-fade-up 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s;
}

.hero__cta-group {
  opacity: 0;
  animation: hero-fade-up 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.4s;
}

/* 2. Glassmorphism & Hover effects for Buttons */
.btn--gold {
  transition: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-shadow: 0 4px 14px rgba(200, 168, 78, 0.3) !important;
}
.btn--gold:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 24px rgba(200, 168, 78, 0.5) !important;
}

/* 3. The Spotlight Hover Effect using :has() for Destinos Grid */
.destinos-grid {
  transition: 0.4s ease;
}
.destinos-grid:has(.destino-card:hover) .destino-card:not(:hover) {
  opacity: 0.4 !important;
  transform: scale(0.96) !important;
  filter: blur(3px) grayscale(30%);
}

.destino-card {
  transition: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  will-change: transform, opacity, filter;
}

.destino-card:hover {
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow: 0 24px 48px rgba(45, 80, 22, 0.25) !important;
  z-index: 10;
}

.bento-item {
  transition: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.bento-item:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: 0 20px 40px rgba(45, 80, 22, 0.2) !important;
  z-index: 10;
}
.experiencias-bento:has(.bento-item:hover) .bento-item:not(:hover) {
  opacity: 0.5 !important;
  transform: scale(0.98) !important;
}

/* 4. Native CSS Scroll-Driven Animations */
.destinos-section, .experiencias-section, .trust-bar {
  animation: scroll-reveal linear both;
  animation-timeline: view();
  animation-range: entry 5% cover 15%;
}

@keyframes scroll-reveal {
  from { opacity: 0; transform: translateY(60px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0px); }
}

/* 5. Smooth scrolling global */
html {
  scroll-behavior: smooth !important;
}

/* 6. WOW Header (Glassmorphism) */
.site-header {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(20px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
}
.site-header:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
}
.site-header .nav-link {
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  position: relative;
}
.site-header .nav-link:hover {
  color: var(--c-oro, #c8a84e) !important;
  transform: translateY(-2px) !important;
}
.site-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--c-oro, #c8a84e);
  transition: width 0.3s ease;
}
.site-header .nav-link:hover::after {
  width: 100%;
}

/* ============================================================
   AGY MODERN CSS - WOW FACTOR FOR INTERNAL PAGES (GLOBAL)
   ============================================================ */

/* Hero Animations for internal pages */
.page-hero__title, .camp-detail__title {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem) !important;
  line-height: 1.1 !important;
  animation: hero-fade-up 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

.page-hero__subtitle, .camp-detail__subtitle {
  animation: hero-fade-up 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s;
  opacity: 0;
}

.page-hero__bg, .camp-detail__hero-bg {
  animation: heroZoom 15s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}

/* Glassmorphism & Hover for Grid Cards (Colegios, Equipo, Campamentos) */
.colegios-v2__cases:has(.colegios-v2__case:hover) .colegios-v2__case:not(:hover),
.equipo-v2__grid:has(.equipo-v2__member:hover) .equipo-v2__member:not(:hover),
.equipo-v2__values:has(.equipo-v2__value:hover) .equipo-v2__value:not(:hover) {
  opacity: 0.5 !important;
  transform: scale(0.98) !important;
  filter: blur(2px);
}

.colegios-v2__case, .equipo-v2__value, .equipo-v2__member, .camp-detail__sidebar-card, .contacto-v2__card, .contacto-v2__horario {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  will-change: transform, box-shadow, filter;
}

.colegios-v2__case:hover, .equipo-v2__value:hover, .camp-detail__sidebar-card:hover, .contacto-v2__card:hover {
  transform: translateY(-10px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(200, 168, 78, 0.4) !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* Premium Forms (Contacto, Colegios, Inscripción) */
.form-item input.form-text,
.form-item input.form-email,
.form-item input.form-tel,
.form-item select.form-select,
.form-item textarea.form-textarea {
  width: 100%;
  padding: 16px 20px !important;
  border: 1px solid #ebebeb !important;
  border-radius: 8px !important;
  background: #fff !important;
  font-family: var(--f-base, 'Inter', sans-serif) !important;
  font-size: 1rem !important;
  color: #222 !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.form-item input:focus,
.form-item select:focus,
.form-item textarea:focus {
  outline: none !important;
  background: #fff !important;
  border-color: #222 !important;
  box-shadow: none !important;
}

/* Form Wrappers / Cards */
.webform-submission-form, .colegios-form, form.commerce-order-item-add-to-cart-form, .user-login-form, .commerce-checkout-flow {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  animation: fadeUp 0.8s ease forwards;
}

/* Form Submit Buttons */
.form-actions .button, .form-submit {
  background: #222 !important;
  color: #fff !important;
  border: none !important;
  padding: 16px 32px !important;
  border-radius: 8px !important;
  font-family: var(--f-base, 'Inter', sans-serif) !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  width: 100%;
}

.form-actions .button:hover, .form-submit:hover {
  background: #000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* ============================================================
   AGY MODERN CSS - PREMIUM CHECKBOXES & RADIOS (Overrides legacy)
   ============================================================ */

/* 1. Reset legacy backgrounds that cause double ticks (Exclude Toggles!) */
.form-type-checkbox:not(.form-type-webform-toggle) input[type="checkbox"]:not(.toggle),
.form-type-radio input[type="radio"],
.form-type-checkbox:not(.form-type-webform-toggle) input[type="checkbox"]:not(.toggle):checked,
.form-type-radio input[type="radio"]:checked {
  background-image: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 24px !important;
  height: 24px !important;
  border: 2px solid rgba(0, 0, 0, 0.2) !important;
  border-radius: 6px !important;
  background-color: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  position: relative !important;
  float: none !important;
  flex-shrink: 0 !important;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05) !important;
  transition: all 0.2s ease !important;
}

.form-type-radio input[type="radio"],
.form-type-radio input[type="radio"]:checked {
  border-radius: 50% !important;
}

/* Clear any custom ::after legacy ticks */
.form-type-checkbox:not(.form-type-webform-toggle) input[type="checkbox"]:not(.toggle)::after,
.form-type-radio input[type="radio"]::after,
.form-type-checkbox:not(.form-type-webform-toggle) label::after,
.form-type-radio label::after,
.form-type-checkbox:not(.form-type-webform-toggle) label::before,
.form-type-radio label::before {
  content: none !important;
  background-image: none !important;
}

/* Checked state */
.form-type-checkbox:not(.form-type-webform-toggle) input[type="checkbox"]:not(.toggle):checked,
.form-type-radio input[type="radio"]:checked {
  background-color: #222 !important;
  border-color: #222 !important;
  box-shadow: none !important;
}

/* Custom Check SVG injected */
.form-type-checkbox:not(.form-type-webform-toggle) input[type="checkbox"]:not(.toggle):checked {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') !important;
  background-size: 16px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.form-type-radio input[type="radio"]:checked {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><circle cx="12" cy="12" r="5"></circle></svg>') !important;
  background-size: 14px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Tile styling for important options (like lists of extras) */
.container-items-form-checkbox .form-type-checkbox,
.container-items-form-checkbox-style .form-type-checkbox,
.container-items-form-checkbox-seguros .form-type-radio {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 16px !important;
  transition: all 0.2s ease;
  margin-bottom: 12px !important;
}

.container-items-form-checkbox .form-type-checkbox:hover,
.container-items-form-checkbox-style .form-type-checkbox:hover,
.container-items-form-checkbox-seguros .form-type-radio:hover {
  border-color: #222;
  transform: none;
  box-shadow: none;
}

.container-items-form-checkbox .form-type-checkbox:has(input:checked),
.container-items-form-checkbox-style .form-type-checkbox:has(input:checked),
.container-items-form-checkbox-seguros .form-type-radio:has(input:checked) {
  background: #fff;
  border-color: #222;
  border-width: 2px;
  box-shadow: none;
}

.container-items-form-checkbox .form-type-checkbox:has(input:checked) label,
.container-items-form-checkbox-style .form-type-checkbox:has(input:checked) label,
.container-items-form-checkbox-seguros .form-type-radio:has(input:checked) label {
  font-weight: 600 !important;
  color: #222 !important;
}

/* Fix for boxes within boxes (Fieldsets and Details) */
body.page-route-camper-checkout fieldset,
.form-wrapper fieldset,
body.page-route-camper-checkout details,
.form-wrapper details,
.webform-element-wrapper {
  border: none !important;
  padding: 0 !important;
  margin: 0 0 24px 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.page-route-camper-checkout fieldset legend,
.form-wrapper fieldset legend,
body.page-route-camper-checkout details summary,
.form-wrapper details summary {
  font-family: var(--f-base, 'Inter', sans-serif) !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  border-bottom: 1px solid #ebebeb !important;
  padding-bottom: 8px !important;
  margin-bottom: 16px !important;
  width: 100% !important;
  color: #222 !important;
  background: transparent !important;
  outline: none !important;
  pointer-events: none !important; /* Prevents collapsing details in wizard */
}

/* Toggles native Webform Toggle fix */
.form-type-webform-toggle .toggle {
  appearance: auto !important;
  width: auto !important;
  height: auto !important;
}

/* Elegant normal checkboxes/radios (when not tiles) */
.form-type-checkbox, .form-type-radio {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

.form-type-checkbox label, .form-type-radio label {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  flex: 1 !important;
  color: #222 !important;
  display: block !important;
}

.form-type-checkbox:not(.container-items-form-checkbox .form-type-checkbox),
.form-type-radio:not(.container-items-form-camper-select .form-type-radio) {
  margin-bottom: 8px !important;
}

/* ===========================================================================
   AGY MODERN CSS - CAMPER SELECTION (Paso 1)
   =========================================================================== */

/* Hide duplicated first name, enlarge full name */
body.path-panel form .checkout-card p.G-txt--xxm {
  display: none !important;
}
body.path-panel form .checkout-card p.G-txt--xxs {
  font-family: var(--f-base, 'Inter', sans-serif) !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #222 !important;
  margin-bottom: 16px !important;
  text-transform: capitalize !important;
}

/* Make wrappers transparent and full height */
.container-items-form-camper-select .form-type-radio,
.container-items-form-camper-select .container-form-camper-select {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  height: 100% !important;
}

/* Blur/Dim effect on un-hovered campers */
.container-items-form-camper-select:hover .form-type-radio {
  opacity: 0.4;
  filter: grayscale(50%);
  transition: all 0.3s ease;
}
.container-items-form-camper-select .form-type-radio:hover {
  opacity: 1 !important;
  filter: none !important;
  transform: translateY(-4px);
}

/* Default state for Camper Card */
body.path-panel form .checkout-card {
  border: 1px solid #ebebeb !important;
  border-radius: 16px !important;
  background: #fff !important;
  transition: all 0.3s ease !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  min-height: 250px !important;
}

/* Selected state for Camper Card */
.container-items-form-camper-select .form-type-radio input:checked ~ label .checkout-card,
.container-items-form-camper-select .form-type-radio:has(input:checked) .checkout-card {
  border: 2px solid #222 !important;
  background-color: #fafafa !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
}

/* Unselected button (Ghost style) */
.checkout-card .camper-item-seleccionar {
  background-color: transparent !important;
  color: #222 !important;
  border: 1px solid #222 !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
}
.checkout-card .camper-item-seleccionar:hover {
  background-color: #f4f4f4 !important;
}

/* Selected button (Solid dark style) */
.container-items-form-camper-select .form-type-radio input:checked ~ label .checkout-card .camper-item-seleccionar,
.container-items-form-camper-select .form-type-radio:has(input:checked) .checkout-card .camper-item-seleccionar {
  background-color: #222 !important;
  color: #fff !important;
  border-color: #222 !important;
}
.container-items-form-camper-select .form-type-radio input:checked ~ label .checkout-card .camper-item-seleccionar:hover,
.container-items-form-camper-select .form-type-radio:has(input:checked) .checkout-card .camper-item-seleccionar:hover {
  background-color: #000 !important;
}

/* ===========================================================================
   AGY MODERN CSS - FORM ACTIONS (Next/Previous Buttons)
   =========================================================================== */
.form-actions, #edit-actions {
  display: flex !important;
  flex-direction: column-reverse !important;
  gap: 16px !important;
  margin-top: 40px !important;
  padding-top: 24px !important;
  border-top: 1px solid #ebebeb !important;
  width: 100% !important;
}

@media (min-width: 768px) {
  .form-actions, #edit-actions {
    flex-direction: row !important;
    justify-content: space-between !important;
  }
}

/* Primary "Siguiente" / "Pagar" / "Guardar" Button */
.form-actions input[type="submit"]:not([value="Anterior"]):not([value="Volver"]),
.form-actions button[type="submit"]:not([value="Anterior"]):not([value="Volver"]),
#edit-actions input[type="submit"]:not([value="Anterior"]),
#edit-actions button[type="submit"]:not([value="Anterior"]),
body.path-panel form input[value="Siguiente"],
body.path-panel form button[value="Siguiente"],
body.path-panel form input.btn--sol,
body.path-panel form button.btn--sol,
body.path-panel form .G-boton--primario,
body.path-panel form input[value="Guardar y continuar"] {
  background: #222 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 36px !important;
  font-family: var(--f-base, 'Inter', sans-serif) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  width: 100% !important;
  appearance: none !important;
}

@media (min-width: 768px) {
  .form-actions input[type="submit"]:not([value="Anterior"]):not([value="Volver"]),
  .form-actions button[type="submit"]:not([value="Anterior"]):not([value="Volver"]),
  #edit-actions input[type="submit"]:not([value="Anterior"]),
  #edit-actions button[type="submit"]:not([value="Anterior"]),
  body.path-panel form input[value="Siguiente"],
  body.path-panel form button[value="Siguiente"],
  body.path-panel form input.btn--sol,
  body.path-panel form button.btn--sol,
  body.path-panel form .G-boton--primario,
  body.path-panel form input[value="Guardar y continuar"] {
    width: auto !important;
    min-width: 180px !important;
  }
}

.form-actions input[type="submit"]:not([value="Anterior"]):hover,
.form-actions button[type="submit"]:not([value="Anterior"]):hover,
#edit-actions input[type="submit"]:not([value="Anterior"]):hover,
#edit-actions button[type="submit"]:not([value="Anterior"]):hover,
body.path-panel form input[value="Siguiente"]:hover,
body.path-panel form button[value="Siguiente"]:hover,
body.path-panel form input.btn--sol:hover,
body.path-panel form button.btn--sol:hover,
body.path-panel form .G-boton--primario:hover,
body.path-panel form input[value="Guardar y continuar"]:hover {
  background: #000 !important;
  transform: translateY(-2px) !important;
}

/* Secondary "Anterior" / "Volver" Button */
.form-actions input[type="submit"][value="Anterior"],
.form-actions input[type="submit"][value="Volver"],
.form-actions button[type="submit"][value="Anterior"],
.form-actions button[type="submit"][value="Volver"],
#edit-actions input[type="submit"][value="Anterior"],
#edit-actions button[type="submit"][value="Anterior"],
body.path-panel form input[value="Anterior"],
body.path-panel form button[value="Anterior"],
body.path-panel form .form-submit-anterior {
  background: transparent !important;
  color: #222 !important;
  border: 1px solid #ebebeb !important;
  border-radius: 8px !important;
  padding: 14px 36px !important;
  font-family: var(--f-base, 'Inter', sans-serif) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  width: 100% !important;
  appearance: none !important;
}

@media (min-width: 768px) {
  .form-actions input[type="submit"][value="Anterior"],
  .form-actions input[type="submit"][value="Volver"],
  .form-actions button[type="submit"][value="Anterior"],
  .form-actions button[type="submit"][value="Volver"],
  #edit-actions input[type="submit"][value="Anterior"],
  #edit-actions button[type="submit"][value="Anterior"],
  body.path-panel form input[value="Anterior"],
  body.path-panel form button[value="Anterior"],
  body.path-panel form .form-submit-anterior {
    width: auto !important;
    min-width: 180px !important;
  }
}

.form-actions input[type="submit"][value="Anterior"]:hover,
.form-actions input[type="submit"][value="Volver"]:hover,
.form-actions button[type="submit"][value="Anterior"]:hover,
.form-actions button[type="submit"][value="Volver"]:hover,
#edit-actions input[type="submit"][value="Anterior"]:hover,
#edit-actions button[type="submit"][value="Anterior"]:hover,
body.path-panel form input[value="Anterior"]:hover,
body.path-panel form button[value="Anterior"]:hover,
body.path-panel form .form-submit-anterior:hover {
  background: #fafafa !important;
  border-color: #222 !important;
}



/* ===========================================================================
   ADD CAMPER INLINE FORM REFINEMENTS
   =========================================================================== */
.add-new-camper-form .form-type-textfield input,
.add-new-camper-form .form-type-select select {
  padding: 10px 14px !important;
  font-size: 0.95rem !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  height: auto !important;
  background: #fff !important;
}
.add-new-camper-form .form-type-textfield input:focus,
.add-new-camper-form .form-type-select select:focus {
  border-color: #222 !important;
  outline: none !important;
}
.add-new-camper-form label {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #555 !important;
  margin-bottom: 4px !important;
}

/* Fix Date select layout */
.add-new-camper-form .fieldset-wrapper {
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start !important;
}
.add-new-camper-form .fieldset-wrapper .form-item {
  margin: 0 !important;
  flex: 1 !important;
}
.add-new-camper-form .fieldset-wrapper .form-item select {
  width: 100% !important;
}


/* FIX CAMPER SELECTION FLEX AND AÑADIR CAMPER BOX */
#edit-camper-seleccionado {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  justify-content: center !important;
  align-items: stretch !important;
}

#edit-camper-seleccionado .form-check {
  flex: 1 1 220px !important;
  max-width: 320px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#edit-camper-seleccionado .form-check label.option {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

#edit-camper-seleccionado .form-check label.option > div.container-form-camper-select {
  height: 100% !important;
}

#edit-camper-seleccionado .form-check label.option .checkout-card {
  height: 100% !important;
  min-height: 250px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 24px !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
}

/* Añadir camper card specifically */
#edit-camper-seleccionado .form-check:has(.add-new-camper-form) .checkout-card {
  border: 2px dashed #ccc !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: all .2s ease !important;
  padding-bottom: 24px !important;
}

#edit-camper-seleccionado .form-check:has(.add-new-camper-form) .checkout-card:hover {
  border-color: #222 !important;
  background: #fafafa !important;
  transform: translateY(-2px) !important;
}
