/* Shared base for the newer designs (Skyvale, Swiftridge, Thorne & Vale, Wildfern).
   It lays out every shared page and component using the tokens below.
   Each design's own style.css comes after this file: it sets the tokens
   (colours, type, shapes) and adds its own look on top. */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f5f6f8;
  --text: #15191e;
  --muted: #59616b;
  --line: #e1e4e8;
  --field: #8b939c;
  --accent: #1f5eff;
  --accent-hover: #1a4fe0;
  --on-accent: #ffffff;
  --accent-ink: #1747d1;
  --dark: #111418;
  --dark-2: #1c2026;
  --on-dark: #ffffff;
  --on-dark-muted: #b7bec6;
  --focus: var(--accent-ink);
  --ring: rgb(31 94 255 / 0.35);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --btn-radius: 999px;
  --field-radius: 10px;
  --shadow: 0 22px 50px -26px rgb(0 0 0 / 0.35);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-space: clamp(3.5rem, 8vw, 6.5rem);
  --font-head: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --head-weight: 700;
  --head-tracking: -0.02em;
  --head-line: 1.08;
  --head-case: none;
  --body-size: 1.0625rem;
}

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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  line-height: var(--head-line);
  letter-spacing: var(--head-tracking);
  text-transform: var(--head-case);
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
:where(ul, ol) { padding-left: 1.2em; }
/* :where() keeps this reset weak, so a design's own list spacing always wins. */
:where(ul[role='list'], ol.steps) { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 0.7rem 1rem; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0.8em 1.45em;
  border: 2px solid transparent; border-radius: var(--btn-radius);
  font: 600 1rem/1.15 var(--font-body);
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform 0.15s ease; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn-ghost:hover { background: rgb(128 128 128 / 0.14); }
.btn-ghost .icon, .btn-call .icon { transform: none !important; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4em;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.text-link .icon { width: 1.05em; height: 1.05em; transition: transform 0.15s ease; }
.text-link:hover .icon { transform: translateX(3px); }

.phone-link {
  display: inline-flex; align-items: center; gap: 0.55em;
  min-height: 44px;
  font-weight: 600; text-decoration: none;
}
.phone-link .icon { width: 1.2em; height: 1.2em; }
.phone-link:hover .phone-number { text-decoration: underline; text-underline-offset: 4px; }
.phone-link-strong { font-family: var(--font-head); font-size: 1.2rem; }
.phone-link-big { font-family: var(--font-head); font-size: 1.6rem; margin-bottom: 1.25rem; }
.phone-link-big .icon { color: var(--accent-ink); }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-ink);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; }

/* ---------- Demo strip ---------- */

