/* South Ocean Exteriors: site styles
   Palette (truck scheme): black #0B0B0C, white, royal #2349D6 (on white), bright royal #4F7BFF (on black).
   Contrast (WCAG 2): royal on white 7.0:1; bright royal on black 5.3:1; black text on bright royal 5.3:1. */

:root {
  --black: #0B0B0C;
  --black-2: #151619;
  --black-3: #22242A;
  --white: #FFFFFF;
  --royal: #2349D6;
  --royal-dark: #1A38AA;
  --bright: #4F7BFF;
  --bright-soft: #9BB4FF;
  --ink: #111318;
  --muted: #5A6170;
  --on-dark-muted: #B4BAC6;
  --line: #E3E6EB;
  --tint: #F4F6FA;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1160px;
  --font: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(11, 11, 12, .06), 0 8px 24px rgba(11, 11, 12, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-underline-offset: 3px; }
a:hover { color: var(--royal-dark); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; color: inherit; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
small { font-size: .875rem; }

/* Accessibility */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--bright); color: var(--black); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; border-radius: 4px; }
.section:not(.section--dark) :focus-visible { outline-color: var(--royal); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Layout */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
.section { padding: 4rem 0; }
@media (min-width: 900px) { .section { padding: 5.5rem 0; } }
.section--tint { background: var(--tint); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark a:not(.btn) { color: var(--bright); }
.section--royal { background: var(--royal); color: var(--white); }
.section--tight { padding: 3rem 0; }
.eyebrow {
  display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--royal); margin-bottom: .9rem;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--bright); }
.section--royal .eyebrow { color: var(--white); }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 46rem; }
.section--dark .lead, .hero .lead { color: var(--on-dark-muted); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; } .split--even { grid-template-columns: 1fr 1fr; } }

/* Header */
.site-header { background: var(--black); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--black-3); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 196px; height: auto; }
@media (min-width: 1100px) { .brand img { width: 226px; } }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem; background: transparent; color: var(--white);
  border: 1px solid var(--black-3); border-radius: var(--radius-sm); padding: .55rem .8rem; font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: '';
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; top: 72px; left: 0; right: 0; background: var(--black);
  border-bottom: 1px solid var(--black-3); padding: .5rem 1.25rem 1.5rem;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--white); text-decoration: none; font-weight: 600; display: block; padding: .8rem 0; border-bottom: 1px solid var(--black-3); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--bright); }
.site-nav .btn { margin-top: 1rem; display: inline-flex; border-bottom: 0; padding: .8rem 1.3rem; }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; padding: 0; border: 0; background: none; }
  .site-nav ul { display: flex; align-items: center; gap: 1.6rem; }
  .site-nav a { padding: .4rem 0; border: 0; font-size: .97rem; }
  .site-nav .btn { margin: 0 0 0 .4rem; padding: .7rem 1.15rem; color: var(--black); }
  .site-nav .btn:hover { color: var(--black); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 700;
  line-height: 1.2; padding: .95rem 1.5rem; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--royal); color: var(--white); }
.btn--primary:hover { background: var(--royal-dark); color: var(--white); }
.btn--bright { background: var(--bright); color: var(--black); }
.btn--bright:hover { background: var(--bright-soft); color: var(--black); }
.btn--ghost { border-color: var(--royal); color: var(--royal); background: transparent; }
.btn--ghost:hover { background: var(--royal); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); background: var(--white); color: var(--black); }
.btn--white { background: var(--white); color: var(--royal); }
.btn--white:hover { background: var(--tint); color: var(--royal-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Hero */
.hero { background: var(--black); color: var(--white); padding: 3.5rem 0 4rem; overflow: hidden; position: relative; }
@media (min-width: 900px) { .hero { padding: 5.5rem 0 6rem; } }
.hero .split { align-items: center; }
.hero h1 { max-width: 15ch; }
.hero-art { position: relative; max-width: 520px; margin: 0 auto; width: 100%; }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--on-dark-muted); font-size: .95rem; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bright); }
.page-hero { background: var(--black); color: var(--white); padding: 3.5rem 0 3.25rem; }
@media (min-width: 900px) { .page-hero { padding: 4.5rem 0 4.25rem; } }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 22ch; }
.breadcrumb { font-size: .875rem; color: var(--on-dark-muted); margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: '/'; margin-right: .4rem; color: var(--black-3); }
.page-hero .breadcrumb a { color: var(--on-dark-muted); }
.page-hero .breadcrumb a:hover { color: var(--white); }

