/* ==========================================================================
   BOX SQUAD DUMPSTER RENTALS — Brand Stylesheet v3
   getboxsquad.com
   --------------------------------------------------------------------------
   Palette
     Navy      #122B47   primary surfaces, headers, footers
     Orange    #FF5F1F   CTAs, accents, rules, icons
     White     #FFFFFF   contrast
     Off-white #F5F6F7   page + card backgrounds
     Light gry #E2E5E8   borders, dividers, inactive
     Charcoal  #252A2E   body copy on light
   ========================================================================== */

/* ---------- Self-hosted fonts (no third-party request) ---------- */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-condensed-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/inter-latin-800-normal.woff2') format('woff2'); }

:root {
  /* Brand */
  --navy:        #122B47;
  --navy-deep:   #0C1E33;
  --navy-dark:   #08172A;
  --navy-light:  #1B3A5E;
  --orange:      #FF5F1F;
  --orange-dark: #E04A0C;
  --orange-soft: rgba(255, 95, 31, 0.10);
  --white:       #FFFFFF;
  --offwhite:    #F5F6F7;
  --gray-line:   #E2E5E8;
  --charcoal:    #252A2E;
  --muted:       #5B6673;

  /* Type */
  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Elevation — soft and corporate, no offset stickers */
  --sh-sm: 0 1px 2px rgba(18, 43, 71, 0.06), 0 1px 3px rgba(18, 43, 71, 0.08);
  --sh-md: 0 4px 12px -4px rgba(18, 43, 71, 0.12), 0 2px 4px rgba(18, 43, 71, 0.06);
  --sh-lg: 0 24px 48px -20px rgba(18, 43, 71, 0.28), 0 4px 12px -4px rgba(18, 43, 71, 0.10);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
::selection { background: var(--orange); color: var(--white); }
a { color: inherit; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: var(--navy);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--body);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 3px; background: var(--orange); flex-shrink: 0;
}
.eyebrow.center::before { display: none; }

.lede { font-size: 1.08rem; color: var(--muted); line-height: 1.65; max-width: 62ch; }

/* ---------- Layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5.5rem 0; }
.section-head { margin-bottom: 3rem; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin: 0 auto; }
.section-head h2 { margin-bottom: 1rem; }

.bg-off   { background: var(--offwhite); }
.bg-navy  { background: var(--navy); color: rgba(255,255,255,0.82); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy .lede { color: rgba(255,255,255,0.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--body); font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.95rem 1.7rem;
  border: 2px solid transparent; border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer; line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); box-shadow: var(--sh-md); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--gray-line); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.42); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-lg { padding: 1.15rem 2.1rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

.textlink {
  font-weight: 700; font-size: 0.9rem; color: var(--orange);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem;
  letter-spacing: 0.02em;
}
.textlink:hover { gap: 0.6rem; }
.textlink::after { content: '→'; transition: transform .18s ease; }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--navy-dark); color: rgba(255,255,255,0.78);
  font-size: 0.8rem; padding: 0.6rem 1.5rem; text-align: center; font-weight: 500;
}
.announce strong { color: var(--white); font-weight: 700; }
.announce .dot { color: var(--orange); margin: 0 0.5rem; }

/* Header sits on navy so the logo lockup keeps its native dark field */
.site-header {
  position: sticky; top: 0; z-index: 600;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { background: var(--navy-deep); box-shadow: 0 8px 24px -14px rgba(0,0,0,0.6); }
.nav {
  max-width: var(--max); margin: 0 auto; padding: 0.7rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem; position: relative;
}
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 72px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin-left: auto; }
.nav-links > li > a {
  font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.88);
  text-decoration: none; letter-spacing: 0.01em; padding: 0.4rem 0;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.nav-links > li > a:hover { color: var(--orange); border-bottom-color: var(--orange); }
.has-drop { position: relative; }
.has-drop > a::after { content: '▾'; font-size: 0.6rem; opacity: 0.6; }
.dropdown {
  position: absolute; top: calc(100% + 0.7rem); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 250px; background: var(--white);
  border: 1px solid var(--gray-line); border-top: 3px solid var(--orange);
  border-radius: var(--r-md); box-shadow: var(--sh-lg);
  padding: 0.45rem; list-style: none;
  opacity: 0; visibility: hidden; transition: all .16s ease;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block; padding: 0.62rem 0.8rem; border-radius: var(--r-sm);
  font-size: 0.86rem; font-weight: 500; color: var(--charcoal); text-decoration: none;
}
.dropdown a:hover { background: var(--offwhite); color: var(--orange); }

