/* =========================================================
   Beach Epoxy Pros - main stylesheet
   To rebrand: edit the colors and fonts in :root below.
   Mobile-first: base styles are for phones, media queries add
   tablet (768px) and desktop (960px+) layouts.
   ========================================================= */

:root {
  /* Brand colors */
  --c-primary: #0B99FD;        /* bright logo blue - accents, borders */
  --c-primary-dark: #0670C4;   /* button blue (passes AA with white text) */
  --c-primary-darker: #05599C;
  --c-navy: #162677;           /* secondary - headings, dark sections */
  --c-navy-deep: #0E1A57;
  --c-aqua: #AAFCFC;           /* accent - highlights on navy */
  --c-aqua-soft: #E8FEFE;
  --c-gray-200: #CED3D9;
  --c-gray-400: #A5AFBA;

  /* Neutrals */
  --c-bg: #FFFFFF;
  --c-bg-alt: #F2F6FA;
  --c-text: #1B2333;
  --c-muted: #4A5568;
  --c-border: #DDE3EA;

  /* Fonts (loaded from Google Fonts in each page's <head>) */
  --font-head: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --font-body: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(22, 38, 119, .12);
  --shadow-sm: 0 2px 10px rgba(22, 38, 119, .08);
  --max: 1180px;
  --header-h: 72px;
  --mobile-bar-h: 56px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  /* room for the mobile call/text bar so it never covers content */
  padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom));
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary-dark); }
a:hover { color: var(--c-navy); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.15;
  color: var(--c-navy);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.mt-lg { margin-top: 40px; }
.small { font-size: .9rem; }

.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;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  background: var(--c-navy); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--c-primary-dark); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--c-aqua); }

