/* JLBJ Septic Services — mockup stylesheet
   Palette pulled from the JLBJ logo (royal blue) and the red pump truck. */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --blue: #1a3bc4;
  --blue-deep: #0f2580;
  --navy: #0b1638;
  --red: #c62a2f;
  --red-deep: #9e1d22;
  --sand: #f4f0e6;
  --clay: #e7dfcc;
  --ink: #1b1f2a;
  --muted: #586074;
  --line: #d9d3c2;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(11, 22, 56, .14);
  --head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--sand); }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); text-transform: uppercase; color: var(--navy); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.tiny { font-size: .85rem; color: var(--muted); }
:focus-visible { outline: 3px solid #f5b800; outline-offset: 2px; }

.eyebrow { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; color: var(--red); margin: 0 0 .6em; }
.eyebrow.light { color: #ffd2d3; }

/* ---------- Top bar ---------- */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.brand-logo { width: 112px; height: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-main { font-family: var(--head); font-weight: 800; font-size: 1.7rem; letter-spacing: .04em; color: var(--blue); line-height: 1; }
.brand-sub { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.top-links { display: flex; align-items: center; gap: 22px; font-weight: 600; }
.top-links a { text-decoration: none; color: var(--muted); text-transform: capitalize; }
.top-links a:hover { color: var(--blue); }
.top-links a[href^="tel"] { white-space: nowrap; background: var(--red); color: var(--white); padding: 10px 18px; border-radius: var(--radius); font-family: var(--head); font-size: 1.35rem; letter-spacing: .04em; }
.top-links a[href^="tel"]:hover { background: var(--red-deep); color: var(--white); }

/* ---------- Main nav ---------- */
.nav-wrap { position: relative; z-index: 30; background: var(--blue); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
body > .container:has(.nav-wrap) { position: sticky; top: 0; z-index: 30; }
.menu-toggle { display: none; }
.site-nav { display: flex; align-items: stretch; }
.site-nav > a, .drop-toggle {
  font-family: var(--head); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--white); text-decoration: none; background: none; border: 0; padding: 16px 24px; cursor: pointer; display: flex; align-items: center; gap: 8px;
}
.drop-toggle::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.site-nav > a:hover, .drop-toggle:hover, .nav-item.open .drop-toggle, .site-nav a[aria-current="page"] { background: var(--blue-deep); }
.nav-item { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--white); border-top: 4px solid var(--red); box-shadow: var(--shadow); padding: 8px 0; display: none; }
.nav-item.open .dropdown-menu { display: block; }
@media (hover: hover) and (min-width: 901px) { .nav-item:hover .dropdown-menu { display: block; } }
.dropdown-menu a { display: block; padding: 10px 20px; color: var(--ink); text-decoration: none; font-weight: 600; }
.dropdown-menu a:hover { background: var(--sand); color: var(--blue); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; padding: 14px 28px; border-radius: var(--radius); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .15s, color .15s; }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--clay); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--blue); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 620px; margin-top: -54px; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-image { position: absolute; inset: 0; background-size: cover; background-position: 70% center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,22,56,.94) 0%, rgba(11,22,56,.8) 38%, rgba(11,22,56,.15) 72%, rgba(11,22,56,0) 100%); }
.hero-content { position: relative; padding: 130px 0 110px; }
.hero-copy { max-width: 560px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); text-transform: uppercase; font-weight: 800; }
.hero h1 span { color: #ff8e91; }
.hero p { font-size: 1.15rem; color: #e4e8f5; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* Interior page hero */
.page-hero { position: relative; margin-top: -54px; padding: 130px 0 70px; color: var(--white); background: var(--navy) center/cover no-repeat; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,22,56,.95), rgba(11,22,56,.7) 60%, rgba(11,22,56,.45)); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); text-transform: uppercase; font-weight: 800; max-width: 760px; }
.page-hero p { max-width: 640px; font-size: 1.12rem; color: #e4e8f5; }
.crumbs { font-size: .9rem; color: #b9c3e4; margin-bottom: 14px; }
.crumbs a { color: #fff; }

/* ---------- Service cards ---------- */
.cards-section { position: relative; z-index: 2; margin-top: -60px; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.service-card { display: flex; flex-direction: column; padding: 30px 26px; color: var(--white); text-decoration: none; min-height: 250px; transition: transform .15s; }
.service-card h3 { text-transform: uppercase; font-size: 1.7rem; }
.service-card p { color: rgba(255,255,255,.86); flex: 1; }
.service-card span { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; border-bottom: 2px solid currentColor; align-self: flex-start; }
.service-card:hover span { color: #ffd2d3; }
.tone-1 { background: var(--blue); }
.tone-2 { background: var(--blue-deep); }
.tone-3 { background: var(--navy); }
.tone-4 { background: var(--red); }

/* ---------- Headline block ---------- */
.headline-block { padding: 90px 0 60px; }
.jumbo { font-size: clamp(3.4rem, 11vw, 8rem); font-weight: 800; color: var(--blue); margin: 0; line-height: .9; letter-spacing: .02em; }
.subjumbo { font-size: clamp(1.3rem, 3vw, 2rem); text-transform: uppercase; color: var(--navy); letter-spacing: .14em; margin: 8px 0 22px; }
.headline-block p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Split section ---------- */
.split-section { padding: 40px 0 90px; }
.split-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split-photo { display: grid; gap: 12px; }
.split-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.split-photo img:first-child { aspect-ratio: 16/7; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 8px 0 8px 34px; border-bottom: 1px solid var(--line); font-weight: 600; }
.checklist li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 14px; height: 8px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

/* ---------- Feature band ---------- */
.feature-band { background: var(--clay); padding: 80px 0; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.porta-stack { display: flex; align-items: flex-end; justify-content: center; gap: 14px; flex-wrap: nowrap; }
.porta-stack img { background: var(--white); padding: 8px; border-radius: var(--radius); box-shadow: var(--shadow); height: 190px; width: auto; max-width: 32%; object-fit: contain; }
.porta-stack img:nth-child(2) { height: 230px; }

/* ---------- Reviews ---------- */
.reviews-section { padding: 90px 0; background: var(--white); }
.section-head { max-width: 680px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--sand); border-left: 5px solid var(--blue); padding: 28px; border-radius: var(--radius); display: flex; flex-direction: column; }
.review-card p { font-size: 1.08rem; flex: 1; }
.review-card strong { font-family: var(--head); font-size: 1.3rem; color: var(--navy); }
.review-card span { color: var(--muted); font-size: .9rem; }
.review-link { margin-top: 32px; }
.review-link a { font-weight: 700; }

/* ---------- Interior content ---------- */
.content-section { padding: 80px 0; }
.content-section.alt { background: var(--white); }
.content-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.content-grid.flip > :first-child { order: 2; }
.content-grid img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-pair { display: grid; gap: 14px; }
.info-box { background: var(--navy); color: var(--white); padding: 28px; border-radius: var(--radius); }
.info-box h3 { color: var(--white); text-transform: uppercase; }
.info-box p, .info-box li { color: #dbe1f3; }
.info-box a { color: #fff; font-weight: 700; }
.info-box.red { background: var(--red); }
.info-box.red p, .info-box.red li { color: #fff1f1; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.stat { background: var(--sand); border-top: 4px solid var(--blue); padding: 18px; border-radius: var(--radius); }
.content-section.alt .stat { background: var(--sand); }
.content-section:not(.alt) .stat { background: var(--white); }
.stat strong { display: block; font-family: var(--head); font-size: 2rem; color: var(--blue); line-height: 1; margin-bottom: 4px; }
.stat span { font-size: .95rem; color: var(--muted); }
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.jump-links a { color: var(--white); border: 1px solid rgba(255,255,255,.5); padding: 8px 14px; border-radius: 40px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.jump-links a:hover { background: var(--white); color: var(--navy); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 18px 54px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; }
.steps strong { display: block; font-size: 1.05rem; }
.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.unit-card { margin: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; text-align: center; }
.unit-card img { height: 170px; width: auto; margin: 0 auto 14px; object-fit: contain; box-shadow: none; }
.unit-card h3 { text-transform: uppercase; color: var(--navy); }
.unit-card p { color: var(--muted); margin: 0; }
.cta-band { background: var(--blue); color: var(--white); padding: 56px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band p { margin: 6px 0 0; color: #dbe1f3; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c6cde4; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-title { font-family: var(--head); font-weight: 800; font-size: 1.7rem; color: var(--white); text-transform: uppercase; margin-bottom: 10px; }
.site-footer h4 { color: var(--white); text-transform: uppercase; letter-spacing: .1em; font-size: 1.1rem; }
.site-footer a { color: var(--white); }
.footer-note { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding: 20px 0 100px; font-size: .9rem; color: #97a2c4; }

/* ---------- Floating alert ---------- */
.floating-alert { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 12px; background: var(--red); color: var(--white); border: 0; padding: 12px 20px 12px 16px; border-radius: 50px; box-shadow: 0 10px 24px rgba(158,29,34,.4); cursor: pointer; text-align: left; font-family: var(--body); }
.floating-alert:hover { background: var(--red-deep); }
.floating-alert strong { display: block; font-family: var(--head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.floating-alert small { font-size: .85rem; opacity: .9; }
.alert-dot { width: 14px; height: 14px; border-radius: 50%; background: #ff4b4b; box-shadow: 0 0 0 4px rgba(255,255,255,.35); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(255,255,255,.4); } 50% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .alert-dot { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Request dialog ---------- */
.request-dialog { border: 0; padding: 0; border-radius: 10px; width: min(640px, 100% - 24px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.request-dialog::backdrop { background: rgba(11,22,56,.7); }
.dialog-shell { padding: 30px; }
.dialog-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dialog-head h2 { font-size: 2rem; margin-bottom: 4px; }
.dialog-head p:last-child { color: var(--muted); margin: 0; }
.close-dialog { background: var(--sand); border: 0; width: 42px; height: 42px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: .92rem; color: var(--navy); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--blue); outline: 2px solid rgba(26,59,196,.25); }
.dialog-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .brand-logo { width: 84px; }
  .top-links a:not([href^="tel"]) { display: none; }
  .nav-wrap { border-radius: 0 0 var(--radius) var(--radius); }
  .menu-toggle { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; color: var(--white); font-family: var(--head); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .08em; padding: 14px 18px; cursor: pointer; }
  .menu-toggle::before { content: ''; width: 22px; height: 14px; border-top: 3px solid #fff; border-bottom: 3px solid #fff; background: linear-gradient(#fff,#fff) center/100% 3px no-repeat; }
  .site-nav { display: none; flex-direction: column; border-top: 1px solid rgba(255,255,255,.2); }
  .site-nav.open { display: flex; }
  .site-nav > a, .drop-toggle { width: 100%; justify-content: space-between; padding: 14px 18px; }
  .dropdown-menu { position: static; box-shadow: none; border-top: 0; background: var(--blue-deep); min-width: 0; }
  .dropdown-menu a { color: #fff; padding-left: 34px; }
  .dropdown-menu a:hover { background: var(--navy); color: #fff; }
  .hero, .page-hero { margin-top: 0; }
  .hero { min-height: 0; }
  .hero-content { padding: 80px 0 110px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(11,22,56,.82), rgba(11,22,56,.9)); }
  .page-hero { padding: 70px 0 50px; }
  .split-grid, .feature-grid, .content-grid { grid-template-columns: 1fr; gap: 32px; }
  .content-grid.flip > :first-child { order: 0; }
  .review-grid, .unit-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-sub { display: none; }
  .brand-main { font-size: 1.35rem; }
  .top-links a[href^="tel"] { font-size: 1.05rem; padding: 8px 10px; }
  .brand-logo { width: 70px; }
  .floating-alert { padding: 10px 16px 10px 12px; }
  .floating-alert strong { font-size: 1rem; }
  .cards-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .porta-stack img { height: 130px; }
  .porta-stack img:nth-child(2) { height: 160px; }
  .dialog-shell { padding: 22px; }
  .floating-alert { right: 12px; bottom: 12px; }
}

/* =========================================================
   Phone layout (700px and below): shorter pages, less scrolling.
   Desktop and tablet styles above are untouched.
   ========================================================= */
@media (max-width: 700px) {
  html { scroll-padding-top: 64px; }
  body { font-size: 15.5px; line-height: 1.5; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.3rem; }
  p { margin-bottom: .7em; }
  .eyebrow { font-size: .78rem; margin-bottom: .35em; letter-spacing: .12em; }
  .btn { padding: 11px 16px; font-size: 1rem; }

  /* Header */
  .topbar-inner { padding: 6px 0; }
  .brand { gap: 10px; }
  .brand-logo { width: 58px; }
  .brand-main { font-size: 1.2rem; }
  .menu-toggle { padding: 11px 16px; font-size: 1.1rem; }
  .site-nav > a, .drop-toggle { padding: 12px 16px; font-size: 1.1rem; }
  .dropdown-menu a { padding: 9px 16px 9px 30px; }

  /* Home hero */
  .hero-content { padding: 34px 0 58px; }
  .hero h1 { font-size: 2.15rem; }
  .hero p { font-size: 1rem; }
  .hero-buttons { margin-top: 16px; gap: 10px; flex-wrap: nowrap; }
  .hero-buttons .btn { flex: 1; padding: 11px 8px; font-size: .95rem; }

  /* Service cards: 2 x 2 tiles */
  .cards-section { margin-top: -34px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .service-card { padding: 16px 14px; min-height: 0; }
  .service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
  .service-card p { display: none; }
  .service-card span { font-size: .82rem; }

  /* Headline block */
  .headline-block { padding: 38px 0 22px; }
  .jumbo { font-size: 3.1rem; }
  .subjumbo { font-size: 1rem; margin: 6px 0 12px; }
  .headline-block p { font-size: 1rem; }

  /* Installs split: one photo, checklist in two columns */
  .split-section { padding: 6px 0 38px; }
  .split-grid, .feature-grid, .content-grid { gap: 18px; }
  .split-photo img:nth-child(n+2) { display: none; }
  .checklist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .checklist li { padding: 6px 0 6px 24px; font-size: .9rem; line-height: 1.3; }
  .checklist li::before { left: 2px; top: 10px; width: 11px; height: 6px; }

  /* Porta jon band */
  .feature-band { padding: 38px 0; }
  .porta-stack { gap: 10px; }
  .porta-stack img { height: 112px; padding: 5px; }
  .porta-stack img:nth-child(2) { height: 132px; }

  /* Swipe rows instead of stacked cards */
  .review-grid, .unit-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none;
  }
  .review-grid::-webkit-scrollbar, .unit-grid::-webkit-scrollbar { display: none; }
  .review-card { flex: 0 0 84%; scroll-snap-align: center; padding: 18px; }
  .review-card p { font-size: 1rem; }
  .unit-grid { margin-top: 10px; }
  .unit-card { flex: 0 0 62%; scroll-snap-align: center; padding: 14px; }
  .unit-card img { height: 120px; margin-bottom: 8px; }
  .unit-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
  .unit-card p { font-size: .9rem; }
  .reviews-section { padding: 40px 0; }
  .section-head { margin-bottom: 14px; }
  .review-link { margin-top: 10px; }

  /* Interior page hero */
  .page-hero { padding: 30px 0 26px; }
  .page-hero h1 { font-size: 1.95rem; }
  .page-hero p { font-size: .98rem; margin-bottom: 0; }
  .crumbs { margin-bottom: 8px; font-size: .82rem; }
  .jump-links { flex-wrap: nowrap; overflow-x: auto; margin: 16px -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
  .jump-links::-webkit-scrollbar { display: none; }
  .jump-links a { flex: 0 0 auto; padding: 7px 12px; font-size: .88rem; }

  /* Interior sections */
  .content-section { padding: 34px 0; }
  .content-grid img { max-height: 210px; object-fit: cover; }
  .photo-pair { grid-template-columns: 1fr 1fr; gap: 10px; }
  .photo-pair img { height: 130px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
  .stat { padding: 10px 8px; border-top-width: 3px; }
  .stat strong { font-size: 1.2rem; margin-bottom: 2px; }
  .stat span { display: block; font-size: .76rem; line-height: 1.25; }
  .info-box { padding: 18px; }
  .info-box h3 { font-size: 1.3rem; }
  .info-box .checklist li { border-color: rgba(255,255,255,.15); }
  .steps li { padding: 0 0 10px 42px; }
  .steps li::before { width: 30px; height: 30px; font-size: 1.05rem; }
  .steps strong { font-size: .98rem; }

  /* CTA band */
  .cta-band { padding: 28px 0; }
  .cta-band .container { gap: 14px; }
  .cta-band h2 { font-size: 1.6rem; }
  .cta-actions { width: 100%; gap: 10px; flex-wrap: nowrap; }
  .cta-actions .btn { flex: 1; padding: 11px 8px; font-size: .92rem; }

  /* Footer */
  .site-footer { padding: 32px 0 0; font-size: .92rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-title { font-size: 1.35rem; margin-bottom: 4px; }
  .site-footer h4 { margin-bottom: 4px; font-size: .95rem; }
  .site-footer p { margin: 0; }
  .footer-note { margin-top: 22px; padding: 12px 0 76px; font-size: .78rem; }

  /* Alarm button: smaller pill so it covers less content */
  .floating-alert { padding: 9px 14px 9px 11px; gap: 9px; right: 10px; bottom: 10px; }
  .floating-alert strong { font-size: .98rem; }
  .floating-alert small { display: none; }
  .alert-dot { width: 11px; height: 11px; }

  /* Request form */
  .dialog-shell { padding: 18px; }
  .dialog-head h2 { font-size: 1.5rem; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .form-grid textarea { min-height: 90px; }
}
@media (max-width: 380px) {
  .checklist { grid-template-columns: 1fr; }
  .hero-buttons, .cta-actions { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .stat strong { font-size: 1.02rem; overflow-wrap: anywhere; }
  .cta-actions .btn { white-space: nowrap; font-size: .86rem; letter-spacing: .05em; }
  .hero-buttons .btn { white-space: nowrap; }
}
@media (max-width: 700px) {
  .stat strong { font-size: .9rem; letter-spacing: 0; overflow-wrap: normal; }
}
@media (max-width: 380px) {
  .service-card h3 { font-size: 1.02rem; }
  .service-card { padding: 14px 12px; }
}
/* Phone hero: let the JLBJ family photo show through */
@media (max-width: 900px) {
  .hero-image { background-position: 74% 30%; }
  .hero-overlay { background: linear-gradient(180deg, rgba(11,22,56,.62) 0%, rgba(11,22,56,.38) 45%, rgba(11,22,56,.55) 75%, rgba(11,22,56,.85) 100%); }
  .hero-copy h1, .hero-copy p, .hero-copy .eyebrow { text-shadow: 0 2px 10px rgba(0,0,0,.65), 0 1px 2px rgba(0,0,0,.6); }
  .page-hero::before { background: linear-gradient(180deg, rgba(11,22,56,.7), rgba(11,22,56,.5) 55%, rgba(11,22,56,.78)); }
  .page-hero h1, .page-hero p { text-shadow: 0 2px 10px rgba(0,0,0,.6); }
}
@media (max-width: 700px) {
  .hero-buttons .btn, .cta-actions .btn { min-width: 0; padding: 11px 6px; font-size: .84rem; letter-spacing: .04em; }
}
/* Port a Jon card: soft neon green */
.tone-4 { background: #6fdc8c; color: var(--navy); }
.tone-4 p { color: rgba(11,22,56,.82); }
.tone-4:hover { background: #63cf80; }
.tone-4:hover span { color: var(--navy); }
/* Home hero: photo only, buttons along the bottom */
.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; }
.hero { align-items: flex-end; }
.hero-image { background-position: center 35%; }
.hero-overlay { background: linear-gradient(180deg, rgba(11,22,56,0) 55%, rgba(11,22,56,.55) 100%); }
.hero-content { padding: 0 0 96px; }
.hero-copy { max-width: none; }
.hero-buttons { margin-top: 0; }
@media (max-width: 900px) {
  .hero { min-height: 0; aspect-ratio: 1800 / 1168; }
  .hero-image { background-position: center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(11,22,56,0) 50%, rgba(11,22,56,.6) 100%); }
  .hero-content { padding: 0 0 70px; }
}
@media (max-width: 700px) {
  .hero { aspect-ratio: auto; min-height: 330px; }
  .hero-image { background-position: 62% center; }
  .hero-content { padding: 0 0 52px; }
}
/* Hero buttons sit over the trees, clear of the family */
.hero { align-items: flex-start; }
.hero-overlay { background: linear-gradient(180deg, rgba(11,22,56,.5) 0%, rgba(11,22,56,0) 32%, rgba(11,22,56,0) 80%, rgba(11,22,56,.35) 100%); }
.hero-content { padding: 112px 0 0; }
.hero .btn-outline { background: rgba(11,22,56,.55); }
.hero .btn-outline:hover { background: var(--white); }
@media (max-width: 900px) {
  .hero-overlay { background: linear-gradient(180deg, rgba(11,22,56,.5) 0%, rgba(11,22,56,0) 30%, rgba(11,22,56,0) 82%, rgba(11,22,56,.35) 100%); }
  .hero-content { padding: 18px 0 0; }
}
@media (max-width: 700px) {
  .hero { min-height: 360px; }
  .hero-content { padding: 14px 0 0; }
  .hero-image { background-position: 64% 70%; }
}

/* ---------- Photo galleries ---------- */
.gallery-block { margin-top: 40px; }
.gallery-label { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); font-size: 1.15rem; margin-bottom: 12px; }
.gallery-label span { color: var(--muted); font-family: var(--body); font-weight: 600; font-size: .85rem; letter-spacing: 0; text-transform: none; margin-left: 8px; }
.no-label .gallery-label { display: none; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.gallery-item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--clay); box-shadow: 0 4px 14px rgba(11,22,56,.12); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; box-shadow: none !important; max-height: none !important; border-radius: 0 !important; }
.gallery-item:hover img { transform: scale(1.05); }
.content-grid .gallery-item img { box-shadow: none; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 100vw - 24px); max-height: calc(100vh - 24px); overflow: visible; }
.lightbox::backdrop { background: rgba(5,10,28,.9); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: var(--radius); object-fit: contain; }
.lightbox figcaption { color: #fff; margin-top: 10px; text-align: center; font-size: .95rem; }
.lb-btn { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-close { position: fixed; top: 12px; right: 12px; transform: none; }

/* ---------- Storm shelter link (home, under service cards) ---------- */
.storm-link-wrap { padding: 36px 0 0; }
.storm-link { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: var(--navy); font-family: var(--head); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.5rem); text-transform: uppercase; letter-spacing: .08em; padding: 8px 6px; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.storm-link:hover { color: var(--blue); border-bottom-color: var(--blue); }
.storm-icon { width: 1.3em; height: 1.3em; color: var(--blue); flex-shrink: 0; }
.storm-icon .bolt { fill: #f2b705; }

/* Home porta photos (new, larger shots) */
.porta-stack img { padding: 0; height: 230px; width: 31%; max-width: 190px; object-fit: cover; border: 5px solid #fff; }
.porta-stack img:nth-child(2) { height: 270px; }
.split-photo img:first-child { aspect-ratio: 16 / 8; }
.split-photo img:nth-child(2) { aspect-ratio: 16 / 9; object-position: center 60%; }

/* ---------- Contact page ---------- */
.contact-grid { align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { background: var(--sand); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 20px; }
.contact-card h3 { text-transform: uppercase; color: var(--navy); font-size: 1.3rem; margin-bottom: 8px; }
.contact-card p { margin: 0 0 6px; }
.contact-card a { font-weight: 700; overflow-wrap: anywhere; }
.hours { border-collapse: collapse; width: 100%; font-size: .95rem; }
.hours th { text-align: left; font-weight: 600; padding: 3px 10px 3px 0; }
.hours td { text-align: right; padding: 3px 0; white-space: nowrap; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.owner-photo { margin: 0; }
.owner-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: var(--radius); box-shadow: var(--shadow); }
.owner-photo figcaption { margin-top: 10px; color: var(--muted); font-size: .95rem; text-align: center; }
.fleet-photo { margin-top: 18px; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; background: var(--clay); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

@media (max-width: 900px) {
  .contact-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .gallery-block { margin-top: 24px; }
  .gallery-label { font-size: 1rem; margin-bottom: 8px; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 2px 16px 10px; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery-item { flex: 0 0 42%; scroll-snap-align: start; }
  .storm-link-wrap { padding: 22px 0 0; }
  .storm-link { gap: 10px; font-size: 1.55rem; }
  .porta-stack img { height: 130px; border-width: 3px; }
  .porta-stack img:nth-child(2) { height: 150px; }
  .contact-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .contact-card { padding: 14px; }
  .contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
  .contact-card p, .hours { font-size: .88rem; }
  .contact-card:last-child { grid-column: 1 / -1; }
  .contact-actions .btn { flex: 1; padding: 11px 8px; font-size: .84rem; white-space: nowrap; }
  .owner-photo img { aspect-ratio: 4 / 3; }
  .map-frame, .map-frame iframe { min-height: 240px; }
  .lb-btn { width: 40px; height: 40px; font-size: 1.4rem; top: auto; bottom: 14px; transform: none; }
  .lb-close { top: 12px; bottom: auto; }
}
/* New photo sizing on interior pages */
.content-grid > div > img, .content-grid > div > .photo-pair img { max-height: 440px; object-fit: cover; }
.photo-pair { grid-template-columns: 1fr 1fr; }
.photo-pair img { aspect-ratio: 3 / 4; height: auto; }
.gallery { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
@media (max-width: 700px) {
  .content-grid > div > img { max-height: 230px; }
  .photo-pair img { aspect-ratio: auto; height: 150px; }
}
.gallery-block.big .gallery { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); max-width: 640px; }
.no-label .gallery { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 700px) {
  .contact-card:first-child { grid-column: 1 / -1; }
  .contact-card a { overflow-wrap: normal; }
  .gallery-block.big .gallery-item { flex: 0 0 64%; }
  .no-label .gallery { display: flex; }
}

/* ---------- FAQ page: JLBJ Helper chat ---------- */
.faq-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 32px; align-items: start; }
.chat { background: var(--white); border-radius: 10px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--blue); color: var(--white); }
.chat-head img { width: 54px; height: auto; background: #fff; border-radius: 6px; padding: 3px; }
.chat-head strong { display: block; font-family: var(--head); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; }
.chat-head span { font-size: .85rem; color: #d6ddf7; }
.chat-log { height: 460px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--sand); scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 12px 14px; border-radius: 14px; font-size: .97rem; line-height: 1.5; box-shadow: 0 1px 2px rgba(11,22,56,.08); }
.msg p { margin: 0 0 .5em; } .msg p:last-child { margin-bottom: 0; }
.msg ul { margin: .4em 0 .2em; padding-left: 1.2em; } .msg li { margin: .15em 0; }
.msg.bot { align-self: flex-start; background: var(--white); border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; }
.msg-q { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--blue); font-size: 1.02rem; }
.msg.warn { background: #fff4f2; border: 1px solid #f1c7c3; border-left: 5px solid var(--red); }
.msg.warn > strong:first-child { display: flex; align-items: center; gap: 8px; color: var(--red-deep); font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; margin-bottom: 4px; }
.msg.warn > strong:first-child::before { content: '!'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: .85rem; font-family: var(--body); }
.msg.typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa3b8; animation: blink 1s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .15s; } .msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.msg-actions { align-self: flex-start; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin: -2px 0 4px 4px; }
.mini-btn { font: inherit; font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 30px; border: 1px solid var(--blue); background: var(--white); color: var(--blue); cursor: pointer; text-decoration: none; }
.mini-btn:hover { background: var(--blue); color: var(--white); }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 4px; border-top: 1px solid var(--line); }
.chip { font: inherit; font-size: .88rem; font-weight: 600; padding: 7px 12px; border-radius: 30px; border: 1px solid var(--line); background: var(--sand); color: var(--navy); cursor: pointer; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chat-form { display: flex; gap: 10px; padding: 12px 16px; }
.chat-form input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.chat-form input:focus { border-color: var(--blue); outline: 2px solid rgba(26,59,196,.25); }
.chat-note { margin: 0; padding: 0 16px 14px; font-size: .8rem; color: var(--muted); }
.faq-side { display: grid; gap: 20px; }
.faq-safety { background: var(--white); border-left: 5px solid var(--red); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.faq-safety h3 { text-transform: uppercase; color: var(--red-deep); font-size: 1.3rem; }
.faq-safety p { margin: 0; color: var(--ink); }

/* FAQ list */
.faq-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; align-items: start; }
.faq-group h3 { text-transform: uppercase; color: var(--navy); font-size: 1.35rem; border-bottom: 3px solid var(--blue); padding-bottom: 6px; margin-bottom: 6px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 12px 30px 12px 0; font-weight: 700; position: relative; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 8px; font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { color: var(--blue); }
.faq-answer { padding: 0 0 14px; color: var(--ink); }
.faq-answer ul { margin: .4em 0; padding-left: 1.2em; }
.faq-warn { margin-top: 10px; background: #fff4f2; border-left: 4px solid var(--red); padding: 10px 12px; border-radius: 4px; }
.faq-warn strong { color: var(--red-deep); text-transform: uppercase; font-size: .85rem; letter-spacing: .06em; }
.faq-warn p { margin: 4px 0 0; font-size: .95rem; }

@media (max-width: 900px) {
  .faq-layout, .faq-groups { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .faq-layout { gap: 18px; }
  .chat { margin: 0 -6px; }
  .chat-log { height: 56vh; max-height: 440px; min-height: 300px; padding: 12px; }
  .msg { max-width: 92%; font-size: .93rem; }
  .chat-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 10px 12px 2px; }
  .chat-chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .chat-form { padding: 10px 12px; }
  .chat-form input { font-size: 16px; padding: 10px 12px; }
  .faq-side .steps { margin-bottom: 4px; }
  .faq-safety { padding: 16px; }
  .faq-item summary { padding: 11px 28px 11px 0; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .msg.typing span { animation: none; } .chat-log { scroll-behavior: auto; } }

/* Desktop nav: six items on one line */
@media (min-width: 901px) {
  .site-nav > a, .drop-toggle { white-space: nowrap; padding: 16px 18px; font-size: 1.12rem; }
  .site-nav > a[href="contact.html"] { margin-left: auto; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .site-nav > a, .drop-toggle { padding: 14px 11px; font-size: .98rem; letter-spacing: .04em; }
}
@media (min-width: 901px) and (max-width: 1000px) {
  .site-nav > a, .drop-toggle { padding: 13px 8px; font-size: .88rem; letter-spacing: .02em; gap: 5px; }
}

/* ---------- FAQ chat: cleaner phone layout ---------- */
.chat-form { flex-wrap: wrap; }
.chat-label { display: none; }
.chips-label { display: none; }
@media (max-width: 700px) {
  .faq-page .floating-alert { display: none; }
  .faq-page .footer-note { padding-bottom: 20px; }
  .faq-page .page-hero { padding: 22px 0 20px; }
  .faq-page .page-hero p:not(.eyebrow):not(.crumbs) { display: none; }
  .faq-page .page-hero h1 { margin-bottom: 0; font-size: 1.8rem; }
  .faq-page .content-section.alt { padding-top: 16px; }

  .chat { margin: 0; border-radius: 12px; }
  .chat-head { padding: 10px 14px; }
  .chat-head img { width: 44px; }
  .chat-head strong { font-size: 1.15rem; }
  .chat-head span { font-size: .78rem; }

  /* Log grows with the conversation instead of a tall empty box */
  .chat-log { order: 1; height: auto; min-height: 0; max-height: 58vh; padding: 12px 12px 6px; }
  .chat-form { order: 2; padding: 6px 12px 12px; gap: 8px; }
  .chat-chips { order: 3; }
  .chat-note { order: 4; }

  .chat-label { display: block; width: 100%; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; color: var(--navy); }
  .chat-form input { border: 2px solid var(--blue); border-radius: 10px; padding: 12px; font-size: 16px; background: #fff; }
  .chat-form .btn { padding: 0 18px; border-radius: 10px; }

  .chat-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
  .chips-label { display: block; grid-column: 1 / -1; margin: 0; font-size: .82rem; font-weight: 700; color: var(--muted); }
  .chip { flex: none; font-size: .84rem; line-height: 1.25; padding: 9px 10px; border-radius: 10px; text-align: left; background: var(--sand); }
  .chat-note { padding: 0 12px 12px; font-size: .76rem; }

  .faq-side { gap: 14px; }
  .faq-side .info-box { padding: 16px; }
  .faq-side .info-box h3 { font-size: 1.2rem; }
  .faq-side .steps li { padding-bottom: 8px; }
  .faq-safety h3 { font-size: 1.1rem; margin-bottom: 4px; }
  .faq-safety p { font-size: .9rem; }
  #all-questions { padding-top: 30px; }
  .faq-group h3 { font-size: 1.15rem; }
}
.chat-log { position: relative; }

/* "Ask JLBJ" button on the phone menu bar */
.nav-ask { display: none; }
@media (max-width: 900px) {
  .nav-wrap { display: flex; flex-wrap: wrap; align-items: center; }
  .menu-toggle { width: auto; flex: 1; }
  .site-nav { flex-basis: 100%; }
  .nav-ask { display: inline-flex; align-items: center; gap: 7px; margin-right: 10px; padding: 7px 13px; border-radius: 30px; background: var(--white); color: var(--blue); text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
  .nav-ask svg { width: 19px; height: 19px; }
  .nav-ask:hover, .nav-ask:focus-visible { background: var(--clay); }
}
/* Ask JLBJ: smaller, quieter pill */
@media (max-width: 900px) {
  .nav-ask { gap: 5px; margin-right: 10px; padding: 4px 10px; font-size: .8rem; letter-spacing: .05em; border-radius: 20px; background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.55); }
  .nav-ask svg { width: 14px; height: 14px; }
  .nav-ask:hover, .nav-ask:focus-visible { background: #fff; color: var(--blue); }
}