.nav-actions { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--display); font-size: 1.35rem; font-weight: 700;
  color: var(--white); text-decoration: none; letter-spacing: 0.01em;
}
.nav-phone svg { width: 17px; height: 17px; color: var(--orange); }
.nav-phone:hover { color: var(--orange); }

.burger {
  display: none; width: 44px; height: 42px; border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--r-sm); background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.burger span { width: 20px; height: 2px; background: var(--white); transition: transform .2s, opacity .2s; }
.nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* Set the photo with an inline style on the .hero element itself:
   <section class="hero" style="background-image:url('assets/img/founder-hero.jpg')"> */
.hero {
  position: relative; background-color: var(--navy);
  background-size: cover; background-position: center 28%; background-repeat: no-repeat;
  color: var(--white); overflow: hidden;
  padding: 5rem 0 5.5rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(100deg, rgba(8,23,42,0.96) 0%, rgba(10,28,50,0.90) 38%, rgba(18,43,71,0.55) 62%, rgba(18,43,71,0.25) 100%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: var(--orange);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 760px); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--orange-soft); border: 1px solid rgba(255,95,31,0.45);
  color: #FFB18A; padding: 0.45rem 0.95rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1.4rem; justify-self: start; width: fit-content;
}
.hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-sub { font-size: 1.12rem; color: rgba(255,255,255,0.8); max-width: 54ch; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-proof { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.hero-proof span { display: flex; align-items: center; gap: 0.45rem; font-size: 0.87rem; font-weight: 600; color: rgba(255,255,255,0.88); }
.hero-proof svg { width: 17px; height: 17px; color: var(--orange); }

/* Quote card in hero */
.quote-card {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); overflow: hidden;
}
.quote-card .qc-head { background: var(--navy-deep); padding: 1.15rem 1.5rem; border-bottom: 3px solid var(--orange); }
.quote-card .qc-head h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.15rem; }
.quote-card .qc-head p { color: rgba(255,255,255,0.65); font-size: 0.8rem; }
.quote-card form { padding: 1.35rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; }
.field label {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 0.72rem 0.85rem; font-family: var(--body); font-size: 0.92rem;
  border: 1px solid var(--gray-line); border-radius: var(--r-sm); background: var(--white);
  color: var(--charcoal); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.qc-note { font-size: 0.72rem; color: var(--muted); text-align: center; }

/* Visually hidden, still read by screen readers and search engines */
.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;
}

/* ---------- Interior page hero ---------- */
.page-hero {
  background: var(--navy); color: var(--white);
  padding: 4rem 0 4.25rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,95,31,0.14), transparent 60%);
}
.page-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--orange);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; font-size: clamp(2.3rem, 5vw, 3.9rem); }
.page-hero-sub { color: rgba(255,255,255,0.76); font-size: 1.1rem; max-width: 60ch; margin: 0 auto; line-height: 1.6; }
.page-hero .hero-ctas { justify-content: center; margin: 2rem 0 0; }

/* ---------- Split content rows ---------- */
.split-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.framed {
  width: 100%; border-radius: var(--r-lg); border: 1px solid var(--gray-line);
  box-shadow: var(--sh-md); background: var(--offwhite);
}
.spec-lg li { font-size: 0.98rem; }
.spec-lg svg { margin-top: 4px; }
.accept-list.one-col { grid-template-columns: 1fr; }

/* ---------- Booking page ---------- */
/* The iCans cart is a cross-origin iframe, so it cannot auto-size to its
   content. Heights below are set per breakpoint: the three size cards sit in a
   row on desktop and stack on mobile, which roughly triples the height.
   If iCans changes the layout, adjust these three numbers. */
.booking-frame {
  width: 100%; border: 1px solid var(--gray-line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-md); background: var(--white);
}
.booking-frame iframe { display: block; width: 100%; height: 1040px; border: 0; }
.booking-fallback {
  text-align: center; font-size: 0.88rem; color: var(--muted); margin-top: 1rem;
}
.booking-fallback a { color: var(--orange); font-weight: 700; text-decoration: none; }

