:root {
  --bg: #081325;              /* deep navy from logo outline */
  --bg-2: #0f2c54;
  --surface: rgba(168, 212, 237, 0.06);
  --surface-2: rgba(168, 212, 237, 0.10);
  --line: rgba(168, 212, 237, 0.15);
  --navy: #f0f7ff;            /* heading color on dark */
  --ink: #d7e8f7;             /* body text */
  --muted: #8aa9c4;           /* secondary text */
  --blue: #11437c;            /* logo royal blue */
  --aqua: #5aaede;            /* logo sky blue */
  --glow: rgba(54, 143, 200, 0.45);
  --grad: linear-gradient(120deg, #7cc0e8, #2a7ab8 55%, #0d3563);
  --red: #e84d32;             /* logo jersey red */
  --red-grad: linear-gradient(120deg, #e84d32, #ca230f);
  --red-glow: rgba(232, 77, 50, 0.40);
  --radius: 20px;
  --shadow: 0 20px 60px rgba(4, 12, 28, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(54, 143, 200, 0.22), transparent 60%),
    radial-gradient(700px 450px at -10% 30%, rgba(17, 67, 124, 0.30), transparent 60%),
    radial-gradient(1200px 700px at 50% 110%, rgba(54, 143, 200, 0.12), transparent 65%),
    var(--bg);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: var(--aqua); text-decoration: none; transition: color .2s; }

.container { width: min(1180px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.02em; }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 19, 37, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { font-family: 'Space Grotesk', sans-serif; display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.3rem; color: var(--navy); letter-spacing: -0.01em; }
.logo-mark {
  width: 48px; height: 48px; object-fit: contain;
  filter: drop-shadow(0 0 16px var(--glow));
}
.logo span.tag { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav ul { display: flex; gap: 34px; list-style: none; }
nav a { color: var(--muted); font-weight: 600; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.08em; }
nav a:hover, nav a.active { color: var(--navy); }
.cta-btn {
  background: var(--red-grad);
  color: #ffffff !important; padding: 12px 26px; border-radius: 999px;
  font-weight: 800; font-size: 0.9rem; letter-spacing: 0.02em;
  box-shadow: 0 8px 30px var(--red-glow);
  transition: transform .2s, box-shadow .2s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px var(--red-glow); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 130px 0 140px; text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 320px at 50% 115%, rgba(168, 212, 237, 0.18), transparent 70%),
    radial-gradient(500px 300px at 15% -10%, rgba(17, 67, 124, 0.30), transparent 70%);
}
.hero h1 {
  position: relative;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.08; font-weight: 800;
  color: var(--navy); max-width: 900px; margin: 0 auto;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { position: relative; max-width: 620px; margin: 28px auto 42px; font-size: 1.15rem; color: var(--muted); font-weight: 500; }
.hero .actions { position: relative; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-light {
  background: var(--red-grad); color: #ffffff; padding: 16px 36px; border-radius: 999px;
  font-weight: 800; font-size: 0.98rem; box-shadow: 0 10px 36px var(--red-glow);
  transition: transform .2s, box-shadow .2s;
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 48px var(--red-glow); }
.btn-outline {
  border: 1px solid var(--line); background: var(--surface);
  backdrop-filter: blur(10px);
  color: var(--navy); padding: 15px 34px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  transition: background .2s, border-color .2s;
}
.btn-outline:hover { background: var(--surface-2); border-color: rgba(168, 212, 237, 0.35); }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  padding: 90px 0; text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 260px at 50% 120%, rgba(168, 212, 237, 0.16), transparent 70%);
}
.page-hero h1 { position: relative; font-size: clamp(2.1rem, 4.2vw, 3.2rem); color: var(--navy); font-weight: 800; }
.page-hero p { position: relative; color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* Photographic page-hero variant — subject-relevant image behind a dark navy overlay, white text */
.page-hero.has-photo {
  background: linear-gradient(135deg, #0a1837 0%, #0e2350 48%, #123a72 100%);
  padding: 104px 0;
  border-bottom: none;
}
.page-hero.has-photo::before {
  background:
    radial-gradient(ellipse 72% 130% at 50% 54%, rgba(10, 24, 55, 0.34) 0%, rgba(10, 24, 55, 0.10) 60%, rgba(10, 24, 55, 0) 100%),
    linear-gradient(180deg, rgba(10, 24, 55, 0.28) 0%, rgba(10, 24, 55, 0.52) 100%),
    var(--hero-img) center center / cover no-repeat;
  opacity: 1;
}
.page-hero.has-photo .container { position: relative; z-index: 1; }
.page-hero.has-photo .eyebrow { color: #7fd4f5; }
.page-hero.has-photo h1 { color: #fff; text-wrap: balance; text-shadow: 0 2px 18px rgba(6, 16, 40, 0.75), 0 1px 3px rgba(6, 16, 40, 0.65); }
.page-hero.has-photo p,
.page-hero.has-photo .lead { color: rgba(255, 255, 255, 0.97); max-width: 62ch; margin-left: auto; margin-right: auto; text-shadow: 0 1px 12px rgba(6, 16, 40, 0.7), 0 1px 2px rgba(6, 16, 40, 0.6); }
@media (max-width: 600px) {
  .page-hero.has-photo { padding: 62px 0 !important; }
}

/* Sections */
section { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy); }
.section-title p { color: var(--muted); margin-top: 10px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 28px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .25s, border-color .25s, background .25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(168, 212, 237, 0.40); background: var(--surface-2); }
.card .icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 22px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(168,212,237,0.16), rgba(17,67,124,0.30));
  border: 1px solid rgba(168, 212, 237, 0.28);
}
.card h3 { color: var(--navy); margin-bottom: 12px; font-size: 1.18rem; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* Stats / badges */
.badges { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(168, 212, 237, 0.025); }
.badges .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 24px; padding: 40px 0; }
.badge { text-align: center; }
.badge strong {
  font-family: 'Space Grotesk', sans-serif;
  display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.badge span { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

/* CTA banner */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(168,212,237,0.10), rgba(17,67,124,0.24));
  border: 1px solid rgba(168, 212, 237, 0.30);
  border-radius: 28px; color: var(--navy); text-align: center; padding: 72px 36px;
  backdrop-filter: blur(12px);
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 220px at 50% 130%, rgba(54, 143, 200, 0.28), transparent 70%);
}
.cta-banner h2 { position: relative; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-banner p { position: relative; color: var(--muted); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-light { position: relative; }

/* Testimonials */
.quote {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
  backdrop-filter: blur(12px);
  transition: transform .25s, border-color .25s;
}
.quote:hover { transform: translateY(-6px); border-color: rgba(168, 212, 237, 0.40); }
.quote p { font-style: italic; color: var(--ink); font-size: 0.98rem; }
.quote footer { margin-top: 20px; font-weight: 700; color: var(--aqua); border: none; background: none; padding: 0; font-size: 0.92rem; }
.stars { color: #ffd166; letter-spacing: 3px; margin-bottom: 14px; font-size: 0.95rem; }

/* Contact */
.contact-info li { list-style: none; margin-bottom: 18px; color: var(--muted); }
.contact-info strong { color: var(--navy); display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
form input, form select, form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 0.95rem;
  background: rgba(168, 212, 237, 0.05); color: var(--ink);
  transition: border-color .2s, background .2s;
}
form input::placeholder, form textarea::placeholder { color: #5e7488; }
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: rgba(108, 185, 232, 0.60); background: rgba(168, 212, 237, 0.08);
}
form select option { background: var(--bg-2); color: var(--ink); }
form textarea { min-height: 130px; resize: vertical; }
form button {
  background: var(--red-grad); color: #ffffff;
  border: none; padding: 15px 38px; border-radius: 999px; font-weight: 800;
  font-size: 0.98rem; cursor: pointer; font-family: inherit;
  box-shadow: 0 8px 30px var(--red-glow);
  transition: transform .2s, box-shadow .2s;
}
form button:hover { transform: translateY(-2px); box-shadow: 0 14px 40px var(--red-glow); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: rgba(168, 212, 237, 0.025); color: var(--muted); padding: 38px 0 20px; margin-top: 40px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-bottom: 20px; }
.site-footer h4 { color: var(--navy); margin-bottom: 16px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; font-size: 0.92rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--aqua); }
.copyright { text-align: center; border-top: 1px solid var(--line); padding-top: 24px; font-size: 0.82rem; color: #5e7488; }

/* ---------- Responsive ---------- */

/* Mobile nav (checkbox hamburger, no JS) */
.nav-toggle { display: none; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 10px 6px; margin-left: 14px; }
.hamburger span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }

@media (max-width: 920px) {
  .nav { position: relative; }
  .hamburger { display: flex; }
  nav {
    position: absolute; top: calc(100% + 1px); left: 50%; transform: translateX(-50%);
    width: 100vw;
    background: rgba(8, 19, 37, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  nav ul { flex-direction: column; gap: 0; padding: 8px 6vw 14px; }
  nav li { border-bottom: 1px solid var(--line); }
  nav li:last-child { border-bottom: none; }
  nav a { display: block; padding: 15px 0; font-size: 1rem; }
  .nav-toggle:checked ~ nav { max-height: 420px; }
  .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .cta-btn { margin-left: auto; }
}

/* Tablet */
@media (max-width: 920px) {
  section { padding: 64px 0; }
  .hero { padding: 90px 0 100px; }
  .section-title { margin-bottom: 40px; }
}

/* Phone */
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .hero { padding: 64px 0 72px; }
  .hero p { font-size: 1.02rem; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions a { text-align: center; }
  .badges .container { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 26px 0; }
  .badge strong { font-size: 1.55rem; }
  .badge span { font-size: 0.74rem; }
  .card { padding: 28px 22px; }
  .quote { padding: 26px 22px; }
  .cta-banner { padding: 46px 22px; border-radius: 20px; }
  .page-hero { padding: 56px 0; }
  .site-footer { padding: 44px 0 22px; }
  .site-footer .cols { gap: 26px; }
  form button { width: 100%; }
}

/* Small phone */
@media (max-width: 420px) {
  .logo { font-size: 1.05rem; gap: 8px; }
  .logo-mark { width: 38px; height: 38px; }
  .cta-btn { padding: 10px 14px; font-size: 0.76rem; }
  .hamburger { margin-left: 8px; }
}

/* ---------- Products ---------- */
.product-card { display: flex; flex-direction: column; }
.product-card .cat {
  display: inline-block; align-self: flex-start;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--aqua); font-weight: 700; margin-bottom: 10px;
}
.product-card h3 { font-size: 1.25rem; }
.product-card > p { margin-bottom: 4px; }
.product-card ul { list-style: none; margin: 18px 0 24px; }
.product-card li {
  color: var(--muted); font-size: 0.9rem; line-height: 1.5;
  position: relative; padding-left: 24px; margin-bottom: 9px;
}
.product-card li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--aqua); font-weight: 800;
}
.product-card .quote-btn {
  margin-top: auto; align-self: flex-start;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--navy);
  padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 0.88rem;
  transition: background .2s, border-color .2s, transform .2s;
}
.product-card .quote-btn:hover {
  background: rgba(168, 212, 237, 0.16); border-color: rgba(168, 212, 237, 0.40);
  transform: translateY(-2px);
}
.product-card .price {
  font-family: 'Space Grotesk', sans-serif; color: var(--navy);
  font-weight: 800; font-size: 1.3rem; margin: 4px 0 18px;
}

/* ---------- Full re-skin helpers ---------- */
nav ul { gap: 22px; }
@media (min-width: 921px) { nav a { font-size: 0.8rem; letter-spacing: 0.06em; } }
.eyebrow {
  color: var(--aqua); text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 700; font-size: 0.78rem; margin-bottom: 14px;
}
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); }
.lead.center { max-width: 720px; margin-left: auto; margin-right: auto; }
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { color: var(--navy); font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 40px 0 14px; }
.prose h3 { color: var(--navy); font-size: 1.25rem; margin: 30px 0 10px; }
.prose p { color: var(--ink); margin-bottom: 26px; line-height: 2.1; }
.prose ul, .prose ol { color: var(--ink); margin: 0 0 18px 24px; }
.prose li { margin-bottom: 9px; }
.prose strong { color: var(--navy); }
.prose a { color: var(--aqua); text-decoration: underline; }
.hero-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
  backdrop-filter: blur(12px);
}
.hero-card h3 { color: var(--navy); margin-bottom: 12px; }
.hero-card ul { list-style: none; margin: 14px 0; }
.hero-card li { color: var(--ink); padding-left: 24px; position: relative; margin-bottom: 9px; font-size: 0.94rem; }
.hero-card li::before { content: "✓"; position: absolute; left: 0; color: var(--aqua); font-weight: 800; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.cite { display: block; margin-top: 16px; font-weight: 700; color: var(--aqua); font-style: normal; font-size: 0.92rem; }

/* ---------- Header phone ---------- */
.header-phone {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.98rem;
  color: var(--navy); white-space: nowrap; margin-left: 18px;
}
.header-phone:hover { color: var(--aqua); }
@media (max-width: 980px) { .header-phone { display: none; } }

/* ---------- Top utility bar ---------- */
.topbar { background: rgba(168, 212, 237, 0.05); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; justify-content: flex-end; align-items: center; gap: 22px; padding: 8px 0; }
.topbar span { color: var(--muted); font-size: 0.82rem; }
.topbar a { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.topbar a:hover { color: var(--aqua); }
@media (max-width: 600px) { .topbar .container { flex-direction: column; gap: 4px; justify-content: center; text-align: center; } }

/* ---------- Brand logo (clean Waterboy mascot) ---------- */
.logo-mark { background: #ffffff; border-radius: 10px; padding: 3px; filter: none; }

/* ===== Autonomous upgrade pass ===== */
/* Bigger brand logo */
.logo-mark { width: 88px !important; height: 88px !important; padding: 5px; border-radius: 14px; }
.logo { gap: 14px; font-size: 1.5rem; }
.nav { padding: 12px 0; }

/* Dropdown navigation (desktop hover / focus, mobile nested) */
nav li.has-dd > a::after { content: " \25BE"; font-size: 0.7em; opacity: 0.7; }
nav .dropdown { list-style: none; }
@media (min-width: 981px) {
  nav li.has-dd { position: relative; }
  nav .dropdown {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    background: rgba(8,19,37,0.98); border: 1px solid var(--line); border-radius: 12px;
    padding: 8px; display: none; box-shadow: var(--shadow); z-index: 60;
  }
  nav li.has-dd:hover .dropdown, nav li.has-dd:focus-within .dropdown { display: block; }
  nav .dropdown li { white-space: nowrap; border: none; }
  nav .dropdown a { display: block; padding: 9px 12px; border-radius: 8px; }
  nav .dropdown a:hover { background: var(--surface-2); }
}
@media (max-width: 980px) {
  nav .dropdown { padding-left: 18px; }
  nav li.has-dd > a::after { content: ""; }
}

/* Professional line-icon set inside card chips */
.card .icon svg { width: 30px; height: 30px; stroke: var(--aqua); fill: none; stroke-width: 1.8; }

/* Footer logo */
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo img { width: 160px; height: 160px; background: #fff; border-radius: 12px; padding: 4px; object-fit: contain; }
.footer-logo b { font-family: 'Space Grotesk', sans-serif; color: var(--navy); font-size: 1.35rem; }

/* Figures / image grids / captions */
figure { margin: 0 0 22px 0; }
figure img { width: 100%; border-radius: 14px; border: 1px solid var(--line); display: block; }
figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 8px; text-align: center; font-style: italic; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px,100%),1fr)); gap: 18px; margin: 8px 0 8px; }

