/* ==========================================================================
   Ale Cleaning Services — site styles
   Brand colors come from the logo (navy / blue) with the established green
   accent. Text-bearing colors below meet WCAG 2.2 AA on their backgrounds.
   ========================================================================== */
:root {
  --navy: #14315c;
  --navy-deep: #0b2142;
  --blue: #4595cb;          /* decorative only */
  --blue-text: #2b6fa6;     /* 5.3:1 on white */
  --blue-soft: #e8f2fb;
  --mist: #f4f9fd;
  --sand: #f8f5ef;          /* warm neutral section tone */
  --green: #2fae6e;         /* decorative only / on navy */
  --green-btn: #1b7d4c;     /* 5.1:1 with white text */
  --green-btn-hover: #146c41;
  --green-soft: #e6f7ee;
  --mint: #7fe0ab;          /* text accent on navy */
  --ink: #22303f;
  --muted: #5b6b7c;
  --line: #e3ebf3;
  --field-border: #7f91a4;  /* 3.3:1 non-text contrast */
  --error: #b3423c;
  --error-soft: #fdf0ef;
  --on-dark: #d7e4f1;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(13, 36, 64, .06);
  --shadow-md: 0 12px 32px rgba(13, 36, 64, .10);
  --shadow-lg: 0 24px 56px rgba(13, 36, 64, .16);
  --font-head: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 76px;
  --focus: #2b6fa6;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; display: inline-block; vertical-align: -.18em; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.18; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p + p { margin-top: 1em; }
strong { font-weight: 600; }

/* ---------- Focus ---------- */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--mint); }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 300;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600;
  padding: 12px 20px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
@media (min-width: 700px) { .wrap { width: min(1160px, 100% - 64px); } }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-sm { padding: clamp(40px, 6vw, 64px) 0; }
.bg-mist { background: var(--mist); }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy-deep); color: var(--on-dark); }
.bg-navy h2, .bg-navy h3 { color: #fff; }

.section-head { max-width: 700px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 12px; }
.bg-navy .section-head p { color: var(--on-dark); }
.section-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .875rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--green); }
.on-dark .eyebrow, .bg-navy .eyebrow { color: #8fd9ff; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 680px; margin-top: 16px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.split-wide { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 899px) { .split, .split-wide { grid-template-columns: 1fr; } }

.text-link {
  color: var(--blue-text); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
.text-link:hover { color: var(--navy); }
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--blue-text); font-family: var(--font-head); font-weight: 600; font-size: .98rem; text-decoration: none;
}
.arrow-link .icon { width: 18px; height: 18px; fill: currentColor; transition: transform .2s ease; }
.arrow-link:hover { color: var(--navy); }
.arrow-link:hover .icon { transform: translateX(3px); }
.on-dark .arrow-link { color: var(--mint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn .icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-btn); color: #fff; box-shadow: 0 8px 20px rgba(27, 125, 76, .25); }
.btn-primary:hover { background: var(--green-btn-hover); }
.btn-secondary { background: #fff; color: var(--navy); border-color: #b9c7d6; }
.btn-secondary:hover { border-color: var(--navy); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .65); }
.btn-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 28px; }
.btn-plain {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--navy); text-decoration: none;
}
.btn-plain .icon { width: 18px; height: 18px; fill: currentColor; }
.btn-plain:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-plain.on-dark { color: #fff; }
@media (max-width: 519px) {
  .btn-row .btn { flex: 1 1 100%; }
  .btn-row .btn-plain { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
/* backdrop-filter makes the header a containing block for fixed children,
   which would trap the mobile menu panel inside the 76px header. */
.site-header.nav-open { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .03em; color: var(--navy); white-space: nowrap; }
.brand-text > span:first-child { color: var(--green-btn); }

.menu-toggle {
  display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
}
.menu-toggle .icon { width: 24px; height: 24px; fill: currentColor; }
.menu-icon-close { display: none; }
.nav-open .menu-icon-open { display: none; }
.nav-open .menu-icon-close { display: block; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link, .sub-menu a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px;
  font-weight: 500; font-size: .97rem; color: var(--ink); text-decoration: none; position: relative;
}
.nav-link:hover, .sub-menu a:hover { color: var(--navy); background: var(--mist); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--navy); font-weight: 600; }
.nav-link[aria-current="page"]::after, .nav-link.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--green);
}
.has-sub { position: relative; }
.nav-sub-row { display: flex; align-items: center; }
.sub-toggle {
  display: grid; place-items: center; width: 32px; height: 44px; margin-left: -8px;
  background: none; border: 0; border-radius: 8px; cursor: pointer; color: var(--navy);
}
.sub-toggle .icon { width: 20px; height: 20px; fill: currentColor; transition: transform .2s ease; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-menu { display: none; }
.sub-menu a[aria-current="page"] { color: var(--navy); font-weight: 600; background: var(--blue-soft); }
.nav-cta { min-height: 46px; padding: 10px 22px; font-size: .95rem; }
.nav-contact { display: none; }

@media (min-width: 1080px) {
  .sub-menu {
    position: absolute; top: calc(100% + 6px); left: -8px; min-width: 260px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 8px;
  }
  .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .has-sub.is-open .sub-menu { display: block; }
  @media (hover: hover) { .has-sub:hover .sub-menu { display: block; } }
}

@media (max-width: 1079px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    padding: 12px 16px calc(32px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 0;
    border-top: 1px solid var(--line);
  }
  .nav-open .site-nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { min-height: 56px; font-size: 1.1rem; padding: 0 4px; }
  .nav-link[aria-current="page"]::after, .nav-link.is-active::after { left: 4px; right: auto; width: 28px; bottom: 10px; }
  .nav-sub-row { justify-content: space-between; }
  .sub-toggle { width: 56px; height: 56px; margin: 0; }
  .has-sub.is-open .sub-menu { display: block; padding: 0 0 12px 12px; }
  .sub-menu a { min-height: 48px; font-size: 1.02rem; }
  .nav-cta { margin-top: 24px; min-height: 54px; font-size: 1.02rem; }
  .nav-contact { display: block; margin-top: 16px; text-align: center; color: var(--muted); }
  .nav-contact a { color: var(--navy); font-weight: 600; }
  body.nav-locked { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand-text { font-size: 1.05rem; }
  .brand img { height: 42px; }
  .menu-label { display: none; }
  .menu-toggle { padding: 0 11px; }
}
@media (max-width: 340px) { .brand-text { display: none; } }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--navy-deep); color: var(--on-dark); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 10%, rgba(69, 149, 203, .22), transparent 65%),
              radial-gradient(40% 50% at 0% 100%, rgba(47, 174, 110, .12), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; }
