/* ==========================================================================
   Turbo Pelican Pressure Washing — design system
   Palette: deep navy / ocean teal / bright cyan, coastal Alabama brand
   ========================================================================== */

/* Outfit, self-hosted from assets/fonts/ — deliberately NOT loaded from
   Google Fonts, so visitors' IP addresses are never sent to Google.
   Variable font: one file covers weights 100-900. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy-900: #0a1c30;
  --navy-800: #0d2137;
  --navy-700: #13314f;
  --navy-600: #1b4266;
  --teal-700: #21708f;
  --teal-600: #2b7ea1;
  --teal-500: #3492b8;
  --cyan-400: #3fb9dc;
  --cyan-300: #6fd0ea;
  --cyan-100: #d9f1f8;
  --seafoam: #eef7fa;
  --off-white: #f7fbfd;
  --white: #ffffff;
  --ink: #12283c;
  --ink-soft: #43607a;
  --line: #dbe9f0;
  --gold: #ffc65c;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(13, 33, 55, 0.08);
  --shadow-lg: 0 14px 40px rgba(13, 33, 55, 0.14);
  --font: "Outfit", "Trebuchet MS", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* Base ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; color: var(--navy-700); }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal-600); }

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

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy-800); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 22px; }

section { padding: 72px 0; }
.section-alt { background: var(--seafoam); }
.section-navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-600)); color: #e8f4fa; }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 10px;
}
.section-navy .kicker { color: var(--cyan-300); }
.lede { font-size: 1.12rem; color: var(--ink-soft); }
.section-navy .lede { color: #c3dcea; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font); font-size: 1.02rem; font-weight: 700;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--cyan-400); color: var(--navy-900); }
.btn-primary:hover { background: var(--cyan-300); }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { background: var(--navy-600); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-lg { padding: 17px 36px; font-size: 1.1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-800);
  border-bottom: 1px solid rgba(111, 208, 234, 0.18);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 22px; max-width: 1180px; margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; margin-right: auto;
}
.brand-icon { width: 46px; height: 46px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name .top { color: #fff; font-weight: 800; font-size: 1.22rem; letter-spacing: 0.01em; }
.brand-name .sub { color: var(--cyan-300); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.34em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  color: #d5e9f3; text-decoration: none; font-weight: 600; font-size: 0.98rem;
  padding: 8px 13px; border-radius: 8px;
}
.main-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.main-nav a.active { color: var(--cyan-300); }
.main-nav a.active::after {
  content: ""; display: block; height: 3px; border-radius: 3px;
  background: var(--cyan-400); margin: 2px 6px 0;
}
.header-cta { margin-left: 8px; padding: 11px 22px; font-size: 0.95rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; border-radius: 3px;
  background: #fff; margin: 5px 0; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero -------------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(63, 185, 220, 0.28), transparent 60%),
    linear-gradient(165deg, var(--navy-800) 20%, var(--navy-600) 75%, var(--teal-700));
  color: #eaf6fb;
  padding: 88px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 .accent { color: var(--cyan-300); }
.hero .lede { color: #c9e2ee; max-width: 54ch; font-size: 1.18rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: min(340px, 70vw); height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.25)); }
.hero-mark {
  width: min(340px, 68vw); height: auto;
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.55));
}

/* Real-logo brand badge (white chip so the mark pops on navy) */
.brand-badge {
  background: #fff; border-radius: 12px; padding: 5px;
  display: inline-flex; flex: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
.brand-badge img { display: block; width: 38px; height: 38px; object-fit: contain; }
.site-footer .brand-badge { border-radius: 10px; }
.site-footer .brand-badge img { width: 32px; height: 32px; }

/* Brand artwork placements */
.brand-art { width: 100%; max-width: 440px; height: auto; justify-self: center; }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 36px; align-items: center; }
.page-hero-art {
  width: min(270px, 55vw); height: auto; justify-self: center;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45));
}
.hero-note { font-size: 0.92rem; color: #a8cadd; margin-top: 14px; }

.page-hero {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  color: #eaf6fb; padding: 64px 0 84px;
}
.page-hero h1 { color: #fff; }
.page-hero .lede { color: #c9e2ee; max-width: 62ch; }

/* Wave divider (absolute at the bottom edge of navy hero sections) -------- */

.wave-divider {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 54px; pointer-events: none;
}
.wave-divider svg { width: 100%; height: 100%; display: block; }
.page-hero { position: relative; }

/* Trust strip -------------------------------------------------------------- */

.trust-strip { background: var(--navy-900); padding: 18px 0; }
.trust-items {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
  color: #cfe7f2; font-weight: 600; font-size: 0.95rem;
}
.trust-items li { list-style: none; display: flex; align-items: center; gap: 9px; }
.trust-items ul { margin: 0; padding: 0; }
.tick {
  width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--cyan-400); color: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800;
}

/* Cards & grids ------------------------------------------------------------ */

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 2px; }
.card .card-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  background: var(--cyan-100); color: var(--teal-600);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.card .from-price { font-weight: 800; color: var(--teal-600); }
.card-link { font-weight: 700; text-decoration: none; }
.card-link::after { content: " →"; }

.step-grid { counter-reset: step; }
.step {
  position: relative; padding: 26px 24px 22px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 12px;
  background: var(--navy-700); color: var(--cyan-300); font-weight: 800; font-size: 1.05rem;
}

/* Callouts / banners -------------------------------------------------------- */

.callout {
  border: 1.5px solid var(--cyan-400); background: var(--cyan-100);
  border-radius: var(--radius-sm); padding: 18px 22px; margin: 26px 0;
}
.callout strong { color: var(--navy-700); }

.offer-banner {
  background: linear-gradient(120deg, var(--teal-600), var(--cyan-400));
  color: var(--navy-900); border-radius: var(--radius); padding: 30px 34px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px; justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.offer-banner h3 { color: var(--navy-900); font-size: 1.45rem; margin: 0 0 4px; }
.offer-banner p { margin: 0; font-weight: 600; }
.offer-banner .btn { flex: none; }

/* Tables --------------------------------------------------------------------- */

.table-scroll { overflow-x: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
table.price-table {
  width: 100%; border-collapse: collapse; background: #fff; min-width: 460px;
}
.price-table th, .price-table td { padding: 14px 18px; text-align: left; }
.price-table thead th {
  background: var(--navy-700); color: #fff; font-size: 0.92rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.price-table tbody tr:nth-child(even) { background: var(--seafoam); }
.price-table td.num, .price-table th.num { text-align: right; white-space: nowrap; }
.price-table td strong { color: var(--navy-700); }
.table-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 10px; }

/* Service sections ------------------------------------------------------------ */

.service-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  padding: 46px 0; border-bottom: 1px solid var(--line);
}
.service-block:last-of-type { border-bottom: 0; }
.service-visual {
  min-height: 240px; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy-600), var(--teal-600) 60%, var(--cyan-400));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem;
  box-shadow: var(--shadow);
}
.checklist { list-style: none; padding: 0; margin: 0 0 18px; }
.checklist li { padding: 6px 0 6px 32px; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 5px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--cyan-100); color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800;
}