/* Cards */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--muted); margin-bottom: 1rem; }
.card .card-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .card-link::after { content: ' \2192'; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 12px; background: #EAF0FF; color: var(--royal);
  display: grid; place-items: center; margin-bottom: 1.1rem; flex-shrink: 0;
}
.icon-badge svg { width: 26px; height: 26px; }
.section--dark .card { background: var(--black-2); border-color: var(--black-3); box-shadow: none; }
.section--dark .card p { color: var(--on-dark-muted); }
.section--dark .icon-badge { background: rgba(79, 123, 255, .14); color: var(--bright); }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px; background: #EAF0FF; color: var(--royal); margin-bottom: .8rem; align-self: flex-start;
}
.tag--soon { background: var(--tint); color: var(--muted); border: 1px solid var(--line); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; padding: 1.6rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.steps li::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--royal); color: var(--white); font-weight: 800; margin-bottom: 1rem;
}
.steps p { color: var(--muted); margin: 0; }

/* Bin band */
.bin-band .split { gap: 2rem; }
.price-big { font-size: clamp(3rem, 8vw, 4.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 0; }
.price-big span { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; }
.bin-band .price-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 1.75rem; }
.bin-band .price-box p { color: #DCE5FF; }
.section--royal .lead { color: #DCE5FF; }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { position: relative; padding-left: 1.75rem; margin-bottom: .55rem; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .42em; width: 16px; height: 9px;
  border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg); color: var(--royal);
}
.section--royal .check-list li::before, .section--dark .check-list li::before, .hero .check-list li::before { color: var(--bright-soft); }
.section--royal .check-list li::before { color: var(--white); }

/* Chips (areas) */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips a, .chips span {
  display: inline-block; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  text-decoration: none; font-weight: 600; color: var(--ink);
}
.chips a:hover { border-color: var(--royal); color: var(--royal); }
.county-label { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 1.5rem 0 .75rem; }

/* Before/after images: illustrated placeholders until real, permissioned job photos exist */
.illus { margin: 0; }
.illus img { width: 100%; height: auto; border-radius: var(--radius); background: var(--black-2); }
.illus figcaption { margin-top: .5rem; font-size: .8125rem; color: var(--muted); }
.section--dark .illus figcaption { color: var(--on-dark-muted); }
.photo-pair { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 600px) and (max-width: 899px) { .photo-pair { grid-template-columns: 1fr 1fr; } }

/* Service sections */
.service { display: grid; gap: 1.75rem; padding: 3rem 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .service { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: start; } }
.service h2 { font-size: clamp(1.5rem, 3vw, 2rem); display: flex; align-items: center; gap: .8rem; }
.service h2 .icon-badge { margin: 0; }
.service p { color: var(--muted); }
.service .check-list { color: var(--ink); }
.jump-links { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.75rem 0 0; }
.jump-links a {
  display: inline-block; padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--black-3);
  color: var(--white); text-decoration: none; font-size: .9rem; font-weight: 600;
}
.jump-links a:hover { border-color: var(--bright); color: var(--bright); }

