/* Edify Service: the layout. The colours come from /edify-theme.css (the --e-* tokens of Aery, Sepia and
   Blue Marine), so the style switcher repaints the whole site; before the theme script runs, Sepia's values
   below are the fallback. */

:root {
  --e-bg: #f4ecdb; --e-surface: #fbf6ea; --e-surface-2: #ece2cc;
  --e-text: #3a2e21; --e-muted: #7a6850; --e-border: rgba(58, 46, 33, .14);
  --e-accent: #8b5a2b; --e-accent-hover: #6f4520; --e-accent-soft: #efe1c4; --e-accent-text: #fbf6ea;
  --gold: #b8955a;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(40, 28, 15, .06), 0 10px 30px -12px rgba(40, 28, 15, .18);
  --shadow-lg: 0 30px 60px -25px rgba(40, 28, 15, .35);
  --head-h: 76px;
  /* the inverted band (dark on the light themes, light on Blue Marine) */
  --band-bg: color-mix(in srgb, var(--e-text) 94%, var(--e-accent));
  --band-text: var(--e-bg);
  --band-muted: color-mix(in srgb, var(--e-bg) 72%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 17px/1.65 var(--sans);
  background: var(--e-bg); color: var(--e-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--e-accent); text-underline-offset: 3px; }
a:hover { color: var(--e-accent-hover); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stars .ic { fill: currentColor; stroke: none; }
.muted { color: var(--e-muted); }
.center { text-align: center; }
.center.hero-actions, .hero-actions.center { justify-content: center; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--e-accent) 60%, transparent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--e-text); color: var(--e-bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--e-accent);
  background: var(--e-accent); color: var(--e-accent-text);
  font: 600 15.5px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--e-accent-hover); border-color: var(--e-accent-hover); color: var(--e-accent-text); transform: translateY(-1px); box-shadow: 0 10px 22px -12px var(--e-accent); }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn-ghost { background: transparent; color: var(--e-accent); }
.btn-ghost:hover { background: var(--e-accent-soft); color: var(--e-accent-hover); }
.btn-light { background: var(--band-text); border-color: var(--band-text); color: var(--band-bg); }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: #1d160e; }
.btn-outline-light { background: transparent; border-color: color-mix(in srgb, var(--band-text) 45%, transparent); color: var(--band-text); }
.btn-outline-light:hover { background: color-mix(in srgb, var(--band-text) 12%, transparent); border-color: var(--band-text); color: var(--band-text); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--e-accent); text-decoration: none; }
.link-arrow .ic { transition: transform .2s; }
a:hover > .link-arrow .ic, .link-arrow:hover .ic { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font: 600 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--e-accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); }
.eyebrow .ic { width: 15px; height: 15px; }
.center .eyebrow, .eyebrow.center { justify-content: center; }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--e-bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-head.scrolled { border-bottom-color: var(--e-border); box-shadow: 0 8px 30px -20px rgba(40, 28, 15, .4); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--e-text); flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #17120c; padding: 2px; }
.brand-text { font: 600 20px/1.05 var(--serif); letter-spacing: .01em; }
.brand-text b { font-weight: 700; }
.brand-text small { display: block; font: 500 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--e-muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 11px; border-radius: 8px;
  color: var(--e-text); text-decoration: none; font-size: 15px; font-weight: 500; opacity: .82; white-space: nowrap;
}
.nav a:hover { opacity: 1; background: var(--e-accent-soft); }
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); }
.nav-cta-mobile { display: none; }
.head-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.head-actions .btn { white-space: nowrap; }
.head-phone { display: none; align-items: center; gap: 8px; color: var(--e-text); text-decoration: none; font-weight: 600; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--e-border); border-radius: 12px; background: var(--e-surface); color: var(--e-text); cursor: pointer; place-items: center; }
.menu-btn .ic { width: 22px; height: 22px; }
.menu-btn .ic + .ic, .menu-open .menu-btn .ic:first-child { display: none; }
.menu-open .menu-btn .ic + .ic { display: block; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; font-size: 13.5px; color: var(--e-muted); }
.crumbs a { color: var(--e-muted); text-decoration: none; }
.crumbs a:hover { color: var(--e-accent); }

