@layer reset, base, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
  ul, ol { padding: 0; }
  img, picture, video, svg { display: block; max-width: 100%; }
  button, input, textarea, select { font: inherit; }
  button, a { -webkit-tap-highlight-color: transparent; }
}

@layer base {
  :root {
    --forest-950: #08251f;
    --forest-900: #0e332b;
    --forest-800: #164a3e;
    --forest-700: #1f6352;
    --forest-600: #2a7b67;
    --river-600: #1d8b80;
    --river-500: #36a99a;
    --river-200: #bfe7dd;
    --sand-50: #fcfaf5;
    --sand-100: #f5efe4;
    --sand-200: #e8dcc8;
    --gold-500: #c99a43;
    --gold-300: #e5c681;
    --ink-900: #15231f;
    --ink-700: #42534d;
    --ink-500: #6a7974;
    --white: #fff;
    --danger: #9f3a38;
    --success: #256d53;
    --shadow-sm: 0 8px 24px rgba(8,37,31,.08);
    --shadow-md: 0 18px 55px rgba(8,37,31,.14);
    --shadow-lg: 0 30px 90px rgba(8,37,31,.22);
    --radius-sm: .75rem;
    --radius-md: 1.2rem;
    --radius-lg: 2rem;
    --radius-pill: 999px;
    --container: 76rem;
    --header-h: 5.25rem;
    --font-display: Georgia, 'Times New Roman', serif;
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }

  html { font-size: 16px; background: var(--sand-50); }
  body {
    min-height: 100vh;
    color: var(--ink-900);
    background: var(--sand-50);
    font-family: var(--font-sans);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
  }
  body.menu-open { overflow: hidden; }
  a { color: inherit; text-decoration: none; }
  p + p { margin-top: 1rem; }
  h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
  h1 { font-size: clamp(3.2rem, 8vw, 7.25rem); }
  h2 { font-size: clamp(2.35rem, 5vw, 4.65rem); }
  h3 { font-size: clamp(1.4rem, 2.4vw, 2.15rem); }
  ::selection { background: var(--river-200); color: var(--forest-950); }
  :focus-visible { outline: 3px solid var(--gold-500); outline-offset: 4px; }
  [hidden] { display: none !important; }
}