.book-side { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.book-side .spec-list { flex: none; margin: 0; }

/* Step number cell can hold an icon instead of a digit */
.step-n svg { width: 20px; height: 20px; }

/* Active nav state */
.nav-links > li > a.active { color: var(--orange); border-bottom-color: var(--orange); }

/* ---------- Legal pages ---------- */
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 3.5rem; align-items: start; }
.legal-toc { position: sticky; top: 110px; }
.legal-toc h4 { font-size: 0.95rem; letter-spacing: 0.06em; margin-bottom: 0.9rem; color: var(--navy); }
.legal-toc ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 0.15rem; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: block; padding: 0.4rem 0.6rem; border-radius: var(--r-sm);
  font-size: 0.83rem; color: var(--muted); text-decoration: none; line-height: 1.35;
  border-left: 2px solid var(--gray-line);
}
.legal-toc a::before { content: counter(toc) ". "; color: var(--orange); font-weight: 700; }
.legal-toc a:hover { background: var(--offwhite); color: var(--navy); border-left-color: var(--orange); }

.legal-body { max-width: 74ch; }
.legal-body h2 {
  font-size: 1.5rem; margin: 2.75rem 0 0.85rem; scroll-margin-top: 110px;
  padding-top: 1.5rem; border-top: 1px solid var(--gray-line);
}
.legal-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal-body h3 { font-size: 1.08rem; margin: 1.5rem 0 0.5rem; text-transform: none; letter-spacing: 0; }
.legal-body p { margin-bottom: 1rem; color: var(--charcoal); line-height: 1.7; }
.legal-body ul, .legal-body ol { margin: 0 0 1.15rem 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; }
.legal-body li { line-height: 1.65; }
.legal-body li::marker { color: var(--orange); }
.legal-body a { color: var(--orange); font-weight: 600; }
.legal-body strong { color: var(--navy); }
.legal-updated {
  display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--muted);
  background: var(--offwhite); border: 1px solid var(--gray-line);
  border-radius: var(--r-sm); padding: 0.45rem 0.9rem; margin-bottom: 2rem;
}
.legal-callout {
  background: var(--offwhite); border-left: 3px solid var(--orange);
  border-radius: 0 var(--r-md) var(--r-md) 0; padding: 1.15rem 1.35rem; margin: 1.25rem 0 1.5rem;
}
.legal-callout p:last-child { margin-bottom: 0; }
.fee-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.92rem; }
.fee-table th, .fee-table td { text-align: left; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--gray-line); }
.fee-table th { font-family: var(--display); font-size: 1rem; text-transform: uppercase; color: var(--navy); letter-spacing: 0.03em; }
.fee-table td:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* Numbers Jake must confirm before publishing — deliberately loud. */
.review-flag {
  background: #FFF3B0; box-shadow: 0 0 0 2px #FFF3B0; border-radius: 2px; font-weight: 700;
}

/* ---------- Trust bar ---------- */
.trustbar { background: var(--orange); color: var(--white); padding: 1.1rem 0; }
.trustbar .container { display: grid; grid-template-columns: repeat(5, auto); align-items: center; justify-content: space-between; gap: 0.75rem 1.4rem; }
.trustbar .ti {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-size: 1.1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap;
}
.trustbar svg { width: 19px; height: 19px; flex-shrink: 0; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.card {
  background: var(--white); border: 1px solid var(--gray-line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: #CFD5DB; }

/* Size cards */
.size-card { position: relative; }
.size-card.featured { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), var(--sh-md); }
.size-card .flag {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  background: var(--orange); color: var(--white);
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; border-radius: var(--r-sm);
}
.size-photo { aspect-ratio: 16/10; background: var(--navy) center/cover no-repeat; }
.size-body { padding: 1.6rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.size-name { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--navy); text-transform: uppercase; line-height: 1; }
.size-for { font-size: 0.82rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; margin: 0.35rem 0 0.75rem; }
.size-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.1rem; }
.price-row { display: flex; align-items: baseline; gap: 0.5rem; padding-top: 1.1rem; border-top: 1px solid var(--gray-line); }
.price { font-family: var(--display); font-size: 2.6rem; font-weight: 700; color: var(--navy); line-height: 1; }
.price-meta { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.spec-list { list-style: none; margin: 1.1rem 0 1.35rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.spec-list li { display: flex; gap: 0.55rem; font-size: 0.875rem; color: var(--charcoal); align-items: flex-start; }
.spec-list svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.size-fine { font-size: 0.74rem; color: var(--muted); text-align: center; margin-top: 0.7rem; }

/* Steps */
.step { position: relative; padding: 2.2rem 1.5rem 1.75rem; background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-lg); transition: border-color .2s, background .2s; }
.step:hover { border-color: var(--orange); background: rgba(255,255,255,0.07); }
.step-n {
  position: absolute; top: -16px; left: 1.5rem;
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--orange); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.3rem; font-weight: 700;
}
.step h3 { color: var(--white); font-size: 1.3rem; margin: 0.5rem 0 0.6rem; }
.step p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.55; }