.demo-strip { background: var(--demo-bg, #0d1117); color: var(--demo-text, #c9d1d9); font-size: 0.82rem; line-height: 1.4; }
.demo-strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 1.5rem; padding-block: 0.55rem; }
.demo-strip p { margin: 0; }
.demo-strip a { color: var(--demo-link, #ffffff); font-weight: 600; text-underline-offset: 3px; }
.demo-strip { --focus: var(--demo-link, #ffffff); }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg, var(--bg));
  color: var(--header-text, var(--text));
  border-bottom: 1px solid var(--header-line, var(--line));
}
.header-inner { position: relative; display: flex; align-items: center; gap: 1.25rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-right: auto; color: inherit; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.35rem; letter-spacing: var(--head-tracking); }
.brand-sub { margin-top: 0.32rem; color: var(--header-muted, var(--muted)); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; }

.nav-desktop ul { display: flex; gap: 0.15rem; }
.nav-desktop a {
  display: block; padding: 0.6rem 0.75rem; border-radius: var(--radius-sm);
  font-size: 0.96rem; font-weight: 600; text-decoration: none;
}
.nav-desktop a:hover { background: var(--nav-hover, rgb(128 128 128 / 0.12)); }
.nav-desktop a[aria-current='page'] { color: var(--nav-current, var(--accent-ink)); }

.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-phone { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.header-phone small { color: var(--header-muted, var(--muted)); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.header-phone strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: var(--head-weight); }
.header-phone:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.header-cta { min-height: 48px; }

.nav-mobile { display: none; }
.nav-mobile summary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 46px; padding: 0.5rem 0.95rem;
  border: 2px solid currentColor; border-radius: var(--btn-radius);
  font-weight: 600; cursor: pointer; list-style: none;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile .icon { width: 1.3em; height: 1.3em; }
.nav-mobile .icon-close, .nav-mobile[open] .icon-open { display: none; }
.nav-mobile[open] .icon-close { display: block; }
.nav-mobile-panel {
  position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%;
  max-height: calc(100vh - 80px); overflow-y: auto;
  padding: 0.25rem var(--gutter) 1.5rem;
  background: var(--bg); color: var(--text);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -20px rgb(0 0 0 / 0.35);
}
.nav-mobile-panel a:not(.btn):not(.phone-link) {
  display: block; padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.25rem; text-decoration: none;
}
.nav-mobile-panel a[aria-current='page'] { color: var(--accent-ink); }
.nav-mobile-actions { display: grid; gap: 1rem; justify-items: center; margin-top: 1.25rem; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section-space); }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; max-width: none; }
.section-head-row > div { max-width: 46rem; }
.section-head h2 { margin-bottom: 0.45em; font-size: clamp(2rem, 3.8vw, 2.9rem); }
.section-head .section-text { margin: 0; color: var(--muted); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split-intro .section-head { margin-bottom: 1.5rem; }

/* ---------- Service cards ---------- */

.service-cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.service-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-card-icon {
  display: grid; place-items: center; aspect-ratio: 16 / 10;
  background: var(--icon-tile-bg, var(--surface-alt)); color: var(--icon-tile-ink, var(--accent-ink));
}
.service-card-icon .icon { width: 60px; height: 60px; stroke-width: 1.4; }
.service-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.35rem 1.5rem 1.5rem; }
.service-card h2, .service-card h3 { margin-bottom: 0.4rem; font-size: 1.3rem; }
.service-card .stretched { text-decoration: none; }
.service-card .stretched::after { content: ''; position: absolute; inset: 0; }
.service-card .stretched:focus-visible { outline: none; }
.service-card p { margin-bottom: 1rem; color: var(--muted); font-size: 0.98rem; }
.more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; color: var(--accent-ink); font-size: 0.95rem; font-weight: 600; }
.more .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s ease; }
.service-card:hover .more .icon { transform: translateX(4px); }

/* ---------- Trust points ---------- */

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.trust li { display: flex; gap: 0.9rem; align-items: flex-start; }
.trust .icon { width: 2.5rem; height: 2.5rem; padding: 0.5rem; border-radius: var(--radius-sm); background: var(--accent); color: var(--on-accent); }
.trust strong { display: block; margin-bottom: 0.2rem; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.04rem; line-height: 1.2; }
.trust span { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.values + .trust { margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- Process ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
.step { position: relative; }
.step-num {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; margin-bottom: 1.1rem;
  border-radius: var(--radius); background: var(--accent); color: var(--on-accent);
  font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.3rem;
}
.step h3 { font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- Projects ---------- */

.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.project { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.project-media { aspect-ratio: 3 / 2; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-body { display: flex; flex: 1; flex-direction: column; padding: 1.35rem 1.5rem 1.5rem; }
.project-place {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-bottom: 0.6rem;
  color: var(--accent-ink); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.project-place .icon { width: 1.1em; height: 1.1em; }
.project h3 { font-size: 1.28rem; }
.project p { color: var(--muted); font-size: 0.98rem; }
.project-details {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0.75rem;
  margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--line);
}
.project-details dt { color: var(--muted); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.project-details dd { margin: 0; font-size: 0.96rem; font-weight: 600; }

/* ---------- Areas ---------- */

.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 185px), 1fr)); gap: 0.6rem; }
.areas li {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600;
}
.areas .icon { width: 1.15em; height: 1.15em; color: var(--accent-ink); }
.areas-missing { display: flex; align-items: center; gap: 0.6rem; margin: 2rem 0 0; font-size: 1.05rem; }
.areas-missing .icon { width: 1.3em; height: 1.3em; color: var(--accent-ink); }
.areas-missing a { font-weight: 600; }

/* ---------- Questions ---------- */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.2rem 0;
  font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.1rem; line-height: 1.3;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-ink); }
.faq-icon {
  width: 2rem; height: 2rem; padding: 0.42rem;
  border-radius: 50%; background: var(--surface-alt); color: var(--text);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); }
.faq-answer { max-width: 44rem; padding: 0 3rem 1.3rem 0; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--text); font-weight: 600; }
.faq-page { display: grid; gap: 3rem; max-width: 860px; }
.faq-group h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.faq-group h2 a { text-decoration: none; }
.faq-group h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }

/* ---------- Call to action band ---------- */

.cta-band { padding-block: clamp(2.75rem, 6vw, 4.25rem); background: var(--dark); color: var(--on-dark); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-copy { max-width: 40rem; }
.cta-band h2 { margin-bottom: 0.35rem; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.cta-band p { margin: 0; font-size: 1.07rem; opacity: 0.88; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cta-phone { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.35rem; }
.cta-phone .phone-label { display: none; }

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4.25rem) clamp(3rem, 7vw, 5rem);
  background: var(--hero-bg, var(--dark)); color: var(--hero-text, var(--on-dark));
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-photo::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--hero-overlay, linear-gradient(90deg, rgb(0 0 0 / 0.86) 0%, rgb(0 0 0 / 0.7) 55%, rgb(0 0 0 / 0.45) 100%));
}
.page-hero-copy { max-width: 46rem; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.page-hero .eyebrow { color: var(--hero-eyebrow, var(--accent)); }
.page-hero .lead { margin-bottom: 0; color: var(--hero-muted, var(--on-dark-muted)); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.page-hero .actions { margin-top: 1.8rem; }
.page-hero .phone-link { color: inherit; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1.4rem; padding: 0; list-style: none; color: var(--hero-muted, var(--on-dark-muted)); font-size: 0.88rem; }
.crumbs li + li::before { content: '/'; margin-right: 0.35rem; opacity: 0.6; }
.crumbs a { color: inherit; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--hero-text, var(--on-dark)); }

/* ---------- Service page ---------- */

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.55rem, 2.6vw, 2rem); }
.prose .intro { color: var(--text); font-size: 1.22rem; line-height: 1.55; }
.prose a { font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose .faq { margin-top: 0.5rem; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1.6rem; margin-bottom: 0.5rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.7rem; line-height: 1.45; }
.checklist .icon { width: 1.45rem; height: 1.45rem; margin-top: 0.05rem; padding: 0.24rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); stroke-width: 3; }

.service-aside { display: grid; gap: 1.25rem; }
.aside-card { padding: 1.5rem; background: var(--surface-alt); border-radius: var(--radius-lg); }
.form-card { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.aside-title { margin-bottom: 0.4rem; font-size: 1.35rem; }
.aside-lead { color: var(--muted); font-size: 0.95rem; }
.aside-subtitle { margin: 0 0 0.5rem; font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.aside-note { display: flex; gap: 0.5rem; margin: 1rem 0 0; color: var(--muted); font-size: 0.94rem; }
.aside-note .icon { margin-top: 0.15rem; color: var(--accent-ink); }
.hours { display: grid; gap: 0.3rem; margin: 0; font-size: 0.95rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; text-align: right; }
.other-services ul { display: grid; }
.other-services a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--line);
  font-weight: 600; text-decoration: none;
}
.other-services li:last-child a { border-bottom: 0; }
.other-services a .icon:first-child { color: var(--accent-ink); }
.other-services .arrow { margin-left: auto; width: 1.05em; height: 1.05em; transition: transform 0.15s ease; }
.other-services a:hover .arrow { transform: translateX(3px); }
.other-services a:hover span { text-decoration: underline; text-underline-offset: 3px; }

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