@layer components {
  .skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 2000; padding: .8rem 1rem; border-radius: .5rem; background: var(--white); color: var(--forest-950); box-shadow: var(--shadow-md); }
  .skip-link:focus { top: 1rem; }
  .container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
  .narrow { width: min(calc(100% - 2rem), 52rem); margin-inline: auto; }
  .section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
  .section--soft { background: var(--sand-100); }
  .section--dark { color: var(--white); background: var(--forest-950); }
  .section-heading { max-width: 48rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
  .section-heading--split { display: grid; gap: 1.5rem; align-items: end; max-width: none; }
  .section-heading--split > p { max-width: 38rem; color: var(--ink-700); }
  .section--dark .section-heading--split > p { color: rgba(255,255,255,.72); }
  .eyebrow { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1rem; color: var(--forest-700); font-size: .76rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
  .eyebrow::before { content: ''; width: 2.25rem; height: 1px; background: currentColor; opacity: .55; }
  .section--dark .eyebrow, .hero .eyebrow { color: var(--gold-300); }
  .lede { max-width: 48rem; color: var(--ink-700); font-size: clamp(1.08rem, 1.8vw, 1.35rem); }
  .section--dark .lede { color: rgba(255,255,255,.75); }
  .fineprint { color: var(--ink-500); font-size: .84rem; }

  .site-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-h); transition: background .25s ease, box-shadow .25s ease, height .25s ease; }
  .site-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,24,20,.72), transparent); pointer-events: none; transition: opacity .25s; }
  .site-header.is-scrolled, .site-header.header-solid { background: rgba(252,250,245,.96); box-shadow: 0 1px 0 rgba(8,37,31,.08); backdrop-filter: blur(16px); }
  .site-header.is-scrolled::before, .site-header.header-solid::before { opacity: 0; }
  .header-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
  .brand img { width: 10.3rem; height: auto; }
  .site-header:not(.is-scrolled):not(.header-solid) .brand .logo-dark { display: none; }
  .site-header.is-scrolled .brand .logo-light, .site-header.header-solid .brand .logo-light { display: none; }
  .nav-desktop { display: none; align-items: center; gap: 1.65rem; }
  .nav-desktop a { position: relative; color: var(--white); font-size: .91rem; font-weight: 650; }
  .site-header.is-scrolled .nav-desktop a, .site-header.header-solid .nav-desktop a { color: var(--ink-900); }
  .nav-desktop a:not(.button)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 1px; background: currentColor; transition: right .2s; }
  .nav-desktop a:hover::after, .nav-desktop a[aria-current='page']::after { right: 0; }
  .header-actions { display: flex; align-items: center; gap: .6rem; }
  .language-menu { position: relative; }
  .language-trigger { min-width: 3.1rem; border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius-pill); padding: .62rem .75rem; color: var(--white); background: rgba(255,255,255,.08); font-weight: 750; cursor: pointer; }
  .site-header.is-scrolled .language-trigger, .site-header.header-solid .language-trigger { color: var(--forest-950); border-color: rgba(8,37,31,.18); background: var(--white); }
  .language-popover { position: absolute; top: calc(100% + .7rem); right: 0; width: 11rem; padding: .5rem; border: 1px solid rgba(8,37,31,.08); border-radius: 1rem; background: var(--white); box-shadow: var(--shadow-md); }
  .language-popover a { display: flex; justify-content: space-between; padding: .7rem .8rem; border-radius: .65rem; font-size: .9rem; }
  .language-popover a:hover, .language-popover a[aria-current='true'] { background: var(--sand-100); }
  .menu-toggle { width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: var(--white); background: rgba(255,255,255,.08); cursor: pointer; }
  .site-header.is-scrolled .menu-toggle, .site-header.header-solid .menu-toggle { color: var(--forest-950); border-color: rgba(8,37,31,.16); background: var(--white); }
  .menu-toggle svg { width: 1.25rem; }
  .mobile-panel { position: fixed; inset: 0; z-index: 990; display: grid; align-content: center; padding: 7rem 1.5rem 2rem; color: var(--white); background: var(--forest-950); transform: translateY(-105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .mobile-panel.is-open { transform: translateY(0); }
  .mobile-nav { display: grid; gap: .4rem; }
  .mobile-nav a { padding: .55rem 0; font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3.3rem); line-height: 1.05; }
  .mobile-panel-footer { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }

  .button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3.1rem; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: var(--radius-pill); font-size: .9rem; font-weight: 750; line-height: 1; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; white-space: nowrap; }
  .button:hover { transform: translateY(-2px); }
  .button--primary { color: var(--white); background: var(--forest-700); box-shadow: 0 10px 30px rgba(16,73,60,.2); }
  .button--primary:hover { background: var(--forest-800); box-shadow: 0 14px 36px rgba(16,73,60,.28); }
  .button--gold { color: var(--forest-950); background: var(--gold-300); }
  .button--ghost { color: var(--white); border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
  .button--ghost:hover { background: rgba(255,255,255,.15); }
  .button--outline { color: var(--forest-900); border-color: rgba(8,37,31,.2); background: transparent; }
  .button--outline:hover { border-color: var(--forest-700); background: var(--white); }
  .button--small { min-height: 2.65rem; padding: .62rem 1rem; font-size: .82rem; }
  .button svg { width: 1.1rem; height: 1.1rem; }
  .text-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--forest-700); font-weight: 750; }
  .text-link::after { content: '→'; transition: transform .18s; }
  .text-link:hover::after { transform: translateX(.25rem); }

  .hero { position: relative; min-height: min(58rem, 100svh); display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--forest-950); }
  .hero-media, .hero-media::after { position: absolute; inset: 0; }
  .hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
  .hero-media::after { content: ''; background: linear-gradient(90deg, rgba(4,22,18,.86) 0%, rgba(4,22,18,.48) 52%, rgba(4,22,18,.16) 100%), linear-gradient(0deg, rgba(4,22,18,.72), transparent 50%); }
  .hero-content { position: relative; z-index: 2; padding-block: calc(var(--header-h) + 5rem) clamp(4rem, 9vw, 8rem); }
  .hero-copy { max-width: 64rem; }
  .hero-copy h1 { max-width: 14ch; }
  .hero-copy .lede { max-width: 40rem; margin-top: 1.6rem; color: rgba(255,255,255,.82); }
  .hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
  .hero-note { position: absolute; z-index: 2; right: max(1rem, calc((100vw - var(--container))/2)); bottom: 1.5rem; display: none; align-items: center; gap: .65rem; color: rgba(255,255,255,.65); font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; }
  .hero-note::before { content: ''; width: 3rem; height: 1px; background: currentColor; }
  .inner-hero { position: relative; min-height: 35rem; display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--forest-950); }
  .inner-hero .hero-content { padding-bottom: 4rem; }
  .inner-hero h1 { max-width: 13ch; font-size: clamp(3rem, 7vw, 6.5rem); }
  .inner-hero .lede { color: rgba(255,255,255,.8); }
  .hero-meta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
  .meta-pill { padding: .58rem .86rem; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius-pill); background: rgba(255,255,255,.09); font-size: .82rem; backdrop-filter: blur(10px); }

  .trust-strip { position: relative; z-index: 5; margin-top: -1px; color: var(--white); background: var(--forest-900); }
  .trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .trust-item { min-height: 6.5rem; display: grid; place-items: center; padding: 1rem; border-right: 1px solid rgba(255,255,255,.11); border-bottom: 1px solid rgba(255,255,255,.11); text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

  .card-grid { display: grid; gap: 1.25rem; }
  .journey-card { position: relative; min-height: 32rem; display: grid; align-items: end; overflow: hidden; border-radius: var(--radius-lg); color: var(--white); background: var(--forest-900); box-shadow: var(--shadow-sm); }
  .journey-card-media { position: absolute; inset: 0; }
  .journey-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
  .journey-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(4,24,20,.9) 100%); }
  .journey-card:hover .journey-card-media img { transform: scale(1.035); }
  .journey-card-content { position: relative; z-index: 2; padding: 1.5rem; }
  .journey-card h3 { max-width: 18ch; }
  .card-kicker { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; color: rgba(255,255,255,.75); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
  .journey-card p { max-width: 36rem; margin-top: .8rem; color: rgba(255,255,255,.73); font-size: .94rem; }
  .card-footer { margin-top: 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
  .card-price { font-weight: 750; }
  .destination-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .destination-card { position: relative; min-height: 18rem; display: grid; align-items: end; overflow: hidden; border-radius: 1.35rem; color: var(--white); background: var(--forest-900); }
  .destination-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
  .destination-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,25,20,.82), transparent 70%); }
  .destination-card:hover img { transform: scale(1.04); }
  .destination-card-content { position: relative; z-index: 2; padding: 1rem; }
  .destination-card h3 { font-size: clamp(1.15rem, 2vw, 1.65rem); }
  .destination-card p { display: none; margin-top: .45rem; color: rgba(255,255,255,.72); font-size: .85rem; }

  .feature-grid { display: grid; gap: 1rem; }
  .feature-card { padding: 1.5rem; border: 1px solid rgba(8,37,31,.09); border-radius: var(--radius-md); background: rgba(255,255,255,.66); }
  .feature-number { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; margin-bottom: 1.4rem; border-radius: 50%; color: var(--white); background: var(--forest-700); font-size: .8rem; font-weight: 750; }
  .feature-card p { margin-top: .65rem; color: var(--ink-700); font-size: .94rem; }

  .map-wrap { display: grid; gap: 2rem; align-items: center; }
  .map-panel { position: relative; min-height: 32rem; overflow: hidden; border-radius: var(--radius-lg); background: radial-gradient(circle at 65% 25%, rgba(54,169,154,.45), transparent 22%), linear-gradient(145deg, #164a3e, #08251f); box-shadow: var(--shadow-lg); }
  .map-panel svg { width: 100%; height: auto; opacity: .58; }
  .map-point { position: absolute; width: 1.1rem; height: 1.1rem; border: 3px solid var(--white); border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 .35rem rgba(255,255,255,.15); }
  .map-point::after { content: attr(data-label); position: absolute; left: 50%; bottom: calc(100% + .7rem); min-width: max-content; padding: .42rem .62rem; border-radius: .55rem; color: var(--forest-950); background: var(--white); box-shadow: var(--shadow-sm); font-size: .72rem; font-weight: 750; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
  .map-point:hover::after, .map-point:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(-.2rem); }
  .map-legend { display: grid; gap: .85rem; }
  .map-legend a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(8,37,31,.12); font-weight: 700; }
  .map-legend a span { color: var(--ink-500); font-size: .78rem; font-weight: 600; }

  .split { display: grid; gap: 2.5rem; align-items: center; }
  .media-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
  .media-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
  .media-badge { position: absolute; left: 1rem; bottom: 1rem; max-width: 14rem; padding: 1rem; border-radius: 1rem; color: var(--forest-950); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 700; }
  .check-list { display: grid; gap: .85rem; margin-top: 1.5rem; list-style: none; }
  .check-list li { display: flex; align-items: flex-start; gap: .75rem; color: var(--ink-700); }
  .check-list li::before { content: '✓'; flex: 0 0 1.45rem; width: 1.45rem; height: 1.45rem; display: grid; place-items: center; margin-top: .05rem; border-radius: 50%; color: var(--white); background: var(--forest-700); font-size: .73rem; font-weight: 800; }

  .quote-card { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
  .quote-card blockquote { font-family: var(--font-display); font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.35; }
  .quote-card footer { margin-top: 1.5rem; color: var(--ink-500); font-size: .85rem; }
  .placeholder-label { display: inline-flex; padding: .3rem .55rem; border-radius: var(--radius-pill); color: #6d4e12; background: #f7e9c8; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

  .article-grid { display: grid; gap: 1rem; }
  .article-card { overflow: hidden; border: 1px solid rgba(8,37,31,.08); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
  .article-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
  .article-card-content { padding: 1.35rem; }
  .article-card-content p { margin-top: .65rem; color: var(--ink-700); font-size: .92rem; }
  .article-card-content .text-link { margin-top: 1rem; }

  .cta-panel { position: relative; overflow: hidden; padding: clamp(2rem, 6vw, 5rem); border-radius: var(--radius-lg); color: var(--white); background: linear-gradient(135deg, var(--forest-900), #0d5f58); box-shadow: var(--shadow-lg); }
  .cta-panel::after { content: ''; position: absolute; width: 32rem; height: 32rem; right: -12rem; top: -16rem; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(255,255,255,.025), 0 0 0 10rem rgba(255,255,255,.018); }
  .cta-content { position: relative; z-index: 2; max-width: 48rem; }
  .cta-content p { max-width: 38rem; margin-top: 1rem; color: rgba(255,255,255,.76); }

  .filter-bar { display: flex; gap: .55rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 2rem; scrollbar-width: thin; }
  .filter-chip { flex: 0 0 auto; padding: .7rem 1rem; border: 1px solid rgba(8,37,31,.14); border-radius: var(--radius-pill); background: transparent; color: var(--ink-700); font-weight: 700; cursor: pointer; }
  .filter-chip[aria-pressed='true'] { color: var(--white); border-color: var(--forest-700); background: var(--forest-700); }

  .detail-layout { display: grid; gap: 3rem; align-items: start; }
  .detail-main > section + section { margin-top: 4rem; }
  .detail-main h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.5rem; }
  .detail-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.5rem; border: 1px solid rgba(8,37,31,.09); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
  .summary-list { display: grid; gap: 1rem; margin: 1.4rem 0; list-style: none; }
  .summary-list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .85rem; border-bottom: 1px solid rgba(8,37,31,.1); font-size: .88rem; }
  .summary-list span:first-child { color: var(--ink-500); }
  .summary-list span:last-child { font-weight: 750; text-align: right; }
  .sidebar-actions { display: grid; gap: .7rem; }
  .timeline { position: relative; display: grid; gap: 1rem; }
  .timeline::before { content: ''; position: absolute; left: 1.15rem; top: 1rem; bottom: 1rem; width: 1px; background: var(--sand-200); }
  .timeline-item { position: relative; display: grid; grid-template-columns: 2.3rem 1fr; gap: 1rem; }
  .timeline-marker { z-index: 1; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--forest-700); font-size: .67rem; font-weight: 800; }
  .timeline-content { padding: 1.25rem; border-radius: var(--radius-md); background: var(--sand-100); }
  .timeline-content p { margin-top: .55rem; color: var(--ink-700); }
  .two-list { display: grid; gap: 1rem; }
  .info-box { padding: 1.4rem; border-radius: var(--radius-md); background: var(--sand-100); }
  .info-box h3 { margin-bottom: .9rem; font-size: 1.25rem; }
  .bullet-list { display: grid; gap: .65rem; padding-left: 1.15rem; color: var(--ink-700); }
  .gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .gallery-grid img { width: 100%; height: 100%; min-height: 13rem; object-fit: cover; border-radius: 1rem; }
  .gallery-grid img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }

  .form-shell { padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid rgba(8,37,31,.09); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
  .form-grid { display: grid; gap: 1rem; }
  .field { display: grid; gap: .42rem; }
  .field label, .field legend { color: var(--ink-900); font-size: .83rem; font-weight: 750; }
  .field input, .field textarea, .field select { width: 100%; min-height: 3.25rem; padding: .85rem 1rem; border: 1px solid #cbd4d0; border-radius: .78rem; color: var(--ink-900); background: var(--sand-50); transition: border .18s, box-shadow .18s; }
  .field textarea { min-height: 9rem; resize: vertical; }
  .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--forest-600); box-shadow: 0 0 0 4px rgba(42,123,103,.13); }
  .field-help { color: var(--ink-500); font-size: .76rem; }
  .checkbox { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; }
  .checkbox input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; accent-color: var(--forest-700); }
  .checkbox label { color: var(--ink-700); font-size: .83rem; }
  .form-status { padding: .9rem 1rem; border-radius: .75rem; font-size: .86rem; }
  .form-status.success { color: var(--success); background: #e8f4ee; }
  .form-status.error { color: var(--danger); background: #f8e9e8; }
  .honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

  .planner { display: grid; gap: 1.5rem; }
  .planner-progress { height: .45rem; overflow: hidden; border-radius: var(--radius-pill); background: var(--sand-200); }
  .planner-progress span { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--river-600); transition: width .25s; }
  .planner-step { animation: stepIn .25s ease; }
  .planner-step h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
  .planner-step > p { margin: .7rem 0 1.5rem; color: var(--ink-700); }
  .choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .choice-card { position: relative; }
  .choice-card input { position: absolute; opacity: 0; pointer-events: none; }
  .choice-card label { min-height: 5rem; display: grid; place-items: center; padding: .8rem; border: 1px solid rgba(8,37,31,.14); border-radius: 1rem; text-align: center; font-weight: 700; cursor: pointer; transition: all .18s; }
  .choice-card input:checked + label { color: var(--white); border-color: var(--forest-700); background: var(--forest-700); box-shadow: var(--shadow-sm); }
  .choice-card input:focus-visible + label { outline: 3px solid var(--gold-500); outline-offset: 3px; }
  .planner-controls { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.5rem; }
  .planner-summary { display: grid; gap: .75rem; padding: 1.2rem; border-radius: 1rem; background: var(--sand-100); }
  .planner-summary div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; font-size: .86rem; }
  .planner-summary dt { color: var(--ink-500); }
  .planner-summary dd { margin: 0; font-weight: 700; }
  @keyframes stepIn { from { opacity: 0; transform: translateX(12px); } }

  .faq-list { display: grid; gap: .7rem; }
  .faq-item { border: 1px solid rgba(8,37,31,.1); border-radius: 1rem; background: var(--white); }
  .faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.25rem; list-style: none; cursor: pointer; font-weight: 750; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: '+'; font-size: 1.3rem; font-weight: 400; }
  .faq-item[open] summary::after { content: '–'; }
  .faq-answer { padding: 0 1.25rem 1.25rem; color: var(--ink-700); }

  .breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; padding-top: calc(var(--header-h) + 1.25rem); color: var(--ink-500); font-size: .78rem; }
  .breadcrumbs a:hover { color: var(--forest-700); }
  .breadcrumbs span:not(:last-child)::after { content: '/'; margin-left: .45rem; color: var(--sand-200); }
  .article-body { font-size: 1.05rem; }
  .article-body h2 { margin: 3rem 0 1rem; font-size: clamp(1.8rem, 4vw, 3rem); }
  .article-body p { color: var(--ink-700); }
  .article-intro { margin-bottom: 2.5rem; font-size: 1.25rem; color: var(--ink-700); }
  .toc { padding: 1.25rem; border-left: 3px solid var(--river-600); background: var(--sand-100); }
  .toc ol { display: grid; gap: .4rem; padding-left: 1.2rem; }
  .toc a { color: var(--forest-700); font-weight: 650; }

  .site-footer { padding: 4.5rem 0 1.5rem; color: var(--white); background: var(--forest-950); }
  .footer-grid { display: grid; gap: 2.5rem; }
  .footer-brand img { width: 11rem; }
  .footer-brand p { max-width: 28rem; margin-top: 1rem; color: rgba(255,255,255,.65); }
  .footer-col h3 { margin-bottom: 1rem; color: var(--gold-300); font-family: var(--font-sans); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .footer-links { display: grid; gap: .62rem; list-style: none; color: rgba(255,255,255,.74); font-size: .88rem; }
  .footer-links a:hover { color: var(--white); }
  .footer-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.45); font-size: .75rem; }

  .whatsapp-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 800; width: 3.7rem; height: 3.7rem; display: grid; place-items: center; border: 2px solid var(--white); border-radius: 50%; color: var(--white); background: #247d60; box-shadow: var(--shadow-md); transition: transform .18s; }
  .whatsapp-fab:hover { transform: translateY(-3px) scale(1.03); }
  .whatsapp-fab svg { width: 1.55rem; }
  .mobile-sticky { position: fixed; inset: auto 0 0; z-index: 700; display: grid; grid-template-columns: 1fr 1fr; padding: .7rem; gap: .55rem; background: rgba(252,250,245,.96); box-shadow: 0 -8px 30px rgba(8,37,31,.12); backdrop-filter: blur(14px); }
  .mobile-sticky + .whatsapp-fab { bottom: 5.8rem; }

  .cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1500; max-width: 40rem; margin-left: auto; padding: 1rem; border: 1px solid rgba(8,37,31,.12); border-radius: 1rem; background: var(--white); box-shadow: var(--shadow-lg); }
  .cookie-banner p { color: var(--ink-700); font-size: .84rem; }
  .cookie-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }

  .empty-state { padding: 4rem 1.5rem; border: 1px dashed rgba(8,37,31,.25); border-radius: var(--radius-lg); text-align: center; }
  .error-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; color: var(--white); background: var(--forest-950); text-align: center; }
  .error-code { color: var(--gold-300); font-family: var(--font-display); font-size: clamp(7rem, 25vw, 16rem); line-height: .8; opacity: .22; }

  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}

