:root {
  --forest: #123b31;
  --forest-2: #1c5342;
  --moss: #688f50;
  --sun: #d9a341;
  --clay: #9b4937;
  --cream: #f2eee4;
  --paper: #faf8f2;
  --ink: #17231f;
  --muted: #68736e;
  --line: rgba(23, 35, 31, .16);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
body::before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 8% 18%, rgba(217,163,65,.13), transparent 24rem), radial-gradient(circle at 92% 62%, rgba(104,143,80,.12), transparent 28rem); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 1000; background: white; padding: .8rem 1rem; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1rem 4vw; color: white; transition: .35s ease; }
.site-header.scrolled { padding-block: .55rem; background: rgba(18,59,49,.94); backdrop-filter: blur(14px); box-shadow: 0 10px 35px rgba(0,0,0,.12); }
.site-header.menu-active { backdrop-filter: none; }
.brand img { width: 92px; height: 78px; object-fit: contain; background: white; filter: drop-shadow(0 4px 12px rgba(0,0,0,.22)); }
.main-nav { display: flex; align-items: center; gap: 2.3rem; font-size: .82rem; font-weight: 600; letter-spacing: .05em; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.4rem; height: 1px; background: var(--sun); transition: right .25s; }
.main-nav > a:hover::after { right: 0; }
.nav-cta { border: 1px solid rgba(255,255,255,.52); border-radius: 999px; padding: .85rem 1.2rem; transition: .25s; }
.nav-cta:hover { color: var(--forest); background: var(--sun); border-color: var(--sun); }
.menu-toggle { display: none; border: 0; background: none; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: white; }

