:root {
  --forest: #0c3b2e;
  --forest-deep: #06271f;
  --fern: #2d6c50;
  --lime: #cce86b;
  --cream: #f4f1e8;
  --paper: #fbfaf6;
  --ink: #15312a;
  --muted: #61716b;
  --line: rgba(21, 49, 42, 0.15);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link { position: fixed; z-index: 1000; left: 20px; top: -80px; padding: 12px 18px; background: var(--lime); color: var(--forest-deep); border-radius: 6px; transition: top .2s; }
.skip-link:focus { top: 20px; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; color: white; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(6, 39, 31, .96); box-shadow: 0 10px 35px rgba(0, 0, 0, .16); backdrop-filter: blur(16px); }
.nav-shell { width: min(1320px, calc(100% - 48px)); min-height: 88px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 45px; height: 45px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 5px; border: 1px solid currentColor; opacity: .5; border-radius: 50%; }
.brand-mark b { font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.brand small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
nav > a { font-size: 13px; font-weight: 600; letter-spacing: .02em; transition: color .2s; }
nav > a:not(.nav-cta):hover { color: var(--lime); }
.nav-cta { padding: 12px 18px; border: 1px solid rgba(255,255,255,.65); border-radius: 4px; }
.nav-cta:hover { color: var(--forest-deep); background: var(--lime); border-color: var(--lime); }
.nav-toggle { display: none; background: transparent; color: white; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s, opacity .2s; }

.hero { min-height: 790px; height: 100svh; position: relative; overflow: hidden; display: flex; color: white; background: var(--forest-deep); }
.hero-media { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(3,28,21,.94) 0%, rgba(6,39,31,.75) 48%, rgba(6,39,31,.2) 100%), url("https://www.xcongresoforestal.cl/wp-content/uploads/2026/01/Fondo-Limpio.jpg"); background-size: cover; background-position: center 48%; transform: scale(1.03); animation: heroIn 1.5s ease-out both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,39,31,.25), transparent 30%, rgba(6,39,31,.5)); }
.hero-orbit { position: absolute; border: 1px solid rgba(204,232,107,.17); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 620px; height: 620px; right: -140px; bottom: -250px; }
.orbit-two { width: 410px; height: 410px; right: -25px; bottom: -145px; }
.hero-content { position: relative; z-index: 2; margin: auto; padding-top: 60px; }
.eyebrow, .kicker { color: var(--fern); text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 700; }
.eyebrow { color: var(--lime); display: flex; align-items: center; gap: 12px; margin-bottom: 24px; animation: rise .7s .25s both; }
.eyebrow span { width: 30px; height: 1px; background: currentColor; }
.hero h1 { max-width: 920px; margin: 0; font: 400 clamp(54px, 7.5vw, 104px)/.94 var(--serif); letter-spacing: -.025em; animation: rise .8s .35s both; }
.hero h1 em, h2 em { color: var(--lime); font-style: italic; }
.hero-lead { max-width: 630px; margin: 30px 0 34px; font-size: clamp(18px, 2vw, 23px); line-height: 1.45; color: rgba(255,255,255,.83); animation: rise .8s .45s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: rise .8s .55s both; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 56px; padding: 0 24px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, color .2s, border .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--forest-deep); background: var(--lime); }
.button-primary:hover { background: #dbf58a; }
.button-ghost { color: white; border-color: rgba(255,255,255,.5); }
.button-ghost:hover { border-color: white; background: rgba(255,255,255,.08); }
.hero-meta { margin-top: 54px; display: flex; flex-wrap: wrap; gap: 40px; animation: rise .8s .65s both; }
.hero-meta > div { display: flex; align-items: center; gap: 13px; }
.hero-meta .meta-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); color: var(--lime); }
.hero-meta div > span:last-child { display: flex; flex-direction: column; }
.hero-meta small { color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.hero-meta strong { font-size: 13px; font-weight: 500; }
.scroll-cue { position: absolute; z-index: 2; right: 32px; bottom: 38px; display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .18em; font-size: 9px; transform: rotate(90deg); transform-origin: right center; }
.scroll-cue span { width: 42px; height: 1px; background: var(--lime); }

.countdown-wrap { position: relative; z-index: 5; margin-top: -37px; }
.countdown { min-height: 112px; padding: 18px 42px; display: flex; align-items: center; justify-content: space-between; color: white; background: var(--forest); border-radius: 5px; box-shadow: 0 22px 55px rgba(6,39,31,.22); }
.countdown > p { margin: 0; max-width: 150px; font: 400 19px/1.25 var(--serif); }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 95px); }
.countdown-grid > div { display: flex; flex-direction: column; align-items: center; border-left: 1px solid rgba(255,255,255,.16); }
.countdown-grid strong { font: 400 30px/1 var(--serif); color: var(--lime); }
.countdown-grid span { margin-top: 6px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .12em; font-size: 8px; }