@layer utilities {
  .sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
  .muted { color: var(--ink-500); }
  .mt-1 { margin-top: .5rem; }
  .mt-2 { margin-top: 1rem; }
  .mt-3 { margin-top: 1.5rem; }
  .mt-4 { margin-top: 2rem; }
  .center { text-align: center; }
}

@media (min-width: 40rem) {
  .container { width: min(calc(100% - 3rem), var(--container)); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-card:first-child { grid-column: 1 / -1; min-height: 38rem; }
  .journey-card-content { padding: 2rem; }
  .destination-grid { grid-template-columns: repeat(3, 1fr); }
  .destination-card { min-height: 23rem; }
  .destination-card p { display: block; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .form-grid--2 .span-2 { grid-column: 1 / -1; }
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
  .two-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1.35fr .65fr; grid-template-rows: repeat(2, 1fr); }
  .gallery-grid img:first-child { grid-column: auto; grid-row: 1 / 3; aspect-ratio: auto; }
}

@media (min-width: 64rem) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .header-actions .button { display: inline-flex; }
  .trust-grid { grid-template-columns: repeat(6, 1fr); }
  .trust-item { border-bottom: 0; }
  .section-heading--split { grid-template-columns: 1fr .75fr; }
  .card-grid { grid-template-columns: 1.4fr .8fr .8fr; grid-auto-rows: 19rem; }
  .journey-card { min-height: 0; }
  .journey-card:first-child { grid-column: auto; grid-row: span 2; min-height: 0; }
  .journey-card:nth-child(4) { grid-column: 2 / 4; }
  .destination-grid { grid-template-columns: repeat(6, 1fr); }
  .destination-card:nth-child(1), .destination-card:nth-child(4) { grid-column: span 2; }
  .destination-card:nth-child(2), .destination-card:nth-child(3) { grid-column: span 2; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .map-wrap { grid-template-columns: 1.35fr .65fr; gap: 4rem; }
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); }
  .article-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 22rem; gap: 5rem; }
  .footer-grid { grid-template-columns: 1.7fr repeat(3, 1fr); }
  .mobile-sticky { display: none; }
  .whatsapp-fab { right: 1.5rem; bottom: 1.5rem; }
  .hero-note { display: flex; }
}