/* Feature tiles */
.tile { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--r-lg); padding: 1.6rem 1.5rem; box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.tile .ic { width: 46px; height: 46px; border-radius: var(--r-md); background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; margin-bottom: 1rem; }
.tile .ic svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.22rem; margin-bottom: 0.4rem; }
.tile p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* Service / audience cards */
.svc-card { text-decoration: none; }
.svc-photo { aspect-ratio: 3/2; background: var(--navy-light) center/cover no-repeat; position: relative; }
.svc-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,43,71,0) 40%, rgba(8,23,42,0.72) 100%); }
.svc-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.svc-body h3 { margin-bottom: 0.6rem; }
.svc-body ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; flex: 1; }
.svc-body li { font-size: 0.88rem; color: var(--muted); display: flex; gap: 0.5rem; }
.svc-body li::before { content: ''; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; flex-shrink: 0; margin-top: 8px; }

/* Accept / reject */
.accept-col { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--r-lg); padding: 1.75rem; }
.accept-col.no { border-top: 3px solid var(--charcoal); }
.accept-col.yes { border-top: 3px solid var(--orange); }
.accept-col h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.2rem; }
.accept-col h3 .chip { width: 26px; height: 26px; border-radius: var(--r-sm); display: grid; place-items: center; font-size: 0.9rem; color: var(--white); }
.accept-col.yes .chip { background: var(--orange); }
.accept-col.no  .chip { background: var(--charcoal); }
.accept-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1rem; }
.accept-list li { font-size: 0.88rem; display: flex; gap: 0.5rem; align-items: center; color: var(--charcoal); }
.accept-list li::before { content: '✓'; color: var(--orange); font-weight: 800; font-size: 0.85rem; }
.accept-col.no .accept-list li::before { content: '✕'; color: var(--muted); }

/* Owner strip */
.owner { background: var(--navy); color: rgba(255,255,255,0.82); overflow: hidden; }
.owner-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; align-items: center; }
.owner-photo { border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.15); aspect-ratio: 4/5; background: var(--navy-light) center/cover no-repeat; }
.owner blockquote { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; color: var(--white); line-height: 1.15; text-transform: none; margin-bottom: 1.25rem; }
.owner p { color: rgba(255,255,255,0.72); margin-bottom: 1rem; }
.owner .sig { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }

/* Service area */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.town-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; margin-top: 1.5rem; }
.town-list a {
  display: block; padding: 0.6rem 0.85rem; background: var(--white);
  border: 1px solid var(--gray-line); border-radius: var(--r-sm);
  font-size: 0.85rem; font-weight: 600; color: var(--navy); text-decoration: none;
  transition: all .15s;
}
.town-list a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--r-md); overflow: hidden; transition: border-color .18s; }
.faq-item.open { border-color: var(--orange); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.15rem 1.35rem; text-align: left;
  font-family: var(--display); font-size: 1.2rem; font-weight: 600; text-transform: uppercase;
  color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--orange); line-height: 1; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-item.open .faq-a { max-height: 420px; }
.faq-a > div { padding: 0 1.35rem 1.3rem; color: var(--muted); font-size: 0.94rem; line-height: 1.65; }