.icon {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-primary-dark); color: #fff; }
.btn-primary:hover { background: var(--c-navy); color: #fff; }
.btn-aqua { background: var(--c-aqua); color: var(--c-navy); }
.btn-aqua:hover { background: #fff; color: var(--c-navy); }
.btn-outline { background: transparent; color: var(--c-navy); border-color: currentColor; }
.btn-outline:hover { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.on-dark .btn-outline { color: #fff; }
.on-dark .btn-outline:hover { background: #fff; color: var(--c-navy); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--c-border);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { position: relative; display: flex; align-items: center; gap: 10px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-navy); margin-right: auto; }
.brand img { width: 52px; height: 52px; }
.brand-name { display: block; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.1; }
.brand-tag { display: block; font-size: .78rem; color: var(--c-muted); }
@media (max-width: 380px) { .brand-tag { display: none; } }

.header-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 44px; min-width: 44px; padding: 0 .9em; border-radius: 999px;
  background: var(--c-primary-dark); color: #fff; text-decoration: none; font-weight: 700;
}
.header-phone:hover { background: var(--c-navy); color: #fff; }
.header-phone .phone-text { display: none; }
@media (min-width: 560px) { .header-phone .phone-text { display: inline; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 2px solid var(--c-border); border-radius: 10px;
  background: #fff; color: var(--c-navy); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  display: none; position: absolute; left: -20px; right: -20px; top: 100%;
  background: #fff; border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow);
  padding: 8px 20px 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.site-nav.is-open { display: block; }
.no-js .site-nav { display: block; position: static; box-shadow: none; width: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block; padding: 13px 4px; font-weight: 700; color: var(--c-navy);
  text-decoration: none; border-bottom: 1px solid var(--c-border);
}
.site-nav li a[aria-current="page"] { color: var(--c-primary-dark); }
.nav-cta { margin-top: 16px; width: 100%; }

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .header-inner { gap: 14px; }
  .site-nav {
    order: 2; display: flex; align-items: center; gap: 6px;
    position: static; box-shadow: none; border: 0; padding: 0; background: none; overflow: visible; max-height: none;
  }
  .header-phone { order: 3; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav li a { border: 0; padding: 8px 10px; border-radius: 8px; font-size: .96rem; white-space: nowrap; }
  .nav-cta, .header-phone { white-space: nowrap; }
  .brand-name { white-space: nowrap; }
  .site-nav li a:hover { background: var(--c-bg-alt); }
  .site-nav li a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--c-primary); border-radius: 0; }
  .nav-cta { margin: 0 0 0 6px; width: auto; }
}
/* the menu needs the room on desktop, so the tagline shows on phones and tablets only */
@media (min-width: 1200px) {
  .brand-tag { display: none; }
}

/* ---------- Hero (homepage) ---------- */
.hero { position: relative; color: #fff; background: var(--c-navy-deep); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14, 26, 87, .92) 0%, rgba(22, 38, 119, .72) 55%, rgba(11, 153, 253, .25) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 52px; padding-bottom: 60px; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--c-aqua); margin-bottom: 14px;
}
.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 .accent { color: var(--c-aqua); }
.hero-sub { font-size: 1.15rem; max-width: 56ch; color: #E8EEFF; margin-bottom: 26px; }
.hero .btn-row { margin-bottom: 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.badges li {
  display: inline-flex; align-items: center; gap: .45em;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(170, 252, 252, .35);
  padding: .45em .9em; border-radius: 999px; font-size: .92rem; font-weight: 500;
}
.badges .icon { color: var(--c-aqua); }
@media (min-width: 768px) { .hero-inner { padding-top: 96px; padding-bottom: 104px; } }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--c-aqua-soft); border-bottom: 1px solid var(--c-border); }
.trust-list { list-style: none; margin: 0; padding: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--c-navy); font-size: .95rem; line-height: 1.3; }
.trust-list .icon { width: 28px; height: 28px; color: var(--c-primary-dark); }
.trust-list a { color: var(--c-navy); }
@media (min-width: 960px) { .trust-list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--c-bg-alt); }
.section-dark { background: var(--c-navy); color: #DCE3F8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--c-muted); font-size: 1.1rem; }
.section-dark .section-head p { color: #D6DEF7; }
.kicker {
  display: block; font-weight: 700; font-size: .82rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-primary-dark); margin-bottom: 8px;
}
.section-dark .kicker { color: var(--c-aqua); }
@media (min-width: 768px) { .section { padding: 88px 0; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--c-muted); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--c-aqua-soft); color: var(--c-primary-dark); margin-bottom: 16px;
}
.card-icon .icon { width: 28px; height: 28px; }
.card-link { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: .35em; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card.featured { border: 2px solid var(--c-primary); }
.tag {
  display: inline-block; align-self: flex-start; background: var(--c-navy); color: var(--c-aqua);
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3em .75em; border-radius: 999px; margin-bottom: 12px;
}
.service-card { padding: 0; overflow: hidden; }
.service-card > :not(.service-card-media) { margin-left: 24px; margin-right: 24px; }
.service-card > :last-child { margin-bottom: 24px; }
.service-card-media { position: relative; margin-bottom: 20px; overflow: hidden; }
.service-card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.service-card:hover .service-card-media img { transform: scale(1.04); }
.service-card-media .tag { position: absolute; top: 14px; left: 14px; margin: 0; }

/* Feature rows (why choose us) */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .card-icon { margin: 0; }
.feature h3 { margin-bottom: .35em; }
.feature p { margin: 0; }
.section-dark .feature .card-icon { background: rgba(170, 252, 252, .12); color: var(--c-aqua); }
.section-dark .feature p { color: #D6DEF7; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
.steps li {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px 24px; counter-increment: step;
}
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--c-navy); color: var(--c-aqua);
  font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 14px;
}
.steps h3 { margin-bottom: .4em; }
.steps p { color: var(--c-muted); margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps.steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps.steps-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Reviews ---------- */
.review { margin: 0; }
.review .icon { width: 32px; height: 32px; color: var(--c-primary); margin-bottom: 10px; }
.review blockquote { margin: 0 0 14px; font-size: 1.05rem; color: var(--c-text); }
.review figcaption { font-weight: 700; color: var(--c-navy); margin-top: auto; }
.review figcaption span { display: block; font-weight: 400; color: var(--c-muted); font-size: .92rem; }

/* ---------- Area chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; }
.chips li {
  display: inline-flex; align-items: center; gap: .4em; padding: .55em 1em;
  background: #fff; border: 1px solid var(--c-border); border-radius: 999px; font-weight: 700; color: var(--c-navy);
}
.chips .icon { color: var(--c-primary-dark); }
.section-head.center + .chips { justify-content: center; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; position: relative;
  font-weight: 700; color: var(--c-navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; line-height: 1; color: var(--c-primary-dark);
}
.faq details[open] summary::after { content: "\2013"; }
.faq-body { padding: 0 20px 18px; color: var(--c-muted); }
.faq-body p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--c-navy-deep), var(--c-navy) 60%, var(--c-primary-darker));
  color: #fff; padding: 60px 0; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #D6DEF7; max-width: 60ch; margin: 0 auto 24px; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Contact & form embed ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.form-embed {
  width: 100%; max-width: 760px; background: #fff;
  border: 1px solid var(--c-border); border-top: 6px solid var(--c-primary);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  overflow: hidden;                                   /* tall embeds never spill out */
  scroll-margin-top: calc(var(--header-h) + 16px);    /* #quote-form clears the sticky header */
}
.form-embed iframe { width: 100% !important; max-width: 100%; border: 0; display: block; }
.form-placeholder {
  margin: 0; padding: 32px 20px; border: 2px dashed var(--c-gray-200); border-radius: var(--radius-sm);
  text-align: center; color: var(--c-muted);
}
.form-note { font-size: .85rem; color: var(--c-muted); margin: 12px 0 0; }
.info-card h2, .info-card h3 { font-size: 1.3rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { color: var(--c-primary-dark); margin-top: 3px; }
.contact-list strong { display: block; color: var(--c-navy); }
.map-placeholder {
  min-height: 300px; display: grid; place-items: center; text-align: center; padding: 20px;
  background: var(--c-bg-alt); border: 2px dashed var(--c-gray-200); border-radius: var(--radius); color: var(--c-muted);
}
.map-placeholder iframe { width: 100%; min-height: 340px; border: 0; }

/* ---------- Inner page hero ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--c-navy-deep), var(--c-navy) 70%, var(--c-primary-darker));
  color: #E8EEFF; padding: 40px 0 52px;
}
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero .lead { font-size: 1.15rem; max-width: 62ch; }
.page-hero .btn-row { margin-top: 8px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .9rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--c-gray-400); }
.breadcrumb a { color: var(--c-aqua); }
.breadcrumb [aria-current] { color: #fff; }
@media (min-width: 768px) { .page-hero { padding: 60px 0 72px; } }

/* ---------- Split layout ---------- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.reverse > :first-child { order: 2; }
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split + .split { margin-top: 64px; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23162677' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (min-width: 768px) { .checklist.two-col { columns: 2; column-gap: 32px; } .checklist.two-col li { break-inside: avoid; } }

/* ---------- Local conditions block ---------- */
.local-block { background: #fff; border: 2px solid var(--c-primary); border-radius: var(--radius); padding: 28px 24px; }
.local-block h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.local-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
@media (min-width: 768px) { .local-block { padding: 36px; } .local-list { grid-template-columns: 1fr 1fr; } }
.local-list h3 { font-size: 1.05rem; display: flex; gap: .5em; align-items: center; margin-bottom: .35em; }
.local-list h3 .icon { color: var(--c-primary-dark); }
.local-list p { margin: 0; color: var(--c-muted); }

/* ---------- Color chart ---------- */
.swatch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 600px) { .swatch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .swatch-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; } }
@media (min-width: 1200px) { .swatch-grid { grid-template-columns: repeat(6, 1fr); } }
.swatch { margin: 0; height: 100%; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; }
.swatch img { width: 100%; aspect-ratio: 328 / 296; object-fit: cover; }
.swatch figcaption { padding: 10px 12px 12px; }
.swatch-name { display: block; font-weight: 700; color: var(--c-navy); line-height: 1.3; }
.swatch-type { display: block; font-size: .82rem; color: var(--c-muted); }
.note {
  background: var(--c-aqua-soft); border-left: 4px solid var(--c-primary-dark);
  padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- Prose (privacy, etc.) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.45rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-navy-deep); color: #C9D3F0; padding: 56px 0 24px; font-size: .96rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--c-aqua); text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-title { font-family: var(--font-head); color: #fff; font-size: 1.05rem; margin: 0 0 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-brand img { width: 76px; height: 76px; margin-bottom: 12px; }
.footer-brand p { margin-bottom: .6em; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 10px; }
.footer-contact .icon { color: var(--c-aqua); margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.social a:hover { background: rgba(170, 252, 252, .2); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 40px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Mobile sticky call / text bar (under 768px only) ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: flex; background: var(--c-navy-deep);
  padding-bottom: env(safe-area-inset-bottom);   /* iPhone home-indicator space */
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .18);
}
.mobile-bar a {
  flex: 0 0 50%; width: 50%; min-height: var(--mobile-bar-h);
  display: flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
}
.mobile-bar .icon { width: 22px; height: 22px; }
.mobile-bar .mb-call { background: var(--c-primary-dark); color: #fff; }
.mobile-bar .mb-text { background: var(--c-aqua); color: var(--c-navy); }
.mobile-bar a:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.mobile-bar .mb-text:focus-visible { outline-color: var(--c-navy); }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ---------- Simple pages (thank you, 404) ---------- */
.simple-page { padding: 72px 0; text-align: center; }
.simple-page .btn-row { justify-content: center; margin: 24px 0; }
.simple-page p { max-width: 60ch; margin-left: auto; margin-right: auto; }
.link-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: center; }

/* =========================================================
   Background photos
   .has-bg sections hold an <img class="bg-img"> behind a color overlay,
   so text stays readable (AA contrast) whatever photo is used.
   ========================================================= */
.has-bg { position: relative; overflow: hidden; isolation: isolate; }
.has-bg > .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(22, 38, 119, .72); }
.page-hero.has-bg::before {
  background: linear-gradient(100deg, rgba(14, 26, 87, .92) 0%, rgba(22, 38, 119, .72) 55%, rgba(5, 89, 156, .35) 100%);
}
.section-dark.has-bg::before { background: linear-gradient(180deg, rgba(14, 26, 87, .82), rgba(22, 38, 119, .66)); }
.cta-band.has-bg::before { background: linear-gradient(120deg, rgba(14, 26, 87, .9), rgba(22, 38, 119, .74) 60%, rgba(5, 89, 156, .6)); }
.bg-light::before { background: rgba(242, 246, 250, .78); }
.page-hero.has-bg { padding: 56px 0 64px; }
@media (min-width: 768px) { .page-hero.has-bg { padding: 88px 0 96px; } }

/* Reviews over a photo */
.reviews-section .section-head p { color: #D6DEF7; }
.reviews-section .review { background: rgba(255, 255, 255, .97); }

/* ---------- Project gallery ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px;
  background: linear-gradient(transparent, rgba(14, 26, 87, .92)); color: #fff; font-weight: 700; font-size: .9rem;
}

/* ---------- Steps with photos ---------- */
.steps.with-img li { position: relative; padding: 0 0 24px; overflow: hidden; }
.steps.with-img li::before { position: absolute; top: 14px; left: 14px; margin: 0; z-index: 1; box-shadow: var(--shadow-sm); }
.steps.with-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 18px; }
.steps.with-img h3, .steps.with-img p { padding: 0 24px; }

/* ---------- Before / after ---------- */
.before-after { display: grid; gap: 16px; }
@media (min-width: 768px) { .before-after { grid-template-columns: 1fr 1fr; gap: 24px; } }
.before-after figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.before-after img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.before-after figcaption {
  position: absolute; top: 14px; left: 14px; padding: .35em .9em; border-radius: 999px;
  font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--c-navy); color: var(--c-aqua);
}
.before-after figure:last-child figcaption { background: var(--c-aqua); color: var(--c-navy); }

.has-bg h1, .has-bg h2, .has-bg .lead, .has-bg .hero-sub, .hero h1, .hero-sub { text-shadow: 0 2px 12px rgba(14, 26, 87, .45); }

/* ---------- Pricing calculator ---------- */
.calc-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .calc-layout { grid-template-columns: 1.6fr 1fr; } }
.calc fieldset { border: 0; margin: 0 0 24px; padding: 0; }
.calc legend { font-family: var(--font-head); color: var(--c-navy); font-size: 1.1rem; margin-bottom: 12px; padding: 0; }
.calc-options { display: grid; gap: 12px; }
@media (min-width: 640px) { .calc-options { grid-template-columns: repeat(3, 1fr); } }
.calc-option { position: relative; cursor: pointer; }
.calc-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-option-body {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 16px; border: 2px solid var(--c-border); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, background .2s;
}
.calc-option:hover .calc-option-body { border-color: var(--c-gray-400); }
.calc-option input:checked + .calc-option-body { border-color: var(--c-primary-dark); background: var(--c-aqua-soft); box-shadow: inset 0 0 0 1px var(--c-primary-dark); }
.calc-option input:focus-visible + .calc-option-body { outline: 3px solid var(--c-primary-dark); outline-offset: 3px; }
.calc-option-name { font-weight: 700; color: var(--c-navy); line-height: 1.25; }
.calc-option-rate { font-family: var(--font-head); color: var(--c-primary-dark); font-size: 1.35rem; }
.calc-option-rate small { font-family: var(--font-body); font-size: .85rem; color: var(--c-muted); }
.calc-option-desc { font-size: .88rem; color: var(--c-muted); line-height: 1.4; }
.calc-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip-btn {
  font: inherit; font-size: .9rem; font-weight: 700; color: var(--c-navy); cursor: pointer;
  background: #fff; border: 1px solid var(--c-border); border-radius: 999px; padding: .5em 1em; min-height: 40px;
}
.chip-btn:hover { border-color: var(--c-primary-dark); background: var(--c-aqua-soft); }
.calc-sqft { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.calc-sqft label { font-weight: 700; color: var(--c-navy); }
.calc-sqft input {
  font: inherit; font-size: 1.2rem; font-weight: 700; color: var(--c-navy);
  width: 140px; min-height: 48px; padding: 0 12px; border: 2px solid var(--c-border); border-radius: var(--radius-sm);
}
.calc-sqft input:focus { border-color: var(--c-primary-dark); outline: none; box-shadow: 0 0 0 3px rgba(6, 112, 196, .25); }
#sqft-range { width: 100%; accent-color: var(--c-primary-dark); }
.calc-hint { font-size: .88rem; color: var(--c-muted); margin: 6px 0 0; }
.calc-result {
  display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; padding: 20px 22px;
  background: var(--c-navy); color: #DCE3F8; border-radius: var(--radius-sm);
}
.calc-result-label { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-aqua); }
.calc-total { font-family: var(--font-head); font-size: clamp(2.2rem, 6vw, 3rem); color: #fff; line-height: 1.1; }
.calc-breakdown { font-size: .95rem; }
.btn-link { background: none; border: 0; color: var(--c-primary-dark); text-decoration: underline; padding-left: .6em; padding-right: .6em; }
.btn-link:hover { color: var(--c-navy); transform: none; }
.calc-notes h3 { font-size: 1.25rem; }
.calc-notes .checklist li { font-size: .97rem; }
@media (min-width: 960px) { .calc-notes { position: sticky; top: calc(var(--header-h) + 20px); } }

/* Price table */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); }
.price-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.price-table th, .price-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.price-table thead th { background: var(--c-bg-alt); color: var(--c-navy); font-size: .9rem; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody th a { font-weight: 700; color: var(--c-navy); }
.price-table .num { text-align: right; white-space: nowrap; font-weight: 700; color: var(--c-primary-dark); }