@media (max-width: 63.99rem) {
  .header-actions .button { display: none; }
  body.has-mobile-sticky { padding-bottom: 5.4rem; }
}

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

@media print {
  .site-header, .mobile-panel, .whatsapp-fab, .mobile-sticky, .cookie-banner, .hero-actions, .sidebar-actions { display: none !important; }
  .hero, .inner-hero { min-height: auto; color: var(--ink-900); background: transparent; }
  .hero-media { display: none; }
  .hero-content { padding: 2rem 0; }
  body { background: white; }
  .detail-layout { display: block; }
  .detail-sidebar { position: static; margin-bottom: 2rem; box-shadow: none; }
}

/* --- Kafari custom refinements --- */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 2rem;
  background: linear-gradient(180deg, rgba(8,37,31,.08), rgba(8,37,31,0));
}
.page-hero .lede { max-width: 48rem; }
.split-about { align-items: start; grid-template-columns: 1fr; gap: 2rem; }
.about-photo-wrap { position: relative; }
.about-photo {
  width: 100%;
  max-width: 34rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.transfer-note {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--forest-700);
  border-radius: .85rem;
  background: rgba(42,123,103,.08);
  color: var(--ink-800);
}
.section-cta { display: flex; justify-content: center; margin-top: 2rem; }
.journey-group + .journey-group { margin-top: 4rem; }
.detail-stack { display: grid; gap: 2rem; }
.detail-main-full > section + section { margin-top: 3rem; }
.gallery-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(18rem, 32rem);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .6rem;
  scroll-snap-type: x proximity;
}
.gallery-slide { scroll-snap-align: start; }
.gallery-slide img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  border-radius: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.whatsapp-panel {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(8,37,31,.98), rgba(42,123,103,.92));
  color: var(--white);
}
.whatsapp-panel .eyebrow,
.whatsapp-panel p { color: rgba(255,255,255,.82); }
.site-footer--minimal { padding: 2.25rem 0; }
.footer-minimal { display: flex; justify-content: center; }
.footer-minimal img { width: min(17rem, 65vw); height: auto; }
.mobile-panel-footer {
  display: grid;
  gap: .8rem;
  padding: 1.25rem;
  border-top: 1px solid rgba(8,37,31,.08);
}
.destination-card .text-link,
.destination-card .text-link:hover { color: var(--gold-300); }
.card-footer { margin-top: 1rem; }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.map-legend { max-height: 23rem; overflow: auto; }
.detail-main-full .feature-grid { margin-top: 1.5rem; }