/* Spec tables */
.spec-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 0.92rem; }
.spec-table caption { color: var(--muted); font-size: 0.85rem; margin-bottom: 8px; text-align: left; font-style: italic; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink); }
.spec-table thead th { color: var(--navy); font-family: 'Space Grotesk', sans-serif; background: var(--surface); }
.spec-table tbody tr:hover { background: var(--surface); }

/* ---------- Blog card photo thumbnails ---------- */
.card-thumb { margin: -38px -32px 22px; height: 190px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--line); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) { .card-thumb { margin: -28px -22px 18px; height: 168px; } }

/* ---------- Card-thumb scaling fix ---------- */
/* Landscape stock photos fill the frame; tall product photos show in full on white */
.card-thumb img[src*="/products/"] { object-fit: contain; background: #ffffff; padding: 10px; }

/* ---------- Figure image scaling fix (keep content images sensibly sized) ---------- */
figure { max-width: 760px; margin: 0 auto 22px; }
figure img { height: auto; max-height: 440px; object-fit: cover; }
figure img[src*="/products/"] { object-fit: contain; max-height: 360px; background: #ffffff; padding: 10px; }
/* Equal-height photo tiles in 3-up figure grids */
.grid-3 figure { max-width: none; margin: 0; }
.grid-3 figure img { height: 320px; max-height: none; object-fit: cover; }
@media (max-width: 560px) { .grid-3 figure img { height: 240px; } }

/* ---------- Responsive fixes: phone & tablet ---------- */
/* Enlarged logo must still scale down on smaller screens (override the !important) */
@media (max-width: 920px) {
  .logo-mark { width: 62px !important; height: 62px !important; }
  .logo { font-size: 1.25rem; }
}
@media (max-width: 600px) {
  .logo-mark { width: 52px !important; height: 52px !important; }
  .logo { font-size: 1.08rem; gap: 10px; }
  .cta-btn { padding: 9px 15px; font-size: 0.74rem; }
}
@media (max-width: 420px) {
  .logo-mark { width: 44px !important; height: 44px !important; }
  .logo { font-size: 0.98rem; }
}
/* Wide spec tables scroll instead of overflowing the page; figures full-width on phone */
@media (max-width: 700px) {
  .spec-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  figure { max-width: 100%; }
}

/* ---------- CTA button rows: fix inline overlap on mobile ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.cta-banner .actions, .section-title + .actions { justify-content: center; }
@media (max-width: 600px) {
  .actions { flex-direction: column; align-items: stretch; }
  .actions a { text-align: center; width: 100%; }
}

/* ---------- Team / headshots ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%),1fr)); gap: 28px; max-width: 760px; margin: 0 auto; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(12px); }
.team-card img { width: 100%; height: 340px; object-fit: cover; object-position: center top; display: block; }
.team-card .tc-body { padding: 24px 26px; }
.team-card h3 { color: var(--navy); margin-bottom: 2px; font-size: 1.25rem; }
.team-card .role { color: var(--aqua); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.team-card .tc-body p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Transparent logo (no white chip) ---------- */
.logo-mark { background: transparent !important; padding: 0 !important; border-radius: 0 !important; filter: drop-shadow(0 0 5px rgba(173,216,255,0.45)); }
.footer-logo img { background: transparent !important; padding: 0 !important; border-radius: 0 !important; }

/* ---------- Mobile hamburger menu: scrollable when open ---------- */
@media (max-width: 920px) {
  .nav-toggle:checked ~ nav {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

/* ---------- Mobile menu: solid, full-height, scrollable (no see-through) ---------- */
@media (max-width: 920px) {
  .nav-toggle:checked ~ nav {
    background: #0a1837 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 24px;
  }
}

/* ---------- Tighter hero top spacing (reduce gap below header) ---------- */
.hero { padding-top: 54px !important; padding-bottom: 88px !important; }
.page-hero { padding-top: 56px !important; padding-bottom: 56px !important; }
@media (max-width: 600px) {
  .hero { padding-top: 30px !important; padding-bottom: 54px !important; }
  .page-hero { padding-top: 34px !important; padding-bottom: 38px !important; }
}

/* ---------- Hero-card list: no check marks, tighter spacing, left-aligned ---------- */
.hero-card { text-align: left; }
.hero-card ul { margin: 14px 0; }
.hero-card li { padding-left: 0 !important; margin-bottom: 6px; line-height: 1.45; }
.hero-card li::before { content: none !important; }

/* ---------- Hero-card: balanced spacing around the call button (fluid all sizes) ---------- */
.hero-card ul { margin: 16px 0 0 !important; }
.hero-card li { margin-bottom: 9px; }
.hero-card li:last-child { margin-bottom: 0; }
.hero-card .btn-light { display: block; text-align: center; margin-top: 24px !important; }
.hero-card > p:first-of-type { margin-bottom: 4px; }

/* ---------- Hero-card: center the content (heading, list, button) ---------- */
.hero-card { text-align: center !important; }
.hero-card ul { text-align: center; }

/* ---------- "How It Works" step numbers ---------- */
.step-num {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 1.25rem;
  color: #fff; background: var(--red-grad);
  box-shadow: 0 8px 24px var(--red-glow); margin-bottom: 20px;
}

/* ---------- Pull hero up tight under the header ---------- */
.hero { padding-top: 22px !important; }
@media (max-width: 600px) { .hero { padding-top: 12px !important; } }

/* ---------- Hero: top-align columns so the card isn't pushed down by centering ---------- */
.hero .split { align-items: start; }

/* ---------- Tighten the gap between "Waterboy" and "Jax" in the logo ---------- */
.logo .tag { margin-left: -8px; }

/* ---------- Hero: small breathing room at top (not flush to header) ---------- */
.hero { padding-top: 40px !important; }
@media (max-width: 600px) { .hero { padding-top: 24px !important; } }

/* ---------- Tablet (incl. iPad Air 820–834px): stack splits across the whole tablet range ---------- */
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr !important; gap: 28px; }
  .hero .split { align-items: stretch; }
}

/* ---------- Tablet: keep wide spec tables from overflowing ---------- */
@media (max-width: 920px) {
  .spec-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .container { width: min(1180px, 90%); }
}

/* ---------- Elevator-pitch / company-promise section ---------- */
.pitch-body { max-width: 880px; margin: 0 auto; text-align: center; }
.pitch-body p { color: var(--ink); line-height: 1.75; margin: 0 0 18px; }
.pitch-body p:last-child { margin-bottom: 0; }
.pitch-body strong { color: var(--navy); }
.pitch-tagline { max-width: 880px; margin: 34px auto 0; text-align: center; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.25rem; color: var(--navy); line-height: 1.5; }
.pitch-tagline strong { display: block; margin-top: 8px; font-weight: 800; font-size: 1.45rem; color: var(--aqua); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@media (max-width: 600px) { .pitch-tagline { font-size: 1.1rem; } .pitch-tagline strong { font-size: 1.25rem; } }

/* ---------- Team as full rows (About page): one member per row, photo beside bio ---------- */
.team-rows { grid-template-columns: 1fr !important; max-width: 900px; gap: 24px; }
.team-rows .team-card { display: grid; grid-template-columns: 260px 1fr; align-items: stretch; }
.team-rows .team-card img { height: 100%; min-height: 280px; }
.team-rows .tc-body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 600px) {
  .team-rows .team-card { grid-template-columns: 1fr; }
  .team-rows .team-card img { height: 300px; min-height: 0; }
}

/* ---------- Blog post list: full-width rows (thumbnail left, copy right) ---------- */
.post-cat { display: inline-block; align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--aqua); background: rgba(90,174,222,0.12); border: 1px solid rgba(90,174,222,0.30); padding: 3px 11px; border-radius: 999px; margin-bottom: 10px; }
.post-list { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.post-row { display: grid; grid-template-columns: 300px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .25s, border-color .25s, background .25s; }
.post-row:hover { transform: translateY(-4px); border-color: rgba(168,212,237,0.40); background: var(--surface-2); }
.post-row-thumb { display: block; position: relative; min-height: 170px; }
.post-row-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.post-row-body { padding: 22px 32px; display: flex; flex-direction: column; justify-content: center; }
.post-row-body h3 { color: var(--navy); font-size: 1.22rem; margin-bottom: 4px; line-height: 1.25; }
.post-row-body h3 a { color: inherit; text-decoration: none; }
.post-row-body h3 a:hover { color: var(--aqua); }
.post-row-body .post-meta { color: var(--aqua); font-size: 0.78rem; font-weight: 600; margin-bottom: 9px; }
.post-row-body p { color: var(--muted); font-size: 0.94rem; line-height: 1.55; }
.post-row-body p:not([class]) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-row-more { margin-top: 11px; font-size: 0.9rem; }
@media (max-width: 600px) {
  .post-row { grid-template-columns: 116px 1fr; }
  .post-row-thumb { min-height: 116px; }
  .post-row-body { padding: 13px 16px; }
  .post-row-body .post-cat { font-size: 0.6rem; padding: 2px 8px; margin-bottom: 6px; }
  .post-row-body h3 { font-size: 1.02rem; }
  .post-row-body p:not([class]) { -webkit-line-clamp: 3; }
}

/* ---------- Blog figure trio: keep 3-across on tablet (no blank cell), stack on phone ---------- */
.figure-trio { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .figure-trio { grid-template-columns: 1fr; } }

/* ---------- 4-card benefit rows: fill the row, no blank trailing cells ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 920px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Uniform product image tiles so card rows stay even ---------- */
.pimg { height: 280px; background: #ffffff; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden; margin-bottom: 20px; }
.pimg img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
@media (max-width: 600px) { .pimg { height: 240px; } }

/* ---------- Service-area city + ZIP list (locations) ---------- */
.zip-list { list-style: none; max-width: 820px; margin: 0 auto; padding: 0; column-width: 240px; column-gap: 48px; }
.zip-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 2px; border-bottom: 1px solid var(--line); break-inside: avoid; -webkit-column-break-inside: avoid; }
.zip-list li strong { color: var(--ink); font-weight: 500; }
.zip-list li span { color: var(--aqua); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.03em; }

/* ---------- Servicing-areas county map (locations) ---------- */
.area-map { max-width: 1000px; margin: 0 auto; background: #ffffff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.area-map img { width: 100%; display: block; }
.map-legend { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; margin-top: 20px; color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.map-legend span { display: inline-flex; align-items: center; }
.map-legend i { width: 15px; height: 15px; border-radius: 4px; margin-right: 9px; }
.map-legend .lg-jax { background: #122a4d; }
.map-legend .lg-fl { background: #2e8cc4; }
@media (max-width: 600px) { .area-map { padding: 12px; } .map-legend { font-size: 0.84rem; gap: 10px 22px; } }

/* ---------- Footer "Areas We Serve" band ---------- */
.footer-areas { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 24px; padding-bottom: 6px; text-align: center; }
.footer-areas h4 { color: var(--navy); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.footer-areas p { color: var(--muted); font-size: 0.86rem; line-height: 1.9; max-width: 940px; margin: 0 auto 4px; }
.footer-areas p strong { color: var(--ink); font-weight: 600; }
.footer-areas a { color: var(--aqua); font-weight: 600; }

/* ---------- Areas We Serve — multi-column community list ---------- */
.area-cols { list-style: none; max-width: 1000px; margin: 0 auto; padding: 0; column-width: 175px; column-gap: 36px; }
.area-cols li { padding: 8px 2px; font-size: 0.9rem; color: var(--muted); border-bottom: 1px solid var(--line); break-inside: avoid; -webkit-column-break-inside: avoid; }
.area-cols li::before { content: "\203A"; color: var(--aqua); margin-right: 9px; font-weight: 700; }

/* Keep footer logo proportionate on small screens */
@media (max-width: 480px) { .footer-logo img { width: 132px; height: 132px; } }

/* ============================================================
   2026-07-03 update: brighter photo heroes + hero CTA button,
   and contact-form field alignment fix.
   ============================================================ */

/* Hero call-to-action button (interior photo heroes) */
.page-hero .hero-actions {
  position: relative; z-index: 1;
  margin-top: 28px;
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.page-hero.has-photo .hero-actions .btn-light { box-shadow: 0 14px 40px rgba(214, 40, 57, 0.35); }
@media (max-width: 600px) {
  .page-hero .hero-actions { margin-top: 22px; }
  .page-hero .hero-actions .btn-light { width: 100%; text-align: center; }
}

/* Contact form: field labels/inputs left-aligned, submit button centered.
   Overrides the global ".hero-card { text-align:center }" for the quote form only. */
#quote-form { text-align: left !important; }
#quote-form h3 { text-align: left; }
#quote-form .field,
#quote-form label,
#quote-form input,
#quote-form select,
#quote-form textarea { text-align: left !important; }
#quote-form .form-actions { text-align: center !important; margin-top: 20px; }
#quote-form .form-actions .btn-light {
  display: inline-block !important;
  width: auto !important;
  margin-top: 0 !important;
}