.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: flex-end; color: white; overflow: hidden; }
.hero::after { content: ""; position: absolute; z-index: 1; right: -12vw; top: -16vw; width: 60vw; height: 60vw; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(236,185,75,.22), rgba(236,185,75,.05) 38%, transparent 67%); mix-blend-mode: screen; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { --hero-shift: 0px; background: url("assets/images/hero-grupo.jpg") center 45%/cover no-repeat; transform: translate3d(0, var(--hero-shift), 0) scale(1.04); animation: breathe 18s ease-in-out infinite alternate; will-change: transform; }
.hero-shade { background: linear-gradient(90deg, rgba(5,25,20,.86) 0%, rgba(5,25,20,.48) 48%, rgba(5,25,20,.12) 78%), linear-gradient(0deg, rgba(5,22,18,.6), transparent 58%); }
.hero-content { position: relative; z-index: 3; width: min(820px, 82vw); padding: 0 0 10vh 8vw; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.6rem; color: var(--forest-2); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.eyebrow-light { color: #f6e4b6; }
.hero h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .96; letter-spacing: -.035em; }
.hero h1 { max-width: 780px; font-size: clamp(3.3rem, 7vw, 7.4rem); }
h1 em, h2 em { color: var(--sun); font-weight: 400; }
.hero-copy { max-width: 620px; margin: 1.8rem 0 0; color: rgba(255,255,255,.78); font-size: clamp(.95rem, 1.3vw, 1.1rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.4rem; min-height: 52px; padding: .8rem 1.35rem; border: 0; border-radius: 999px; font-weight: 700; font-size: .78rem; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-sun { position: relative; overflow: hidden; color: var(--forest); background: var(--sun); }
.button-sun::before { content: ""; position: absolute; top: -40%; left: -45%; width: 24%; height: 180%; background: rgba(255,255,255,.45); transform: rotate(22deg); transition: left .65s cubic-bezier(.2,.7,.2,1); }
.button-sun:hover::before { left: 125%; }
.button-forest { color: white; background: var(--forest); }
.text-button { display: flex; align-items: center; gap: .7rem; color: white; background: none; border: 0; cursor: pointer; font-size: .78rem; }
.play { display: grid; place-items: center; width: 36px; height: 36px; padding-left: 2px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: .55rem; }
.hero-side-note { position: absolute; z-index: 2; right: 2vw; top: 50%; writing-mode: vertical-rl; font-size: .56rem; letter-spacing: .28em; opacity: .66; }
.scroll-cue { position: absolute; z-index: 3; right: 5vw; bottom: 2.5rem; display: flex; align-items: center; gap: .8rem; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; }
.scroll-cue span { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; }
.scroll-cue span::after { content: "↓"; display: grid; place-items: center; height: 100%; }
.hero-orbit { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { right: -22vw; top: -40vw; width: 90vw; height: 90vw; }
.hero-orbit-two { right: -3vw; top: -14vw; width: 54vw; height: 54vw; }

.section-pad { padding: 9rem 8vw; }
.intro { display: grid; grid-template-columns: 1fr 2.1fr 1fr; gap: 5vw; align-items: start; background: linear-gradient(135deg, rgba(255,255,255,.52), transparent 52%), var(--cream); }
.intro-marker { display: flex; align-items: center; gap: .7rem; color: var(--clay); font-size: .65rem; font-weight: 700; letter-spacing: .15em; }
.intro-marker span { flex: 1; height: 1px; background: var(--line); }
.kicker { margin: 0 0 1.2rem; color: var(--moss); font-size: .82rem; font-weight: 600; }
.intro h2, .section-heading h2, .gallery-title h2 { font-size: clamp(3rem, 5.3vw, 6.4rem); }
.intro h2 em, .section-heading h2 em, .gallery-title h2 em { color: var(--clay); }
.intro-detail { border-top: 1px solid var(--line); padding-top: 1.4rem; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.placeholder-note { color: var(--clay); font-size: .7rem !important; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }

.experiences { position: relative; background: radial-gradient(circle at 88% 8%, rgba(217,163,65,.12), transparent 28rem), var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 4rem; margin-bottom: 4rem; }
.section-heading h2 em { display: inline-block; }
.section-summary { max-width: 370px; margin: 0 0 .7rem; color: var(--muted); font-size: .88rem; line-height: 1.75; }
.experience-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 1rem; }
.experience-card { --glow-x: 50%; --glow-y: 50%; position: relative; min-height: 540px; overflow: hidden; color: white; background: var(--forest); border-radius: 2px; }
.experience-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.2,.7,.2,1); }
.experience-card:hover img { transform: scale(1.045); }
.experience-card::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; background: radial-gradient(circle 230px at var(--glow-x) var(--glow-y), rgba(242,208,126,.28), transparent 70%); transition: opacity .35s; }
.experience-card:hover::after { opacity: 1; }
.card-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,28,23,.88), transparent 62%); }
.card-index { position: absolute; z-index: 2; top: 1.2rem; left: 1.2rem; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: .65rem; }
.card-content { position: absolute; z-index: 2; left: 1.7rem; right: 1.7rem; bottom: 1.7rem; }
.card-content p { margin: 0 0 .5rem; color: rgba(255,255,255,.68); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.card-content h3 { margin: 0 0 1.5rem; font-family: var(--serif); font-size: clamp(1.7rem, 2.7vw, 3rem); font-weight: 400; }
.card-link { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.3); font-size: .7rem; }
.card-link b { display: grid; place-items: center; width: 30px; height: 30px; color: var(--forest); background: var(--sun); border-radius: 50%; }
.content-disclaimer { margin: 1.4rem 0 0; color: var(--muted); font-size: .7rem; text-align: right; }

