/* ==========================================================================
   Showtrailchoicecabin — White & Gold Glass Card System
   ========================================================================== */

:root{
  --bg:#0d0b1e;
  --bg-alt:#150f2b;
  --surface: rgba(255,255,255,0.07);
  --surface-strong: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.16);
  --border-strong: rgba(255,255,255,0.28);
  --text:#f4f0fb;
  --text-muted:#d9d3ea;
  --gold:#e8c874;
  --gold-light:#f6e3a8;
  --gold-transparent: rgba(232,200,116,0.18);
  --white-transparent: rgba(255,255,255,0.14);
  --accent:#fff6d8;
  --teal:#f6ad55;
  --danger:#ff8fa3;

  --card-bg:#fbf8f0;
  --card-bg-hover:#ffffff;
  --card-text:#332b18;
  --card-text-muted:#5a5240;
  --card-border: rgba(30,24,10,0.10);

  --space-1:4px;
  --space-2:8px;
  --space-3:16px;
  --space-4:24px;
  --space-5:40px;
  --space-6:64px;

  --header-h-mobile:50px;
  --header-h-desktop:60px;
}

*, *::before, *::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  min-width:0;
}

h1,h2,h3,h4{
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  color:var(--text);
  line-height:1.2;
  overflow-wrap:anywhere;
  margin:0 0 var(--space-3) 0;
}

h2{ font-size:clamp(1.5rem, 3vw, 2.1rem); margin-top:0; }
p{ margin:0 0 var(--space-3) 0; overflow-wrap:break-word; }

a{ color:var(--gold); }
a:hover{ color:var(--accent); }

img{ max-width:100%; display:block; }

ul,ol{ padding-left: 1.25em; }
li{ margin-bottom: var(--space-2); }

.container{
  max-width:1200px;
  width:100%;
  margin-inline:auto;
  padding-inline:var(--space-4);
}
@media (max-width:399px){
  .container{ padding-inline:var(--space-3); }
}

.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;
}

.skip-link{
  position:absolute; left:8px; top:-56px;
  background:var(--gold); color:#1a1330;
  padding:10px 18px; border-radius:8px;
  z-index:1000; font-weight:700; text-decoration:none;
  transition: top .2s ease;
}
.skip-link:focus{ top:8px; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible{
  outline:3px solid var(--teal);
  outline-offset:2px;
  border-radius:4px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 22px;
  border-radius:999px;
  font-weight:700;
  font-size:0.92rem;
  text-decoration:none;
  cursor:pointer;
  border:1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  background:transparent;
  color:var(--text);
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-1px); }