/* ── Hero (home) ─────────────────────────────────────────────────────── */
.hero { padding: 40px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--e-accent); display: block; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--e-muted); max-width: 40em; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 22px 0 30px; font-weight: 600; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--e-accent); color: var(--e-accent-text); stroke-width: 2.6; }
.ticks-col { flex-direction: column; margin: 18px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-mosaic { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(420px, 44vw, 600px); }
.hero-mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.m-big { grid-row: 1 / 3; }
.hero-badge {
  position: absolute; left: -28px; bottom: 34px; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px; background: var(--e-surface); box-shadow: var(--shadow-lg);
  border: 1px solid var(--e-border); animation: float 6s ease-in-out infinite;
}
.hero-badge .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--e-accent-soft); color: var(--e-accent); }
.hero-badge strong { display: block; font-size: 15.5px; }
.hero-badge span { font-size: 13.5px; color: var(--e-muted); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ── Trust strip ─────────────────────────────────────────────────────── */
.trust { border-top: 1px solid var(--e-border); border-bottom: 1px solid var(--e-border); background: var(--e-surface); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-row > div { display: flex; align-items: center; gap: 14px; padding: 24px 18px; }
.trust-row > div + div { border-left: 1px solid var(--e-border); }
.trust .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--e-accent-soft); color: var(--e-accent); }
.trust span { font-size: 14px; color: var(--e-muted); line-height: 1.4; }
.trust strong { display: block; font-size: 15.5px; color: var(--e-text); }

/* ── Sections ────────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-tight { padding: 40px 0 96px; }
.section-alt { background: var(--e-surface); border-top: 1px solid var(--e-border); border-bottom: 1px solid var(--e-border); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: .3em; }
.section-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head.row h2 { margin: 0; }
.section-lead { color: var(--e-muted); font-size: 1.1rem; }

.section-dark { background: var(--band-bg); color: var(--band-text); }
.section-dark .eyebrow { color: var(--gold); }
.section-dark p { color: var(--band-muted); }
.section-dark .ticks .ic { background: var(--gold); color: #1d160e; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; max-height: 640px; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.prose p { color: var(--e-muted); }
.prose h1 + p, .prose h2 + p { margin-top: .4em; }
.prose h2 { margin-top: 1.4em; }
.prose h1 + h2, .prose > h2:first-child, .split .prose h2 { margin-top: 0; }
.section-dark .prose p { color: var(--band-muted); }

/* ── Services ────────────────────────────────────────────────────────── */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--e-surface); border: 1px solid var(--e-border); box-shadow: var(--shadow);
  color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.service-photo { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service-photo img { transform: scale(1.06); }
.service-icon { position: absolute; left: 16px; bottom: -22px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--e-accent); color: var(--e-accent-text); box-shadow: var(--shadow); }
.service-icon .ic { width: 24px; height: 24px; }
.service-body { padding: 36px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-body p { color: var(--e-muted); font-size: 15.5px; flex: 1; }

/* ── Steps ───────────────────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--e-surface); border: 1px solid var(--e-border); }
.section-alt .steps li { background: var(--e-bg); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -21px; width: 22px; height: 1.5px; background: var(--gold); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--e-accent); font: 600 18px var(--serif); }
.steps p { color: var(--e-muted); font-size: 15.5px; margin: 0; }

/* ── Gallery and lightbox ────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.g-item { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--e-surface-2); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(20, 14, 8, .45)); opacity: 0; transition: opacity .3s; }
.g-item:hover img { transform: scale(1.05); }
.g-item:hover::after { opacity: 1; }
.g-item[hidden] { display: none; }
.gallery-home { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
.gallery-home .g-item { aspect-ratio: auto; }
.gallery-home .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-home .g-item:nth-child(n+4) { grid-column: span 2; }
.gallery-masonry { display: block; columns: 3 300px; column-gap: 14px; }
.gallery-masonry .g-item { aspect-ratio: auto; margin-bottom: 14px; break-inside: avoid; }
.gallery-masonry .g-item img { height: auto; }
.gallery-four { grid-template-columns: repeat(4, 1fr); }
.gallery-four .g-item { aspect-ratio: 3 / 4; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--e-border); background: var(--e-surface); color: var(--e-text); font: 500 15px var(--sans); cursor: pointer; transition: background .2s, border-color .2s; }
.chip span { font-size: 12.5px; color: var(--e-muted); }
.chip:hover { border-color: var(--e-accent); }
.chip[aria-pressed="true"] { background: var(--e-text); border-color: var(--e-text); color: var(--e-bg); }
.chip[aria-pressed="true"] span { color: color-mix(in srgb, var(--e-bg) 70%, transparent); }

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; background: rgba(12, 9, 6, .92); padding: 24px 8px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 10px; object-fit: contain; }
.lightbox figcaption { color: #eadfca; font-size: 15px; text-align: center; }
.lightbox button { border: 0; background: rgba(255, 255, 255, .08); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; justify-self: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .18); }
.lb-close { position: absolute; top: 18px; right: 18px; }
.lb-close .ic { width: 24px; height: 24px; }

/* ── Reviews ─────────────────────────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review { margin: 0; padding: 34px; border-radius: var(--radius); background: var(--e-surface); border: 1px solid var(--e-border); box-shadow: var(--shadow); position: relative; }
.review::before { content: "“"; position: absolute; top: 4px; right: 26px; font: 120px/1 var(--serif); color: var(--e-accent-soft); }
.review blockquote { margin: 14px 0 18px; font: italic 1.18rem/1.55 var(--serif); position: relative; }
.review figcaption { font-size: 14px; color: var(--e-muted); font-weight: 600; }
.stars { display: inline-flex; gap: 3px; color: var(--e-border); }
.stars .on { color: var(--gold); }
.stars .ic { width: 20px; height: 20px; }
.review-wide { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 30px 0; }
.review-wide + .review-wide { border-top: 1px solid var(--e-border); }
.review-wide.flip .review-photo { order: 2; }
.review-wide .review-photo { aspect-ratio: 4 / 3; }
.review-wide blockquote { margin: 0 0 12px; font: italic 1.35rem/1.55 var(--serif); }
.review-wide h2 { margin-top: 12px; font-size: 1.6rem; }

/* ── Edify Group cards ───────────────────────────────────────────────── */
.group-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.group-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--e-bg); border: 1px solid var(--e-border); color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.group-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--e-accent); color: inherit; }
.group-card > img { height: 54px; width: auto; align-self: flex-start; border-radius: 8px; margin-bottom: 6px; }
.group-card p { color: var(--e-muted); font-size: 15.5px; flex: 1; margin: 0; }
.group-card h3 { margin: 0; }
.group-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--e-accent-soft); color: var(--e-accent); margin-bottom: 6px; }
.group-icon .ic { width: 26px; height: 26px; }