.groups { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 760px; background: var(--forest); color: white; }
.groups-image { position: relative; min-height: 650px; overflow: hidden; }
.groups-image img { --group-shift: 0px; width: 100%; height: calc(100% + 80px); object-fit: cover; transform: translate3d(0, calc(var(--group-shift) - 40px), 0) scale(1.02); will-change: transform; }
.groups-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(18,59,49,.55)); }
.image-stamp { position: absolute; z-index: 2; right: -42px; top: 5rem; display: grid; place-items: center; width: 130px; height: 130px; color: var(--forest); background: var(--sun); border-radius: 50%; transform: rotate(-8deg); }
.image-stamp span { margin-top: 1.3rem; font-size: .7rem; text-transform: uppercase; }
.image-stamp strong { margin-top: -1.8rem; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.groups-content { padding: 8rem 7vw; align-self: center; }
.groups-content h2 { font-size: clamp(3rem, 5vw, 5.8rem); }
.groups-content > p:not(.eyebrow):not(.placeholder-note) { max-width: 520px; margin: 2rem 0; color: rgba(255,255,255,.68); font-size: .9rem; line-height: 1.8; }
.audience-list { margin-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.2); }
.audience-list div { display: grid; grid-template-columns: 36px 1fr auto; gap: 1rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.audience-list span { color: var(--sun); font-size: .62rem; }
.audience-list strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.audience-list small { color: rgba(255,255,255,.5); font-size: .65rem; }
.placeholder-dark { color: #e5c06c; margin-top: 1.5rem !important; }

.journey { background: linear-gradient(115deg, rgba(104,143,80,.1), transparent 38%, rgba(217,163,65,.1)), var(--cream); }
.compact { margin-bottom: 5rem; }
.journey-line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.journey-line::before { content: ""; position: absolute; top: 19px; left: 1%; right: 1%; height: 1px; background: var(--line); }
.journey-line li { position: relative; display: flex; flex-direction: column; padding-right: 2rem; }
.journey-line li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 1.8rem; color: white; background: var(--forest); border-radius: 50%; font-size: .62rem; }
.journey-line strong { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.journey-line small { margin-top: .5rem; color: var(--muted); font-size: .7rem; }

.gallery-section { display: grid; grid-template-columns: .7fr 1.7fr; gap: 6vw; background: linear-gradient(180deg, var(--paper), #f3eee2); }
.gallery-title { position: sticky; top: 8rem; align-self: start; }
.gallery-title h2 { font-size: clamp(3rem, 5vw, 5.6rem); }
.gallery-title p:last-child { max-width: 280px; margin-top: 2rem; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 280px; gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; background: var(--forest); cursor: zoom-in; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s, filter .55s; }
.gallery-item:hover img { transform: scale(1.035); filter: brightness(.8); }
.gallery-item span { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 38px; height: 38px; color: var(--forest); background: var(--sun); border-radius: 50%; font-size: 1.25rem; transform: translateY(55px); transition: transform .3s; }
.gallery-item:hover span { transform: translateY(0); }

.contact { position: relative; min-height: 760px; display: grid; place-items: center; color: white; text-align: center; overflow: hidden; }
.contact-bg { --contact-shift: 0px; position: absolute; inset: -50px 0; background: linear-gradient(rgba(8,38,30,.84), rgba(8,38,30,.9)), url("assets/images/contacto-paisaje.jpg") center calc(50% + var(--contact-shift))/cover no-repeat; will-change: background-position; }
.contact-bg::before, .contact-bg::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.contact-bg::before { width: 72vw; height: 72vw; left: 14vw; top: -35vw; }
.contact-bg::after { width: 48vw; height: 48vw; left: 26vw; top: -23vw; }
.contact-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 7rem 1.5rem; }
.contact-logo { width: 122px; height: 122px; object-fit: contain; margin-bottom: 2rem; background: white; filter: drop-shadow(0 8px 20px rgba(0,0,0,.28)); }
.contact-content h2 { font-size: clamp(3.3rem, 6.5vw, 7rem); }
.contact-content > p:not(.eyebrow) { max-width: 510px; color: rgba(255,255,255,.7); line-height: 1.7; }
.contact-content .button { margin-top: 1rem; }
.contact-content small { margin-top: 1rem; color: rgba(255,255,255,.46); font-size: .62rem; }

footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 1.5rem 5vw; color: rgba(255,255,255,.65); background: #092a22; font-size: .65rem; }
.footer-brand img { width: 74px; height: 60px; object-fit: contain; background: white; }
footer p { text-align: center; }
footer div { text-align: right; }

dialog { border: 0; }
dialog::backdrop { background: rgba(4,20,16,.82); backdrop-filter: blur(8px); }
.lightbox { width: min(92vw, 1100px); max-height: 92vh; padding: 0; overflow: visible; background: transparent; }
.lightbox img { width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox button, .dialog-close { position: absolute; z-index: 2; right: 0; top: -44px; width: 38px; height: 38px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; cursor: pointer; }
.demo-dialog { position: fixed; width: min(500px, calc(100vw - 2rem)); padding: 3rem; color: var(--ink); background: var(--cream); }
.demo-dialog .dialog-close { top: 1rem; right: 1rem; color: var(--ink); border-color: var(--line); }
.demo-dialog h2 { font-size: 2.8rem; }
.demo-dialog > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes breathe { from { transform: translate3d(0, var(--hero-shift), 0) scale(1.04); } to { transform: translate3d(0, var(--hero-shift), 0) scale(1.1); } }

@media (max-width: 980px) {
  .section-pad { padding: 7rem 6vw; }
  .experience-grid { grid-template-columns: 1fr 1fr; }
  .experience-main { grid-column: span 2; min-height: 620px; }
  .groups { grid-template-columns: 1fr; }
  .groups-image { min-height: 560px; }
  .image-stamp { right: 2rem; }
  .gallery-section { grid-template-columns: 1fr; }
  .gallery-title { position: static; }
}

@media (max-width: 720px) {
  .site-header { padding: .6rem 5vw; }
  .brand img { width: 76px; height: 66px; }
  .menu-toggle { position: relative; z-index: 102; display: block; }
  .menu-toggle span:not(.sr-only) { transition: transform .25s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; justify-content: center; gap: 2rem; width: 100vw; min-height: 100vh; min-height: 100dvh; padding: 6.5rem 2rem 3rem; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; color: white; background: linear-gradient(145deg, rgba(10,45,36,.76) 0%, rgba(18,59,49,.69) 55%, rgba(32,91,70,.66) 100%); backdrop-filter: blur(22px) saturate(1.18); -webkit-backdrop-filter: blur(22px) saturate(1.18); clip-path: circle(0 at calc(100% - 48px) 44px); transition: clip-path .68s cubic-bezier(.77,0,.18,1), visibility .68s; font-size: 1.3rem; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
  .main-nav::before, .main-nav::after { content: ""; position: fixed; z-index: -1; border: 1px solid rgba(224,185,91,.2); border-radius: 50%; pointer-events: none; }
  .main-nav::before { width: 78vw; height: 78vw; right: -28vw; top: -20vw; }
  .main-nav::after { width: 58vw; height: 58vw; left: -28vw; bottom: -20vw; }
  .main-nav > a { opacity: 0; transform: translateY(22px); transition: opacity .38s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
  .main-nav.open { visibility: visible; clip-path: circle(150vmax at calc(100% - 48px) 44px); }
  .main-nav.open > a { opacity: 1; transform: none; }
  .main-nav.open > a:nth-child(1) { transition-delay: .18s; }
  .main-nav.open > a:nth-child(2) { transition-delay: .24s; }
  .main-nav.open > a:nth-child(3) { transition-delay: .3s; }
  .main-nav.open > a:nth-child(4) { transition-delay: .36s; }
  .site-header.menu-active { inset: 0 0 auto; height: 0; padding-block: 0; background: transparent; box-shadow: none; }
  .site-header.menu-active .brand { position: fixed; z-index: 102; top: .6rem; left: 5vw; }
  .site-header.menu-active .menu-toggle { position: fixed; top: .75rem; right: 5vw; }
  .nav-cta { margin-top: 1rem; font-size: .85rem; }
  .hero { min-height: 820px; }
  .hero-media { background-position: 56% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,25,20,.92), rgba(5,25,20,.12) 85%); }
  .hero-content { width: auto; padding: 0 6vw 7rem; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 5.2rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .hero-side-note, .scroll-cue { display: none; }
  .intro { grid-template-columns: 1fr; }
  .intro-marker { width: 150px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 2rem; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-main { grid-column: auto; }
  .experience-card, .experience-main { min-height: 520px; }
  .groups-image { min-height: 470px; }
  .groups-content { padding: 6rem 7vw; }
  .audience-list div { grid-template-columns: 28px 1fr; }
  .audience-list small { grid-column: 2; }
  .journey-line { grid-template-columns: 1fr 1fr; gap: 3rem 1rem; }
  .journey-line::before { display: none; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 360px; }
  .gallery-item.tall { grid-row: auto; }
  .gallery-item.wide { grid-column: auto; }
  footer { grid-template-columns: 1fr; gap: .8rem; text-align: center; }
  footer div, footer p { text-align: center; }
  .footer-brand { margin: auto; }
}

@media (max-width: 720px) and (max-height: 520px) {
  .main-nav { justify-content: flex-start; gap: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-media, .groups-image img { transform: none !important; }
}
