/* ============================================================
   Matanuska Glacier Tour — stylesheet
   Design system: Ancient Ice
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,500;1,9..144,600&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  /* --- color tokens --- */
  --navy:        #12283F;   /* Deep Crevasse Navy — dark sections, primary text */
  --navy-soft:   #1D3A57;
  --ice-blue:    #1E76A8;   /* Meltwater Blue — brand primary */
  --ice-blue-light:#4FA9D8;
  --pale-ice:    #EFF6F8;   /* Glacier Ice — page background */
  --frost:       #FFFFFF;
  --accent:      #E8722C;   /* Alpenglow Orange — CTAs */
  --accent-dark: #C85A1B;
  --fireweed:    #C2517A;   /* Fireweed Pink — stars / small accents */
  --ink:         #16232F;   /* body text on light bg */
  --ink-soft:    #4A5C6A;
  --line:        #D7E4E9;

  /* --- type --- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, Segoe UI, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* --- layout --- */
  --max-w: 1180px;
  --radius: 14px;
  --nav-h: 76px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 14px); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--pale-ice);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: var(--ice-blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover{ color: var(--accent-dark); }

:focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link{
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: var(--frost);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 200;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus{ top: 12px; }

h1, h2, h3{
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h2{ font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 700; }
h3{ font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); font-weight: 700; }
p{ margin: 0 0 1em; color: var(--ink-soft); }

.container{
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice-blue);
  margin-bottom: 0.9em;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

section{ padding-block: clamp(52px, 6vw, 96px); }

/* ============================================================
   Signature element — jagged "crevasse" dividers between sections
   ============================================================ */
.crevasse-divider{
  height: 46px;
  width: 100%;
  background: var(--frost);
  clip-path: polygon(
    0% 100%, 4% 30%, 9% 70%, 14% 10%, 19% 55%, 24% 20%, 29% 65%,
    34% 0%, 39% 45%, 44% 15%, 49% 60%, 54% 5%, 59% 50%, 64% 25%,
    69% 70%, 74% 10%, 79% 55%, 84% 20%, 89% 65%, 94% 30%, 100% 100%
  );
}
.crevasse-divider.on-pale{ background: var(--pale-ice); }
.crevasse-divider.on-navy{ background: var(--navy); }
.crevasse-divider.flip{ transform: scaleY(-1); }

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: var(--accent);
  color: var(--frost);
  box-shadow: 0 8px 20px -6px rgba(232, 114, 44, 0.55);
}
.btn-primary:hover{ background: var(--accent-dark); color: var(--frost); }

.btn-secondary{
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover{ background: var(--navy); color: var(--frost); }

.btn-on-navy{
  background: transparent;
  color: var(--frost);
  border-color: rgba(255,255,255,0.55);
}
.btn-on-navy:hover{ background: var(--frost); color: var(--navy); }

.btn-block-mobile{ width: 100%; }

.external-icon{ font-size: 0.85em; transform: translateY(-1px); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(239, 246, 248, 0.97);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark{ width: 38px; height: 38px; flex-shrink: 0; }
.brand-word{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--navy);
  line-height: 1.05;
}
.brand-word small{
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice-blue);
}

.main-nav{
  display: flex;
}
.main-nav ul{
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.main-nav a{
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--navy-soft);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover{
  background: rgba(30, 118, 168, 0.1);
  color: var(--ice-blue);
}

.nav-toggle{
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--frost);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after{
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before{ position: absolute; top: -7px; }
.nav-toggle span::after{ position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ top: 0; transform: rotate(45deg); background: var(--navy); }
.nav-toggle[aria-expanded="true"] span::after{ top: 0; transform: rotate(-45deg); background: var(--navy); }

/* ============================================================
   Hero
   ============================================================ */
.hero{
  padding-block: clamp(40px, 6vw, 76px) clamp(48px, 7vw, 88px);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(30,118,168,0.14), transparent 60%),
    linear-gradient(180deg, var(--pale-ice), var(--pale-ice));
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy .eyebrow{ margin-bottom: 1em; }
.hero h1{
  font-size: clamp(2.3rem, 1.7rem + 2.6vw, 3.6rem);
  font-weight: 700;
}
.slogan{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  color: var(--accent-dark);
  margin: 0 0 0.9em;
}
.hero-intro{
  font-size: 1.05rem;
  max-width: 46ch;
  color: var(--ink-soft);
}
.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 1.6em;
}
.trust-row{
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 2.1em;
  padding-top: 1.6em;
  border-top: 1px solid var(--line);
}
.trust-item{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 220px;
}
.trust-item .dot{
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}
.trust-item strong{ display: block; color: var(--navy); font-size: 0.92rem; }
.trust-item span{ font-size: 0.83rem; color: var(--ink-soft); }

.hero-media{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -25px rgba(18, 40, 63, 0.45);
}
.hero-media img{ width: 100%; height: 100%; object-fit: cover; }
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18,40,63,0.55));
}
.hero-media-caption{
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  color: var(--frost);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  z-index: 1;
}

