/* ========================================================================
   northwalesholidays.org.uk — Site stylesheet
   Tokens · Typography · Layout · Components · Responsive · A11y · Print
   Version: Phase 1 build · April 2026
   ======================================================================== */

/* ============== TOKENS ============== */
:root {
  --evergreen-deep: #0F2A1E;
  --evergreen:      #1B4332;
  --evergreen-300:  #2C5E47;
  --clay:           #C9744A;
  --clay-50:        #E8C7A8;
  --clay-bg:        #FBE9D9;
  --paper:          #FAFAF7;
  --surface:        #FFFFFF;
  --stone:          #F0EDE5;
  --border:         #E5E2DA;
  --mist:           #D8DBD3;
  --text:           #0F2A1E;
  --text-2:         #3A4640;
  --muted:          #6B7670;
  --link:           #1B4332;
  --warn-text:      #5A1F12;
  --warn-bd:        #B8412C;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --max: 1180px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============== RESET ============== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--clay); }
a:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 2px; }
button { font-family: inherit; cursor: pointer; }

/* ============== TYPOGRAPHY ============== */
h1, h2, h3, h4 { color: var(--text); margin: 0; font-weight: 500; letter-spacing: -0.015em; }
h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 52px); line-height: 1.05; font-weight: 500; }
h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); line-height: 1.15; font-weight: 500; margin-top: 0; }
h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
p { margin: 0 0 1rem; }
.eyebrow { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); margin: 0 0 12px; }

/* ============== LAYOUT ============== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--evergreen-deep); color: var(--paper); padding: 12px 16px; z-index: 1000; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }

/* ============== NAV ============== */
.nav { position: sticky; top: 0; background: var(--evergreen-deep); z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--paper); display: inline-flex; align-items: center; gap: 8px; }
.brand .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); display: inline-block; }
.nav-menu { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav-menu a { color: var(--paper); font-size: 14px; font-weight: 500; opacity: 0.92; }
.nav-menu a:hover { color: var(--clay-50); opacity: 1; }
.nav-cta { background: var(--clay); color: #fff; padding: 9px 18px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; transition: background .15s ease; }
.nav-cta:hover { background: #B25E37; color: #fff; }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,0.25); color: var(--paper); padding: 8px 12px; border-radius: var(--r-sm); }

/* ============== BREADCRUMB ============== */
.breadcrumb { background: var(--stone); border-bottom: 1px solid var(--border); padding: 12px 0; font-size: 13px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted); }
.breadcrumb a { color: var(--evergreen); font-weight: 500; }
.breadcrumb a:hover { color: var(--clay); }
.breadcrumb li[aria-current="page"] { color: var(--text); }
.breadcrumb .sep { color: var(--muted); padding: 0 2px; }

/* ============== HERO ============== */
.hero { position: relative; background: var(--evergreen); color: var(--paper); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero picture { position: absolute; inset: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,30,0.50) 0%, rgba(15,42,30,0.85) 100%); }
.hero-inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 80px 24px 72px; }
.hero .eyebrow { color: var(--clay-50); }
.hero h1 { color: var(--paper); margin: 0 0 20px; max-width: 720px; }
.hero .lede { color: var(--mist); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; max-width: 640px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--r-pill); font-size: 15px; font-weight: 600; border: 1.5px solid transparent; transition: all .15s ease; font-family: var(--font-body); }
.btn-primary { background: var(--clay); color: #fff; border-color: var(--clay); }
.btn-primary:hover { background: #B25E37; border-color: #B25E37; color: #fff; }
.btn-secondary { background: var(--evergreen); color: #fff; border-color: var(--evergreen); }
.btn-secondary:hover { background: var(--evergreen-300); border-color: var(--evergreen-300); color: #fff; }
.btn-outline { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-outline:hover { background: var(--paper); color: var(--evergreen); }
.btn-ghost { background: transparent; color: var(--evergreen); border-color: var(--evergreen); }
.btn-ghost:hover { background: var(--evergreen); color: #fff; }

/* ============== MAIN ============== */
main { padding: 64px 0 96px; }
.page-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.page-content > section { margin-bottom: 48px; }
.page-content > section:last-child { margin-bottom: 0; }

/* AI summary card */
.ai-summary { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--clay); border-radius: var(--r-md); padding: 24px 28px; }
.ai-summary p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--text); }
.ai-summary .ai-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); margin: 0 0 10px; }

/* Body prose */
.prose p { font-size: 16px; line-height: 1.75; color: var(--text-2); }
.prose h2 { margin: 0 0 16px; }
.prose h2 + p, .prose h2 + ul { margin-top: 8px; }
.prose ul { padding-left: 20px; margin: 0 0 1rem; }
.prose ul li { margin-bottom: 8px; line-height: 1.65; }
.section-rule { width: 56px; height: 2px; background: var(--clay); border: 0; margin: 0 0 20px; }

/* Sub-headings inside getting-there */
.subsection { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 24px; margin-bottom: 12px; }
.subsection h3 { margin: 0 0 8px; color: var(--text); }
.subsection p { margin: 0; font-size: 15px; line-height: 1.65; }

/* ============== QUICK INFO SIDEBAR ============== */
.quick-info { background: var(--stone); border-radius: var(--r-md); padding: 24px; position: sticky; top: 88px; }
.quick-info h2 { font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--clay); }
.qi-list { display: flex; flex-direction: column; gap: 14px; margin: 0 0 18px; }
.qi-row { display: grid; grid-template-columns: 100px 1fr; gap: 12px; font-size: 13px; line-height: 1.4; }
.qi-row dt { color: var(--muted); font-weight: 500; }
.qi-row dd { margin: 0; color: var(--text); font-weight: 600; }
.qi-row dd .note { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 2px; }
.qi-verified { padding-top: 14px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* ============== SAFETY WARNING ============== */
.safety { background: var(--clay-bg); border-radius: var(--r-md); padding: 20px 24px 20px 28px; position: relative; overflow: hidden; }
.safety::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--warn-bd); }
.safety h3 { color: var(--warn-text); margin: 0 0 6px; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; }
.safety p { color: var(--warn-text); margin: 0; font-size: 14px; line-height: 1.6; }