@media (min-width: 820px) {
  .split-about { grid-template-columns: minmax(18rem, 32rem) 1fr; gap: 3rem; }
  .whatsapp-panel { grid-template-columns: 1fr auto; }
}

@media (max-width: 720px) {
  .brand img { width: 8.4rem; }
  .gallery-rail { grid-auto-columns: 84%; }
  .gallery-slide img { height: 16rem; }
}

/* ========================================================================== 
   KAFARI FINAL RECOVERY REFINEMENTS — preserves the original visual system
   ========================================================================== */

/* Header: show the complete portrait logo without making the navigation bulky. */
:root { --header-h: 6rem; }
.brand { height: 100%; min-width: 5.4rem; overflow: visible; }
.brand img {
  width: auto;
  height: 5.45rem;
  max-width: 6.1rem;
  object-fit: contain;
  object-position: center;
}

/* Keep the family story editorial and balanced — never a full-screen portrait. */
.family-heading {
  margin: 0 0 1.15rem;
  color: var(--ink-900);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1;
}
.split-about { align-items: center; }
.about-photo-wrap { width: min(100%, 31rem); }
.about-photo {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 48%;
  border-radius: var(--radius-lg);
}
.about-story { max-width: 41rem; color: var(--ink-700); }
.about-page-split { align-items: start; }
.mission-vision-grid { display: grid; gap: 1rem; }
.mission-card {
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 1px solid rgba(8,37,31,.09);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.72);
}
.mission-card h2 { font-size: clamp(2rem, 3.5vw, 3.15rem); }
.mission-card p { margin-top: .9rem; color: var(--ink-700); }