/* ============================================================
   Gallery — uniform grid
   ============================================================ */
.gallery-section{ background: var(--frost); }
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 2.2em;
}
.gallery-grid figure{
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery-grid img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid figure:hover img{ transform: scale(1.06); }

.gallery-item{
  display: block;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
}
.gallery-item::after{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(18,40,63,0.28), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover::after,
.gallery-item:focus-visible::after{ opacity: 1; }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 56px);
  background: rgba(18, 40, 63, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.lightbox.is-open{ opacity: 1; visibility: visible; }
.lightbox-img{
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6);
}
.lightbox-close{
  position: absolute;
  top: 20px; right: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--frost);
  font-size: 1.7rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.lightbox-close:hover{ background: var(--accent); border-color: var(--accent); }

/* ============================================================
   Content sections (Why choose)
   ============================================================ */
.content-section .container{
  max-width: 880px;
}
.content-section p{ font-size: 1.03rem; }
.content-section p a{ font-weight: 600; }

.highlights-section{ background: var(--pale-ice); }
.highlights-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
  margin-top: 2em;
  list-style: none;
  padding: 0;
}
.highlights-grid li{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.shard{
  flex-shrink: 0;
  width: 30px; height: 30px;
  margin-top: 2px;
}
.highlights-grid p{ margin: 0; color: var(--ink); font-size: 0.97rem; }

/* ============================================================
   Itinerary — crack-line timeline
   ============================================================ */
.itinerary-section{ background: var(--frost); }
.timeline{
  position: relative;
  margin-top: 2.4em;
  padding-left: 46px;
}
.timeline::before{
  content: "";
  position: absolute;
  left: 14px; top: 6px; bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, var(--ice-blue), var(--accent));
  clip-path: polygon(
    35% 0%, 65% 4%, 30% 9%, 70% 14%, 40% 20%, 60% 26%, 25% 32%,
    75% 38%, 35% 44%, 65% 50%, 30% 56%, 70% 62%, 40% 68%, 60% 74%,
    35% 80%, 65% 86%, 40% 92%, 60% 96%, 50% 100%, 50% 96%, 60% 90%,
    40% 84%, 65% 78%, 35% 72%, 60% 66%, 30% 60%, 70% 54%, 35% 48%,
    65% 42%, 25% 36%, 75% 30%, 40% 24%, 60% 18%, 30% 12%, 65% 8%, 35% 4%, 50% 0%
  );
}
.timeline-step{
  position: relative;
  padding-bottom: 2.4em;
}
.timeline-step:last-child{ padding-bottom: 0; }
.timeline-step::before{
  content: "";
  position: absolute;
  left: -46px; top: 2px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--frost);
  border: 3px solid var(--ice-blue);
}
.timeline-step.is-glacier::before{
  border-color: var(--accent);
  background: var(--accent);
}
.timeline-step .step-time{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice-blue);
  display: block;
  margin-bottom: 0.35em;
}
.timeline-step h3{ margin-bottom: 0.3em; }
.timeline-step p{ margin: 0; max-width: 56ch; }
.timeline-note{
  margin-top: 6px;
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent-dark);
  background: rgba(232, 114, 44, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
}