/* ============== FAQ ============== */
.faq h2 { margin-bottom: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color .15s ease; }
.faq-item[data-open="true"] { border-color: var(--evergreen); }
.faq-q { width: 100%; background: transparent; border: 0; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; font-weight: 600; color: var(--text); text-align: left; line-height: 1.4; }
.faq-q:hover { color: var(--evergreen); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--stone); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--evergreen); transition: all .15s ease; }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--evergreen); color: var(--paper); transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; font-size: 15px; line-height: 1.7; color: var(--text-2); }
.faq-a[hidden] { display: none; }

/* ============== NEARBY ATTRACTIONS ============== */
.nearby { background: var(--paper); border-top: 1px solid var(--border); padding: 64px 0; }
.nearby h2 { margin-bottom: 24px; }
.nearby-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.nearby-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: transform .2s ease, border-color .2s ease; text-decoration: none; color: inherit; display: block; }
.nearby-card:hover { transform: translateY(-2px); border-color: var(--clay); color: inherit; }
.nearby-img { aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--evergreen-300); }
.nearby-body { padding: 16px 18px; }
.nearby-body h3 { font-size: 15px; margin: 0 0 6px; color: var(--text); }
.nearby-body .meta { font-size: 12px; color: var(--muted); margin: 0; }

/* ============== CTA BLOCK ============== */
.cta-block { background: var(--stone); border-radius: var(--r-md); padding: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-block .label { font-weight: 600; color: var(--text); margin-right: 12px; font-size: 14px; }

/* ============== EMAIL CAPTURE ============== */
.email-capture { background: var(--evergreen-deep); color: var(--paper); padding: 56px 0; }
.email-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.email-text .eyebrow { color: var(--clay-50); margin-bottom: 10px; }
.email-text h2 { color: var(--paper); font-size: clamp(24px, 3vw, 30px); margin: 0 0 8px; }
.email-text p { color: var(--mist); margin: 0; font-size: 15px; line-height: 1.6; }
.email-form { display: flex; gap: 10px; flex-wrap: wrap; }
.email-form label { position: absolute; left: -9999px; }
.email-form input { flex: 1; min-width: 200px; padding: 14px 18px; border-radius: var(--r-pill); border: 1px solid transparent; font-size: 15px; font-family: inherit; background: var(--paper); color: var(--text); }
.email-form input:focus { outline: 3px solid var(--clay); outline-offset: 2px; }
.email-form button { padding: 14px 26px; border-radius: var(--r-pill); border: 0; background: var(--clay); color: #fff; font-weight: 600; font-size: 15px; transition: background .15s ease; }
.email-form button:hover { background: #B25E37; }
.email-privacy { color: var(--mist); font-size: 12px; margin: 14px 0 0; opacity: 0.85; }
.email-privacy a { color: var(--clay-50); border-bottom: 1px solid var(--clay-50); }

/* ============== FOOTER ============== */
.footer { background: var(--evergreen-deep); color: var(--mist); padding: 56px 0 28px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h3 { color: var(--clay-50); font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 16px; }
.footer .brand { color: var(--paper); font-size: 20px; margin-bottom: 12px; }
.footer .tagline { color: var(--mist); font-size: 13px; line-height: 1.6; max-width: 240px; margin: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: var(--mist); font-size: 14px; }
.footer ul a:hover { color: var(--clay-50); }
.footer-bar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12px; color: var(--muted); }
.footer-bar a { color: var(--mist); margin-left: 14px; }
.footer-note { font-size: 12px; color: var(--muted); margin: 12px 0 0; max-width: 720px; line-height: 1.6; }

/* ============== RESPONSIVE ============== */
@media (max-width: 960px) {
  .page-grid { grid-template-columns: 1fr; gap: 32px; }
  .quick-info { position: static; }
  .email-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .hero-inner { padding: 56px 24px 48px; }
  main { padding: 40px 0 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bar { flex-direction: column; gap: 8px; }
  .footer-bar a { margin: 0 14px 0 0; }
  .nearby { padding: 40px 0; }
}

/* ============== MEDIA GALLERY ============== */
.media-block { margin-bottom: 48px; }
.media-block h2 { margin-bottom: 16px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 8px; border-radius: var(--r-md); overflow: hidden; }
.gallery-item { position: relative; overflow: hidden; cursor: zoom-in; background: var(--evergreen-300); border: 0; padding: 0; }
.gallery-item:first-child { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:focus-visible { outline: 3px solid var(--clay); outline-offset: -3px; }
.gallery-item .count { position: absolute; right: 12px; bottom: 12px; background: rgba(15,42,30,0.85); color: var(--paper); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); }
.gallery-credit { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(15,26,20,0.95); z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox[data-open="true"] { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: var(--r-sm); }
.lightbox-caption { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); background: rgba(15,42,30,0.85); color: var(--paper); padding: 8px 16px; border-radius: var(--r-pill); font-size: 14px; max-width: 80%; text-align: center; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: rgba(255,255,255,0.12); color: var(--paper); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 22px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s ease; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--clay); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; top: 32px; left: 24px; color: var(--mist); font-size: 13px; font-weight: 500; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px 160px; }
  .gallery-item:first-child { grid-row: span 2; grid-column: span 2; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
}

/* ============== AD BLOCKS ============== */
.ad-block { margin: 32px 0; text-align: center; }
.ad-block:first-child { margin-top: 0; }
.ad-label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.ad-content { background: var(--stone); border: 1px dashed var(--border); border-radius: var(--r-sm); padding: 20px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.ad-placeholder { text-align: center; color: var(--muted); }
.ad-placeholder-title { font-family: var(--font-display); font-size: 18px; color: var(--evergreen); margin: 0 0 4px; font-weight: 500; letter-spacing: -0.01em; }
.ad-placeholder-meta { font-size: 12px; color: var(--muted); margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 720px) {
  .ad-block { margin: 24px 0; }
  .ad-content { padding: 16px; }
}

/* ============== ACCESSIBILITY ENHANCEMENTS ============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .gallery-item:hover img, .video-tile:hover img, .nearby-card:hover { transform: none; }
}
h1, h2, h3 { overflow-wrap: anywhere; }
[lang="cy"] { font-style: normal; }

/* ============== COOKIE BANNER ============== */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; background: var(--evergreen-deep); color: var(--paper); border-radius: var(--r-md); padding: 20px 24px; box-shadow: 0 8px 32px rgba(15,42,30,0.25); display: none; max-width: 720px; margin: 0 auto; }
.cookie-banner[data-show="true"] { display: block; }
.cookie-banner h3 { color: var(--paper); font-family: var(--font-body); font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.cookie-banner p { color: var(--mist); font-size: 14px; line-height: 1.55; margin: 0 0 14px; }
.cookie-banner p a { color: var(--clay-50); border-bottom: 1px solid var(--clay-50); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie-btn { padding: 9px 18px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font-family: var(--font-body); transition: background .15s ease; }
.cookie-btn-accept { background: var(--clay); color: #fff; border-color: var(--clay); }
.cookie-btn-accept:hover { background: #B25E37; }
.cookie-btn-reject { background: transparent; color: var(--mist); border-color: rgba(255,255,255,0.25); }
.cookie-btn-reject:hover { background: rgba(255,255,255,0.08); color: var(--paper); }
.cookie-settings { color: var(--clay-50); font-size: 12px; text-decoration: underline; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; font-family: var(--font-body); }
.cookie-settings:hover { color: var(--paper); }
@media (max-width: 720px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
  .cookie-actions { flex-direction: column; align-items: stretch; }
  .cookie-settings { margin: 0; text-align: center; }
}

/* sr-only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============== PRINT STYLES ============== */
@media print {
  .nav, .breadcrumb, .nav-cta, .nav-toggle, .email-capture, .cookie-banner, .ad-block, .skip-link, .footer { display: none !important; }
  body { background: #fff; color: #000; }
  .container { max-width: 100%; padding: 0; }
  .hero { background: none; color: #000; }
  .hero-img, .hero-overlay { display: none; }
  .hero h1, .hero .lede { color: #000; }
  a { color: #000; text-decoration: underline; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 0.85em; color: #555; }
  .quick-info, .ai-summary, .safety { border: 1px solid #999; background: #fff; }
  .faq-a { display: block !important; }
}


/* ============================================================
   PHASE 2 — Homepage and Search page styles
   ============================================================ */

/* Home: AI summary band */
.ai-band { background: var(--stone); padding: 32px 0; border-bottom: 1px solid var(--border); }
.ai-band .eyebrow { color: var(--clay); margin-bottom: 8px; }
.ai-band-text { font-size: 17px; line-height: 1.65; color: var(--text); margin: 0; max-width: 880px; }

/* Home: section spacing */
.home-section { padding: 64px 0; }
.home-section .eyebrow { color: var(--muted); margin: 0 0 8px; }
.home-section h2 { margin: 0 0 0; }

/* Home: regions grid */
.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.region-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease; display: block; }
.region-card:hover { transform: translateY(-2px); border-color: var(--clay); color: inherit; }
.region-img { aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--evergreen-300); }
.region-body { padding: 16px 18px; }
.region-body h3 { font-family: var(--font-body); font-size: 16px; margin: 0 0 4px; color: var(--text); }
.region-body .meta { font-size: 13px; color: var(--muted); margin: 0; }

/* Home: featured grid */
.featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.featured-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease; display: block; }
.featured-card:hover { transform: translateY(-2px); border-color: var(--clay); color: inherit; }
.featured-img { aspect-ratio: 16/10; background-size: cover; background-position: center; background-color: var(--evergreen-300); position: relative; }
.featured-badge { position: absolute; top: 12px; left: 12px; background: rgba(15,42,30,0.85); color: var(--paper); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; padding: 4px 10px; border-radius: var(--r-pill); }
.featured-body { padding: 16px 18px; }
.featured-body h3 { font-family: var(--font-body); font-size: 17px; margin: 0 0 4px; color: var(--text); }
.featured-body .meta { font-size: 13px; color: var(--muted); margin: 0; }

/* Home: itinerary strip */
.itinerary-strip { background: var(--evergreen-deep); color: var(--paper); padding: 56px 0; }
.itinerary-strip .container { text-align: center; }
.itinerary-strip .eyebrow { color: var(--clay-50); margin: 0 0 8px; }
.itinerary-strip h2 { color: var(--paper); font-size: clamp(22px, 3vw, 28px); margin: 0 0 8px; }
.itinerary-strip p { color: var(--mist); max-width: 560px; margin: 0 auto 24px; font-size: 15px; }
.itinerary-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.itinerary-strip .btn-secondary { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.4); }
.itinerary-strip .btn-secondary:hover { background: var(--paper); color: var(--evergreen-deep); border-color: var(--paper); }

/* Home: category pills */
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cat-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); padding: 8px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; transition: all .15s ease; }
.cat-pill:hover { background: var(--evergreen); color: var(--paper); border-color: var(--evergreen); }
.cat-count { font-size: 11px; color: var(--muted); background: var(--stone); padding: 2px 8px; border-radius: var(--r-pill); }
.cat-pill:hover .cat-count { background: rgba(255,255,255,0.18); color: var(--paper); }

/* Home: stats band */
.stats-band { background: var(--stone); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-display); font-size: clamp(36px, 5vw, 48px); font-weight: 500; color: var(--evergreen); letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: var(--muted); }

/* Home: FAQ wrapper */
.home-faq { padding: 64px 0; }

/* ============================================================
   Search page
   ============================================================ */
.search-page { padding: 56px 0 96px; }
.search-header { max-width: 720px; margin: 0 0 32px; }
.search-header .eyebrow { color: var(--muted); margin: 0 0 8px; }
.search-header h1 { margin: 0 0 12px; }
.search-header .lede { font-size: 16px; color: var(--text-2); margin: 0; }
.search-form { position: relative; max-width: 720px; margin: 0 0 24px; }
.search-form input[type="search"] { width: 100%; padding: 16px 56px 16px 24px; border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 16px; font-family: var(--font-body); background: var(--surface); }
.search-form input[type="search"]:focus { outline: 3px solid var(--clay); outline-offset: 2px; border-color: var(--clay); }
.search-form button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: var(--stone); color: var(--text); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.search-form button:hover { background: var(--clay); color: var(--paper); }
.search-status { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.search-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.search-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease; }
.search-card:hover { transform: translateY(-2px); border-color: var(--clay); color: inherit; }
.search-card-img { aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--evergreen-300); }
.search-card-body { padding: 16px 18px; }
.search-card-body h3 { font-family: var(--font-body); font-size: 16px; margin: 0 0 4px; color: var(--text); }
.search-card-body .meta { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.search-card-body .summary { font-size: 13px; color: var(--text-2); margin: 0; line-height: 1.5; }
.badge-free { background: var(--clay); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: var(--r-pill); font-weight: 600; }

/* ============================================================
   Thank-you page
   ============================================================ */
.thank-you { padding: 80px 0 96px; max-width: 720px; }
.thank-you .eyebrow { color: var(--clay); margin: 0 0 8px; }
.thank-you h1 { margin: 0 0 16px; }
.thank-you .lede { font-size: 17px; line-height: 1.7; color: var(--text-2); margin: 0 0 32px; }


/* ============================================================
   Location map (Google Maps embed)
   ============================================================ */
.location-map { margin: 32px 0 48px; }
.location-map h2 { margin: 0 0 16px; }
.map-frame { background: var(--stone); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; width: 100%; }
.map-frame iframe { border: 0; display: block; width: 100%; height: 100%; }
.map-link { font-size: 14px; margin: 12px 0 0; text-align: right; }
.map-link a { font-weight: 500; }


/* ============================================================
   PHASE 3 — Regional guide pages
   ============================================================ */
.region-content { max-width: 880px; margin: 0 auto; padding: 56px 0; }
.region-content > section { margin-bottom: 48px; }
.region-content > section:last-child { margin-bottom: 0; }

/* Region content lists (top things, bases) */
.region-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.region-list li { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--clay); border-radius: var(--r-md); padding: 14px 18px; line-height: 1.5; }
.region-list li a { font-weight: 600; color: var(--evergreen); }
.region-list li a:hover { color: var(--clay); }
.region-list .meta-inline { color: var(--muted); font-size: 14px; margin-left: 4px; }

/* Hidden gems definition list */
.hidden-gems { margin: 0; }
.hidden-gems dt { font-weight: 600; color: var(--text); margin-top: 16px; font-size: 16px; }
.hidden-gems dt:first-child { margin-top: 0; }
.hidden-gems dd { margin: 4px 0 0; color: var(--text-2); padding-left: 0; }

/* Getting-there sub-sections */
.region-content .prose h3 { margin: 18px 0 6px; color: var(--evergreen); }
.region-content .prose h3:first-of-type { margin-top: 0; }

@media (max-width: 720px) {
  .region-content { padding: 40px 0; }
  .region-list li { padding: 12px 14px; }
}