.intro { padding-top: 145px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: start; }
.kicker { margin: 0 0 20px; }
h2 { margin: 0; font: 400 clamp(42px, 5vw, 68px)/1.02 var(--serif); letter-spacing: -.02em; color: var(--forest-deep); }
.intro h2 em { color: var(--fern); }
.intro-copy { padding-top: 30px; }
.intro-copy p { margin: 0 0 22px; font-size: 17px; color: var(--muted); }
.intro-copy p:first-child { color: var(--ink); font-size: 21px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; padding-top: 42px; border-top: 1px solid var(--line); }
.stats article { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 28px; }
.stats article:first-child { border-left: 0; padding-left: 0; }
.stats strong { font: 400 54px/1 var(--serif); color: var(--fern); }
.stats span { margin-top: 10px; color: var(--muted); font-size: 13px; }

.themes { color: white; background: var(--forest-deep); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 56px; }
.section-heading > p { max-width: 440px; margin: 0 0 8px; color: var(--muted); font-size: 16px; }
.themes .section-heading h2 { color: white; }
.themes .section-heading > p { color: rgba(255,255,255,.57); }
.kicker-light { color: var(--lime); }
.theme-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.theme-card { min-height: 360px; position: relative; overflow: hidden; border-radius: 5px; }
.theme-card img, .theme-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-card img { transition: transform .65s ease; }
.theme-overlay { background: linear-gradient(180deg, rgba(4,27,20,.04), rgba(4,27,20,.9)); }
.theme-card:hover img { transform: scale(1.045); }
.theme-number { position: absolute; top: 22px; right: 24px; color: var(--lime); font: 400 18px var(--serif); }
.theme-copy { position: absolute; inset: auto 28px 26px; }
.theme-copy p { margin: 0 0 8px; color: var(--lime); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 700; }
.theme-copy h3 { margin: 0 0 8px; font: 400 31px/1.1 var(--serif); }
.theme-copy span { color: rgba(255,255,255,.66); font-size: 12px; }
.theme-details { margin-top: 78px; }
.theme-details-heading { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.theme-details-heading .kicker { margin: 0; }
.theme-details-heading > p:last-child { margin: 0; color: rgba(255,255,255,.52); font-size: 12px; }
.theme-detail { --detail-accent: var(--lime); overflow: hidden; margin-bottom: 12px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.13); border-radius: 5px; transition: background .25s, border-color .25s; }
.theme-detail-two { --detail-accent: #5cb8e6; }
.theme-detail-three { --detail-accent: #e7ab53; }
.theme-detail-four { --detail-accent: #a486f4; }
.theme-detail[open] { background: rgba(255,255,255,.075); border-color: color-mix(in srgb, var(--detail-accent) 46%, transparent); }
.theme-detail summary { cursor: pointer; min-height: 94px; padding: 20px 66px 20px 22px; position: relative; display: grid; grid-template-columns: 58px 1fr; align-items: center; list-style: none; }
.theme-detail summary::-webkit-details-marker { display: none; }
.theme-detail summary::after { content: "+"; position: absolute; right: 26px; top: 50%; color: var(--detail-accent); font: 400 28px/1 var(--serif); transform: translateY(-50%); }
.theme-detail[open] summary::after { content: "−"; }
.detail-index { width: 38px; height: 38px; display: grid; place-items: center; color: var(--forest-deep); background: var(--detail-accent); border-radius: 50%; font: 700 11px var(--sans); }
.detail-title { display: flex; flex-direction: column; }
.detail-title small { margin-bottom: 2px; color: var(--detail-accent); text-transform: uppercase; letter-spacing: .14em; font-size: 8px; font-weight: 700; }
.detail-title strong { max-width: 950px; color: white; font: 400 clamp(19px, 2.2vw, 26px)/1.2 var(--serif); }
.detail-body { padding: 0 28px 28px 80px; border-top: 1px solid rgba(255,255,255,.09); }
.detail-body ul { margin: 25px 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px 34px; }
.detail-body li { position: relative; padding-left: 18px; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.55; }
.detail-body li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; background: var(--detail-accent); border-radius: 50%; }
.detail-purpose { margin: 0; padding: 18px 21px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.055); border-left: 3px solid var(--detail-accent); border-radius: 0 4px 4px 0; font-size: 13px; }
.detail-purpose strong { color: white; }

.dates { background: var(--cream); }
.dates-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.dates h2 { max-width: 430px; font-size: clamp(40px, 4.5vw, 60px); }
.text-link { display: inline-flex; gap: 35px; margin-top: 34px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 700; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 84px 1fr; gap: 20px; position: relative; min-height: 104px; padding-bottom: 28px; }
.timeline li::before { content: ""; position: absolute; left: 51px; top: 37px; bottom: -2px; width: 1px; background: rgba(12,59,46,.2); }
.timeline li:last-child::before { display: none; }
.timeline time { position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(12,59,46,.28); background: var(--cream); color: var(--fern); font: 400 16px var(--serif); }
.timeline div { padding-top: 7px; display: flex; flex-direction: column; }
.timeline strong { font-size: 16px; }
.timeline span { color: var(--muted); font-size: 13px; }
.timeline .is-past { opacity: .55; }
.timeline .is-past time::after { content: "✓"; position: absolute; right: -3px; top: -3px; width: 20px; height: 20px; display: grid; place-items: center; color: white; background: var(--fern); border-radius: 50%; font: 700 10px var(--sans); }
.timeline .is-current time { color: var(--forest-deep); background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 7px rgba(204,232,107,.28); }

.program { background: var(--paper); }
.program-heading h2 em { color: var(--fern); }
.day-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.day-tabs button { cursor: pointer; padding: 20px; color: var(--muted); background: transparent; border: 0; border-bottom: 3px solid transparent; }
.day-tabs button span { display: block; font: 400 31px var(--serif); }
.day-tabs button.active { color: var(--forest); border-bottom-color: var(--forest); }
.schedule-panel { max-width: 930px; margin: 42px auto 0; }
.schedule-item { display: grid; grid-template-columns: 110px 20px 1fr; gap: 24px; min-height: 92px; }
.schedule-time { font-size: 13px; font-weight: 700; color: var(--fern); }
.schedule-marker { position: relative; width: 10px; height: 10px; margin-top: 7px; border: 2px solid var(--fern); border-radius: 50%; }
.schedule-marker::after { content: ""; position: absolute; top: 12px; left: 3px; height: 67px; width: 1px; background: var(--line); }
.schedule-item:last-child .schedule-marker::after { display: none; }
.schedule-content strong { display: block; font: 400 20px var(--serif); }
.schedule-content span { color: var(--muted); font-size: 13px; }
.program-note { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 11px; }

.fees { background: #eef1e9; }
.currency-switch { display: flex; padding: 4px; border-radius: 99px; background: rgba(12,59,46,.08); }
.currency-switch button { cursor: pointer; min-width: 58px; padding: 8px 14px; border: 0; border-radius: 99px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 700; }
.currency-switch button.active { color: white; background: var(--forest); }
.fee-period { padding: 13px 18px; display: flex; justify-content: space-between; color: white; background: var(--forest); border-radius: 4px 4px 0 0; }
.fee-period span { color: var(--lime); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 700; }
.fee-period strong { font-size: 12px; font-weight: 500; }
.fee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(12,59,46,.12); }
.fee-card { min-height: 360px; padding: 34px 28px 28px; position: relative; display: flex; flex-direction: column; background: var(--paper); }
.fee-card > p { margin: 0 0 6px; color: var(--fern); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 700; }
.fee-card h3 { min-height: 57px; margin: 0 0 26px; font: 400 20px/1.35 var(--serif); }
.price { font: 400 35px/1 var(--serif); color: var(--forest); }
.price-note { margin-top: 8px; color: var(--muted); font-size: 10px; }
.fee-card a { display: flex; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.fee-card a:hover span { transform: translateX(4px); }
.fee-card a span { transition: transform .2s; }
.fee-featured { background: #e4ebd6; }
.popular { position: absolute; top: -12px; right: 16px; padding: 5px 10px; color: var(--forest-deep); background: var(--lime); border-radius: 2px; text-transform: uppercase; letter-spacing: .11em; font-size: 8px; font-weight: 700; }
.regular-fees { margin-top: 18px; border-bottom: 1px solid var(--line); }
.regular-fees summary { cursor: pointer; list-style: none; padding: 17px 4px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; }
.regular-fees summary::-webkit-details-marker { display: none; }
.regular-fees[open] summary span { transform: rotate(45deg); }
.regular-fees summary span { font-size: 20px; transition: transform .2s; }
.regular-fees > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px 0 25px; }
.regular-fees p { display: flex; flex-direction: column; margin: 0; color: var(--muted); font-size: 11px; }
.regular-fees strong { color: var(--ink); font: 400 18px var(--serif); }

.venue { min-height: 700px; display: grid; grid-template-columns: 1.45fr .55fr; background: var(--forest); }
.venue-photo { background: linear-gradient(90deg, transparent 60%, rgba(12,59,46,.45)), url("https://www.xcongresoforestal.cl/wp-content/uploads/2026/01/ucm.jpeg") center/cover; }
.venue-card { padding: 90px 7vw 80px 55px; color: white; align-self: center; }
.venue-card h2 { color: white; }
.venue-card p:not(.kicker) { margin: 32px 0; color: rgba(255,255,255,.7); font-size: 15px; }
.button-light { color: var(--forest-deep); background: white; }
.button-light:hover { background: var(--lime); }

.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.person img { aspect-ratio: 1 / 1.1; object-fit: cover; object-position: center top; filter: saturate(.75); border-radius: 4px; }
.person h3 { margin: 17px 0 2px; font: 400 19px var(--serif); }
.person p { margin: 0; color: var(--fern); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 700; }
.scientific-committee { margin-top: 100px; padding-top: 76px; border-top: 1px solid var(--line); }
.science-header { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 42px; }
.science-header h3 { margin: 0; font: 400 clamp(36px, 4vw, 52px)/1.05 var(--serif); color: var(--forest-deep); }
.science-header > p { max-width: 420px; margin: 0 0 5px; color: var(--muted); font-size: 14px; }
.science-group { --science-accent: var(--fern); overflow: hidden; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 5px; background: white; }
.science-two { --science-accent: #428eb3; }
.science-three { --science-accent: #b77a25; }
.science-four { --science-accent: #7557bd; }
.science-group summary { cursor: pointer; min-height: 88px; padding: 18px 64px 18px 22px; position: relative; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; list-style: none; }
.science-group summary::-webkit-details-marker { display: none; }
.science-group summary::after { content: "+"; position: absolute; right: 25px; top: 50%; color: var(--science-accent); font: 400 25px/1 var(--serif); transform: translateY(-50%); }
.science-group[open] summary::after { content: "−"; }
.science-group[open] summary { background: color-mix(in srgb, var(--science-accent) 7%, white); }
.science-index { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--science-accent); border-radius: 50%; font-size: 9px; font-weight: 700; }
.science-title { display: flex; flex-direction: column; }
.science-title small { color: var(--science-accent); text-transform: uppercase; letter-spacing: .14em; font-size: 8px; font-weight: 700; }
.science-title strong { color: var(--forest-deep); font: 400 22px/1.2 var(--serif); }
.science-count { margin-right: 18px; padding: 6px 10px; color: var(--science-accent); background: color-mix(in srgb, var(--science-accent) 9%, white); border-radius: 99px; text-transform: uppercase; letter-spacing: .1em; font-size: 8px; font-weight: 700; }
.scientists { padding: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; background: var(--cream); border-top: 1px solid var(--line); }
.scientists article { min-width: 0; padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--paper); border-radius: 3px; }
.scientists article > div { min-width: 0; display: flex; flex-direction: column; }
.scientists strong { color: var(--ink); font-size: 12px; }
.scientists article span { color: var(--muted); font-size: 10px; }
.scientists a { flex-shrink: 0; color: var(--science-accent); font-size: 9px; font-weight: 600; }
.scientists a:hover { text-decoration: underline; }
.themes .scientific-committee { border-top-color: rgba(255,255,255,.14); }
.themes .science-header h3 { color: white; }
.themes .science-header > p { color: rgba(255,255,255,.56); }
.themes .science-group { border-color: rgba(255,255,255,.18); box-shadow: 0 10px 28px rgba(0,0,0,.09); }

.partners { background: var(--cream); }
.partners-heading h2 em { color: var(--fern); }
.partner-group { display: grid; grid-template-columns: 190px 1fr; gap: 42px; padding: 36px 0 62px; border-top: 1px solid var(--line); }
.partner-group:last-child { padding-bottom: 0; }
.partner-label { display: flex; align-items: baseline; gap: 15px; }
.partner-label span { color: var(--fern); font: 400 14px var(--serif); }
.partner-label h3 { margin: 0; font: 400 26px var(--serif); }
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.organizer-logos { grid-template-columns: repeat(4, 1fr); }
.logo-card { min-width: 0; margin: 0; padding: 24px 22px 17px; display: flex; flex-direction: column; justify-content: center; background: white; border: 1px solid rgba(21,49,42,.08); border-radius: 5px; transition: transform .25s, box-shadow .25s; }
.logo-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(21,49,42,.08); }
.logo-card img { width: 100%; height: 125px; object-fit: contain; mix-blend-mode: multiply; }
.organizer-logos .logo-card:nth-child(2) img { height: 92px; }
.sponsor-logos .logo-card:first-child img { height: 132px; }
.sponsor-logos .logo-card:last-child img { height: 138px; }
.logo-card p { margin: 14px 0 0; padding-top: 12px; color: var(--muted); border-top: 1px solid var(--line); text-align: center; text-transform: uppercase; letter-spacing: .1em; font-size: 8px; font-weight: 700; }

.closing-cta { padding: 145px 0; position: relative; overflow: hidden; color: white; text-align: center; background: var(--forest-deep); }
.closing-cta::before, .closing-cta::after { content: ""; position: absolute; border: 1px solid rgba(204,232,107,.14); border-radius: 50%; }
.closing-cta::before { width: 640px; height: 640px; left: -340px; top: -180px; }
.closing-cta::after { width: 420px; height: 420px; right: -210px; bottom: -190px; }
.closing-cta .shell { position: relative; z-index: 1; }
.closing-cta h2 { color: white; }
.closing-cta > div > p:not(.kicker) { max-width: 560px; margin: 27px auto 32px; color: rgba(255,255,255,.62); }
.button-accent { color: var(--forest-deep); background: var(--lime); }

footer { padding: 75px 0 25px; color: rgba(255,255,255,.63); background: #041c16; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; }
.brand-footer { color: white; }
.footer-grid > div:first-child > p { max-width: 280px; font-size: 12px; }
.footer-grid h3 { margin: 5px 0 18px; color: white; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; }
.footer-grid a, .footer-grid p { display: block; margin: 0 0 9px; font-size: 12px; }
.footer-grid a:hover { color: var(--lime); }
.footer-bottom { margin-top: 60px; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.03); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .section { padding: 90px 0; }
  .nav-toggle { display: block; position: relative; z-index: 2; cursor: pointer; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  nav { position: fixed; inset: 0; padding: 120px 32px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; background: var(--forest-deep); transform: translateX(100%); transition: transform .3s ease; }
  nav.open { transform: none; }
  nav > a { font: 400 29px var(--serif); }
  .nav-cta { margin-top: 10px; font: 700 13px var(--sans); }
  .countdown { padding-inline: 28px; }
  .intro-grid, .dates-grid { grid-template-columns: 1fr; gap: 42px; }
  .intro-copy { padding-top: 0; }
  .fee-grid { grid-template-columns: repeat(2, 1fr); }
  .venue { min-height: 610px; grid-template-columns: 1fr 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .science-header { align-items: flex-start; flex-direction: column; gap: 22px; }
  .partner-group { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 680px) {
  .shell, .nav-shell { width: min(100% - 30px, 1180px); }
  .nav-shell { min-height: 72px; }
  .brand-mark { width: 40px; height: 40px; }
  .hero { min-height: 720px; height: auto; }
  .hero-content { padding: 145px 0 105px; }
  .hero-media { background-image: linear-gradient(90deg, rgba(3,28,21,.92), rgba(6,39,31,.45)), url("https://www.xcongresoforestal.cl/wp-content/uploads/2026/01/Fondo-Limpio.jpg"); background-position: 52% center; }
  .hero h1 { font-size: clamp(48px, 14vw, 67px); }
  .hero h1 br { display: block; }
  .hero-lead { margin-top: 23px; font-size: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-meta { margin-top: 38px; flex-direction: column; gap: 17px; }
  .scroll-cue { display: none; }
  .countdown-wrap { margin-top: 0; background: var(--forest); }
  .countdown { width: 100%; padding: 25px 16px; flex-direction: column; border-radius: 0; box-shadow: none; }
  .countdown > p { max-width: none; margin-bottom: 18px; }
  .countdown-grid { width: 100%; grid-template-columns: repeat(4, 1fr); }
  .countdown-grid > div:first-child { border-left: 0; }
  .countdown-grid strong { font-size: 26px; }
  .section { padding: 76px 0; }
  .intro { padding-top: 82px; }
  h2 { font-size: 43px; }
  .intro-copy p:first-child { font-size: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 0; margin-top: 55px; }
  .stats article:nth-child(3) { border-left: 0; padding-left: 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 22px; margin-bottom: 38px; }
  .theme-grid { grid-template-columns: 1fr; }
  .theme-card { min-height: 310px; }
  .theme-details { margin-top: 55px; }
  .theme-details-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .theme-detail summary { min-height: 86px; padding: 17px 50px 17px 16px; grid-template-columns: 47px 1fr; }
  .theme-detail summary::after { right: 17px; }
  .detail-index { width: 34px; height: 34px; }
  .detail-title strong { font-size: 18px; }
  .detail-body { padding: 0 18px 20px; }
  .detail-body ul { grid-template-columns: 1fr; margin: 20px 0; gap: 12px; }
  .detail-purpose { padding: 16px; }
  .dates-grid { gap: 48px; }
  .day-tabs { overflow-x: auto; }
  .day-tabs button { min-width: 68px; padding-inline: 8px; }
  .schedule-item { grid-template-columns: 72px 12px 1fr; gap: 13px; }
  .fee-period { align-items: flex-start; flex-direction: column; gap: 4px; }
  .fee-grid { grid-template-columns: 1fr; }
  .fee-card { min-height: 300px; }
  .regular-fees > div { grid-template-columns: repeat(2, 1fr); }
  .venue { min-height: 720px; display: block; position: relative; }
  .venue-photo { position: absolute; inset: 0; background-image: linear-gradient(0deg, rgba(6,39,31,.92) 5%, rgba(6,39,31,.15) 75%), url("https://www.xcongresoforestal.cl/wp-content/uploads/2026/01/ucm.jpeg"); }
  .venue-card { position: absolute; inset: auto 0 0; padding: 45px 24px; }
  .people-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .person h3 { font-size: 16px; }
  .scientific-committee { margin-top: 70px; padding-top: 55px; }
  .science-group summary { min-height: 82px; padding: 15px 42px 15px 15px; grid-template-columns: 44px 1fr; }
  .science-group summary::after { right: 16px; }
  .science-title strong { font-size: 18px; }
  .science-count { display: none; }
  .scientists { grid-template-columns: 1fr; padding: 10px; }
  .scientists article { align-items: flex-start; flex-direction: column; gap: 6px; }
  .logo-grid, .organizer-logos { grid-template-columns: 1fr; }
  .logo-card { min-height: 205px; }
  .closing-cta { padding: 100px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 25px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

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