/* ==========================================================
   Touch Clean — Limpeza Profissional
   Editorial, quiet-luxury design: ivory and stone, deep ink-navy,
   Montserrat display type, navy + green from the owner's logo.
   ========================================================== */
:root {
  --ink: #0b2d5e;        /* deep logo navy: headings, buttons, dark sections */
  --ink-2: #123a72;
  --navy: #164487;       /* lighter navy: button hover fill */
  --paper: #ffffff;      /* page background */
  --ivory: #f3f7fb;      /* cool off-white: panels, light text on navy */
  --stone: #eaf1f7;      /* alternate section background (light blue-grey) */
  --sand: #d3deea;
  --line: rgba(11, 45, 94, .12);
  --line-light: rgba(243, 247, 251, .16);
  --text: #22324b;
  --muted: #5a6a80;
  --muted-light: #a9b8cc;
  --accent: #349719;     /* logo green ("Clean"): large text, icons, details */
  --accent-deep: #2b8115; /* same green, darker: small text on white (AA contrast) */
  --accent-light: #8fd14f; /* logo lime (swoosh): accents on navy */
  --wa: #25d366;

  --serif: 'Montserrat', 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; /* display font */
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --topbar-h: 38px;
  --r: 4px;              /* images and cards: barely rounded */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 60px -30px rgba(11, 45, 94, .35);
}

/* ---------- Fonts (served by the site itself: no third-party requests before consent) ---------- */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-variable.woff2) format('woff2-variations'), url(../fonts/montserrat-variable.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-variable-italic.woff2) format('woff2-variations'), url(../fonts/montserrat-variable-italic.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-variable.woff2) format('woff2-variations'), url(../fonts/manrope-variable.woff2) format('woff2'); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; font-weight: 400;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-wrap: break-word;
}
.hero-grid > *, .split > *, .page-hero-grid > *, .contact-grid > *, .footer-grid > *, .qf-grid > *, .svc-grid > *,
.cards-2 > *, .packs > *, .steps > *, .features > *, .contact-cards > *, .area-groups > *, .duo > *, .checks > *,
.intro-grid > *, .process-grid > *, .faq-grid > *, .stats > * { min-width: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent-deep); }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; }
h1, h2, .display { font-family: var(--serif); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-family: var(--sans); font-size: 1.12rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.35; }
.display em, h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--ivory); padding: 10px 16px; }
.skip:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 900px; }
.center { text-align: center; }
.mt { margin-top: 48px; }
.mt-s { margin-top: 28px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); }