/* Travel cards: longer Spanish/Portuguese copy must never cover or hide CTAs. */
.journey-card-content {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.journey-card h3 { max-width: 21ch; }
.journey-card p { line-height: 1.55; }
.card-footer { width: 100%; margin-top: 1.15rem; flex-wrap: wrap; }
.card-footer .button { flex: 0 0 auto; }
.related-grid { align-items: stretch; }

/* Contacts: three calm, equally important options without giant iconography. */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-top: 1.1rem;
}
.button--contact {
  color: var(--forest-950);
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.94);
}
.button--contact:hover { background: var(--white); box-shadow: var(--shadow-sm); }
.contact-panel {
  display: grid;
  gap: 1.35rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(135deg, var(--forest-950), var(--forest-800));
  box-shadow: var(--shadow-md);
}
.contact-panel h2 { max-width: 15ch; font-size: clamp(2rem, 4vw, 3.5rem); }
.contact-panel p { max-width: 44rem; margin-top: .75rem; color: rgba(255,255,255,.75); }
.contact-panel .eyebrow { color: var(--gold-300); }
.contact-grid { display: grid; gap: 1rem; }
.contact-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid rgba(8,37,31,.10);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.contact-card:hover { transform: translateY(-2px); border-color: rgba(42,123,103,.28); box-shadow: var(--shadow-md); }
.contact-card > svg { width: 1.2rem; color: var(--forest-600); }
.contact-card-icon {
  width: 3.15rem;
  height: 3.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--forest-800);
  background: var(--sand-100);
}
.contact-card-icon svg { width: 1.45rem; height: 1.45rem; }
.contact-kicker { color: var(--ink-500); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-card h2 { margin-top: .2rem; font-family: var(--font-sans); font-size: clamp(1rem, 1.7vw, 1.25rem); font-weight: 760; letter-spacing: -.015em; overflow-wrap: anywhere; }
.contact-card p { margin-top: .2rem; color: var(--ink-500); font-size: .86rem; }
.email-card-actions { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-top: .65rem; }
.email-card-actions a,
.email-card-actions button {
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--forest-700);
  background: transparent;
  font-size: .8rem;
  font-weight: 750;
  cursor: pointer;
}
.email-card-actions svg { width: 1rem; }
.contact-location { margin-top: 1.25rem; color: var(--ink-500); font-size: .88rem; text-align: center; }