.hero-grid > * { min-width: 0; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead { color: #e1ebf5; }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); aspect-ratio: 4 / 5; max-height: 600px; margin-left: auto; width: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-offer { margin-top: 26px; font-size: .98rem; color: var(--on-dark); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-offer .icon { width: 18px; height: 18px; fill: var(--mint); }
.hero-offer a, .hero-offer .text-link { color: #fff; }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; max-height: none; }
}

/* ---------- Trust bar ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px; padding: 22px 0; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--navy); }
.trust-list .icon { width: 20px; height: 20px; fill: var(--green-btn); flex-shrink: 0; }
@media (max-width: 699px) {
  .trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; justify-content: stretch; }
  .trust-list li { font-size: .9rem; align-items: flex-start; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); padding: clamp(28px, 4vw, 44px) 0 clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 860px; }
.breadcrumb { margin-bottom: clamp(20px, 3vw, 32px); font-size: .92rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumb li + li::before { content: "/"; color: #9aa9b8; margin-right: 2px; }
.breadcrumb a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 2px; display: inline-flex; min-height: 24px; align-items: center; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; gap: 10px;
}
.card p { color: var(--muted); font-size: 1rem; }
.card h3 a { text-decoration: none; }
.card-linked { transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.card-linked:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cddbe8; }
.card-linked h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-linked h3 a:focus-visible { outline: none; }
.card-linked:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.card-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 6px; }
.card-icon .icon { width: 26px; height: 26px; fill: var(--navy); }
.card-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-text); font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.card-more .icon { width: 18px; height: 18px; fill: currentColor; transition: transform .2s ease; }
.card-linked:hover .card-more .icon { transform: translateX(3px); }
.card-meta { font-size: .95rem; color: var(--ink); }
.card-meta strong { color: var(--navy); }
.card-dark { background: var(--navy); border-color: var(--navy); }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--on-dark); }

.note {
  border-left: 4px solid var(--blue); background: var(--mist); border-radius: 0 12px 12px 0;
  padding: 16px 20px; color: var(--ink); font-size: 1rem;
}

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 12px; }
.checklist.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
@media (max-width: 599px) { .checklist.cols-2 { grid-template-columns: 1fr; } }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231b7d4c' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.checklist strong { color: var(--navy); font-family: var(--font-head); }

/* ---------- Feature list (values) ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px 36px; }
.feature { display: flex; gap: 16px; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; flex-shrink: 0; }
.feature-icon .icon { width: 22px; height: 22px; fill: var(--green-btn); }
.feature h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 1rem; }

/* ---------- Photos ---------- */
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: #dde6ee; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-4x5 { aspect-ratio: 4 / 5; }
.photo-4x3 { aspect-ratio: 4 / 3; }
.photo-caption { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-stack .photo:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.photo-stack .photo { aspect-ratio: 1; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery .photo { aspect-ratio: 1; box-shadow: var(--shadow-sm); }
.gallery figcaption { margin-top: 8px; font-size: .92rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 899px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.ba-figure { margin: 0; }
.ba {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  background: #dde6ee; box-shadow: var(--shadow-md); touch-action: pan-y;
  user-select: none; -webkit-user-select: none; cursor: ew-resize; --pos: 50%;
}
.ba-img, .ba-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-img img { object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.ba-handle {
  position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--navy);
  display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); cursor: grab; touch-action: none;
}
.ba-handle .icon { width: 26px; height: 26px; fill: currentColor; }
.ba-handle:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 7px var(--focus), 0 4px 16px rgba(0, 0, 0, .3); }
.ba.is-dragging .ba-handle { cursor: grabbing; }
.ba-tag {
  position: absolute; top: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-head); font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff;
}
.ba-tag-before { left: 14px; background: rgba(11, 33, 66, .85); }
.ba-tag-after { right: 14px; background: var(--green-btn); }
.ba-figure figcaption { margin-top: 14px; }
.ba-title { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--navy); }
.ba-hint { display: block; font-size: .92rem; color: var(--muted); margin-top: 2px; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review-source { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.review-source .icon { width: 18px; height: 18px; fill: #1877f2; }
.review blockquote { flex: 1; }
.review blockquote p { font-size: 1.02rem; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--navy); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .95rem; }
.source-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.source-links .icon { width: 18px; height: 18px; }
.source-note { margin-top: 16px; font-size: .95rem; color: var(--muted); }

/* ---------- Areas ---------- */
.area-list { display: flex; flex-wrap: wrap; gap: 12px; }
.area-list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--navy);
}
.area-list .icon { width: 18px; height: 18px; fill: var(--green-btn); }
.bg-navy .area-list li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.bg-navy .area-list .icon { fill: var(--mint); }

/* ---------- Owner portrait ---------- */
.owner-portrait { margin: 0; max-width: 400px; width: 100%; }
.owner-portrait picture {
  display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 672 / 1150;
  box-shadow: var(--shadow-lg); background: #e6edf4;
}
.owner-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.owner-portrait figcaption { margin-top: 16px; }
.owner-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.owner-role { display: block; color: var(--muted); font-size: .98rem; margin-top: 2px; }
@media (max-width: 899px) { .owner-portrait { margin-inline: auto; } }

/* ---------- CTA band ---------- */
.cta-band {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; align-items: center;
  background: var(--navy); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 56px); color: var(--on-dark);
  position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 100% 0%, rgba(143, 217, 255, .16), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; min-width: 0; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 12px; color: var(--on-dark); max-width: 520px; }