/* Final CTA */
.cta-final { background: var(--navy-deep); color: var(--white); text-align: center; padding: 5.5rem 0; position: relative; overflow: hidden; }
.cta-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(255,95,31,0.16), transparent 62%); }
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { color: var(--white); margin-bottom: 1rem; }
.cta-final p { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 56ch; margin: 0 auto 2rem; }
.cta-phone {
  display: inline-block; font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--orange);
  text-decoration: none; line-height: 1; margin-bottom: 1.8rem;
}
.cta-phone:hover { color: var(--white); }
.cta-btns { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); padding: 4rem 0 1.75rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer h4 { color: var(--white); font-size: 1.05rem; letter-spacing: 0.05em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--orange); }
.footer-brand img { height: 92px; margin-bottom: 1rem; }
.footer-brand p { line-height: 1.65; max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.75rem; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.4); }

/* Mobile sticky CTA */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 700; background: var(--navy-deep); padding: 0.6rem; gap: 0.5rem; box-shadow: 0 -6px 20px -8px rgba(0,0,0,0.5); }
.mobile-bar .btn { flex: 1; padding: 0.9rem 0.5rem; font-size: 0.8rem; }

/* Contractor modal */
.modal-veil { position: fixed; inset: 0; background: rgba(8,23,42,0.62); z-index: 900; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-veil.show { display: flex; }
.modal { background: var(--white); border-radius: var(--r-lg); border-top: 5px solid var(--orange); max-width: 460px; width: 100%; padding: 2.25rem; position: relative; box-shadow: var(--sh-lg); }
.modal-x { position: absolute; top: 0.85rem; right: 0.85rem; width: 32px; height: 32px; border-radius: var(--r-sm); border: 1px solid var(--gray-line); background: var(--white); cursor: pointer; color: var(--muted); font-size: 1.1rem; line-height: 1; }
.modal h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.modal p { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.1rem; }
.modal ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.5rem; }
.modal li { font-size: 0.9rem; display: flex; gap: 0.5rem; }
.modal li::before { content: '✓'; color: var(--orange); font-weight: 800; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .trustbar .container { grid-template-columns: repeat(3, auto); justify-content: center; justify-items: start; }
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .quote-card { max-width: 520px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .owner-grid, .area-grid, .split-grid { grid-template-columns: 1fr; gap: 2rem; }
  .book-side { grid-template-columns: 1fr; }
  .booking-frame iframe { height: 1240px; }
  .owner-photo { max-width: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .town-list { grid-template-columns: repeat(2, 1fr); }

  .burger { display: flex; }

  /* Mobile drawer. Navy, not white — the nav links are white text, so a white
     panel rendered them invisible. Full-bleed, flush under the header, and it
     scrolls inside itself instead of running off the bottom of the screen. */
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep);
    border: none; border-top: 3px solid var(--orange); border-radius: 0;
    box-shadow: 0 18px 34px -16px rgba(0,0,0,0.65);
    margin: 0; padding: 0 0 0.75rem; z-index: 800;
    max-height: calc(100vh - 100%);
    max-height: calc(100dvh - 100%);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    display: flex; width: 100%; font-size: 1rem;
    padding: 0.95rem 1.5rem; color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    justify-content: space-between; align-items: center;
  }
  .nav-links > li:last-child > a { border-bottom: none; }
  /* Touch latches :hover on iOS, so the desktop orange underline would stick
     to whatever you last tapped and read as a stray divider. Text can go
     orange; the rule stays neutral. */
  .nav-links > li > a:hover,
  .nav-links > li > a.active { border-bottom-color: rgba(255,255,255,0.10); }
  .nav-links > li > a.active,
  .has-drop.open > a { color: var(--orange); }
  .has-drop > a::after { content: '+'; font-size: 1.15rem; line-height: 1; opacity: 0.75; }
  .has-drop.open > a::after { content: '\2013'; }

  /* The !important flags beat `.has-drop:hover .dropdown`, which iOS Safari
     latches onto after a tap. Without them the desktop translateX(-50%)
     survives and shoves the submenu half off the left edge of the screen. */
  .has-drop { position: static; }
  .dropdown {
    position: static !important; transform: none !important;
    opacity: 1 !important; visibility: visible !important;
    width: 100%; min-width: 0;
    background: rgba(0,0,0,0.22);
    border: none; border-radius: 0; box-shadow: none;
    margin: 0; padding: 0.25rem 0;
    display: none;
  }
  .has-drop.open .dropdown { display: block; }
  .dropdown a {
    color: rgba(255,255,255,0.82); font-size: 0.92rem;
    padding: 0.8rem 1.5rem 0.8rem 2.4rem; border-radius: 0;
  }
  .dropdown a:hover, .dropdown a:active { background: rgba(255,255,255,0.07); color: var(--orange); }
  .nav-actions .btn { display: none; }
}