/* Footer: retain a useful footer and keep the tall logo under control. */
.footer-brand img { width: auto; height: 7rem; max-width: 7.5rem; object-fit: contain; }
.footer-links a { display: inline-flex; align-items: center; gap: .45rem; }
.footer-links svg { width: 1rem; height: 1rem; flex: 0 0 auto; }

/* Numbered editorial map. The SVG is intentionally illustrative, not navigation. */
.map-section { overflow: hidden; }
.map-wrap { align-items: start; }
.map-panel {
  min-height: 39rem;
  isolation: isolate;
  border: 1px solid rgba(229,198,129,.24);
  background:
    radial-gradient(circle at 72% 18%, rgba(54,169,154,.20), transparent 27%),
    radial-gradient(circle at 25% 78%, rgba(201,154,67,.10), transparent 30%),
    linear-gradient(145deg, #164a3e 0%, #0b342b 52%, #08251f 100%);
  box-shadow: 0 28px 70px rgba(0,0,0,.26);
}
.verapaces-map-art {
  position: absolute;
  inset: 1.4rem 1.4rem 2.8rem;
  width: calc(100% - 2.8rem) !important;
  height: calc(100% - 4.2rem) !important;
  opacity: 1 !important;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.18));
}
.map-department { vector-effect: non-scaling-stroke; }
.map-department--alta { opacity: .98; }
.map-department--baja { opacity: .90; }
.verapaces-map-art path[fill="url(#topo)"] { fill: url(#topo); }
.map-river {
  fill: none;
  stroke: #56bdb1;
  stroke-width: 7;
  stroke-linecap: round;
  opacity: .62;
}
.map-river--thin { stroke-width: 4; opacity: .42; }
.map-route {
  fill: none;
  stroke: #b5914f;
  stroke-width: 3;
  stroke-dasharray: 9 10;
  stroke-linecap: round;
  opacity: .55;
}
.map-region-label {
  fill: rgba(8,37,31,.62);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  letter-spacing: .02em;
}
.map-region-label--small { font-size: 24px; }
.map-point--numbered {
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
  color: var(--forest-950);
  background: var(--gold-300);
  box-shadow: 0 0 0 .3rem rgba(8,37,31,.22), 0 8px 18px rgba(0,0,0,.25);
  transform: translate(-50%,-50%);
  z-index: 5;
}
.map-point--numbered span { font-size: .72rem; font-weight: 850; line-height: 1; }
.map-point--numbered::after { bottom: calc(100% + .85rem); }
.map-attribution {
  position: absolute;
  left: 1.25rem;
  bottom: .8rem;
  z-index: 2;
  color: rgba(255,255,255,.58);
  font-size: .68rem;
  letter-spacing: .04em;
}
.map-copy { min-width: 0; }
.map-copy h2 { max-width: 12ch; font-size: clamp(3rem, 5.6vw, 5.2rem); }
.map-copy .lede { font-size: 1.06rem; line-height: 1.7; }
.map-legend {
  max-height: none;
  overflow: visible;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
.map-legend a {
  display: grid;
  grid-template-columns: 2.1rem minmax(0,1fr) auto;
  align-items: center;
  justify-content: normal;
  gap: .85rem;
  min-height: 3.25rem;
  padding: .65rem 0;
  border-bottom-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  font-weight: 650;
}
.map-legend a > svg { width: 1.05rem; color: var(--gold-300); transition: transform .18s; }
.map-legend a:hover > svg { transform: translateX(.2rem); }
.map-legend-number {
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229,198,129,.7);
  border-radius: 50%;
  color: var(--gold-300) !important;
  font-size: .72rem !important;
  font-weight: 850 !important;
}
.map-legend-copy { min-width: 0; display: grid; gap: .06rem; color: inherit !important; }
.map-legend-copy strong { overflow-wrap: anywhere; font-size: .86rem; font-weight: 720; line-height: 1.25; }
.map-legend-copy small { color: rgba(255,255,255,.50); font-size: .68rem; font-weight: 600; }

/* The transfer promise should read as a premium service note, not a banner ad. */
.transfer-note {
  padding: 1rem 1.25rem;
  border-left-width: 3px;
  background: rgba(42,123,103,.075);
  line-height: 1.6;
}

/* Related cards are regular cards; never inherit the asymmetric home mosaic. */
.related-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
.related-grid .journey-card,
.related-grid .journey-card:first-child,
.related-grid .journey-card:nth-child(4) {
  grid-column: auto;
  grid-row: auto;
  min-height: 27rem;
}

@media (min-width: 40rem) {
  .mission-vision-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .contact-card { grid-template-columns: auto minmax(0,1fr); align-content: start; }
  .contact-card > svg { display: none; }
  .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .related-grid .journey-card,
  .related-grid .journey-card:first-child,
  .related-grid .journey-card:nth-child(4) { min-height: 30rem; }
}

@media (min-width: 64rem) {
  /* 22rem rows are intentional: all six translations keep their CTA visible. */
  .card-grid:not(.related-grid) { grid-auto-rows: 22rem; }
  .related-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .related-grid .journey-card,
  .related-grid .journey-card:first-child,
  .related-grid .journey-card:nth-child(4) { min-height: 31rem; }
  .map-wrap { grid-template-columns: minmax(0,1.25fr) minmax(20rem,.75fr); gap: clamp(2.5rem,5vw,5rem); }
  .contact-panel { grid-template-columns: minmax(0,1fr) auto; }
  .contact-actions { display: grid; grid-template-columns: repeat(3, max-content); justify-content: end; align-items: center; gap: .8rem; margin-top: 0; max-width: none; }
  .about-photo-wrap { width: min(100%, 30rem); }
}

@media (max-width: 63.99rem) {
  :root { --header-h: 5.4rem; }
  .brand img { height: 4.8rem; width: auto; max-width: 5.3rem; }
  .map-panel { min-height: 34rem; }
  .map-copy h2 { max-width: 15ch; }
}

@media (max-width: 39.99rem) {
  .section { padding: 4rem 0; }
  .about-photo-wrap { width: 100%; }
  .family-heading { font-size: 2.55rem; }
  .about-photo { aspect-ratio: 4 / 3; }
  .contact-actions { display: grid; grid-template-columns: 1fr; }
  .contact-actions .button { width: 100%; }
  .contact-card { padding: 1.1rem; }
  .map-panel { min-height: 28rem; }
  .verapaces-map-art { inset: .7rem .45rem 2.4rem; width: calc(100% - .9rem) !important; height: calc(100% - 3.1rem) !important; }
  .map-point--numbered { width: 1.6rem; height: 1.6rem; }
  .map-point--numbered span { font-size: .64rem; }
  .map-region-label { font-size: 27px; }
  .map-region-label--small { font-size: 21px; }
  .map-attribution { left: .8rem; font-size: .6rem; }
}


@media (min-width: 40rem) and (max-width: 63.99rem) {
  .contact-actions { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; }
  .contact-actions .button:last-child { grid-column: 1 / -1; justify-self: center; }
}

/* Final sizing corrections after recovery audit */
.about-photo { height: 22.5rem; aspect-ratio: auto; }
.about-page-split .about-photo { height: 25rem; }
.footer-minimal {
  width: min(100%, 72rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: max-content minmax(0, max-content);
  align-items: center;
  justify-content: center;
  gap: clamp(2rem,5vw,5.5rem);
}
.footer-minimal > img {
  width: auto;
  height: 8rem;
  max-width: 8.6rem;
  object-fit: contain;
}
.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: .95rem 1.75rem;
}
.footer-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.82);
  font-size: .96rem;
  font-weight: 700;
}
.footer-contact-links a:hover { color: var(--white); }
.footer-contact-links svg { width: 1.08rem; height: 1.08rem; flex: 0 0 auto; }