.btn-gold{ background:var(--gold); color:#1a1330; border-color:var(--gold); }
.btn-gold:hover{ background:var(--gold-light); color:#1a1330; box-shadow:0 6px 18px rgba(232,203,122,0.4); }

.btn-outline{ background:rgba(255,255,255,0.04); color:var(--gold); border-color:var(--gold); }
.btn-outline:hover{ background:var(--gold); color:#1a1330; }

.btn-ghost{ background:rgba(255,255,255,0.09); color:var(--text); border-color:var(--border); }
.btn-ghost:hover{ background:rgba(255,255,255,0.18); color:var(--text); }

.btn-small{ padding:8px 16px; font-size:0.82rem; }

/* Header CTA — fixed sizing so it never collides with the hamburger and
   always keeps readable text at every breakpoint */
.btn-cta{
  display:inline-flex;
  flex:0 0 auto;
  white-space:nowrap;
  padding:9px 14px;
  font-size:0.75rem;
  letter-spacing:0.01em;
  border:1px solid var(--gold);
  box-shadow:0 2px 10px rgba(232,203,122,0.25);
}
@media (min-width:420px){
  .btn-cta{ padding:10px 18px; font-size:0.85rem; }
}
@media (min-width:560px){
  .btn-cta{ padding:12px 22px; font-size:0.92rem; }
}
@media (max-width:340px){
  .btn-cta{ padding:8px 10px; font-size:0.68rem; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position:relative;
  min-height:var(--header-h-mobile);
  border-bottom:1px solid var(--border);
  background:rgba(13,11,30,0.92);
  z-index:100;
}
@media (min-width:768px){
  .site-header{ min-height:var(--header-h-desktop); }
}

.header-inner{
  min-height:inherit;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-3);
  padding-block:var(--space-2);
}

.brand{
  display:flex;
  align-items:center;
  gap:var(--space-2);
  text-decoration:none;
  color:var(--gold);
  font-weight:800;
  font-size:0.95rem;
  min-width:0;
  flex:1 1 auto;
  overflow:hidden;
}
.brand:hover{ color:var(--gold-light); }
.brand-name{
  overflow-wrap:anywhere;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.brand-mark{ width:28px; height:28px; flex-shrink:0; }

.site-nav{ display:none; min-width:0; }
@media (min-width:768px){
  .site-nav{
    display:flex;
    gap:var(--space-4);
    align-items:center;
  }
  .site-nav a{
    color:var(--text);
    text-decoration:none;
    font-size:0.95rem;
    font-weight:600;
    overflow-wrap:anywhere;
  }
  .site-nav a:hover{ color:var(--gold); }
}

.header-actions{
  display:flex;
  align-items:center;
  gap:var(--space-2);
  min-width:0;
  flex:0 0 auto;
  flex-wrap:nowrap;
}
@media (min-width:768px){
  .header-actions{ gap:var(--space-3); }
}

.hamburger{
  display:inline-flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:40px; height:40px;
  background:rgba(255,255,255,0.04);
  border:1px solid var(--border);
  border-radius:8px;
  cursor:pointer;
  flex-shrink:0;
}
.hamburger span{
  width:18px; height:2px;
  background:var(--gold);
  display:block;
  border-radius:2px;
}
@media (min-width:768px){
  .hamburger{ display:none; }
}

.mobile-nav{
  position:fixed;
  inset:0;
  background:rgba(13,11,30,0.98);
  transform:translateX(100%);
  transition: transform .3s ease;
  z-index:200;
  overflow-y:auto;
  padding: var(--space-3) var(--space-4) var(--space-6);
}
.mobile-nav.is-open{ transform:translateX(0); }
@media (min-width:768px){
  .mobile-nav{ display:none; }
}

.mobile-nav-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:50px;
  border-bottom:1px solid var(--border);
  margin-bottom:var(--space-4);
  gap:var(--space-3);
}
.mobile-nav-top .brand-name{
  color:var(--gold);
  font-weight:800;
  font-size:1rem;
  min-width:0;
}
.mobile-nav-close{
  width:40px; height:40px;
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
  border-radius:8px;
  font-size:1.1rem;
  cursor:pointer;
  flex-shrink:0;
}

.mobile-nav nav{
  display:flex;
  flex-direction:column;
  gap:var(--space-2);
}
.mobile-nav nav a{
  color:var(--text);
  text-decoration:none;
  font-size:1.1rem;
  font-weight:600;
  padding:var(--space-3) 0;
  border-bottom:1px solid var(--border);
  overflow-wrap:anywhere;
}
.mobile-nav nav a:hover{ color:var(--gold); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative;
  overflow:hidden;
  padding-block:var(--space-6);
  border-bottom:1px solid var(--border);
}
.hero::before{
  content:"";
  position:absolute;
  top:-80px; right:-80px;
  width:320px; height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(232,203,122,0.35), transparent 70%);
  filter:blur(10px);
}
@media (max-width:767px){
  .hero::before{ top:0; right:0; }
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:var(--space-5);
  align-items:center;
  position:relative;
  z-index:1;
}
.hero-grid > *{ min-width:0; }
@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:var(--teal);
  font-size:0.8rem;
  font-weight:700;
  margin-bottom:var(--space-2);
}

.hero h1{
  font-size:clamp(2rem, 5vw, 3.25rem);
  margin-bottom:var(--space-4);
}
.hero-copy p{
  color:var(--text-muted);
  font-size:1.125rem;
  max-width:60ch;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-3);
  margin-top:var(--space-5);
}
.hero-art{ width:100%; max-width:340px; margin-inline:auto; }

/* ==========================================================================
   Page hero (sub-pages)
   ========================================================================== */
.page-hero{
  position:relative;
  overflow:hidden;
  padding-block:var(--space-6);
  background:linear-gradient(160deg, rgba(255,255,255,0.10), rgba(232,203,122,0.08));
  border-bottom:1px solid var(--border);
}
.page-hero::before{
  content:"";
  position:absolute;
  bottom:-60px; left:-60px;
  width:260px; height:260px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(232,203,122,0.25), transparent 70%);
}
@media (max-width:767px){
  .page-hero::before{ bottom:0; left:0; }
}
.page-hero .container{ position:relative; z-index:1; }
.page-hero--legal{ padding-block:var(--space-5); }

.breadcrumb{
  color:var(--text-muted);
  font-size:0.85rem;
  margin-bottom:var(--space-3);
  overflow-wrap:anywhere;
}
.breadcrumb a{ color:var(--text-muted); }
.breadcrumb a:hover{ color:var(--gold); }

