/* ==========================================================
   Replica Hair Replacement — site styles
   ========================================================== */
:root {
  --ivory: #f7f2eb;
  --sand: #ece3d6;
  --paper: #fffdf9;
  --ink: #1d1a17;
  --ink-2: #4a443d;
  --ink-3: #7a7168;
  --line: rgba(29, 26, 23, .12);
  --red: #b8312a;
  --red-dk: #8f231e;
  --espresso: #191512;
  --gold: #c8a46a;
  --radius: 18px;
  --shadow: 0 24px 60px -28px rgba(29, 26, 23, .35);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.5rem; }
h1 em, h2 em { font-style: italic; color: var(--red); }
p { margin: 0 0 1.1em; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font: 600 .95rem var(--sans); letter-spacing: .02em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 12px 28px -12px rgba(184, 49, 42, .7); }
.btn-primary:hover { background: var(--red-dk); transform: translateY(-2px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.topbar {
  background: var(--espresso); color: rgba(255,255,255,.72);
  font-size: .82rem; letter-spacing: .02em;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar .wrap > div > * + * { margin-left: 22px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 235, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(0,0,0,.25); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); line-height: 1; }
.brand-name b { color: var(--red); font-weight: 500; }
.brand-sub { display: block; font: 600 .68rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav a.link { font-weight: 600; font-size: .93rem; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a.link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a.link:hover, .nav a.link[aria-current="page"] { color: var(--ink); }
.nav a.link:hover::after, .nav a.link[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 12px 22px; }

.menu-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); content: ""; transition: .3s;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before { top: -7px; left: 0; }
.menu-toggle span::after { top: 7px; left: 0; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,164,106,.22), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; position: relative; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.stat strong { display: block; font: 400 2.4rem/1 var(--serif); color: var(--ink); }
.stat span { font-size: .85rem; color: var(--ink-3); }

/* Before/after slider */
.ba {
  position: relative; aspect-ratio: 550 / 380; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); user-select: none; touch-action: pan-y; cursor: ew-resize;
  background: #222;
}
.ba-layer { position: absolute; inset: 0; background-size: 200% 100%; background-repeat: no-repeat; }
.ba-before { background-position: 0 0; }
.ba-after { background-position: 100% 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px);
}
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font: 700 1.1rem var(--sans); letter-spacing: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-caption { display: flex; justify-content: space-between; margin-top: 14px; font-size: .82rem; color: var(--ink-3); }

.hero-visual { position: relative; }
.hero-badge {
  position: absolute; left: -28px; top: -36px; background: var(--paper); border-radius: 16px;
  padding: 18px 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: 280px;
}
.hero-badge .dot { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.hero-badge .dot svg { width: 22px; height: 22px; }
.hero-badge strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.hero-badge span { font-size: .8rem; color: var(--ink-3); line-height: 1.4; display: block; }

/* ---------- Promise strip ---------- */
.promise { background: var(--espresso); color: #fff; padding: 26px 0; overflow: hidden; }
.promise ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.promise li { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.2rem; }
.promise li::before { content: "✦"; color: var(--gold); font-size: .9rem; }

/* ---------- Services ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { max-width: 44ch; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform .4s ease, box-shadow .4s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.card-num { font: 600 .75rem var(--sans); letter-spacing: .18em; color: var(--red); margin-bottom: 10px; }
.card p { font-size: .97rem; flex: 1; }
.card .more { font-weight: 700; font-size: .9rem; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.card .more span { transition: transform .3s; }
.card:hover .more span { transform: translateX(4px); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split-img { position: relative; }
.split-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 70% center; box-shadow: var(--shadow); }
.split-img .img-small {
  position: absolute; width: 48%; aspect-ratio: 1; right: -24px; bottom: -40px; border: 8px solid var(--ivory);
}
.ticks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: .95rem; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Process ---------- */
.bg-sand { background: var(--sand); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; margin-top: 56px; border-top: 1px solid var(--line); }
.step { padding: 36px 28px 0 0; position: relative; counter-increment: step; }
.step::before {
  content: "0" counter(step); display: block; font: 400 3rem/1 var(--serif); color: var(--red); margin-bottom: 20px;
}
.step::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.step h3 { font-size: 1.3rem; }
.step p { font-size: .95rem; }

/* ---------- Results gallery strip ---------- */
.results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.result { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #222; }
.result img { width: 100%; aspect-ratio: 1100 / 380; object-fit: cover; }

/* ---------- Testimonial / quote ---------- */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font: 300 clamp(1.6rem, 3vw, 2.3rem)/1.35 var(--serif); color: var(--ink); }
.quote blockquote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--red); margin-bottom: 18px; }
.quote cite { display: block; margin-top: 26px; font-style: normal; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- CTA band ---------- */
.cta {
  background: var(--espresso); color: rgba(255,255,255,.78); border-radius: 28px; padding: clamp(44px, 7vw, 84px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(200,164,106,.35); box-shadow: 0 0 0 60px rgba(200,164,106,.05), 0 0 0 120px rgba(200,164,106,.03);
}
.cta h2 { color: #fff; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: relative; z-index: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); max-width: 18ch; }
.crumbs { font-size: .82rem; color: var(--ink-3); margin-bottom: 18px; letter-spacing: .04em; }
.crumbs a:hover { color: var(--red); }

/* ---------- Service detail ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-media { order: 2; }
.service-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.chip { font-size: .8rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .3s, transform .3s;
}
.mini:hover { border-color: var(--red); transform: translateY(-4px); }
.mini .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(184,49,42,.1); color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.mini .ico svg { width: 22px; height: 22px; }
.mini h3 { font-size: 1.2rem; margin-bottom: 8px; }
.mini p { font-size: .9rem; margin: 0; }

/* ---------- Values (about) ---------- */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.value { background: var(--paper); border-radius: var(--radius); padding: clamp(32px, 4vw, 48px); border: 1px solid var(--line); }
.value .eyebrow { margin-bottom: 12px; }

/* ---------- Gallery ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.masonry a { display: block; border-radius: 14px; overflow: hidden; position: relative; background: var(--sand); }
.masonry img { width: 100%; aspect-ratio: 640 / 379; object-fit: cover; transition: transform .7s ease, filter .4s; }
.masonry a::after {
  content: "View"; position: absolute; inset: auto 16px 16px auto; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--ink); font-size: .78rem; font-weight: 700;
  opacity: 0; transform: translateY(8px); transition: .3s;
}
.masonry a:hover img { transform: scale(1.05); }
.masonry a:hover::after { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(15, 12, 10, .94);
  display: none; align-items: center; justify-content: center; padding: 60px 80px;
}
.lightbox.open { display: flex; animation: fade .3s ease; }
.lightbox img { max-height: 84vh; max-width: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer; transition: background .2s; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: .85rem; letter-spacing: .1em; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.8fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.faq-aside { position: sticky; top: 120px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font: 400 1.3rem/1.35 var(--serif); color: var(--ink); transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--red), var(--red)) center / 14px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) center / 2px 14px no-repeat;
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .answer { padding: 0 48px 28px 0; color: var(--ink-2); animation: fade .35s ease; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 36px; }
.info-list li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-list .ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--red); }
.info-list .ico svg { width: 20px; height: 20px; }
.info-list h4 { font: 700 .75rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.info-list p, .info-list a { margin: 0; color: var(--ink); font-size: 1rem; }
.info-list a:hover { color: var(--red); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 300px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border-radius: 24px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--ink); }
.field input, .field select, .field textarea {
  font: 500 1rem var(--sans); color: var(--ink); background: var(--ivory);
  border: 1px solid transparent; border-radius: 12px; padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(29,26,23,.06);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); background: #fff6f5; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form-foot small { color: var(--ink-3); font-size: .82rem; max-width: 34ch; line-height: 1.5; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-size: .92rem; display: none; }
.form-status.ok { display: block; background: #edf6ee; color: #23592c; }
.form-status.err { display: block; background: #fbeceb; color: var(--red-dk); }

/* ---------- Booking modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 90; background: rgba(20, 16, 13, .6); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 24px; overflow-y: auto;
}
.modal.open { display: flex; animation: fade .3s ease; }
.modal .form-card { width: min(640px, 100%); position: relative; animation: rise .4s cubic-bezier(.2,.8,.2,1); }
.modal h2 { font-size: 2rem; margin-bottom: 6px; }
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--ivory); cursor: pointer; font-size: 1.3rem; color: var(--ink);
}
.modal-close:hover { background: var(--sand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: rgba(255,255,255,.62); padding: 88px 0 0; margin-top: clamp(72px, 10vw, 128px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: rgba(255,255,255,.5); }
.site-footer h4 { font: 700 .75rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-about { margin-top: 22px; max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: .25s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 80px 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8); transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; background: var(--ivory); flex-direction: column; align-items: stretch;
    padding: 12px 24px 28px; gap: 16px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s;
  }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a.link { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a.link::after { display: none; }
  .nav .btn { justify-content: center; }
  .hero-grid, .split, .cta, .contact-grid, .faq-layout, .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-media { order: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .results { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .hero-badge { left: 12px; top: -28px; }
  .hero-visual { margin-top: 28px; }
  .split-img .img-small { right: 12px; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .mini-grid, .steps, .ticks, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .promise li { font-size: 1rem; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .brand-sub { display: none; }
}
