/* ===========================================================
   Catalano Canvas styles.css
   Palette: deep marine navy + warm canvas/sand + brass accent
   =========================================================== */

:root {
  --navy: #13233b;
  --navy-2: #1c3252;
  --sand: #f4efe6;
  --sand-2: #ece4d6;
  --paper: #fbf9f4;
  --ink: #1d2733;
  --ink-soft: #4a5664;
  --brass: #c08a2d;
  --brass-dark: #a3741f;
  --line: #e0d8c8;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 40px -22px rgba(19, 35, 59, 0.45);
  --shadow-sm: 0 8px 20px -14px rgba(19, 35, 59, 0.4);
  --maxw: 1140px;
  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);

  --font-head: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (max-width: 540px) {
  .hero-inner,
  .hero-copy,
  .hero-sub,
  .hero-actions,
  .hero-visual,
  .hero-card {
    width: min(100%, 300px);
    max-width: 300px;
  }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.4em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

a { color: var(--brass-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.sr-only,
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px;
  width: auto; height: auto; clip: auto;
  background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 999;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 13px 26px;
  text-align: center;
  transition: transform .18s var(--ease), background .2s, color .2s, box-shadow .2s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--brass);
  color: #221a07;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--brass-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }

.text-link {
  font-weight: 600;
  color: var(--brass-dark);
  border-bottom: 2px solid transparent;
}
.text-link:hover { text-decoration: none; border-bottom-color: var(--brass); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brass-dark);
  margin: 0 0 0.6rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-mark { display: block; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; color: var(--navy); }
.brand-tag { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

.main-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-menu a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav-menu a:hover { text-decoration: none; color: var(--navy); background: var(--sand-2); }
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--navy-2) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-bars, .nav-bars::before, .nav-bars::after {
  content: "";
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-bars { position: relative; }
.nav-bars::before { position: absolute; top: -7px; }
.nav-bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(192,138,45,0.12), transparent 60%),
    linear-gradient(180deg, var(--sand) 0%, var(--paper) 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy,
.hero-visual,
.hero-card {
  min-width: 0;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 0.5em;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 36ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.hero-trust {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 22px;
  font-size: 0.9rem; color: var(--ink-soft);
}
.hero-trust span { color: var(--navy); font-weight: 700; }
.hero-trust li { position: relative; padding-left: 20px; }
.hero-trust li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brass);
}

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero-card-img { aspect-ratio: 4 / 3; }
.hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eaf2f4;
}
.hero-card-foot {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  align-items: center;
}
.hero-card-foot img {
  width: 118px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.hero-card-foot strong { color: var(--navy); }
.hero-card-foot span { display: block; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Placeholder image styling ---------- */
.placeholder-img {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(19,35,59,0.05) 0 14px, rgba(19,35,59,0.02) 14px 28px),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #cdd7e4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.placeholder-img span {
  border: 1px dashed rgba(255,255,255,0.35);
  padding: 8px 14px;
  border-radius: 8px;
}

/* ---------- Sections ---------- */
.section { padding: clamp(44px, 5.5vw, 72px) 0; }
.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-lead { color: var(--ink-soft); }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--brass); }
.service-card h3 { font-size: 1.25rem; }
.service-card p { color: var(--ink-soft); margin-bottom: 0.6rem; }
.service-card.feature {
  grid-column: span 1;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  border-color: var(--navy);
}
.service-card.feature h3 { color: #fff; }
.service-card.feature p { color: #c6d2e0; }
.service-card.feature .text-link { color: var(--brass); border-bottom-color: transparent; }
.service-card.feature .text-link:hover { border-bottom-color: var(--brass); }

/* ---------- Local service band ---------- */
.local-strip {
  background: var(--navy);
  color: #dce5ef;
  padding: clamp(22px, 3vw, 34px) 0;
}
.local-strip h2 {
  max-width: 560px;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin: 4px 0 0;
}
.local-strip .eyebrow {
  color: var(--brass);
  margin-bottom: 4px;
}
.local-strip-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}
.local-strip p:last-child {
  margin: 0;
  color: #c6d2e0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Process ---------- */
.process { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps {
  list-style: none;
  margin: 0 0 40px; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--brass);
  color: #221a07;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }
.process-cta { text-align: center; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  margin: 0;
  overflow: hidden;
}
.gallery-image {
  position: relative;
  background: #eaf2f4;
  border: 1px solid var(--line);
}
.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-image figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(19, 35, 59, .9);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.gallery-featured {
  grid-column: span 2;
  grid-row: span 1;
  aspect-ratio: 16 / 9;
}
.gallery-item:hover .gallery-image,
.gallery-image:hover {
  transform: scale(1.02);
  transition: transform .3s var(--ease);
}

/* ---------- About ---------- */
.about { background: var(--navy); color: #e6ecf3; }
.about .eyebrow { color: var(--brass); }
.about h2 { color: #fff; }
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.about-visual { aspect-ratio: 1 / 1; border-radius: var(--radius); }
.logo-panel {
  display: grid;
  place-items: center;
  padding: clamp(22px, 5vw, 46px);
  background:
    radial-gradient(circle at top, rgba(192,138,45,.18), transparent 48%),
    #fff;
  border: 1px solid rgba(255,255,255,.16);
}
.logo-panel img {
  width: min(100%, 420px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.about-copy p { color: #c6d2e0; }
.about-copy .text-link { color: var(--brass); border-bottom-color: transparent; }
.about-copy .text-link:hover { border-bottom-color: var(--brass); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 44px 20px 4px;
  font-family: var(--font-head);
  font-size: 1.12rem;
  color: var(--navy);
  position: relative;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--brass-dark);
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { color: var(--ink-soft); padding: 0 4px 22px; margin: 0; }

/* ---------- Quote ---------- */
.quote { background: var(--sand); border-top: 1px solid var(--line); }
.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 52px;
  align-items: start;
}
.quote-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.quote-checklist {
  list-style: none;
  margin: 0 0 26px; padding: 0;
}
.quote-checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.quote-checklist li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--brass-dark);
  font-weight: 700;
}
.quote-direct { display: flex; flex-direction: column; gap: 10px; }
.contact-line {
  display: flex; gap: 10px; align-items: baseline;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--ink);
}
.contact-line:hover { text-decoration: none; border-color: var(--brass); }
.contact-line strong { color: var(--navy); min-width: 52px; }

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.form-intro { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 20px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(192,138,45,0.18);
}
.field textarea { resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin: 4px 0 18px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-fallback { font-size: 0.88rem; color: var(--brass-dark); margin: 14px 0 0; min-height: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c6d2e0; padding: 56px 0 26px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { height: 40px; width: auto; margin-bottom: 14px; display: block; }
.footer-brand p { color: #9fb0c4; max-width: 34ch; margin: 0 0 20px; font-size: 0.9rem; line-height: 1.6; }
.footer-cta { font-size: 0.88rem; padding: 10px 22px; }
.footer-col h3 { color: #f0f8fc; font-size: 0.82rem; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; font-size: 0.9rem; color: #9fb0c4; }
.footer-col a { color: #c6d2e0; }
.footer-col a:hover { color: var(--brass); text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding-top: 22px;
  font-size: 0.85rem; color: #8da0b6;
}
.to-top { color: #c6d2e0; }
.to-top:hover { color: var(--brass); text-decoration: none; }

/* ---------- Floating mobile CTA ---------- */
.float-cta {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 60;
  background: var(--brass);
  color: #221a07;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: none;
}
.float-cta:hover { background: var(--brass-dark); color: #fff; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .local-strip-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { aspect-ratio: 16 / 9; }
  .quote-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 13px 12px; border-radius: 8px; }
  .nav-cta { margin: 6px 0 0; text-align: center; }
  .float-cta { display: inline-block; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .header-inner { height: 70px; }
  .brand { min-width: 0; }
  .brand-mark { width: 38px; height: auto; }
  .brand-text { min-width: 0; }
  .brand-name { font-size: 1rem; white-space: nowrap; }
  .brand-tag { font-size: .62rem; white-space: nowrap; }
  .hero { padding-top: 38px; }
  .hero-copy,
  .section-head,
  .quote-copy {
    width: 100%;
    max-width: 300px;
    margin-right: auto;
    margin-left: auto;
  }
  .hero h1 { font-size: clamp(1.95rem, 8.8vw, 2.15rem); }
  .hero-sub,
  .section-lead,
  .quote-copy p {
    max-width: 100%;
  }
  .section-head h2,
  .quote-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2rem);
  }
  .hero-actions { flex-direction: column; }
  .hero-actions {
    width: 100%;
    max-width: 280px;
    margin-right: auto;
    margin-left: auto;
  }
  .hero-actions .btn,
  .form-actions .btn {
    width: 100%;
  }
  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-card-foot {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  .hero-card {
    max-width: 320px;
  }
  .hero-card-foot img {
    width: 140px;
  }
  .hero-card-foot span {
    overflow-wrap: break-word;
  }
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .float-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Theme 06: Night Harbor
   A true dark premium marine treatment with high contrast CTAs. */
:root {
  --navy: #071321;
  --navy-2: #0d2f46;
  --sand: #0d1b26;
  --sand-2: #132838;
  --paper: #0a1620;
  --ink: #eef6f8;
  --ink-soft: #b8c8d0;
  --brass: #ffb23f;
  --brass-dark: #f08a24;
  --line: rgba(255,255,255,.13);
  --white: #102130;
  --shadow: 0 24px 60px -24px rgba(0,0,0,.7);
}
body { background: #08131c; color: var(--ink); }
.site-header { background: rgba(7, 19, 33, .94); border-bottom-color: rgba(255,255,255,.14); }
.site-header .brand-mark { filter: invert(1) brightness(2); opacity: .9; }
.brand-name, h1, h2, h3, .nav-menu a, .contact-line strong { color: #f7fbff; }
.brand-tag, .hero-sub, .section-lead, .service-card p, .step p, .faq-item p, .quote-checklist li, .form-intro, .form-note { color: var(--ink-soft); }
.hero-trust span, .hero-card-foot strong { color: #f7fbff; }
.hero-card-foot img { background: #fff; }
.hero { background: radial-gradient(900px 480px at 77% 5%, rgba(255,178,63,.16), transparent 56%), linear-gradient(180deg, #0d1b26 0%, #08131c 100%); }
.services, .gallery, .faq { background: #08131c; }
.process, .quote { background: #0d1b26; }
.service-card, .quote-form, .contact-line, .faq-item, .hero-card { background: #102130; border-color: var(--line); }
.btn-primary { background: #ffb23f; color: #08131c; }
.btn-ghost { color: #f7fbff; border-color: #e9f3f8; }
.btn-ghost:hover { background: #e9f3f8; color: #071321; }
.placeholder-img { background: linear-gradient(135deg, #06101a 0%, #0f5670 100%); }
.local-strip, .about, .site-footer { background: #040a10; }

/* Variant 16: Soft Night Harbor
   A lighter version of 06 with more breathable navy and warmer CTA contrast. */
:root {
  --navy: #102b42;
  --navy-2: #1a4760;
  --sand: #172d3b;
  --sand-2: #203b4c;
  --paper: #102230;
  --ink: #f4fafb;
  --ink-soft: #c5d4d9;
  --brass: #f1b44d;
  --brass-dark: #d98725;
  --line: rgba(255,255,255,.16);
  --white: #182f40;
}
body { background: #102230; }
.hero { background: radial-gradient(920px 520px at 84% 8%, rgba(241,180,77,.18), transparent 58%), linear-gradient(180deg, #183246 0%, #102230 100%); }
.site-header { background: rgba(13, 34, 49, .94); }
.services, .gallery, .faq { background: #102230; }
.process, .quote { background: #172d3b; }
.local-strip, .about, .site-footer { background: #081521; }
.hero-card, .service-card, .quote-form, .contact-line, .step { background: #183244; }
.hero-card-foot img { background: #fff; }
.field label { color: #e4f0f6; }
.faq-item summary { color: #e4f0f6; }
.field input,
.field select,
.field textarea { color: #f0f8fc; background: #1e3d52; border-color: rgba(255,255,255,.2); }
.field input::placeholder,
.field textarea::placeholder { color: #7fa8be; }
.field select option { background: #1e3d52; color: #f0f8fc; }
.form-note { color: #9bbdd0; }

/* Hero slider */
.hero-slider { position: relative; }
.hero-slide {
  display: none;
  position: relative;
  aspect-ratio: 4 / 3;
  background: #eaf2f4;
}
.hero-slide.is-active { display: block; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eaf2f4;
}
.slide-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 14px, rgba(255,255,255,.02) 14px 28px),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.slide-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(5, 14, 22, .82);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.slider-controls {
  display: flex;
  gap: 8px;
  padding: 0 20px 18px;
}
.slider-dot {
  width: 11px;
  height: 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.slider-dot.is-active { background: var(--brass); border-color: var(--brass); }

@media (max-width: 540px) {
  .hero-copy,
  .section-head,
  .quote-copy {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
  .hero h1 {
    max-width: 10ch;
    font-size: clamp(1.8rem, 8vw, 2rem);
  }
  .hero-sub { font-size: 1.04rem; }
  .hero-inner,
  .hero-copy,
  .hero-sub,
  .hero-actions,
  .hero-visual,
  .hero-card {
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
  }
  .hero-sub,
  .hero-card-foot span { overflow-wrap: anywhere; }
  .hero-actions { max-width: none; }
  .hero-visual { width: 100%; justify-content: stretch; }
  .hero-card { width: 100%; max-width: none; }
}

@media (max-width: 540px) {
  .hero-inner,
  .hero-copy,
  .hero-sub,
  .hero-actions,
  .hero-visual,
  .hero-card {
    width: min(100%, 300px);
    max-width: 300px;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    transform: none;
    transition: opacity 0.55s ease;
  }

  .fade-in.visible {
    transform: none;
  }
}

/* ---------- Gallery lightbox ---------- */
.gallery-item.gallery-image {
  cursor: zoom-in;
}

.gallery-item.gallery-image::after {
  content: "+";
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(5, 14, 22, .72);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  pointer-events: none;
}

.gallery-item.gallery-image:hover::after,
.gallery-item.gallery-image:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 14, 22, 0.96);
}

.lightbox-overlay.open {
  display: flex;
  animation: lightboxFadeIn .2s ease forwards;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-caption {
  position: absolute;
  right: 24px;
  bottom: 18px;
  left: 24px;
  margin: 0;
  color: #fff;
  font-size: .875rem;
  text-align: center;
  opacity: .85;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 72px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 4rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 640px) {
  .lightbox-img {
    max-height: 82vh;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 48px;
    height: 64px;
    font-size: 3.4rem;
  }

  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }
}

/* ---------- Trust badges ---------- */
.trust-bar {
  background: #081521;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.trust-item-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brass);
  font-family: var(--font-head);
  line-height: 1;
  white-space: nowrap;
}
.trust-item-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #7a96aa;
  white-space: nowrap;
}
.trust-divider {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.12);
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--paper); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 22px;
  font-size: 3.5rem;
  font-family: var(--font-head);
  color: var(--brass);
  line-height: 1;
  opacity: 0.6;
}
.testimonial-text {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  padding-top: 24px;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brass);
}
.testimonial-detail {
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

/* ---------- Gallery filters ---------- */
.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filter-btn:hover {
  background: var(--sand-2);
  color: var(--ink);
  border-color: rgba(255,255,255,.3);
}
.filter-btn.is-active {
  background: var(--brass);
  color: #08131c;
  border-color: var(--brass);
  font-weight: 800;
}
.gallery-item.is-hidden {
  display: none;
}

/* ---------- Responsive: testimonials + trust + footer ---------- */
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .trust-bar-inner { gap: 28px; }
  .trust-divider { display: none; }
}
@media (max-width: 540px) {
  .trust-bar-inner { gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Form upgrades ---------- */
.req { color: var(--brass); font-weight: 700; }
.opt { color: var(--ink-soft); font-weight: 400; font-size: 0.82em; }

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px 0 4px;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e4f0f6;
  cursor: pointer;
}
.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brass);
  cursor: pointer;
}
.radio-group[aria-invalid="true"] {
  outline: 2px solid #e05c5c;
  border-radius: 8px;
  padding: 8px 10px;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #e05c5c;
  outline: 1px solid #e05c5c;
}

.form-success {
  background: rgba(241, 180, 77, 0.12);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-top: 16px;
}
.form-success-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brass);
  margin: 0 0 8px;
  font-family: var(--font-head);
}
.form-success-body {
  color: var(--ink);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.form-success-body a {
  color: var(--brass);
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