/* ── CTA band ────────────────────────────────────────────────────────── */
.cta-band { background: var(--band-bg); color: var(--band-text); padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.cta-band::after { content: ""; position: absolute; right: -40px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-row h2 { margin: 0 0 .3em; max-width: 18em; }
.cta-row p { margin: 0; color: var(--band-muted); max-width: 36em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Service and inner pages ─────────────────────────────────────────── */
.page-hero { padding: 36px 0 80px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.page-hero-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-plain { padding: 56px 0 24px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.page-hero .lead { margin-bottom: 28px; }
.page-hero-plain .lead { margin: 0 auto; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--e-surface); border: 1px solid var(--e-border); }
.feature-list .ic { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--e-accent); color: var(--e-accent-text); stroke-width: 2.6; margin-top: 2px; }
.feature-list strong { display: block; font-size: 16.5px; }
.feature-list span { color: var(--e-muted); font-size: 15px; }
.note { margin-top: 36px; padding: 22px 26px; border-radius: var(--radius-sm); background: var(--e-accent-soft); border-left: 4px solid var(--gold); }
.note p { margin: 0; }
.note p + p { margin-top: .6em; }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--e-bg); border: 1px solid var(--e-border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--e-accent-soft); color: var(--e-accent); font: 400 22px/1 var(--sans); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 24px 18px; color: var(--e-muted); }
.faq details > div p { margin: 0; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.values-3 { grid-template-columns: repeat(3, 1fr); }
.value { padding: 26px; border-radius: var(--radius); background: var(--e-surface); border: 1px solid var(--e-border); }
.value .ic { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--e-accent-soft); color: var(--e-accent); margin-bottom: 14px; }
.value p { color: var(--e-muted); margin: 0; font-size: 15.5px; }

.partner-card { display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: var(--radius); background: var(--e-bg); border: 1px solid var(--e-border); box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.partner-card img { border-radius: 10px; }
.partner-card p { color: var(--e-muted); margin: 0; }

/* ── Contacts ────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--e-surface); border: 1px solid var(--e-border); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: var(--e-accent); transform: translateX(4px); color: inherit; }
.contact-card .ic { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--e-accent-soft); color: var(--e-accent); }
.contact-card strong { display: block; }
.contact-card span { color: var(--e-muted); font-size: 15px; overflow-wrap: anywhere; }
.contact-cards .note { margin-top: 6px; }
.form-card { padding: 40px; border-radius: var(--radius); background: var(--e-surface); border: 1px solid var(--e-border); box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 1.9rem; }
.form-card form { display: grid; gap: 18px; margin-top: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--e-border);
  background: var(--e-bg); color: var(--e-text); font: 16px/1.4 var(--sans); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--e-accent); box-shadow: 0 0 0 4px var(--e-accent-soft); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--e-border); background: var(--e-bg); font-size: 14.5px; cursor: pointer; transition: all .2s; }
.choice input:checked + span { background: var(--e-accent); border-color: var(--e-accent); color: var(--e-accent-text); }
.choice input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--e-accent) 60%, transparent); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--e-muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--e-accent); flex: none; }
.form-card button { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: color-mix(in srgb, #c0392b 10%, var(--e-surface)); border: 1px solid color-mix(in srgb, #c0392b 35%, transparent); color: var(--e-text); }
.form-errors ul { margin: 0; padding-left: 18px; }
.form-done { text-align: center; padding: 20px 0; }
.form-done > .ic { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--e-accent); color: var(--e-accent-text); stroke-width: 2.6; margin: 0 auto 18px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-foot { background: color-mix(in srgb, var(--e-text) 97%, #000); color: color-mix(in srgb, var(--e-bg) 78%, transparent); padding: 72px 0 0; font-size: 15px; }
.site-foot a { color: color-mix(in srgb, var(--e-bg) 82%, transparent); text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.site-foot h3 { font: 600 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-brand .brand { color: var(--e-bg); margin-bottom: 16px; }
.foot-brand .brand img { width: 52px; height: 52px; }
.foot-brand .brand-text small { color: color-mix(in srgb, var(--e-bg) 60%, transparent); }
.foot-brand p { max-width: 30em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.nap { font-style: normal; display: grid; gap: 12px; align-content: start; }
.nap > a, .nap > span { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.nap .ic { margin-top: 4px; color: var(--gold); }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { padding: 6px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--e-bg) 22%, transparent); font-size: 13.5px; }
.social a:hover { border-color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding: 22px 24px 28px; border-top: 1px solid color-mix(in srgb, var(--e-bg) 14%, transparent); font-size: 13.5px; color: color-mix(in srgb, var(--e-bg) 55%, transparent); }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .ic { width: 30px; height: 30px; stroke-width: 1.9; }

/* The theme switcher strip (edify-theme.js) sits above the sticky header. */
.edify-strip { position: relative; z-index: 51; }

/* ── Reveal on scroll ────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (min-width: 1600px) { .head-phone { display: inline-flex; white-space: nowrap; } }

@media (max-width: 1280px) {
  .nav {
    position: fixed; inset: var(--nav-top, var(--head-h)) 0 auto 0; z-index: 49; display: none;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 22px;
    background: var(--e-bg); border-bottom: 1px solid var(--e-border); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--nav-top, var(--head-h))); overflow-y: auto;
  }
  .menu-open .nav { display: flex; }
  .nav a { padding: 13px 12px; font-size: 17px; }
  .nav a[aria-current="page"] { background: var(--e-accent-soft); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav-cta-mobile { display: block; margin-top: 10px; text-align: center; background: var(--e-accent); color: var(--e-accent-text) !important; border-radius: 999px !important; opacity: 1 !important; font-weight: 600; }
  .head-actions { margin-left: auto; }
  .menu-btn { display: grid; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero { padding: 24px 0 56px; }
  .hero-grid, .page-hero-grid, .split, .contact-grid, .review-wide { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-mosaic { height: 440px; }
  .hero-badge { left: 12px; bottom: 12px; }
  .review-wide.flip .review-photo { order: 0; }
  .split-photo { aspect-ratio: 16 / 11; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .trust-row > div:nth-child(3) { border-left: 0; }
  .trust-row > div:nth-child(n+3) { border-top: 1px solid var(--e-border); }
  .reviews, .group-cards, .values-3 { grid-template-columns: minmax(0, 1fr); }
  .gallery, .gallery-four { grid-template-columns: repeat(2, 1fr); }
  .gallery-home { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-home .g-item:nth-child(n+4) { grid-column: auto; }
}

@media (max-width: 640px) {
  :root { --head-h: 66px; }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .head-row { gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .brand-text { font-size: 18px; }
  .brand-text small { display: none; }
  .head-actions .btn { display: none; }
  .hero-mosaic { height: 360px; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .services, .steps, .values, .trust-row, .field-row, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-row > div { border-left: 0 !important; }
  .trust-row > div + div { border-top: 1px solid var(--e-border); }
  .gallery-home { grid-auto-rows: 150px; }
  .gallery-masonry { columns: 2 140px; column-gap: 10px; }
  .gallery-masonry .g-item { margin-bottom: 10px; }
  .form-card { padding: 26px 20px; }
  .form-card button { justify-self: stretch; }
  .cta-actions .btn { flex: 1; }
  .lightbox { grid-template-columns: 44px minmax(0, 1fr) 44px; padding: 16px 0; }
  .lightbox button { width: 40px; height: 40px; font-size: 24px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
