:root{
  --blue:#153a7a;
  --red:#c62828;
  --bg:#f7f8fb;
  --text:#0b1526;
  --muted:#5d667a;
  --line:#e6e8ef;
  --card:#ffffff;
  --radius:12px;
  --shadow:0 8px 26px rgba(16,24,40,.06);
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text); background:var(--bg); line-height:1.6;
  display:flex; flex-direction:column;
}
img{max-width:100%;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1160px;margin:0 auto;padding:0 1rem}
figure{margin:0}

/* Topbar */
.topbar{background:#0f2c56;color:#dfe7f5;border-bottom:1px solid var(--line)}
.topbar-inner{
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.8rem;padding:.55rem 1rem;
  font-size:.95rem;
}
.topbar-left{justify-self:start}
.topbar-center{justify-self:center}
.topbar-right{justify-self:end;display:flex;gap:.6rem;flex-wrap:wrap}
.logo-img{width:48px;height:48px;object-fit:contain;border-radius:10px;background:#fff;border:2px solid #fff;box-shadow:var(--shadow)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;font-weight:700;border-radius:10px;padding:.7rem 1rem}
.btn-pill{border-radius:999px}
.btn-lg{padding:.9rem 1.2rem}
.btn-outline{border:1px solid var(--blue);color:var(--blue);background:#fff}
.btn-blue{background:var(--blue);border:1px solid var(--blue);color:#fff}
.btn-red{background:var(--red);border:1px solid var(--red);color:#fff}

/* Header / nav */
.site-header{position:sticky;top:0;z-index:999;background:#fff;border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:66px}
.nav{position:relative;display:flex;align-items:center;gap:1.25rem;width:100%}
.nav-toggle{display:none;background:transparent;border:none;padding:.35rem;margin-right:.35rem}
.nav-toggle span{display:block;height:3px;width:26px;background:var(--blue);margin:4px 0;border-radius:3px}
.nav-menu{list-style:none;margin:0;padding:0;display:flex;gap:1.15rem}
.nav-menu a{display:inline-block;padding:.5rem .15rem;border-bottom:2px solid transparent;font-weight:700;color:#27324a}
.nav-menu a:hover{border-color:#d6dceb}
.nav-menu a.active{border-color:var(--red);color:var(--blue)}
.header-phone{margin-left:auto;font-weight:800;color:#0f223f;white-space:nowrap}
.header-phone span{font-weight:600;margin-right:.35rem;color:#71809d}

@media (max-width:900px){
  .header-phone{display:none}
  .nav-toggle{display:block}
  .nav-menu{
    position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);
    flex-direction:column;max-height:0;overflow:hidden;visibility:hidden;
    transition:max-height .25s ease, visibility .25s ease;
  }
  .nav-menu.open{max-height:260px;visibility:visible}
  .nav-menu a{padding:.9rem 1rem}
}

/* Hero (swap your image path in url()) */
.hero{position:relative;min-height:56vh;display:flex;align-items:center;isolation:isolate}
.hero-media{position:absolute;inset:0;background:url("images/truckbanner.jpg") center/cover no-repeat}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg, rgba(9,17,34,.55), rgba(9,17,34,.45))}
.hero-content{position:relative;z-index:1;color:#fff;padding:5.2rem 0 3rem;max-width:780px}
.hero h1{margin:0 0 .35rem;font-size:clamp(2.1rem,5vw,3.25rem)}
.hero .sub{opacity:.95;font-size:1.05rem;margin:0 0 .75rem}
.hero-ctas{display:flex;gap:.7rem;flex-wrap:wrap}

/* Trust strip */
.trust{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.trust-inner{display:flex;gap:1.2rem;flex-wrap:wrap;align-items:center;justify-content:center;padding:.85rem 0}
.trust-item{font-weight:700;color:#2b3550}

/* Sections */
.section{padding:3.1rem 0}
.section-alt{background:#fff}
.section-head{margin-bottom:1.1rem;border-bottom:1px solid var(--line);padding-bottom:.75rem}
.section-head h2{margin:0 0 .35rem;font-size:clamp(1.4rem,3vw,2rem)}
.section-head .lead{margin:0;color:#4a5670}

/* Layout helpers */
.grid.two{display:grid;gap:1.25rem}
@media (min-width:920px){ .grid.two{grid-template-columns:1.1fr .9fr} }

.cards.three{display:grid;gap:1rem}
@media (min-width:780px){ .cards.three{grid-template-columns:repeat(3,1fr)} }

.card{background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:1.05rem}
.card.no-pad{padding:0}
.service h3{margin:.1rem 0 .4rem}
.plain-list{margin:.2rem 0 0;padding-left:1.15rem}
.plain-list li{margin:.25rem 0}
.checklist{list-style:none;margin:.6rem 0 0;padding:0}
.checklist li{margin:.35rem 0;padding-left:1.25rem;position:relative}
.checklist li:before{content:"";position:absolute;left:0;top:.45rem;width:.6rem;height:.35rem;border-left:3px solid var(--red);border-bottom:3px solid var(--red);transform:rotate(-45deg)}
.contact-card h3{margin:.25rem 0 .5rem}
.contact-list{list-style:none;margin:0;padding:0}
.contact-list li{margin:.4rem 0}
.chips{display:flex;flex-wrap:wrap;gap:.35rem .45rem;margin:.5rem 0 0}
.chips span{display:inline-block;border:1px solid var(--line);padding:.25rem .55rem;border-radius:999px;background:#f9fafc;color:#2a3550;font-weight:600}

/* -------- Hurricane slider (portrait, centered, no scroll) -------- */
.hx-slider{
  position:relative;
  margin-inline:auto;         /* center in the container */
}

/* Portrait frame with a sensible height cap */
.hx-viewport{
  /* Keep it portrait but never taller than the screen */
  height: clamp(360px, 70vh, 720px);  /* adjust bounds if you want it shorter/taller */
  aspect-ratio: 3 / 4;                /* portrait shape */
  width: auto;                         /* width derives from height via aspect-ratio */
  max-width: 100%;                     /* don’t overflow small screens */
  overflow:hidden;
  border:none;
  border-radius:12px;                  /* optional soft corners */
  background:transparent;              /* no black/gray box */
}

.hx-track{
  display:flex;
  height:100%;                         /* match viewport height */
  transition:transform .45s ease;
  will-change:transform;
}

.hx-slide{
  flex:0 0 100%;
  height:100%;
  position:relative;
  line-height:0;
}

/* Fill the portrait frame edge-to-edge */
.hx-slide img{
  width:100%;
  height:100%;
  object-fit:cover;                     /* full-bleed; crops a little if needed */
  background:transparent;
  image-rendering:auto;
  border-radius:0;
}

/* Arrows */
.hx-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:42px; height:42px; border-radius:999px;
  border:1px solid var(--line); background:rgba(255,255,255,.95);
  font-size:22px; line-height:1; cursor:pointer; z-index:2;
  box-shadow:0 4px 16px rgba(0,0,0,.12);
}
.hx-prev{ left:.5rem; }
.hx-next{ right:.5rem; }

/* Dots */
.hx-dots{ display:flex; gap:.4rem; justify-content:center; margin:.6rem 0 0; }
.hx-dots button{
  width:8px; height:8px; border-radius:999px; border:none; cursor:pointer;
  background:#cfd6e4; padding:0;
}
.hx-dots button[aria-current="true"]{ background:var(--blue); }

/* Lightbox (unchanged) */
.hx-lightbox{
  position:fixed; inset:0; background:rgba(0,0,0,.9);
  display:none; align-items:center; justify-content:center; z-index:1000;
}
.hx-lightbox[aria-hidden="false"]{ display:flex; }
.hx-lightbox-img{ max-width:92vw; max-height:92vh; object-fit:contain; }
.hx-close{
  position:absolute; top:14px; right:14px;
  width:42px; height:42px; border-radius:999px; border:none;
  background:#fff; font-size:22px; cursor:pointer;
}

/* Smaller phones: slightly reduce overall height & arrow size */
@media (max-width: 380px){
  .hx-viewport{ height: clamp(320px, 65vh, 600px); }
  .hx-nav{ width:36px; height:36px; font-size:18px; }
}

/* -------- Main tri-frame gallery -------- */
.tri-carousel{position:relative;border:1px solid var(--line);border-radius:12px;background:#000;box-shadow:var(--shadow);padding:1.2rem;overflow:hidden}
.tri-track{display:none}
.tri-frame{position:absolute;top:50%;transform:translateY(-50%);overflow:hidden;border-radius:10px;background:#111}
.tri-center{left:50%;transform:translate(-50%,-50%);width:min(760px,92vw);height:min(440px,55vw)}
.tri-left{left:.8rem;width:min(220px,26vw);height:min(160px,20vw);opacity:.85}
.tri-right{right:.8rem;width:min(220px,26vw);height:min(160px,20vw);opacity:.85}
.tri-frame img{width:100%;height:100%;object-fit:cover;image-rendering:auto}
.tri-btn{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.9);font-size:18px;cursor:pointer}
.tri-btn.prev{left:.5rem}
.tri-btn.next{right:.5rem}

/* Forms / map */
.form{display:grid;gap:.85rem}
.field{display:grid;gap:.35rem}
label{font-weight:700;color:#27314a}
input,textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:.78rem .9rem;background:#fff;color:var(--text);font-size:1rem}
input:focus,textarea:focus{outline:3px solid rgba(22,57,104,.15);border-color:#c9d3ea}
.form-status{min-height:1.2rem;color:#34405b;margin-top:.35rem}
.map-wrap{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;border:1px solid var(--line);margin:0 0 .6rem}
.map-wrap iframe{position:absolute;inset:0;width:100%;height:100%}
.contact-lines p{margin:.25rem 0}

/* Footer */
.site-footer{margin-top:auto;background:#0b1e49;color:#fff}
.site-footer a{color:#fff}
.footer-inner{display:grid;gap:.55rem;align-items:center;justify-items:center;padding:1.1rem}
.footer-left,.footer-right{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;justify-content:center}
.logo-text{font-weight:800}
.divider{opacity:.9}

/* Helpers */
.muted{color:#647087}
.ink-blue{color:#153a7a;font-weight:800}
.small{font-size:.92rem}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:1rem;top:1rem;background:#000;color:#fff;padding:.4rem .6rem;border-radius:8px;z-index:1000}


/* ========== FIX: keep arrows aligned with the portrait image on tablet/desktop ========== */

/* Make the slider shrink-to-fit its content (the .hx-viewport), not full row width */
.hx-slider{
  display: inline-block;      /* shrink to viewport width */
  margin-inline: auto;        /* center in the container */
  position: relative;         /* keep abs-pos children anchored here */
}

/* Ensure the viewport is the positioning reference for its size */
.hx-viewport{
  position: relative;
}

/* Arrows now sit .5rem inside the viewport edges on all screens */
.hx-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.hx-prev{ left: .5rem; }
.hx-next{ right: .5rem; }

/* Safety: dots never widen the slider beyond the viewport */
.hx-dots{
  max-width: 100%;
}

/* ===== Layout for hurricane section: slider left (desktop), text right; stacked on smaller ===== */
.hx-wrap{
  display:grid;
  gap:1rem;                 /* space between slider and text */
}

/* Desktop: two columns — slider column shrinks to its content width (portrait), text fills remainder */
@media (min-width: 1024px){
  .hx-wrap{
    grid-template-columns: auto 1fr;
    align-items:start;
  }
}

/* Copy block styling (simple, no card) */
.hx-copy h3{
  margin: .25rem 0 .5rem;
  font-size: 1.1rem;
  color: #27324a;
}
.hx-copy p{ margin: .5rem 0; }

/* === Keep arrows aligned to the image frame on all screens (from earlier fix) === */
.hx-slider{
  display: inline-block;    /* shrink to viewport width so arrows hug the image */
  margin-inline: auto;
  position: relative;
}
.hx-viewport{ position: relative; }

/* Portrait, centered, no scroll (from your latest setup) */
.hx-viewport{
  height: clamp(360px, 70vh, 720px);
  aspect-ratio: 3 / 4;
  width: auto;
  max-width: 100%;
  overflow:hidden;
  border:none;
  border-radius:12px;
  background:transparent;
}
.hx-track{
  display:flex;
  height:100%;
  transition:transform .45s ease;
  will-change:transform;
}
.hx-slide{ flex:0 0 100%; height:100%; position:relative; line-height:0; }
.hx-slide img{
  width:100%; height:100%; object-fit:cover; background:transparent; image-rendering:auto;
}

/* Arrows & dots unchanged */
.hx-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:42px; height:42px; border-radius:999px;
  border:1px solid var(--line); background:rgba(255,255,255,.95);
  font-size:22px; line-height:1; cursor:pointer; z-index:2;
  box-shadow:0 4px 16px rgba(0,0,0,.12);
}
.hx-prev{ left:.5rem; }
.hx-next{ right:.5rem; }
.hx-dots{ display:flex; gap:.4rem; justify-content:center; margin:.6rem 0 0; }
.hx-dots button{ width:8px; height:8px; border-radius:999px; border:none; cursor:pointer; background:#cfd6e4; padding:0; }
.hx-dots button[aria-current="true"]{ background:var(--blue); }

@media (max-width: 380px){
  .hx-viewport{ height: clamp(320px, 65vh, 600px); }
  .hx-nav{ width:36px; height:36px; font-size:18px; }
}
    



/* ========== Coverflow (cf-*) ========== */
.cf-slider{
  position: relative;
  width: fit-content;           /* shrink to stage */
  margin-inline: auto;          /* center in container */
}

.cf-stage{
  position: relative;
  perspective: 1200px;
  height: clamp(360px, 70vh, 720px);   /* same sizing logic you liked */
  aspect-ratio: 3 / 4;                 /* portrait frame; change to 16/9 for landscape */
  max-width: 100%;
}

.cf-card{
  position: absolute; inset: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
  transform-origin: center center;
  transition: transform .45s ease, opacity .45s ease, filter .45s ease;
  background: #000;  /* masks while loading */
}
.cf-card img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Center (current) */
.cf-center{ z-index: 3; transform: translate3d(0,0,0) scale(1); }

/* Left = UPCOMING (as you requested) */
.cf-left{
  z-index: 2;
  transform:
    translate3d(-46%, 0, -120px)
    rotateY(12deg)
    scale(.82);
  filter: saturate(.9) brightness(.95);
}

/* Right = JUST SHOWN */
.cf-right{
  z-index: 2;
  transform:
    translate3d(46%, 0, -120px)
    rotateY(-12deg)
    scale(.82);
  filter: saturate(.9) brightness(.95);
}

/* Arrow buttons */
.cf-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:42px; height:42px; border-radius:999px;
  border:1px solid var(--line); background:rgba(255,255,255,.95);
  font-size:22px; line-height:1; cursor:pointer; z-index:4;
  box-shadow:0 4px 16px rgba(0,0,0,.12);
}
.cf-prev{ left:.5rem; }
.cf-next{ right:.5rem; }

/* Dots */
.cf-dots{ display:flex; gap:.4rem; justify-content:center; margin:.6rem 0 0 }
.cf-dots button{
  width:8px; height:8px; border-radius:999px; border:none; cursor:pointer;
  background:#cfd6e4; padding:0;
}
.cf-dots button[aria-current="true"]{ background:var(--blue); }

/* Small phones: slightly smaller stage + arrows */
@media (max-width:380px){
  .cf-stage{ height: clamp(320px, 65vh, 600px); }
  .cf-nav{ width:36px; height:36px; font-size:18px; }
}

/* Narrow tablets: tighten offsets so cards stay visible */
@media (min-width:700px) and (max-width:1023px){
  .cf-left{  transform: translate3d(-40%,0,-120px) rotateY(10deg) scale(.85); }
  .cf-right{ transform: translate3d( 40%,0,-120px) rotateY(-10deg) scale(.85); }
}


/* ================== COVERFLOW: mobile/tablet sizing + side padding ================== */

/* Base: never let the slider stretch wider than its stage; keep it centered */
.cf-slider{
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 12px;   /* breathing room so it never kisses the edges */
}

/* Let WIDTH drive HEIGHT via aspect-ratio on smaller screens.
   This keeps the whole image visible without vertical scrolling. */
@media (max-width: 640px){              /* phones */
  .cf-stage{
    width: min(92vw, 420px);            /* side gutters + reasonable max width */
    height: auto;                        /* derive from aspect-ratio */
    aspect-ratio: 3 / 4;                 /* portrait */
  }
  .cf-left{
    transform: translate3d(-32%,0,-90px) rotateY(10deg) scale(.84);
  }
  .cf-right{
    transform: translate3d( 32%,0,-90px) rotateY(-10deg) scale(.84);
  }
  .cf-nav{ width:36px; height:36px; font-size:18px; }
}

/* Tablets: a bit wider, still avoid edge-to-edge + shrink offsets */
@media (min-width: 641px) and (max-width: 1024px){
  .cf-stage{
    width: min(86vw, 560px);
    height: auto;
    aspect-ratio: 3 / 4;
  }
  .cf-left{
    transform: translate3d(-38%,0,-110px) rotateY(11deg) scale(.83);
  }
  .cf-right{
    transform: translate3d( 38%,0,-110px) rotateY(-11deg) scale(.83);
  }
}

/* Desktop stays as you had it (height clamp). Just add a little side padding. */
@media (min-width: 1025px){
  .cf-slider{ padding-inline: 8px; }
}

/* Optional: tighten section padding on very small screens so the whole unit fits comfortably */
@media (max-width: 400px){
  #gallery.section{ padding-top: 2rem; padding-bottom: 2rem; }
}
  @media (max-width:640px){
  .hx-slider{ padding-inline:12px; }
}
    /* ================== COVERFLOW: phone/tablet don't touch edges; no vertical scroll ================== */

/* The slider should size to its container and keep side gutters */
@media (max-width: 1024px){
  .cf-slider{
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;      /* consistent gutters on both sides */
    box-sizing: border-box;    /* padding stays inside width */
    margin-inline: auto;
  }

  /* Stage uses parent width (NOT vw). Center it and cap height. */
  .cf-stage{
    width: 100% !important;    /* override any earlier vw rule */
    max-width: 560px;          /* tablet max; shrinks on phones */
    margin: 0 auto;
    height: auto;              /* derive height from aspect-ratio */
    aspect-ratio: 3 / 4;       /* portrait */
    max-height: 70vh;          /* never taller than 70% of screen */
  }

  /* Slightly tighter side-card offsets so they don't clip */
  .cf-left{
    transform: translate3d(-36%,0,-110px) rotateY(10deg) scale(.85);
  }
  .cf-right{
    transform: translate3d( 36%,0,-110px) rotateY(-10deg) scale(.85);
  }
}

/* Phones: a bit narrower max width + smaller arrows */
@media (max-width: 640px){
  .cf-stage{
    max-width: 420px;          /* phone max */
  }
  .cf-nav{ width:36px; height:36px; font-size:18px; }
}

/* Optional: also give the hurricane slider the same side gutters on small screens */
@media (max-width: 1024px){
  .hx-slider{
    width: 100%;
    padding-inline: 16px;
    box-sizing: border-box;
    margin-inline: auto;
  }
}








/* ===================== RESPONSIVE STABILITY PATCH (put at END) ===================== */

/* 0) Never allow horizontal scrolling caused by transforms/long words */
html, body { overflow-x: hidden; }
* { min-width: 0; }
img, video { max-width: 100%; height: auto; display: block; }

/* 1) Containers & section spacing scale with screen */
.container { width: 100%; padding-inline: clamp(14px, 3vw, 24px); box-sizing: border-box; }
.section { padding-block: clamp(1.8rem, 4vw, 3rem); }

/* 2) Topbar + header wrap nicely on small widths */
@media (max-width: 920px){
  .topbar-inner{ grid-template-columns: 1fr auto 1fr; row-gap: .4rem; }
  .topbar-right{ justify-self: center; }
  .header-inner{ flex-wrap: wrap; row-gap: .5rem; }
}

/* 3) Nav menu: full-width dropdown on mobile already; ensure it doesn’t overflow */
@media (max-width: 900px){
  .nav-menu{ left: 0; right: 0; }
}

/* 4) Hero: keep readable on small screens */
@media (max-width: 480px){
  .hero{ min-height: 52vh; }
  .hero h1{ font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero .sub{ font-size: .98rem; }
  .hero-ctas .btn{ padding: .62rem .9rem; }
}

/* 5) Service cards: never squish; step through 1 → 2 → 3 columns */
@media (max-width: 1024px){
  .cards.three{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .cards.three{ grid-template-columns: 1fr; }
}

/* 6) Two-column layouts (About/Contact): stack on tablets down */
@media (max-width: 920px){
  .grid.two{ grid-template-columns: 1fr; }
}

/* 7) HURRICANE slider: center, add gutters, cap height, no edge kissing */
.hx-slider{
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 16px;          /* side gutters on small screens */
  box-sizing: border-box;
  display: block;
}
.hx-viewport{
  position: relative;
  aspect-ratio: 3 / 4;
  height: clamp(360px, 70vh, 720px);
  max-width: min(560px, 100%);   /* don’t blow past container */
  margin-inline: auto;
  overflow: hidden;
  border: none;
  border-radius: 12px;
  background: transparent;
}
@media (max-width: 640px){
  .hx-viewport{ max-width: min(420px, 100%); height: clamp(320px, 65vh, 600px); }
  .hx-nav{ width: 36px; height: 36px; font-size: 18px; }
}

/* keep arrows hugging the frame */
.hx-viewport{ position: relative; }
.hx-nav{ position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.hx-prev{ left: .5rem; }
.hx-next{ right: .5rem; }

/* 8) COVERFLOW (main Gallery): use parent width (not vw), add gutters, cap height */
.cf-slider{
  width: 100%;
  max-width: 100%;
  padding-inline: 16px;
  box-sizing: border-box;
  margin-inline: auto;
}
.cf-stage{
  width: 100% !important;        /* override any earlier width */
  max-width: 560px;              /* tablet/desktop comfortable width */
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  height: auto;                  /* width drives height via aspect-ratio */
  max-height: 70vh;              /* never taller than 70% viewport */
}
@media (max-width: 640px){
  .cf-stage{ max-width: 420px; }
  .cf-nav{ width: 36px; height: 36px; font-size: 18px; }
}

/* tighten side-card offsets on narrow screens to avoid clipping */
@media (max-width: 1024px){
  .cf-left {  transform: translate3d(-36%,0,-110px) rotateY(10deg)  scale(.85); }
  .cf-right{  transform: translate3d( 36%,0,-110px) rotateY(-10deg) scale(.85); }
}

/* 9) Contact map: always fits */
.map-wrap{ aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.map-wrap iframe{ width: 100%; height: 100%; }

/* 10) Footer: center and wrap */
.footer-inner{ grid-auto-flow: row; text-align: center; }
.footer-left, .footer-right{ justify-content: center; }

/* 11) Defensive: any element wider than container should not create a horizontal scroll */
.container > * { max-width: 100%; }


/* ===== Mobile nav: make the dropdown scrollable & full-height ===== */
:root{
  --topbar-h: 44px;   /* tweak if your top bar is taller/shorter */
  --header-h: 66px;   /* tweak if your header is taller/shorter */
}

@media (max-width:900px){
  .nav-menu{
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    /* previous code had max-height:260px; overflow:hidden; */
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    z-index: 2000; /* stay above hero/banner */
    transition: max-height .25s ease, visibility .25s ease;
  }

  .nav-menu.open{
    /* Use dynamic viewport height so small phones work correctly */
    max-height: calc(100dvh - (var(--topbar-h) + var(--header-h)));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* smooth iOS scrolling */
    visibility: visible;
  }

  /* Give each link comfy tap targets */
  .nav-menu a{ padding: 1rem 1rem; }
}

/* ===== Pricing layout ===== */
.price-grid{
  display: grid;
  gap: 1rem;
}
@media (min-width: 780px){
  .price-grid{ grid-template-columns: repeat(3, 1fr); }
}

.price-big{
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: var(--red);
  margin: .25rem 0 .5rem;
}

.price-list{
  list-style: none;
  margin: .4rem 0 0;
  padding: 0;
}
.price-list li{
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .65rem .8rem;
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: .5rem;
}
.price-list li span{
  font-weight: 700;
  color: #27324a;
}
.price-list li strong{
  font-weight: 800;
  color: var(--blue);
}

.price-cta{
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}


/* ===== Center the nav on desktop (keep mobile dropdown behavior) ===== */
@media (min-width: 901px){
  .header-inner{ justify-content: center; }  /* header content centered */
  .nav{ justify-content: center; }           /* center the nav block */
  .nav-menu{ justify-content: center; }      /* center the links inside */
}





/* ============ Scroll-reveal (plays once, then stays) ============ */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.reveal--show{
  opacity: 1;
  transform: none;
}

/* optional variants you can apply later if you want */
.reveal-x  { transform: translateX(24px); }
.reveal-x.reveal--show { transform: none; }
.reveal-sm { transform: translateY(10px); }

@media (prefers-reduced-motion: reduce){
  .reveal,
  .reveal.reveal--show{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
  /* === Center the hero/banner text & buttons === */
.hero-content{
  margin-inline: auto;   /* centers the content block */
  text-align: center;    /* centers the text */
}
.hero-ctas{
  justify-content: center; /* centers the buttons row */
}


   /* Hurricane copy: larger type on desktop to fill the column */
@media (min-width: 1024px){
  .hx-wrap{ grid-template-columns: auto minmax(460px, 1fr); } /* give the text a wider column */
  .hx-copy{ 
    font-size: clamp(1.05rem, 1.1vw + .6rem, 1.22rem);
    line-height: 1.75;
  }
  .hx-copy h3{ 
    font-size: clamp(1.35rem, 1.2vw + 1rem, 1.65rem);
    margin-top: .25rem;
  }
  .hx-copy p{ margin: .7rem 0; }
}
    

/* ===== Services: larger type + optional two-column lists on desktop ===== */
@media (min-width: 900px){
  .service h3{
    font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem);
    margin-bottom: .6rem;
  }
  .service .plain-list{
    font-size: clamp(1rem, 0.35vw + .95rem, 1.12rem);
    line-height: 1.6;
  }
  /* turn on two columns when you add class "two-col" to the list */
  .service .plain-list.two-col{
    column-gap: 1.1rem;
    column-width: 240px; /* makes balanced columns */
  }
}

/* ensure equal-height cards so rows look tidy */
.cards.three{ align-items: stretch; }
.cards.three .card{ height: 100%; }

/* Pricing callout inside Minimum Charge card */
.capacity-note{
  margin: .5rem 0 .6rem;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  background: #f8fbff;               /* subtle, on-brand */
  color: #27324a;
  font-weight: 700;                   /* makes the whole line bold/visible */
}
.capacity-note strong{ color: var(--blue); }