.cta-band .btn-row { margin-top: 0; justify-content: flex-end; }
@media (max-width: 899px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

.offer-note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 28px;
  background: var(--sand); border: 1px solid #e8dfcf; border-radius: 14px; padding: 18px 20px; color: var(--ink);
}
.offer-note .offer-icon { width: 22px; height: 22px; fill: var(--green-btn); flex-shrink: 0; margin-top: 3px; }
.offer-note p { font-size: 1rem; }
.offer-note p + p { margin-top: 6px; }
.offer-title { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.fine { font-size: .9rem !important; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.steps li { position: relative; padding-left: 52px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
}
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: 1rem; margin-top: 2px; }

/* ---------- Contact options ---------- */
.contact-options { display: grid; gap: 12px; }
.contact-option {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease;
}
a.contact-option:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.contact-option .opt-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; flex-shrink: 0; }
.contact-option .icon { width: 22px; height: 22px; fill: var(--navy); }
.contact-option strong { display: block; font-family: var(--font-head); color: var(--navy); }
.contact-option span { color: var(--muted); font-size: .95rem; }

/* ---------- Estimate layout & form ---------- */
.estimate-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.estimate-aside { display: grid; gap: 28px; }
.estimate-aside h2 { font-size: 1.35rem; margin-bottom: 14px; }
@media (max-width: 959px) { .estimate-layout { grid-template-columns: 1fr; } }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-card > h2 { font-size: 1.5rem; }
.form-card > p { color: var(--muted); margin: 8px 0 24px; }
.field { margin-bottom: 20px; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.req { color: var(--error); }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px; font-size: 1rem; line-height: 1.4;
  color: var(--ink); background: #fff; border: 1.5px solid var(--field-border); border-radius: 12px;
  -webkit-appearance: none; appearance: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.field select {
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2314315c' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(43, 111, 166, .25); }
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field-hint { font-size: .92rem; color: var(--muted); margin-top: 6px; }
.field-error { display: flex; gap: 6px; font-size: .95rem; font-weight: 500; color: var(--error); margin-top: 6px; }
.field-error::before { content: "!"; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--error); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; margin-top: 2px; }

.choice-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.choice {
  display: flex !important; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; margin: 0 !important;
  border: 1.5px solid var(--field-border); border-radius: 12px; cursor: pointer; font-weight: 500 !important; color: var(--ink) !important;
}
.choice input { width: 24px; height: 24px; accent-color: var(--green-btn); flex-shrink: 0; margin: 0; }
.choice:has(input:checked) { border-color: var(--green-btn); background: var(--green-soft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice-field.is-invalid .choice { border-color: var(--error); }

.consent { background: var(--mist); border-radius: 12px; padding: 16px; }
.consent-row { display: flex; gap: 12px; align-items: flex-start; }
.consent-row input { width: 24px; height: 24px; margin-top: 3px; accent-color: var(--green-btn); flex-shrink: 0; }
.consent-row label { font-weight: 400; font-size: .95rem; line-height: 1.55; color: var(--ink); margin: 0; }

.error-summary { border: 2px solid var(--error); background: var(--error-soft); border-radius: 12px; padding: 16px 18px; margin-bottom: 22px; }
.error-summary:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.error-summary-title { font-size: 1.02rem; color: var(--error); margin-bottom: 8px; }
.error-summary ul { list-style: disc; padding-left: 20px; }
.error-summary a { color: var(--error); font-weight: 600; text-decoration: underline; }
.form-status:empty { display: none; }
.form-status { border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; font-size: 1rem; background: var(--mist); border: 1px solid var(--line); }
.form-status.is-error { background: var(--error-soft); border-color: #e8b4b0; color: #8f2f2a; }
.form-status.is-error a { color: #8f2f2a; font-weight: 600; }
.form-fine { font-size: .95rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-fine a { color: var(--blue-text); }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink); }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.prose a { color: var(--blue-text); }
.prose .updated { color: var(--muted); font-size: .95rem; }

/* ---------- Status pages ---------- */
.status-page { text-align: left; }
.status-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green-btn); display: grid; place-items: center; margin-bottom: 20px; }
.status-icon .icon { width: 34px; height: 34px; fill: #fff; }
.status-icon.is-muted { background: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c5d4e3; padding: clamp(48px, 7vw, 72px) 0 0; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { height: 92px; width: auto; margin-bottom: 16px; background: #fff; border-radius: 14px; padding: 6px 8px; box-sizing: content-box; }
.footer-brand p { max-width: 340px; }
.footer-title { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.footer-links li a, .footer-contact a { display: inline-flex; align-items: center; min-height: 36px; color: #c5d4e3; text-decoration: none; }
.footer-links li a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li > span { padding: 6px 0; line-height: 1.5; }
.footer-contact .icon { width: 18px; height: 18px; fill: var(--mint); flex-shrink: 0; margin-top: 9px; }
.footer-note { margin-top: 12px; font-size: .95rem; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background-color .2s ease; }
.socials a:hover { background: var(--green-btn); }
.socials .icon { width: 20px; height: 20px; fill: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; color: #a9bdd1; }
.footer-bottom a { color: #c5d4e3; }
@media (max-width: 959px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 899px) {
  .has-sticky .sticky-cta {
    display: grid; grid-template-columns: 52px 1fr 1.75fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(13, 36, 64, .10);
  }
  .has-sticky { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .sticky-cta a {
    display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 12px;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  }
  .sticky-cta .icon { width: 18px; height: 18px; fill: currentColor; }
  .sticky-call { background: #fff; color: var(--navy); border: 1.5px solid #b9c7d6; }
  .sticky-text { background: var(--navy); color: #fff; }
  .sticky-estimate { background: var(--green-btn); color: #fff; }
  .nav-open .sticky-cta { display: none; }
}
@media (max-width: 430px) {
  .has-sticky .sticky-cta { grid-template-columns: 48px .95fr 1.75fr; gap: 7px; padding-inline: 8px; }
  .sticky-cta a { font-size: .88rem; padding-inline: 4px; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .btn:hover, .card-linked:hover { transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