/* Small uppercase label with a short rule before it */
.label {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-deep);
}
.label::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.label-light { color: var(--accent-light); }
.center .label, .section-head.center .label { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85em 1.7em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
  white-space: normal; text-align: center; max-width: 100%;
}
/* Fill that rises from the bottom on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn .ico { width: 1.15em; height: 1.15em; transition: transform .45s var(--ease); }
.btn:hover .ico:last-child:not(.ico-wa) { transform: translateX(4px); }
.btn-sm { min-height: 42px; padding: .55em 1.2em; font-size: .88rem; white-space: nowrap; }
.btn-lg { min-height: 58px; padding: .95em 2em; font-size: 1rem; }
.btn-block { width: 100%; }
/* Primary (dark) — WhatsApp actions use it with a green icon */
.btn-wa, .btn-primary { background: var(--ink); color: var(--ivory); }
.btn-wa::before, .btn-primary::before { background: var(--navy); }
.btn-wa:hover, .btn-primary:hover { color: #fff; box-shadow: 0 18px 36px -18px rgba(11, 45, 94, .55); }
.btn-wa .ico-wa { color: var(--wa); width: 1.3em; height: 1.3em; }
/* Light button for dark backgrounds */
.btn-invert { background: var(--ivory); color: var(--ink); }
.btn-invert::before { background: #fff; }
.btn-invert:hover { color: var(--ink); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.btn-invert .ico-wa { color: #1fae55; width: 1.3em; height: 1.3em; }
.btn-outline { border-color: rgba(11, 45, 94, .35); color: var(--ink); background: transparent; }
.btn-outline::before { background: var(--ink); }
.btn-outline:hover { color: var(--ivory); border-color: var(--ink); }
.btn-outline .ico-wa { color: #1fae55; width: 1.3em; height: 1.3em; }
.btn-outline:hover .ico-wa { color: var(--wa); }
.btn-ghost-light { border-color: rgba(243, 247, 251, .45); color: var(--ivory); background: transparent; }
.btn-ghost-light::before { background: var(--ivory); }
.btn-ghost-light:hover { color: var(--ink); border-color: var(--ivory); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 100% 1px; color: var(--ink); }
.link-arrow .ico { transition: transform .45s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 7vw, 104px) 0; position: relative; }
/* Two neighbouring sections on the same background: no extra top space, they read as one flow */
.section-stone + .section-stone, .section-ink + .section-ink,
:is(.page-hero, .contact-hero, .marquee, .section:not(.section-stone):not(.section-ink)) + .section:not(.section-stone):not(.section-ink) { padding-top: 0; }
.section-stone { background: var(--stone); }
.section-ink { background: var(--ink); color: #c4d0de; }
.section-ink h2, .section-ink h3 { color: var(--ivory); }
.section-ink .display em { color: var(--accent-light); }
.section-ink .label { color: var(--accent-light); }
.section-ink .lead { color: #b2c0d1; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: .4em; }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.7; color: var(--muted); max-width: 40em; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 80px); }
.head-row .section-head { margin-bottom: 0; }
.split .section-head { margin-bottom: 32px; }

/* ---------- Topbar ---------- */
/* Top bar + header always stay pinned to the top */
.site-top { position: sticky; top: 0; z-index: 100; }
.topbar { background: var(--ink); color: var(--muted-light); font-size: .8rem; letter-spacing: .02em; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--topbar-h); }
.topbar p { margin: 0; display: flex; align-items: center; gap: .6em; }
.topbar .ico { color: var(--accent-light); width: 14px; height: 14px; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar a { color: var(--ivory); text-decoration: none; display: inline-flex; align-items: center; gap: .5em; font-weight: 600; }
.topbar a:hover { color: #fff; }
.topbar .ico-wa { color: var(--wa); }
/* phone number in the top bar: bold and larger */
.topbar-right > a { font-size: .95rem; font-weight: 800; letter-spacing: .01em; }
.topbar-right > a .ico-wa { width: 17px; height: 17px; }
.topbar-call { white-space: nowrap; }
.lang { display: inline-flex; gap: 2px; }
.lang a { padding: 2px 8px; font-size: .74rem; letter-spacing: .14em; font-weight: 700; color: var(--muted-light); }
.lang a + a { border-left: 1px solid var(--line-light); }
.lang a[aria-current="true"] { color: var(--ivory); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: relative; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -14px rgba(11, 45, 94, .28);
  transition: border-color .4s, background-color .4s, box-shadow .4s;
}
.site-header.scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 12px 34px -14px rgba(11, 45, 94, .34); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); transition: min-height .5s var(--ease); }
.scrolled .header-inner { min-height: 70px; }
.brand { flex-shrink: 0; }
.brand img { height: 58px; width: auto; max-width: none; transition: height .5s var(--ease); }
.scrolled .brand img { height: 48px; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 6px; }
.main-nav a { text-decoration: none; }
.main-nav > ul > li > a { display: block; padding: 10px 12px; font-weight: 500; color: var(--ink); font-size: .93rem; position: relative; }
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.main-nav > ul > li > a:hover { color: var(--ink); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a[aria-current="page"]::after, .main-nav .has-sub.active > a::after { transform: scaleX(1); transform-origin: left; }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { display: none; }
.sub {
  position: absolute; top: calc(100% + 14px); left: -12px; min-width: 280px; padding: 12px; background: var(--paper);
  box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.sub::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 12px; color: var(--ink); font-weight: 500; font-size: .94rem; transition: background .25s, padding .35s var(--ease); }
.sub a .ico { color: var(--accent); width: 1.2em; height: 1.2em; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--ivory); color: var(--ink); padding-left: 18px; }
.sub li:last-child { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
/* Classic three-line menu icon that morphs into an X */
.burger { position: relative; width: 20px; height: 14px; display: block; }
.burger i { position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease), opacity .25s; }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6.2px; }
.burger i:nth-child(3) { top: 12.4px; }
.nav-open .burger i:nth-child(1) { top: 6.2px; transform: rotate(45deg); }
.nav-open .burger i:nth-child(2) { opacity: 0; }
.nav-open .burger i:nth-child(3) { top: 6.2px; transform: rotate(-45deg); }
/* focus ring only for keyboard users, never after a tap or click */
.nav-toggle:focus:not(:focus-visible) { outline: none; }
@media (min-width: 1024px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .main-nav { margin: 0; }
  .header-cta { justify-self: end; }
}
.nav-mobile-cta { display: none; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; color: var(--text); background: #fff; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--topbar-h) - var(--header-h)); display: flex; flex-direction: column; justify-content: center;
  padding: clamp(32px, 4vw, 64px) 0 40px;
}
.hero-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
/* headline column starts a little lower than the (taller) form, independent of the form height */
.hero-text { padding-top: clamp(0px, 2.2vw, 40px); }
.hero h1 { color: var(--ink); font-size: clamp(3rem, 6.6vw, 6.2rem); line-height: 1.02; margin-bottom: .28em; letter-spacing: -.03em; }
.hero h1 em { color: var(--accent); }
.hero-lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 34em; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center-actions { justify-content: center; }
.hero-trust {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.hero-trust li { display: flex; gap: 14px; align-items: flex-start; padding: 22px 20px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.hero-trust li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.hero-trust .ico { color: var(--accent); width: 22px; height: 22px; stroke-width: 1.5; margin-top: 2px; }
.hero-trust strong { display: block; color: var(--ink); font-weight: 600; font-size: .96rem; margin-bottom: 2px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(243, 247, 251, .65); text-decoration: none; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
}
.scroll-cue i { width: 1px; height: 44px; background: rgba(243, 247, 251, .25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ivory); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (min-width: 1100px) and (min-height: 760px) { .scroll-cue { display: flex; } }
.scroll-cue:hover { color: var(--ivory); }
/* Hero entrance: label, lead, buttons, form and strip fade up after the headline */
.js .hero-in { opacity: 0; transform: translateY(24px); animation: heroIn 1.1s var(--ease-out) forwards; }
.js .hero-text .label.hero-in { animation-delay: .65s; }
/* home hero: the label sits under the headline */
.hero h1 + .label { margin: 0 0 18px; }
.js .hero-lead.hero-in { animation-delay: .75s; }
.js .hero-actions.hero-in { animation-delay: .9s; }
.js .hero-form.hero-in { animation-delay: 1s; }
.js .hero-trust.hero-in { animation-delay: 1.2s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- Quote form ---------- */
.quote-form {
  background: rgba(255, 255, 255, .97); color: var(--text); border-radius: var(--r); padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); position: relative;
}
.hero .quote-form { background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(11, 45, 94, .38), 0 12px 28px -12px rgba(11, 45, 94, .18); }
/* Hero form: larger, bolder text */
.hero .qf-title { font-size: clamp(1.45rem, 1.9vw, 1.75rem); font-weight: 800; }
.hero .qf-sub { font-size: .95rem; font-weight: 600; color: var(--text); }
.hero .field > span { font-size: .8rem; font-weight: 800; color: var(--ink); letter-spacing: .12em; }
.hero .field input, .hero .field select, .hero .field textarea { font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.hero .field input::placeholder, .hero .field textarea::placeholder { font-weight: 500; color: #7c8899; }
.hero .consent { font-size: .9rem; font-weight: 600; color: var(--text); }
.hero .qf-note { font-size: .86rem; font-weight: 600; }
.hero .quote-form .btn { font-size: 1.05rem; font-weight: 800; }
.qf-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.2; margin: 0 0 8px; letter-spacing: -.02em; }
.qf-sub { display: flex; gap: .55em; align-items: flex-start; color: var(--muted); font-size: .86rem; margin: 0 0 22px; line-height: 1.5; }
.qf-sub .ico { color: var(--accent); margin-top: 2px; }
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 4px; }
.field.full { grid-column: 1 / -1; }
.field > span { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/* Underlined fields: quieter and more refined than boxed inputs */
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(11, 45, 94, .22); border-radius: 0; background: transparent;
  font-size: 1rem; color: var(--ink); transition: border-color .3s;
}
.field input::placeholder, .field textarea::placeholder { color: #97a3b3; }
.field input, .field select { text-overflow: ellipsis; }
.field textarea { resize: vertical; min-height: 46px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2d5e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; background-size: 16px; padding-right: 26px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-bottom-color: #b23b3b; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 18px; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.consent.invalid span { color: #b23b3b; }
.qf-error { color: #b23b3b; font-weight: 600; font-size: .88rem; margin: -6px 0 12px; }
.qf-note { font-size: .78rem; color: var(--muted); margin: 14px 0 0; text-align: center; line-height: 1.5; }
.qf-success { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 16px; background: #ebf6e6; color: #24620f; border-left: 2px solid var(--accent); }
.qf-success[hidden] { display: none; }
.qf-success .ico { width: 22px; height: 22px; color: var(--accent); }
.qf-success p { margin: 0; font-size: .9rem; }
.qf-success p + p { margin-top: 6px; }
.qf-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.qf-links a { color: #24620f; font-weight: 700; display: inline-flex; align-items: center; min-height: 32px; }
.qf-links a[hidden] { display: none; }
.quote-form.compact .qf-grid { gap: 14px 18px; }
.quote-form.compact .field input, .quote-form.compact .field select, .quote-form.compact .field textarea { padding: 8px 0; }

/* ---------- Marquee (neighbourhoods ticker) ---------- */
.marquee { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; flex: none; }
.marquee-row li { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.6rem); color: var(--ink); white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 56px; line-height: 1.2; }
.marquee-row li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateX(28px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Frames (images with reveal + parallax) ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
/* parallax uses the separate `translate` property so it never fights the reveal zoom (transform) */
.frame[data-parallax] img { height: 116%; margin-top: -8%; translate: 0 var(--py, 0px); will-change: transform, translate; }
.frame-tall { aspect-ratio: 4 / 5; }
.frame-hero { aspect-ratio: 5 / 4; }
/* The wipe is on the photo, not the frame: a fully clipped frame would never count as "visible" */
.js [data-reveal="img"] { background: transparent; }
.js [data-reveal="img"] img { clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.4s var(--ease-out), transform 1.8s var(--ease-out); }
.js [data-reveal="img"].in img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* ---------- Intro (statement + figures + photo collage) ---------- */
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.intro .section-head { margin-bottom: 48px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 20px 0 0; display: grid; gap: 8px; align-content: start; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-n { font-family: var(--serif); font-weight: 700; font-size: clamp(2.1rem, 3.2vw, 2.9rem); line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.stat-l { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.intro-media { position: relative; }
.intro-media .frame-tall { width: 88%; margin-left: auto; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.svc a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); position: relative; }
.svc-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter 1s var(--ease-out); }
.svc a:hover .svc-media img { transform: scale(1.07); filter: brightness(.92); }
.svc-num { position: absolute; top: 18px; left: 20px; font-family: var(--serif); font-weight: 600; font-size: 1rem; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.svc-body { display: flex; flex-direction: column; gap: 10px; padding: 26px 4px 0; flex: 1; }
.svc-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.2; margin: 0; letter-spacing: -.02em; }
.svc-text { color: var(--muted); font-size: .98rem; }
.svc-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: .55em; font-weight: 600; font-size: .92rem; color: var(--ink); }
.svc-more .ico { transition: transform .45s var(--ease); }
.svc a:hover .svc-more .ico { transform: translateX(6px); }
.svc a:hover .svc-title { color: var(--ink); }

/* ---------- Steps ---------- */
.steps { --p: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: s; }
/* progress rule across the top (horizontal) */
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.steps::after { background: var(--ink); transform: scaleX(var(--p)); transform-origin: left; transition: transform .2s linear; }
.step { position: relative; padding: 40px 28px 0 0; }
.step + .step { padding-left: 28px; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); z-index: 1; transition: background .4s; }
.step + .step::before { left: 28px; }
.step.done::before { background: var(--ink); }
.step-n { display: block; font-family: var(--serif); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.step-ico { display: none; }
.step h3 { font-size: 1.15rem; margin-bottom: .4em; }
.step p { font-size: .96rem; color: var(--muted); margin: 0; }
.section-ink .steps::before { background: var(--line-light); }
.section-ink .steps::after { background: var(--ivory); }
.section-stone .step::before { background: var(--stone); }
/* Vertical variant (home "process"): line fills as you scroll */
.steps-vertical { grid-template-columns: 1fr; }
.steps-vertical::before, .steps-vertical::after { left: 0; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
.steps-vertical::after { transform: scaleY(var(--p)); transform-origin: top; }
.steps-vertical .step, .steps-vertical .step + .step { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 0 0 64px 48px; }
.steps-vertical .step:last-child { padding-bottom: 0; }
.steps-vertical .step::before, .steps-vertical .step + .step::before { left: -4px; top: 14px; }
.steps-vertical .step-n { font-size: clamp(2.4rem, 3.6vw, 3.2rem); margin: 0; }
.steps-vertical h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.25; margin: 6px 0 .35em; }
.steps-vertical p { font-size: 1.02rem; max-width: 30em; }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.process-head { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 40px); }
.process-head .section-head { margin-bottom: 8px; }

/* ---------- What we check at the visit (dark section) ---------- */
.checks { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.check { padding: 36px 28px 8px 0; position: relative; }
.check + .check { padding-left: 28px; border-left: 1px solid var(--line-light); }
.check-n { position: absolute; top: 34px; right: 22px; font-family: var(--serif); font-weight: 600; font-size: .9rem; color: var(--muted-light); opacity: .6; }
.check-ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--accent-light); margin-bottom: 26px; transition: background .5s var(--ease), color .5s var(--ease); }
.check:hover .check-ico { background: var(--ivory); color: var(--ink); }
.check-ico .ico { width: 22px; height: 22px; stroke-width: 1.5; }
.check h3 { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.25; margin-bottom: .45em; }
.check p { margin: 0; font-size: .95rem; color: #a3b2c6; }

/* ---------- Features (benefits, extras, values) ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.features .feature { padding: 32px 26px 0 0; display: flex; flex-direction: column; gap: 18px; }
.features .feature + .feature { padding-left: 26px; border-left: 1px solid var(--line); }
.feature-ico { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); transition: background .5s var(--ease), color .5s var(--ease), border-color .5s; }
.feature:hover .feature-ico { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.feature-ico .ico { width: 21px; height: 21px; stroke-width: 1.5; }
.feature h3 { margin-bottom: .35em; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
/* single-column list next to a photo */
.features.feature-list { grid-template-columns: 1fr; border: 0; }
.features.feature-list .feature, .features.feature-list .feature + .feature { flex-direction: row; gap: 22px; padding: 26px 0; border-left: 0; border-top: 1px solid var(--line); }
.features.feature-list .feature:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.split-rev > :first-child { order: 0; }
.split-media > img, .split-media .duo img { width: 100%; border-radius: var(--r); object-fit: cover; }
.split-media > img { aspect-ratio: 4 / 5; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo img { aspect-ratio: 3 / 4; height: 100%; }
.duo img:last-child { margin-top: 64px; }
.photo-card { margin: 0; position: relative; }

/* ---------- Packs ---------- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); align-items: stretch; }
.pack { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(30px, 3vw, 44px); display: flex; flex-direction: column; position: relative; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pack:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pack-n { font-family: var(--serif); font-weight: 600; font-size: .95rem; color: var(--accent); }
.pack h3 { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; line-height: 1.2; margin: 10px 0 0; }
.pack ul { display: grid; gap: 12px; margin: 26px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.pack li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
.pack li .ico { color: var(--accent); margin-top: 5px; width: 16px; height: 16px; }
.pack .btn { margin-top: auto; }
.pack.featured { background: var(--ink); color: #c4d0de; border-color: var(--ink); }
.pack.featured h3 { color: var(--ivory); }
.pack.featured .pack-n, .pack.featured li .ico { color: var(--accent-light); }
.pack.featured ul { border-color: var(--line-light); }
.pack-flag { position: absolute; top: clamp(30px, 3vw, 44px); right: clamp(30px, 3vw, 44px); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-light); }

.notes { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.notes li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.notes .ico { color: var(--accent); margin-top: 5px; }
.b2b { background: var(--ink); color: #c4d0de; border-radius: var(--r); padding: clamp(34px, 4vw, 56px); position: relative; overflow: hidden; }
.b2b h2 { color: var(--ivory); font-size: clamp(1.5rem, 2.2vw, 1.85rem); }
.b2b-ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--accent-light); margin-bottom: 24px; }
.b2b-ico .ico { width: 22px; height: 22px; stroke-width: 1.5; }
.b2b .btn-wa { background: var(--ivory); color: var(--ink); }
.b2b .btn-wa::before { background: #fff; }

/* ---------- Areas ---------- */
.area-list { border-top: 1px solid var(--line); margin-bottom: 8px; }
.area-list li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); position: relative; }
.area-list li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.area-list li:hover::after { transform: scaleX(1); }
.al-n { font-family: var(--serif); font-weight: 600; color: var(--accent); font-size: 1.05rem; padding-top: 6px; grid-row: span 2; }
.al-name { font-family: var(--serif); font-weight: 700; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.2; color: var(--ink); transition: transform .6s var(--ease); }
.area-list li:hover .al-name { transform: translateX(8px); }
.al-places { font-size: .88rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: .9rem; }
.chips .ico { color: var(--accent); width: 15px; height: 15px; }
.chips-light li { border-color: var(--line-light); color: var(--ivory); }
.chips-light .ico { color: var(--accent-light); }
.area-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.area-group { padding: 30px 24px 10px 0; }
.area-group + .area-group { padding-left: 24px; border-left: 1px solid var(--line); }
.area-group h3 { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1.2; margin-bottom: 18px; }
.area-group h3 .ico { display: none; }
.area-group li { padding: 5px 0; color: var(--muted); font-size: .95rem; }
.link-list { display: grid; gap: 12px; margin-top: 24px; }
.map-card { border-radius: var(--r); overflow: hidden; background: var(--ivory); min-height: 440px; display: grid; }
.map-card.wide { min-height: 420px; }
.map-card iframe { display: block; width: 100%; height: 100%; min-height: inherit; border: 0; filter: grayscale(.85) contrast(1.02); transition: filter 1s var(--ease); }
.map-card:hover iframe { filter: none; }
/* Placeholder shown until external content is accepted */
.map-consent { display: grid; place-items: center; align-content: center; gap: 16px; padding: 40px 28px; text-align: center; background:
  radial-gradient(circle at 50% 40%, rgba(52, 151, 25, .08), transparent 60%), repeating-linear-gradient(135deg, transparent 0 22px, rgba(11, 45, 94, .025) 22px 23px); }
.map-consent p { margin: 0; max-width: 30em; color: var(--muted); font-size: .92rem; }
.map-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); }
.map-ico .ico { width: 22px; height: 22px; stroke-width: 1.5; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 40px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-weight: 600; font-size: 1.06rem; color: var(--ink); transition: color .3s; }
.faq summary:hover { color: var(--accent-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .5s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq details[open] .faq-plus::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 48px 28px 0; color: var(--muted); }
.section-stone .faq, .section-stone .faq details { border-color: rgba(11, 45, 94, .14); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 6.5vw, 96px); position: relative; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; position: relative; }
.page-hero-grid:has(> :only-child) { grid-template-columns: 1fr; max-width: 900px; }
.page-hero h1 { margin-bottom: .4em; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.1; }
.page-hero .lead { margin-bottom: 1.4em; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--sand); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.hero-note { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: .95rem; margin: 0 0 6px; }
.hero-note .ico { color: var(--accent); flex: none; }
.page-hero .hero-actions { margin-top: 26px; }

/* ---------- Service page bits ---------- */
.prose { color: var(--text); font-size: 1.06rem; }
.tag-block { margin-top: 36px; }
.tag-block h3 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--accent-deep); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: .88rem; transition: background .35s, color .35s; }
.tags li:hover { background: var(--ink); color: var(--ivory); }
.include-card { background: var(--ivory); border-radius: var(--r); padding: clamp(30px, 3.4vw, 48px); position: relative; }
.include-card h3 { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; font-size: 1.4rem; line-height: 1.2; }
.include-card h3 .ico { display: none; }
.include-list { margin-top: 18px; counter-reset: inc; border-top: 1px solid var(--line); }
.include-list li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); counter-increment: inc; }
.include-list li::before { content: counter(inc, decimal-leading-zero); font-family: var(--serif); font-weight: 600; color: var(--accent); font-size: 1.05rem; min-width: 26px; }
.include-list .ico { display: none; }
.check-cols { columns: 2; column-gap: 32px; border-top: 1px solid var(--line); }
.check-cols li { display: flex; gap: 12px; align-items: center; padding: 13px 0; break-inside: avoid; color: var(--ink); border-bottom: 1px solid var(--line); }
.check-cols .ico { color: var(--accent); width: 16px; height: 16px; }
.mini-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.mini-trust span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; color: var(--ink); font-size: .86rem; }
.mini-trust .ico { color: var(--accent); width: 16px; height: 16px; }
.sticky-form { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 24px); align-self: start; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin: 0 auto; }
.mini-svc { display: flex; align-items: center; gap: 22px; padding: 14px 26px 14px 14px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--paper); transition: background .5s var(--ease), color .5s var(--ease); }
.mini-svc:hover { background: var(--ink); color: var(--ivory); }
.mini-svc img { width: 120px; height: 92px; object-fit: cover; border-radius: 2px; flex: none; }
.mini-svc span { display: grid; flex: 1; gap: 2px; }
.mini-svc strong { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.mini-svc small { color: inherit; opacity: .65; font-size: .85rem; }
.mini-svc > .ico { transition: transform .45s var(--ease); }
.mini-svc:hover > .ico { transform: translateX(5px); }

/* ---------- About ---------- */
/* About page: the stacked logo on a quiet ivory panel */
.logo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(32px, 5vw, 64px); display: grid; place-items: center; }
.logo-card img { width: min(100%, 420px); }

/* ---------- Contact ---------- */
.contact-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 6.5vw, 96px); }
.contact-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.1; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px 18px 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.contact-card:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
a.contact-card:hover { color: var(--text); }
a.contact-card:hover .cc-ico { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.contact-card.wa { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
.contact-card > span:last-child { display: grid; gap: 3px; }
.contact-card strong { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.contact-card em { font-style: normal; font-family: var(--serif); font-weight: 700; font-size: 1.12rem; line-height: 1.25; color: var(--ink); }
.contact-card.wa em { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.contact-card small { color: var(--muted); font-size: .86rem; }
.cc-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); flex: none; transition: background .45s var(--ease), color .45s var(--ease); }
.contact-card.wa .cc-ico { background: var(--wa); border-color: var(--wa); color: #fff; }
.cc-ico .ico { width: 20px; height: 20px; }

/* ---------- CTA band (navy velvet) ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: rgba(243, 247, 251, .8); padding: clamp(88px, 10vw, 150px) 0; text-align: center; }
.cta-bg { position: absolute; inset: -28% 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(6, 24, 52, .45) 0%, rgba(6, 24, 52, .82) 75%); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-band h2 { color: var(--ivory); font-size: clamp(2rem, 4.2vw, 3.5rem); max-width: 18em; margin-bottom: .35em; }
.cta-band h2 em { color: var(--accent-light); }
.cta-band p { margin: 0 auto; font-size: 1.12rem; max-width: 36em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }

/* ---------- Legal / 404 ---------- */
.legal h1 { margin-bottom: .3em; font-size: clamp(2rem, 3.8vw, 3.1rem); }
.legal h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); margin-top: 1.8em; }
.legal p { color: var(--text); }
.legal a { text-decoration: underline; }
.legal-id { border-top: 1px solid var(--line); margin-bottom: 1em; }
.legal-id li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal-id span { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
@media (max-width: 600px) { .legal-id li { grid-template-columns: 1fr; gap: 2px; } }
.nf-code { font-family: var(--serif); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; margin: 0; color: var(--accent); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); font-size: .94rem; }
.footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: clamp(60px, 7vw, 96px); padding-bottom: clamp(44px, 5vw, 68px); border-bottom: 1px solid var(--line-light); }
.footer-statement { margin: 0; color: var(--ivory); font-size: clamp(1.7rem, 3.3vw, 2.8rem); max-width: 17em; font-style: italic; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-top: 56px; }
.footer-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: var(--r); margin-bottom: 22px; }
.footer-logo img { width: 180px; }
.f-h { font-family: var(--sans); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--ivory); margin-bottom: 22px; line-height: 1.4; }
.f-h2 { margin-top: 32px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: #d8e1ec; text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--accent-light); }
.site-footer .btn-invert, .site-footer .btn-invert:hover { color: var(--ink); }
.f-contact li { display: flex; align-items: center; gap: 10px; }
.f-contact a { display: inline-flex; align-items: center; gap: 10px; }
.f-contact .ico { color: var(--accent-light); }
.f-contact .ico-wa { color: var(--wa); }
.f-social { margin-top: 20px; text-transform: capitalize; }
.footer-bottom { border-top: 1px solid var(--line-light); margin-top: 56px; padding: 24px 0; font-size: .82rem; }
/* bottom bar: copyright left, legal links centred, complaints book + photo credit right */
.footer-bottom-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px 24px; }
.footer-copy { justify-self: start; }
.footer-extra { justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; }
@media (max-width: 1100px) {
  .footer-bottom-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-copy, .footer-extra { justify-self: center; justify-content: center; }
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.site-footer .link-btn { color: #d8e1ec; text-decoration: none; }
.site-footer .link-btn:hover { color: var(--accent-light); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 22px; bottom: 22px; z-index: 140; width: min(440px, calc(100vw - 32px));
  background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 22px; box-shadow: 0 40px 80px -30px rgba(11, 45, 94, .45);
  animation: cookieIn .9s var(--ease-out) both;
}
.cookie[hidden] { display: none; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.cookie-title { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; line-height: 1.2; color: var(--ink); margin: 0 0 8px; }
.cookie-text { font-size: .9rem; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }
.cookie-text a { color: var(--ink); }
.cookie-prefs { border-top: 1px solid var(--line); margin: 0 0 16px; }
.cookie-prefs[hidden] { display: none; }
.cookie-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.cookie-opt input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.cookie-opt strong { display: block; color: var(--ink); font-weight: 600; font-size: .92rem; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.cookie-actions .link-btn { font-size: .88rem; font-weight: 600; color: var(--ink); margin-left: 4px; }
.cookie-actions [hidden] { display: none; }
.cookie-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 700px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 22px 20px 18px; }
  .cookie-actions .btn { flex: 1 1 auto; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 10px;
  height: 58px; min-width: 58px; padding: 0 16px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none;
  box-shadow: 0 16px 36px -12px rgba(12, 60, 30, .55); transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.wa-float .ico { width: 26px; height: 26px; }
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .92rem; transition: max-width .55s var(--ease); }
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { max-width: 260px; }
.wa-hide .wa-float, .nav-open .wa-float { opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; }

/* ---------- Motion: reveal on scroll, split headings ---------- */
.js [data-reveal]:not([data-reveal="img"]) { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].in:not([data-reveal="img"]) { opacity: 1; transform: none; }
/* Headings rise word by word from behind a mask */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .wi { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0s)); }
.js [data-split].in .wi { transform: none; }
.js [data-split-now] { --d: .35s; }
.js [data-split]:not(.is-split) { visibility: hidden; }
/* Page fades in once fonts are ready */
.js body { animation: pageIn .9s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================
   Responsive
   ========================================================== */
@media (min-width: 1600px) {
  :root { --container: 1380px; }
  body { font-size: 1.1rem; }
}

/* Laptops: slightly smaller logo so the centred menu keeps its breathing room (header height unchanged) */
@media (min-width: 1024px) and (max-width: 1300px) {
  .brand img, .scrolled .brand img { height: 48px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero h1 { font-size: 5.6vw; }
}
/* shorter laptop screens: cap the big headline so the buttons stay in the first screen */
@media (min-width: 1280px) and (max-height: 880px) {
  .hero h1 { font-size: clamp(3rem, 5.6vw, 5.3rem); }
}
@media (min-width: 1024px) and (max-height: 790px) {
  .hero h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
}
/* narrow laptops: the header Call button becomes a round phone icon */
@media (min-width: 1024px) and (max-width: 1199px) {
  .header-call { width: 42px; padding: 0; }
  .header-call span { display: none; }
}
@media (min-width: 1024px) and (max-width: 1080px) {
  .header-inner .main-nav > ul > li > a { padding: 10px 6px; }
  .header-cta { gap: 8px; }
}
@media (min-width: 1024px) and (max-width: 1150px) {
  .brand img, .scrolled .brand img { height: 42px; }
  /* not enough width to centre the menu on the page: centre it between logo and button instead */
  .header-inner { grid-template-columns: auto 1fr auto; }
  .main-nav { justify-self: center; }
}

@media (min-width: 1024px) and (max-width: 1240px) {
  .hero-grid { grid-template-columns: 1fr minmax(360px, .9fr); gap: 40px; }
  .hero-form .qf-grid { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .main-nav > ul > li > a { padding: 10px 9px; font-size: .9rem; }
  .header-inner { gap: 14px; }
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checks, .features { grid-template-columns: 1fr 1fr; }
  .checks .check:nth-child(3), .features .feature:nth-child(3) { padding-left: 0; border-left: 0; }
  .checks .check:nth-child(n+3), .features .feature:nth-child(n+3) { border-top: 1px solid var(--line-light); margin-top: 28px; }
  .features .feature:nth-child(n+3) { border-top-color: var(--line); }
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .hero-trust li:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 1023px) {
  :root { --header-h: 70px; --topbar-h: 44px; }
  .brand img, .scrolled .brand img { height: 48px; }
  .scrolled .header-inner { min-height: var(--header-h); }
  .nav-toggle { display: inline-flex; }
  /* Full-width menu panel that opens right below the (sticky) top bar + header.
     --nav-top is measured by main.js when the menu opens. */
  .main-nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, calc(var(--topbar-h) + var(--header-h)));
    background: var(--paper); z-index: 120; padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain; margin: 0; display: none; border-top: 1px solid var(--line);
  }
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); border-color: transparent; }
  .nav-open .main-nav { display: block; animation: navIn .6s var(--ease-out) both; }
  @keyframes navIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  .nav-open .main-nav > ul > li { animation: navItem .7s var(--ease-out) both; }
  .nav-open .main-nav > ul > li:nth-child(2) { animation-delay: .06s; }
  .nav-open .main-nav > ul > li:nth-child(3) { animation-delay: .12s; }
  .nav-open .main-nav > ul > li:nth-child(4) { animation-delay: .18s; }
  .nav-open .main-nav > ul > li:nth-child(5) { animation-delay: .24s; }
  .nav-open .main-nav > ul > li:nth-child(6) { animation-delay: .3s; }
  @keyframes navItem { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .nav-open .nav-mobile-cta { animation: navItem .7s var(--ease-out) .34s both; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; max-width: 640px; margin: 0 auto; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { padding: 15px 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 4.8vw, 1.5rem); line-height: 1.2; letter-spacing: -.01em; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav > ul > li > a[aria-current="page"], .main-nav .has-sub.active > a { color: var(--accent); }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
  .sub-toggle .ico { transition: transform .4s var(--ease); }
  .sub-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; width: 100%; display: none; background: transparent; }
  .sub.open { display: block; }
  .nav-mobile-cta { display: grid; gap: 10px; max-width: 640px; margin: 28px auto 0; }
  .header-cta .header-wa, .header-cta .header-call { display: none; }
  .header-cta { margin-left: auto; }

  .hero { min-height: 0; padding-top: 36px; }
  .hero-grid, .split, .page-hero-grid, .contact-grid, .intro-grid, .process-grid, .faq-grid { grid-template-columns: 1fr; }
  .svc-grid, .packs { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps .step:nth-child(3) { padding-left: 0; }
  .steps .step:nth-child(3)::before { left: 0; }
  .steps-vertical { grid-template-columns: 1fr; row-gap: 0; }
  .sticky-form, .process-head, .faq-head { position: static; }
  .split-rev > :last-child { order: -1; }
  .page-hero-media { order: -1; }
  .frame-hero { aspect-ratio: 16 / 10; }
  .intro-media { max-width: 560px; }
  .split-media > img, .split .frame-tall { aspect-ratio: 4 / 3; }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }
  .topbar-area { display: none !important; }
  .topbar-right { width: 100%; justify-content: space-between; }
  .qf-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .checks, .features, .hero-trust { grid-template-columns: 1fr; }
  .checks .check, .checks .check + .check, .features .feature, .features .feature + .feature { padding-left: 0; border-left: 0; }
  .checks .check + .check { border-top: 1px solid var(--line-light); margin-top: 0; }
  .features .feature + .feature { border-top: 1px solid var(--line); margin-top: 0; }
  .features .feature { padding-bottom: 26px; }
  .hero-trust li, .hero-trust li + li { padding: 16px 0; border-left: 0; }
  .hero-trust li + li { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .steps .step, .steps .step + .step { padding-left: 0; }
  .steps .step + .step::before { left: 0; }
  .steps-vertical .step, .steps-vertical .step + .step { grid-template-columns: 1fr; padding: 0 0 40px 32px; }
  .steps-vertical .step:last-child { padding-bottom: 0; }
  .cards-2, .contact-cards { grid-template-columns: 1fr; }
  .contact-card:nth-child(even) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .check-cols { columns: 1; }
  .duo img:last-child { margin-top: 32px; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .area-group, .area-group + .area-group { padding-left: 0; border-left: 0; }
  .wa-float { right: 12px; bottom: 12px; height: 50px; min-width: 50px; padding: 0 13px; gap: 0; }
  .wa-float .ico { width: 24px; height: 24px; }
  .footer-bottom { padding-bottom: 72px; }
  /* First screen: call to action right under the intro, photo after it */
  .page-hero { padding-top: 28px; }
  .page-hero-grid { gap: 28px; }
  .page-hero-media { order: 1; }
  .frame-hero { aspect-ratio: 16 / 10; }
  .page-hero .lead { margin-bottom: .8em; }
  .map-card iframe { height: 320px; }
  .marquee { padding: 18px 0; }
  /* phones: only the main photo of the collage */
  .intro-media { padding-bottom: 0; max-width: none; }

  .intro-media .frame-tall { width: 100%; aspect-ratio: 4 / 3; }
  .faq-a p { padding-right: 0; }
}

@media (orientation: landscape) and (max-height: 540px) and (max-width: 1023px) {
  .page-hero-grid { grid-template-columns: 1.25fr .75fr; gap: 28px; }
  .page-hero-media { order: 0; }
  .page-hero h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2.6rem; }
  .main-nav > ul > li > a { padding: 10px 0; font-size: 1.2rem; }
}

@media (max-width: 1023px) {
  .topbar a { min-height: 40px; }
  .lang a { padding: 9px 12px; }
  .site-footer ul { gap: 0; }
  .site-footer ul a, .f-contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .f-contact li { min-height: 32px; }
  .link-arrow { min-height: 44px; }
  .footer-bottom a { display: inline-block; padding: 10px 0; }
  .crumbs a { display: inline-block; padding: 6px 0; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .page-hero h1 { font-size: 1.85rem; }
  .hero h1 { font-size: 2.6rem; }
  h2 { font-size: 1.55rem; }
  .label { letter-spacing: .16em; gap: 10px; }
  .label::before { width: 22px; }
  .quote-form { padding: 24px 18px; }
  .btn-lg { padding: .9em 1.3em; }
  .lang a { padding: 9px 10px; }
  .topbar-right > a span { font-size: .8rem; }
  .mini-svc img { width: 88px; height: 72px; }
  .brand img { height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="img"], .js [data-reveal="img"] img, .js [data-split] .wi, .js .hero-in { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none; }
}