@media (max-width: 720px) {
  section { padding: 3.75rem 0; }
  .container { padding: 0 1.15rem; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .accept-list { grid-template-columns: 1fr; }
  .town-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .brand img { height: 50px; }
  .nav-phone { font-size: 0; gap: 0; }
  .nav-phone svg { width: 22px; height: 22px; }
  .hero { padding: 3.25rem 0 3.5rem; background-position: 68% 20%; }
  .hero::before { background-image: linear-gradient(180deg, rgba(8,23,42,0.94) 0%, rgba(10,28,50,0.86) 55%, rgba(8,23,42,0.94) 100%); }
  .trustbar .container { grid-template-columns: 1fr; justify-content: start; gap: 0.6rem; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 68px; }
  /* Stop the drawer short of the fixed Call/Book bar so the last menu item
     is reachable instead of pinned underneath it. */
  .nav-links {
    max-height: calc(100vh - 100% - 68px);
    max-height: calc(100dvh - 100% - 68px);
    padding-bottom: 0.5rem;
  }
  .field-row { grid-template-columns: 1fr; }
  .sm-hide { display: none; }
  .booking-frame iframe { height: 2150px; }
  .booking-frame { border-radius: var(--r-md); }
}

/* ---------- Size calculator ---------- */
.calc-step { margin-bottom: 2.25rem; }
.calc-step h3 { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; font-size: 1.3rem; }
.calc-n {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: var(--r-sm);
  background: var(--orange); color: var(--white);
  display: grid; place-items: center; font-size: 1.05rem;
}
.calc-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.7rem; }
.calc-opt {
  text-align: left; padding: 1rem 1.1rem; cursor: pointer;
  background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--r-md);
  font-family: var(--body); color: var(--charcoal);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.calc-opt strong { display: block; font-size: 0.98rem; color: var(--navy); }
.calc-sub { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; line-height: 1.4; }
.calc-opt:hover { border-color: var(--navy); }
.calc-opt.picked { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); background: var(--orange-soft); }

.calc-result { margin-top: 2.5rem; }
.calc-waiting {
  text-align: center; color: var(--muted); font-size: 0.95rem;
  padding: 2.5rem 1rem; border: 2px dashed var(--gray-line); border-radius: var(--r-lg);
}
.calc-answer {
  text-align: center; background: var(--navy); color: var(--white);
  border-radius: var(--r-lg); padding: 2.5rem 2rem; border-top: 4px solid var(--orange);
}
.calc-size { font-family: var(--display); font-size: clamp(2.6rem, 7vw, 4rem); font-weight: 700; text-transform: uppercase; line-height: 1; }
.calc-price { color: rgba(255,255,255,0.75); margin: 0.6rem 0 1.6rem; font-size: 1.02rem; }
.calc-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.calc-actions .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.4); }
.calc-actions .btn-outline:hover { background: var(--white); color: var(--navy); }
.calc-note {
  margin-top: 1.25rem; padding: 1.1rem 1.35rem; font-size: 0.92rem; line-height: 1.6;
  background: var(--offwhite); border-left: 3px solid var(--orange);
  border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--charcoal);
}

/* ---------- Three-column materials guide (yes / ask / no) ---------- */
.accept-col.ask { border-top: 3px solid #E8A33D; }
.accept-col.ask h3 .chip { background: #E8A33D; color: var(--white); font-weight: 800; }
.ask-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.ask-list li { line-height: 1.45; }
.ask-list strong {
  display: block; font-size: 0.9rem; color: var(--navy);
  font-weight: 700; margin-bottom: 0.15rem;
}
.ask-list span { display: block; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.materials-note {
  max-width: 62ch; margin: 2.25rem auto 0; text-align: center;
  font-size: 0.95rem; color: var(--muted); line-height: 1.65;
}
.materials-note strong { color: var(--navy); }
@media (max-width: 1080px) {
  .accept-col.ask { order: 3; }
}