/* Gallery ---------------------------------------------------------------------- */

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ba-tile {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); background: #fff;
}
.ba-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 190px; }
.ba-half { display: flex; align-items: flex-end; padding: 12px; position: relative; }
.ba-half .tag {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.ba-before { background: linear-gradient(160deg, #5d7383, #3c4f5e); }
.ba-before .tag { background: rgba(0, 0, 0, 0.35); color: #fff; }
.ba-after { background: linear-gradient(160deg, var(--cyan-300), var(--teal-500)); }
.ba-after .tag { background: #fff; color: var(--navy-700); }
.ba-caption { padding: 14px 18px; font-weight: 600; font-size: 0.95rem; }
.ba-caption span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }

/* Reviews ------------------------------------------------------------------------ */

.review-card { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 10px; }
.review-card footer { font-weight: 700; color: var(--navy-700); font-size: 0.95rem; }
.review-card footer span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; }

/* Forms ---------------------------------------------------------------------------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 0.95rem; color: var(--navy-700); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--cyan-400); box-shadow: 0 0 0 3px rgba(63, 185, 220, 0.25);
}
.service-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-checks label {
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.97rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 14px; cursor: pointer;
}
.service-checks label:has(input:checked) { border-color: var(--teal-600); background: var(--cyan-100); }
.service-checks input { width: 18px; height: 18px; accent-color: var(--teal-600); }

/* Contact info panel */
.info-panel { background: var(--navy-700); color: #dcedf6; border-radius: var(--radius); padding: 30px; }
.info-panel h3 { color: #fff; }
.info-panel a { color: var(--cyan-300); font-weight: 700; text-decoration: none; }
.info-panel ul { list-style: none; margin: 0 0 20px; padding: 0; }
.info-panel li { padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.info-panel li:last-child { border-bottom: 0; }

/* CTA band --------------------------------------------------------------------------- */

.cta-band {
  background:
    radial-gradient(800px 300px at 15% 120%, rgba(63, 185, 220, 0.35), transparent 60%),
    linear-gradient(140deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius); padding: 54px 40px; text-align: center; color: #eaf6fb;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3dcea; max-width: 52ch; margin: 0 auto 26px; }
.cta-band .btn-row { justify-content: center; }

/* Footer ------------------------------------------------------------------------------- */

.site-footer { background: var(--navy-900); color: #b9d4e2; margin-top: 90px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px;
}
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #b9d4e2; text-decoration: none; }
.site-footer a:hover { color: var(--cyan-300); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand svg { width: 42px; height: 42px; }
.footer-brand .name { color: #fff; font-weight: 800; font-size: 1.15rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 0.85rem; color: #7d9fb4;
}

/* Floating mobile call bar --------------------------------------------------------------- */

.mobile-cta-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--navy-800); border-top: 1px solid rgba(111, 208, 234, 0.25);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr 1fr; gap: 10px;
}
.mobile-cta-bar a {
  text-align: center; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  padding: 11px 6px; border-radius: 10px;
}
.mobile-cta-bar .call { background: var(--cyan-400); color: var(--navy-900); }
.mobile-cta-bar .text { background: rgba(255, 255, 255, 0.12); color: #fff; }
.mobile-cta-bar .quote { background: var(--teal-600); color: #fff; }

/* FAQ ------------------------------------------------------------------------------------ */

details.faq {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--shadow);
}
details.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy-700); padding: 14px 0;
  list-style: none; position: relative; padding-right: 34px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--teal-600); font-weight: 700;
}
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--ink-soft); padding-bottom: 14px; margin: 0; }

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

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { width: min(240px, 55vw); }
  .hero-mark { width: min(230px, 52vw); }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-800); border-bottom: 1px solid rgba(111, 208, 234, 0.25);
    padding: 8px 16px 16px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; font-size: 1.05rem; }
  .main-nav a.active::after { display: none; }
  .header-cta { display: none; }
}

@media (max-width: 720px) {
  section { padding: 54px 0; }
  .grid-2, .grid-3, .grid-4, .service-block { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .service-checks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .mobile-cta-bar { display: grid; }
  body { padding-bottom: 74px; }
  .offer-banner { padding: 24px; }
  .cta-band { padding: 40px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-toggle span { transition: none; }
}