.quote-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.quote-form.compact { gap: 0.85rem; }
.quote-form .field-wide, .quote-form .btn, .quote-form .form-privacy, .quote-form .form-demo-note { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 0.35rem; font-size: 0.92rem; font-weight: 600; }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--field); border-radius: var(--field-radius);
  background: var(--field-bg, #ffffff); color: var(--text);
  font: inherit; font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333a42' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 1.1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--ring); }
.form-demo-note {
  display: flex; align-items: flex-start; gap: 0.5rem; margin: 0;
  padding: 0.6rem 0.8rem; border: 1px dashed var(--note-line, #c9a227); border-radius: var(--radius-sm);
  background: var(--note-bg, #fff8e1); color: var(--note-text, #5b4200); font-size: 0.85rem; line-height: 1.4;
}
.form-demo-note .icon { width: 1.15em; height: 1.15em; margin-top: 0.05rem; }
.form-privacy { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
.form-privacy a { color: var(--text); }

/* ---------- About and contact ---------- */

.about-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-figure { margin: 0; }
.about-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.value { padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.value h3 { font-size: 1.22rem; }
.value p { margin: 0; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-form-card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius-lg); scroll-margin-top: 100px; }
.contact-form-card h2 { font-size: 1.8rem; }
.contact-aside { display: grid; gap: 1.25rem; }
.next-steps { display: grid; gap: 0.8rem; margin: 0.75rem 0 0; padding: 0; list-style: none; counter-reset: next; }
.next-steps li { position: relative; padding-left: 2.4rem; counter-increment: next; line-height: 1.45; }
.next-steps li::before {
  content: counter(next); position: absolute; left: 0; top: -0.05rem;
  display: grid; place-items: center; width: 1.7rem; height: 1.7rem;
  border-radius: 50%; background: var(--accent); color: var(--on-accent);
  font-size: 0.85rem; font-weight: 700;
}

/* ---------- Simple pages: thanks, 404, privacy ---------- */

.simple-page { padding-block: clamp(4rem, 10vw, 7.5rem); }
.simple-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.simple-page .lead { color: var(--muted); font-size: 1.15rem; }
.simple-page .actions { margin-top: 2rem; }
.simple-icon { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin-bottom: 1.5rem; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); }
.simple-icon .icon { width: 2rem; height: 2rem; stroke-width: 2.6; }
.simple-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }
.simple-links a { font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.privacy h2 { font-size: 1.5rem; }
.note { padding: 1rem 1.2rem; border-left: 4px solid var(--accent); border-radius: var(--radius-sm); background: var(--surface-alt); }

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

.site-footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--footer-bg, var(--dark)); color: var(--footer-muted, var(--on-dark-muted));
  font-size: 0.97rem;
  --focus: var(--footer-text, #ffffff);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer .brand { margin-bottom: 1.2rem; color: var(--footer-text, #ffffff); }
.site-footer .brand-sub { color: var(--footer-muted, var(--on-dark-muted)); }
.site-footer h2 {
  margin-bottom: 1rem; color: var(--footer-text, #ffffff);
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; line-height: 1.3; text-transform: uppercase;
}
.site-footer ul { display: grid; gap: 0.55rem; }
.site-footer a { color: var(--footer-text, #ffffff); text-decoration: none; }
.site-footer a:hover { color: var(--footer-hover, var(--accent)); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand p { max-width: 24rem; }
.footer-phone { margin: 0.25rem 0 1rem; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.45rem; }
.footer-phone .icon { color: var(--footer-hover, var(--accent)); }
.site-footer .hours { max-width: 18rem; font-size: 0.9rem; }
.site-footer .hours dt { color: var(--footer-muted, var(--on-dark-muted)); }
.site-footer .hours dd { color: var(--footer-text, #ffffff); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  padding-block: 1.4rem; border-top: 1px solid var(--footer-line, rgb(255 255 255 / 0.12)); font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--footer-hover, var(--accent)); }

/* ---------- Mobile call bar ---------- */

.mobile-bar { display: none; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Smaller screens ---------- */

@media (max-width: 1140px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .header-inner { gap: 0.9rem; }
}

@media (max-width: 960px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .about-layout, .service-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.25rem; }
  .projects { grid-template-columns: minmax(0, 1fr); }
  .project { flex-direction: row; }
  .project-media { flex: 0 0 42%; aspect-ratio: auto; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .header-actions { display: none; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.15rem; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 0.6rem;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--bar-bg, var(--dark));
    box-shadow: 0 -10px 30px rgb(0 0 0 / 0.22);
    --focus: var(--bar-focus, #ffffff);
  }
  .mobile-bar .btn { min-height: 50px; padding: 0.6em 0.8em; }
  .btn-call { border-color: var(--bar-call-line, rgb(255 255 255 / 0.55)); color: var(--bar-call-text, #ffffff); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .demo-strip .wrap { padding-block: 0.45rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .quote-form { grid-template-columns: minmax(0, 1fr); }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .service-cards-grid { grid-template-columns: minmax(0, 1fr); }
  .steps, .checklist, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .project { flex-direction: column; }
  .project-media { aspect-ratio: 3 / 2; }
  .faq-answer { padding-right: 0; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .page-hero .actions .btn { flex: 1 1 100%; }
}

/* Design 3, "bright" (Skyvale): bright blue and white, rounded shapes, soft shadows.
   Loaded after designs/shared/base.css. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #1f5eff;
  --blue-hover: #1749d6;
  --blue-ink: #1747d1;
  --blue-soft: #5d8dff;
  --navy: #0b1f4b;
  --sky: #eaf1ff;
  --sky-2: #d6e3ff;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f3f7ff;
  --text: #0e1b36;
  --muted: #4b5876;
  --line: #dde5f3;
  --field: #a3b0c7;
  --accent: var(--blue);
  --accent-hover: var(--blue-hover);
  --on-accent: #ffffff;
  --accent-ink: var(--blue-ink);
  --dark: var(--navy);
  --on-dark: #ffffff;
  --on-dark-muted: #b9c8ea;
  --focus: var(--blue-ink);
  --ring: rgb(31 94 255 / 0.28);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --btn-radius: 999px;
  --field-radius: 12px;
  --shadow: 0 24px 60px -30px rgb(16 42 110 / 0.4);
  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --head-weight: 800;
  --head-tracking: -0.03em;
  --head-line: 1.06;
  --demo-bg: #081634;
  --demo-text: #b9c8ea;
  --demo-link: #a9c7ff;
  --header-bg: rgb(255 255 255 / 0.94);
  --nav-hover: var(--sky);
  --icon-tile-bg: var(--sky);
  --icon-tile-ink: var(--blue);
  --note-bg: #f0f5ff;
  --note-line: #8fb0f5;
  --note-text: #173a86;
  --footer-bg: var(--navy);
  --footer-hover: #a9c7ff;
  --bar-bg: rgb(11 31 75 / 0.97);
}

h1, h2, h3 { color: var(--navy); }

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

.site-header { backdrop-filter: saturate(1.4) blur(10px); }
.mark-bg { fill: var(--blue); }
.mark-sun { fill: #a9c7ff; }
.mark-line { stroke: #ffffff; }
.brand { color: var(--navy); }
.brand-name { font-size: 1.42rem; }
.brand-sub { color: var(--blue-ink); }
.nav-desktop a { padding: 0.55rem 0.95rem; border-radius: 999px; color: var(--navy); }
.nav-desktop a[aria-current='page'] { background: var(--sky); color: var(--blue-ink); }
.header-phone { color: var(--navy); }
.nav-mobile summary { border-color: var(--line); color: var(--navy); }
.nav-mobile[open] summary { border-color: var(--navy); background: var(--navy); color: #ffffff; }
.site-footer .mark-sun { fill: #a9c7ff; }

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

.btn-primary { box-shadow: 0 12px 24px -12px rgb(31 94 255 / 0.75); }
.btn-outline { border-color: var(--line); background: #ffffff; color: var(--navy); }
.btn-outline:hover { border-color: var(--blue); }
.btn-outline .icon { color: var(--blue); transform: none !important; }
.btn-white { align-self: flex-start; background: #ffffff; color: var(--navy); }
.btn-white:hover { background: var(--sky); }

/* ---------- Home: hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(58rem 30rem at 88% -12%, rgb(31 94 255 / 0.17), transparent 62%),
    radial-gradient(40rem 26rem at -12% 112%, rgb(31 94 255 / 0.1), transparent 60%),
    linear-gradient(180deg, #f6f9ff 0%, #e8f0ff 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(7rem, 11vw, 9rem);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.65rem;
  margin: 0 0 1.4rem; padding: 0.45rem 1rem 0.45rem 0.65rem;
  border-radius: 999px; background: #ffffff;
  box-shadow: 0 8px 24px -12px rgb(16 42 110 / 0.35);
  color: var(--navy); font-size: 0.88rem; font-weight: 700;
}
.hero-badge-dot { width: 0.7rem; height: 0.7rem; flex: none; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--sky-2); }
.hero h1 { margin-bottom: 1.2rem; font-size: clamp(2.6rem, 5.6vw, 4.5rem); }
.hero .lead { max-width: 34em; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 1.8rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; color: var(--navy); font-size: 0.95rem; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 0.45rem; }
.hero-points .icon { width: 1.3em; height: 1.3em; padding: 3px; border-radius: 50%; background: var(--blue); color: #ffffff; stroke-width: 3; }

.hero-visual { position: relative; }
.hero-visual::before {
  content: ''; position: absolute; inset: 9% -5% -7% 12%;
  border-radius: 40px; background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  transform: rotate(4deg);
}
.hero-photo { position: relative; overflow: hidden; border: 6px solid #ffffff; border-radius: 34px; box-shadow: 0 40px 80px -40px rgb(11 31 75 / 0.6); }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; }
.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 0.8rem;
  max-width: 17.5rem; margin: 0; padding: 0.85rem 1.1rem 0.85rem 0.85rem;
  border-radius: 18px; background: #ffffff;
  box-shadow: 0 22px 44px -20px rgb(11 31 75 / 0.45);
}
.float-card .icon { width: 2.6rem; height: 2.6rem; padding: 0.55rem; border-radius: 13px; background: var(--sky); color: var(--blue); }
.float-card p { margin: 0; line-height: 1.3; }
.float-card strong { display: block; color: var(--navy); font-size: 0.96rem; }
.float-card span { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.8rem; }
.float-a { left: -2.5rem; bottom: 11%; }
.float-b { right: -1.75rem; top: 9%; }

/* ---------- Quick quote bar ---------- */

.quick { position: relative; z-index: 3; margin-top: clamp(-5rem, -7vw, -3.5rem); }
.quick-card {
  display: grid; grid-template-columns: minmax(200px, 0.75fr) minmax(0, 2.7fr); gap: 1.25rem 2rem; align-items: center;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #ffffff;
  box-shadow: 0 34px 70px -36px rgb(11 31 75 / 0.5);
}
.quick-intro h2 { margin-bottom: 0.3rem; font-size: 1.45rem; }
.quick-intro p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.quick .quote-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.75fr) minmax(0, 1.25fr) auto; align-items: end; }
.quick .field label { white-space: nowrap; }
.quick .quote-form .field-wide, .quick .quote-form .btn { grid-column: auto; }
.quick .quote-form .btn { min-height: 50px; }

/* ---------- Service tiles ---------- */

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tile {
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tile:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.tile:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.tile-icon {
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; margin-bottom: 1.25rem;
  border-radius: 16px; background: var(--sky); color: var(--blue);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tile:hover .tile-icon { background: var(--blue); color: #ffffff; }
.tile-icon .icon { width: 1.8rem; height: 1.8rem; }
.tile h3 { margin-bottom: 0.45rem; font-size: 1.3rem; }
.tile .stretched { text-decoration: none; }
.tile .stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.tile .stretched:focus-visible { outline: none; }
.tile p { color: var(--muted); font-size: 0.98rem; }
.tile .more { margin-top: auto; }
.tile-cta {
  justify-content: center; border: 0; color: #ffffff;
  background: radial-gradient(circle at 100% 0%, rgb(93 141 255 / 0.85), transparent 58%), var(--navy);
  --focus: #ffffff;
}
.tile-cta:hover { transform: none; box-shadow: none; }
.tile-cta h3 { color: #ffffff; }
.tile-cta p { color: var(--on-dark-muted); }

/* ---------- Why us ---------- */

.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.why-media { position: relative; padding-bottom: 3rem; }
.why-photo { overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo-a { width: 80%; aspect-ratio: 4 / 4.6; }
.why-photo-b { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1; border: 6px solid #ffffff; }
.why-badge {
  position: absolute; left: -1rem; top: 2rem; z-index: 2;
  display: flex; align-items: center; gap: 0.75rem;
  max-width: 15.5rem; margin: 0; padding: 0.9rem 1.1rem;
  border-radius: 18px; background: var(--blue); color: #ffffff;
  box-shadow: 0 22px 44px -22px rgb(31 94 255 / 0.85);
  font-size: 0.84rem; line-height: 1.35;
}
.why-badge .icon { width: 2.1rem; height: 2.1rem; }
.why-badge strong { display: block; font-size: 0.96rem; }
.why-copy h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
.why-text { color: var(--muted); font-size: 1.1rem; }
.why .why-list { display: grid; gap: 0.85rem; margin: 1.6rem 0 2.2rem; }
.why-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 600; line-height: 1.45; }
.why-list .icon { width: 1.55rem; height: 1.55rem; padding: 0.26rem; border-radius: 50%; background: var(--sky); color: var(--blue); stroke-width: 3; }

/* ---------- Process ---------- */

.steps { counter-reset: none; }
.step { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #ffffff; }
.step-num { width: 2.8rem; height: 2.8rem; border-radius: 50%; box-shadow: 0 0 0 6px var(--sky); font-size: 1.1rem; }

/* ---------- Projects ---------- */

.project-place { align-self: flex-start; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--sky); letter-spacing: 0.06em; }

/* ---------- Questions and areas ---------- */

.duo { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq { display: grid; gap: 0.75rem; border: 0; }
.faq-item { padding: 0 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #ffffff; }
.faq-item summary { font-weight: 700; }
.faq-icon { background: var(--sky); color: var(--blue); }
.faq-answer { padding-right: 1rem; }
.duo-faq .text-link { margin-top: 1rem; }
.duo-areas { padding: clamp(1.5rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #ffffff; }
.duo-areas h2 { font-size: 1.6rem; }
.duo-areas > p { color: var(--muted); }
.duo-areas .areas { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 1rem; }
.duo-areas .areas li { padding: 0.45rem 0.85rem; border: 0; border-radius: 999px; background: var(--sky); color: var(--navy); font-size: 0.92rem; }
.areas-page .areas li { border-radius: 999px; }

/* ---------- Call to action ---------- */

.cta-band { padding-block: clamp(3rem, 7vw, 5rem); background: transparent; color: #ffffff; --focus: #ffffff; }
.cta-band .cta-inner {
  position: relative; overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 8%, rgb(255 255 255 / 0.2), transparent 38%),
    linear-gradient(120deg, var(--blue) 0%, #2f74ff 55%, #4f8bff 100%);
  box-shadow: 0 40px 80px -40px rgb(31 94 255 / 0.75);
}
.cta-band h2 { color: #ffffff; }
.cta-band .cta-copy { max-width: 34rem; }
.cta-band .btn-primary { background: #ffffff; color: var(--navy); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--sky); }
.cta-band .cta-phone { color: #ffffff; }

/* ---------- Inner pages ---------- */

.page-hero {
  --hero-bg: linear-gradient(180deg, #f6f9ff 0%, #e6efff 100%);
  --hero-text: var(--navy);
  --hero-muted: var(--muted);
  --hero-eyebrow: var(--blue-ink);
  --focus: var(--blue-ink);
}
.page-hero.has-photo::before { display: none; }
.crumbs a:hover { color: var(--blue-ink); }
.page-hero .phone-link .icon { color: var(--blue); }
.about-figure img { border-radius: 28px; box-shadow: var(--shadow); }
.value { border-top: 4px solid var(--blue); }
.form-card, .contact-form-card { border-radius: var(--radius-lg); }
.aside-card:not(.form-card) { background: var(--surface-alt); }
.checklist .icon { background: var(--sky); color: var(--blue); }
.simple-icon { border-radius: 50%; }

@media (min-width: 961px) {
  .page-hero.has-photo .page-hero-media {
    inset: 1.75rem max(var(--gutter), calc((100% - var(--wrap)) / 2)) 1.75rem auto;
    z-index: 0; width: min(40%, 500px);
    overflow: hidden; border: 6px solid #ffffff; border-radius: 30px; box-shadow: var(--shadow);
  }
  .page-hero.has-photo .page-hero-copy { max-width: min(54%, 40rem); }
  .page-hero.has-photo { min-height: 26rem; display: flex; align-items: center; }
  .page-hero.has-photo .page-hero-inner { width: min(100% - 2 * var(--gutter), var(--wrap)); }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.24s; }
  .hero-visual { animation: rise 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .float-a { animation: bob 6s 1s ease-in-out infinite; }
  .float-b { animation: bob 6s 2.5s ease-in-out infinite; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Smaller screens ---------- */

@media (max-width: 1140px) {
  .quick-card { grid-template-columns: minmax(0, 1fr); }
  .float-a { left: -1rem; }
  .float-b { right: -0.75rem; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-bottom: 7.5rem; }
  .hero-visual { max-width: 560px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid, .duo { grid-template-columns: minmax(0, 1fr); }
  .why-media { max-width: 560px; }
  .page-hero.has-photo .page-hero-media {
    position: relative; inset: auto; z-index: 0;
    height: 230px; margin: 0 var(--gutter) 1.75rem;
    overflow: hidden; border-radius: 24px;
  }
}

@media (max-width: 860px) {
  .quick .quote-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick .quote-form .btn { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .tiles, .quick .quote-form { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual::before { inset: 7% -3% -4% 8%; }
  .float-card { position: relative; inset: auto; max-width: none; margin-top: 1rem; animation: none; }
  .float-b { display: none; }
  .why-badge { left: 0.5rem; top: 1rem; }
  .faq-item { padding: 0 1rem; }
}