/* Centered, alternating route on desktop */
@media (min-width: 761px){
  .timeline{
    padding-left: 0;
    max-width: 760px;
    margin-inline: auto;
  }
  .timeline::before{
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-step{
    width: calc(50% - 46px);
    padding-bottom: 3em;
  }
  .timeline-step::before{ left: auto; }
  .timeline-step:nth-child(odd){ margin-right: auto; text-align: right; }
  .timeline-step:nth-child(odd)::before{ right: -33px; }
  .timeline-step:nth-child(even){ margin-left: auto; }
  .timeline-step:nth-child(even)::before{ left: -33px; }
  .timeline-step:nth-child(odd) p{ margin-left: auto; }
}

/* ============================================================
   CTA banners
   ============================================================ */
.cta-banner{
  background: var(--navy);
  color: var(--frost);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h3{ color: var(--frost); margin-bottom: 0.25em; }
.cta-banner p{ color: rgba(255,255,255,0.75); margin: 0; max-width: 46ch; }
.cta-banner-text{ flex: 1 1 320px; }
.cta-wrap{ padding-block: 0 clamp(52px, 6vw, 96px); background: var(--pale-ice); }
.cta-wrap.on-frost{ background: var(--frost); }

/* ============================================================
   Know before you go
   ============================================================ */
.prep-section{ background: var(--pale-ice); }
.prep-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 2.2em;
}
.prep-card{
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.prep-card h3{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  margin-bottom: 0.8em;
}
.prep-card ul{ margin: 0; padding-left: 0; list-style: none; }
.prep-card li{
  padding: 7px 0 7px 26px;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--line);
}
.prep-card li:last-child{ border-bottom: none; }
.prep-card.includes li::before{ content: "✓"; position: absolute; left: 0; color: #2E9E5B; font-weight: 700; }
.prep-card.excludes li::before{ content: "×"; position: absolute; left: 2px; color: #C24545; font-weight: 700; }
.prep-card.bring li::before{ content: "—"; position: absolute; left: 0; color: var(--ice-blue); font-weight: 700; }
.prep-card.not-suitable li::before{ content: "!"; position: absolute; left: 4px; color: var(--accent-dark); font-weight: 700; }

/* ============================================================
   Reviews
   ============================================================ */
.reviews-section{ background: var(--frost); }
.reviews-meta{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: -0.4em;
  margin-bottom: 2.2em;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.reviews-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card{
  background: var(--pale-ice);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stars{
  color: var(--fireweed);
  letter-spacing: 2px;
  font-size: 0.95rem;
}
.stars .void{ color: #D8C3CC; }
.review-author{
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.review-location{
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ice-blue);
  text-transform: uppercase;
  margin-top: 1px;
}
.review-text{ color: var(--ink); font-size: 0.95rem; margin: 0; }
.review-reply{
  margin-top: 4px;
  padding: 12px 14px;
  background: var(--frost);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
}
.review-reply-label{
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 4px;
}
.review-reply p{ margin: 0; font-size: 0.88rem; color: var(--ink-soft); }

/* ============================================================
   Footer CTA — two columns
   ============================================================ */
.footer-cta{ background: var(--ice-blue); }
.footer-cta .container{
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}
.footer-cta-text h2{ color: var(--frost); }
.footer-cta-text p{ color: rgba(255,255,255,0.85); margin: 0; max-width: 52ch; }
.footer-cta-action{ display: flex; justify-content: flex-end; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer{
  background: var(--navy);
  color: rgba(255,255,255,0.72);
  padding-block: 56px 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand{ display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px; }
.footer-brand .brand-word{ color: var(--frost); }
.footer-brand .brand-word small{ color: var(--ice-blue-light); }
.footer-about p{ max-width: 40ch; color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-heading{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice-blue-light);
  margin-bottom: 1em;
}
.footer-links{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a{ color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.94rem; }
.footer-links a:hover{ color: var(--frost); }
.footer-contact-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.footer-contact-list li{ display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-list a{ color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-contact-list a:hover{ color: var(--frost); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   Back to top
   ============================================================ */
.back-to-top{
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--frost);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(18,40,63,0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 90;
}
.back-to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg{ width: 20px; height: 20px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-media{ aspect-ratio: 16/10; order: -1; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .highlights-grid{ grid-template-columns: 1fr; }
  .prep-grid{ grid-template-columns: 1fr; }
  .reviews-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-cta .container{ grid-template-columns: 1fr; text-align: center; }
  .footer-cta-action{ justify-content: center; }
}

@media (max-width: 760px){
  :root{ --nav-h: 66px; }

  .main-nav{
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    bottom: 0;
    background: var(--frost);
    display: flex;
    align-items: flex-start;
    padding: 18px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav ul{
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }
  .main-nav a{
    display: block;
    padding: 15px 6px;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-toggle{ display: flex; }

  .hero-actions{ flex-direction: column; }
  .trust-row{ gap: 16px; }
  .trust-item{ max-width: 100%; }

  .gallery-grid{ grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .reviews-grid{ grid-template-columns: 1fr; }

  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }

  .cta-banner{ flex-direction: column; align-items: stretch; text-align: center; }
  .cta-banner-text{ flex: none; text-align: center; }

  /* All buttons centered and one-sized on mobile */
  .btn{
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
    padding-block: 16px;
  }
  .hero-actions,
  .cta-banner,
  .footer-cta-action{
    align-items: center;
  }
  .hero-actions .btn,
  .cta-banner .btn,
  .footer-cta-action .btn{
    display: flex;
  }
}

@media (max-width: 480px){
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
}