@media (max-width: 39.99rem) {
  .about-photo, .about-page-split .about-photo { height: 19rem; }
  .footer-minimal { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.2rem; }
  .footer-contact-links { justify-content: center; }
  .footer-minimal > img { height: 6rem; max-width: 7rem; }
}

/* Prevent intrinsic-width content (gallery rails / translated cards) from widening detail pages. */
.detail-stack,
.detail-main-full,
.detail-main-full > section { min-width: 0; width: 100%; }
.gallery-rail { width: 100%; max-width: 100%; }
.contact-panel,
.related-grid { min-width: 0; max-width: 100%; }


/* Minimal map replacement requested by client: keep the section elegant and only swap in the new map artwork. */
.map-wrap--single {
  display: block;
}
.map-panel--image {
  min-height: 0;
  padding: .9rem;
  max-width: 76rem;
  margin-inline: auto;
}
.map-panel--image .map-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 582;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - .35rem);
}
@media (max-width: 63.99rem) {
  .map-panel--image {
    padding: .7rem;
  }
}

/* FINAL CONTACT + FOOTER LAYOUT LOCK
   These overrides intentionally affect only the contact action row and the minimal footer. */
@media (min-width: 40rem) {
  .cta-panel .contact-actions,
  .contact-panel .contact-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: .72rem;
    max-width: none;
    width: auto;
  }

  .cta-panel .contact-actions .button,
  .contact-panel .contact-actions .button {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

.site-footer--minimal {
  padding: 2.8rem 0 2.6rem;
}

.site-footer--minimal .footer-minimal {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.45rem;
  text-align: center;
}

.site-footer--minimal .footer-minimal > img {
  display: block;
  width: auto;
  height: 8.4rem;
  max-width: 9rem;
  object-fit: contain;
  object-position: center;
}

.site-footer--minimal .footer-contact-links {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.site-footer--minimal .footer-contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: rgba(255,255,255,.84);
  font-size: .95rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 39.99rem) {
  .cta-panel .contact-actions,
  .contact-panel .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .cta-panel .contact-actions .button,
  .contact-panel .contact-actions .button {
    width: 100%;
  }

  .site-footer--minimal .footer-minimal > img {
    height: 6.5rem;
    max-width: 7rem;
  }

  .site-footer--minimal .footer-contact-links {
    flex-wrap: wrap;
    gap: .8rem 1.2rem;
  }

  .site-footer--minimal .footer-contact-links a {
    font-size: .88rem;
  }
}