/* Pricing */
.plans { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { position: relative; }
.plan--featured { border: 2px solid var(--royal); }
.plan .plan-flag {
  position: absolute; top: -13px; left: 1.6rem; background: var(--royal); color: var(--white); font-size: .75rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px;
}
.plan-visits { font-weight: 600; color: var(--royal); margin-bottom: .75rem; }
.plan-from { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: .25rem 0 .2rem; }
.plan-from small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-from-label { font-size: .8125rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.plan .check-list { font-size: .9688rem; margin: 1rem 0 1.25rem; }
.size-table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: .5rem 0 1.25rem; }
.size-table th, .size-table td { text-align: left; padding: .5rem .25rem; border-bottom: 1px solid var(--line); }
.size-table th { font-weight: 600; color: var(--muted); }
.size-table td:last-child { text-align: right; font-weight: 700; }
.plan .btn { margin-top: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table caption { text-align: left; padding: 1rem 1.25rem; font-weight: 700; }
.price-table th, .price-table td { padding: .85rem 1.25rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--tint); font-size: .875rem; color: var(--muted); font-weight: 700; }
.price-table td.num, .price-table th.num { text-align: right; white-space: nowrap; }
.price-note {
  border-left: 4px solid var(--royal); background: var(--tint); padding: 1rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink); font-size: .9688rem; margin: 1.5rem 0;
}
.price-note p:last-child { margin: 0; }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 1.15rem 2rem 1.15rem 0; font-weight: 700; list-style: none; position: relative; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .25rem; top: .9rem; font-size: 1.5rem; color: var(--royal); font-weight: 600; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

/* Prose (about, legal, city pages) */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 2.25rem; }
.prose h3 { margin-top: 1.5rem; }
.prose p, .prose li { color: #2B303A; }
.draft-banner {
  background: #FFF6DB; border: 1px solid #E9C766; color: #5A4300; padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  margin-bottom: 2rem; font-weight: 600;
}

/* Form */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
@media (min-width: 700px) { .form-card { padding: 2.25rem; } }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .9688rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .875rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1.5px solid #B9C0CC; border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--royal); outline: 3px solid rgba(35, 73, 214, .25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #B42318; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: grid; gap: .5rem; }
@media (min-width: 560px) { .checks--2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9688rem; }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--royal); flex-shrink: 0; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.error-msg { color: #B42318; font-size: .875rem; font-weight: 600; margin-top: .35rem; }
.error-msg:empty { display: none; }
.consent { font-size: .875rem; color: var(--muted); }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }
.form-status.is-info { background: #EAF0FF; color: var(--royal-dark); border: 1px solid #C7D5FF; }
.hp { position: absolute; left: -9999px; }

/* CTA */
.cta-box {
  background: var(--black); color: var(--white); border-radius: 22px; padding: 2.5rem 1.5rem; text-align: center; position: relative; overflow: hidden;
}
@media (min-width: 768px) { .cta-box { padding: 3.5rem; } }
.cta-box h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-box p { color: var(--on-dark-muted); max-width: 40rem; margin-left: auto; margin-right: auto; }
.cta-box .btn-row { justify-content: center; }
.cta-box .cta-icon { width: 64px; margin: 0 auto 1.25rem; }

/* Footer */
.site-footer { background: var(--black); color: var(--on-dark-muted); padding: 3.5rem 0 6rem; font-size: .9688rem; }
@media (min-width: 1000px) { .site-footer { padding-bottom: 2.5rem; } }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-logo { width: 220px; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid var(--black-3); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: .875rem; }

/* Mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(11, 11, 12, .96); border-top: 1px solid var(--black-3);
}
.mobile-bar .btn { padding: .8rem 1rem; font-size: .9688rem; }
@media (min-width: 1000px) { .mobile-bar { display: none; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.note-dark { color: var(--on-dark-muted); font-size: .9375rem; }

/* Fixes after preview review (2026-10-12) */
.page-hero .eyebrow { color: var(--bright); }
.page-hero .lead { color: var(--on-dark-muted); }
.card p.plan-from { color: var(--ink); }
.plan--featured { padding-top: 2.1rem; }
.split--top { align-items: start; }
.split--top h2 { margin-bottom: 0; }