.page-hero h1{ margin-bottom:var(--space-3); }
.page-hero .lede{
  color:var(--text-muted);
  font-size:1.1rem;
  max-width:70ch;
  margin-bottom:0;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section{ padding-block:var(--space-6); }
.section-alt{ background:var(--bg-alt); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.section-lead{ color:var(--text-muted); font-size:1.05rem; max-width:70ch; margin-bottom:var(--space-5); }
.section-footnote{ color:var(--text-muted); margin-top:var(--space-5); }

.article{ max-width:820px; }
.article h2{ margin-top:var(--space-6); }
.article h2:first-of-type{ margin-top:0; }
.article p{ color:var(--text-muted); }
.fact-list li{ color:var(--text-muted); margin-bottom:var(--space-3); }
.position-list li{ color:var(--text-muted); }

.legal-content h2{ margin-top:var(--space-6); }
.legal-content h2:first-of-type{ margin-top:0; }
.legal-content p, .legal-content li{ color:var(--text-muted); }
.legal-content ul{ margin-bottom:var(--space-4); }

/* ==========================================================================
   Cards — Light Row-Style Cards (no blue tones)
   ========================================================================== */
.guides-grid{
  display:flex;
  flex-direction:column;
  gap:var(--space-4);
  margin-top:var(--space-5);
}
.guides-grid--compact{ margin-top:var(--space-4); }
.guides-grid > *{ min-width:0; }

.card{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  display:flex;
  flex-direction:row;
  align-items:stretch;
  min-width:0;
  background:var(--card-bg);
  border:1px solid var(--card-border);
  box-shadow:0 10px 26px rgba(20,14,4,0.18);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.card:hover{
  transform:translateY(-6px);
  border-color:var(--gold);
  background:var(--card-bg-hover);
  box-shadow:0 20px 40px rgba(20,14,4,0.24), 0 0 0 1px rgba(232,203,122,0.45);
}

.card img{
  width:280px;
  max-width:38%;
  height:auto;
  align-self:stretch;
  object-fit:cover;
  flex-shrink:0;
  transition: transform .5s ease, filter .5s ease;
  filter:saturate(1);
}
.card:hover img{ transform:scale(1.06); }

.card__panel{
  position:relative;
  z-index:2;
  margin:0;
  padding:var(--space-4) var(--space-5);
  background:transparent;
  border:none;
  border-left:3px solid var(--gold);
  border-radius:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:var(--space-3);
  flex:1 1 auto;
}
.card__panel h3{ margin:0; color:#8a6a1a; font-size:1.3rem; overflow-wrap:anywhere; }
.card__panel p{ margin:0; color:var(--card-text-muted); font-size:0.97rem; }
.card__tags{ display:flex; flex-wrap:wrap; gap:var(--space-2); }
.tag{
  font-size:0.72rem;
  padding:4px 12px;
  border:1px solid rgba(20,14,4,0.18);
  border-radius:999px;
  color:var(--card-text);
  background:rgba(232,203,122,0.28);
}
.card__link{
  align-self:flex-start;
  color:#8a6a1a;
  font-weight:700;
  text-decoration:none;
  font-size:0.92rem;
  margin-top:auto;
}
.card__link:hover{ color:#5c4710; text-decoration:underline; }

@media (max-width:700px){
  .card{ flex-direction:column; }
  .card img{
    width:100%;
    max-width:100%;
    height:200px;
  }
  .card__panel{
    border-left:none;
    border-top:3px solid var(--gold);
    padding:var(--space-4);
  }
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
  gap:var(--space-4);
  margin-top:var(--space-5);
}
.stats-grid > *{ min-width:0; }
.stat{
  background:linear-gradient(160deg, rgba(255,255,255,0.09), rgba(232,203,122,0.05));
  border:1px solid var(--border);
  border-radius:16px;
  padding:var(--space-4);
  text-align:center;
}
.stat__number{
  font-size:2.5rem;
  color:var(--gold);
  font-weight:800;
  display:block;
  font-family: "Iowan Old Style", Georgia, serif;
}
.stat__label{
  display:block;
  margin-top:var(--space-2);
  color:var(--text-muted);
  font-size:0.9rem;
}

/* ==========================================================================
   Tables
   ========================================================================== */
.table-wrap{
  overflow-x:auto;
  margin-top:var(--space-4);
  margin-bottom:var(--space-4);
  border:1px solid var(--border);
  border-radius:12px;
}
table{ width:100%; border-collapse:collapse; min-width:520px; }
th, td{
  padding:var(--space-3);
  text-align:left;
  border-bottom:1px solid var(--border);
  color:var(--text-muted);
  font-size:0.9rem;
}
th{ color:var(--gold); background:rgba(255,255,255,0.05); font-weight:700; }
tr:last-child td{ border-bottom:none; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:var(--space-5);
}
.contact-grid > *{ min-width:0; }
@media (max-width:900px){
  .contact-grid{ grid-template-columns:1fr; }
}

.contact-form-wrap h2, .contact-info h2{ margin-bottom:var(--space-4); }

.contact-form{ display:flex; flex-direction:column; }
.form-field{
  display:flex;
  flex-direction:column;
  gap:var(--space-2);
  margin-bottom:var(--space-4);
}
.form-field label{ color:var(--text); font-weight:700; font-size:0.9rem; }
.form-field input,
.form-field select,
.form-field textarea{
  background:rgba(255,255,255,0.07);
  border:1px solid var(--border);
  border-radius:8px;
  padding:12px 16px;
  color:var(--text);
  font-size:1rem;
  font-family:inherit;
}
.form-field textarea{ resize:vertical; }
.form-error{
  color:var(--danger);
  font-size:0.85rem;
  display:none;
}
.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea{
  border-color:var(--danger);
}
.form-field.is-invalid .form-error{ display:block; }

.form-success{
  background:rgba(232,203,122,0.14);
  border:1px solid var(--gold);
  color:var(--text);
  padding:var(--space-3) var(--space-4);
  border-radius:12px;
  margin-top:var(--space-4);
  display:none;
}
.form-success.is-visible{ display:block; }

.contact-info address{ font-style:normal; color:var(--text-muted); margin-bottom:var(--space-3); }
.contact-info p{ color:var(--text-muted); }

.map-block{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  min-height:280px;
  margin-top:var(--space-4);
  background:
    linear-gradient(135deg, rgba(232,203,122,0.10), rgba(255,255,255,0.08)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 40px),
    var(--bg-alt);
}
.map-pin{
  position:absolute;
  left:50%; top:45%;
  transform:translate(-50%, -100%);
}
.map-caption{
  position:absolute;
  left:var(--space-3); right:var(--space-3); bottom:var(--space-3);
  background:rgba(13,11,30,0.75);
  padding:12px 16px;
  border-radius:8px;
  color:var(--text);
  font-size:0.85rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background:var(--bg-alt);
  border-top:1px solid var(--border);
  padding-block:var(--space-6);
}
.footer-top{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.3fr;
  gap:var(--space-5);
}
.footer-top > *{ min-width:0; }
@media (max-width:900px){
  .footer-top{ grid-template-columns:1fr 1fr; }
}
@media (max-width:520px){
  .footer-top{ grid-template-columns:1fr; }
}

.footer-brand .brand-name{
  color:var(--gold);
  font-weight:800;
  font-size:1.1rem;
  display:block;
  margin-bottom:var(--space-3);
}
.footer-brand p{ color:var(--text-muted); font-size:0.9rem; }

.footer-col h3{
  font-family:inherit;
  font-size:0.95rem;
  color:var(--text);
  margin-bottom:var(--space-3);
}
.footer-col ul{ list-style:none; padding:0; margin:0; }
.footer-col li{ margin-bottom:var(--space-2); }
.footer-col a{ color:var(--text-muted); text-decoration:none; font-size:0.9rem; }
.footer-col a:hover{ color:var(--gold); }

address{ font-style:normal; color:var(--text-muted); font-size:0.9rem; }
address a{ color:var(--gold); }

.footer-legal{
  margin-top:var(--space-6);
  padding-top:var(--space-4);
  border-top:1px solid var(--border);
  color:var(--text-muted);
  font-size:0.8rem;
}

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:300;
  background:rgba(15,11,32,0.97);
  border-top:1px solid var(--border);
  padding:var(--space-4);
  transform:translateY(100%);
  transition: transform .3s ease;
}
.cookie-banner.is-visible{ transform:translateY(0); }
.cookie-banner[hidden]{ display:none; }

.cookie-banner-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-3);
  align-items:center;
  justify-content:space-between;
}
.cookie-banner-inner > *{ min-width:0; }
.cookie-banner p{
  color:var(--text-muted);
  font-size:0.88rem;
  margin:0;
  flex:1 1 320px;
}
.cookie-actions{ display:flex; flex-wrap:wrap; gap:var(--space-3); }

.cookie-preferences{
  display:flex;
  flex-direction:column;
  gap:var(--space-2);
  background:rgba(255,255,255,0.05);
  border:1px solid var(--border);
  padding:var(--space-3);
  border-radius:8px;
  flex-basis:100%;
}
.cookie-preferences[hidden]{ display:none; }
.cookie-preferences label{
  color:var(--text);
  font-size:0.85rem;
  display:flex;
  align-items:center;
  gap:var(--space-2);
}

/* ==========================================================================
   Small screens (<400px)
   ========================================================================== */
@media (max-width:399px){
  .card__panel{ padding:var(--space-3); }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .stats-grid{ grid-template-columns:1fr 1fr; }
  .brand-name{ font-size:0.85rem; max-width:120px; }
  .cookie-actions{ flex-direction:column; align-items:stretch; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    transition-duration:0.001ms !important;
    animation-duration:0.001ms !important;
    animation-iteration-count:1 !important;
  }
  html{ scroll-behavior:auto !important; }
}