/* Liran Choukroun — site styles
   Design language: liran-design-language.md (earth, stone, sand, rose gold) */

:root {
  --earth: #3E2F27;
  --stone: #8C7464;
  --rose: #A9705A;
  --blush: #C99C8E;
  --nude: #CDB8AA;
  --sand: #EDE3D9;
  --ivory: #F8F3EE;
  --line: #D9C7BA;

  --font-head: "Bellefair", "Frank Ruhl Libre", serif;
  --font-body: "Assistant", "Segoe UI", sans-serif;
  --font-kicker: "Cormorant Garamond", serif;

  --wrap: 1200px;
  --gap-section: 128px;
  --header-h: 76px;
  --fade: 80px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

::selection { background: var(--blush); color: var(--earth); }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--earth);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  background: var(--earth);
  color: var(--ivory);
  padding: 10px 18px;
  border-radius: 2px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
}
.narrow { max-width: 760px; margin-inline: auto; }

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--earth);
}
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(52px, 5.3vw, 80px); line-height: 1.06; }
h2 { font-size: clamp(38px, 3.6vw, 54px); line-height: 1.14; }
h3 { font-size: 26px; line-height: 1.25; }

.kicker {
  display: block;
  font-family: var(--font-kicker);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 14px;
  direction: ltr;
  text-align: right;
}
.center .kicker, .sec__head--center .kicker, .lead .kicker { text-align: center; }
.muted { color: var(--stone); }
.center { text-align: center; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 0% 100%;
  transition: background-size .55s var(--ease-out), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.975); }
.btn--primary { background-color: var(--earth); background-image: linear-gradient(var(--rose), var(--rose)); color: var(--ivory); }
.btn--secondary { border-color: var(--rose); color: var(--rose); background-color: transparent; background-image: linear-gradient(var(--rose), var(--rose)); }
.btn--secondary:hover { color: var(--ivory); }
.btn--light { background-color: var(--ivory); background-image: linear-gradient(var(--blush), var(--blush)); color: var(--earth); }
.btn:hover { background-size: 100% 100%; }
.btn--primary::after, .btn--light::after {
  content: "←";
  font-weight: 400;
  transition: transform .45s var(--ease-out);
}
.btn--primary:hover::after, .btn--light:hover::after { transform: translateX(-6px); }
.btn--small { padding: 12px 22px; font-size: 16px; }

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 243, 238, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color .45s var(--ease), border-color .45s var(--ease);
}
body:has(.sec--sand-top) .header:not(.is-scrolled) {
  background: var(--sand);
  border-bottom-color: transparent;
}
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  transition: min-height .45s var(--ease);
}
.header.is-scrolled .header__in { min-height: calc(var(--header-h) - 12px); }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 30px; }
.nav a {
  position: relative;
  text-decoration: none;
  font-size: 16.5px;
  color: var(--earth);
  padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.nav a:hover { color: var(--rose); }
.nav a:hover::after { transform: scaleX(1); transform-origin: right; }
.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 26px;
  height: 1.5px;
  margin: 7px auto;
  background: var(--earth);
  transition: transform .25s ease;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

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

.sec { padding-block: var(--gap-section); }
.sec--ivory { background: var(--ivory); }
.sec--sand {
  background: linear-gradient(to bottom,
    var(--ivory) 0, var(--sand) var(--fade),
    var(--sand) calc(100% - var(--fade)), var(--ivory) 100%);
}
.sec--sand-top {
  background: linear-gradient(to bottom, var(--sand) calc(100% - var(--fade)), var(--ivory) 100%);
}
.sec--earth { background: var(--earth); color: var(--ivory); }
.sec--earth h2 { color: var(--ivory); }
.sec--earth .kicker { color: var(--blush); }

.sec__head { margin-bottom: 44px; }
.sec__head p { margin-top: 18px; }
.sec__head--center { text-align: center; max-width: 780px; margin-inline: auto; }
.sec__cta { margin-top: 44px; }

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--rose);
  font-size: 12px;
  line-height: 1;
  margin: 0 auto 34px;
}
.divider::before, .divider::after {
  content: "";
  width: 96px;
  height: 1px;
}
.divider::before { background: linear-gradient(to left, var(--rose), transparent); }
.divider::after { background: linear-gradient(to right, var(--rose), transparent); }

/* ---------- Arch image ---------- */

.arch {
  border-radius: 999px 999px 2px 2px;
  overflow: hidden;
  background: var(--nude);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }

/* ---------- Hero ---------- */

.hero { padding-block: 72px 110px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 72px;
}
.hero__lead { margin-top: 26px; font-size: 19px; color: var(--stone); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 30px;
  font-size: 15.5px;
  color: var(--stone);
}
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 18px; height: 1px; background: var(--rose); }
.hero__img { max-width: 440px; width: 100%; aspect-ratio: 4 / 5; justify-self: center; }

.hero--simple { text-align: center; }
.hero--simple .hero__lead { margin-inline: auto; }
.hero--simple .hero__actions { justify-content: center; }

/* ---------- Fear ---------- */

.fear-list { margin-top: 12px; text-align: start; }
.fear-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
}
.fear-list li::before {
  content: "✕";
  color: var(--rose);
  font-size: 12px;
  font-weight: 300;
}
.fear-note { margin-top: 26px; color: var(--stone); }
.choice { margin-top: 52px; }
.choice__title { font-weight: 600; font-size: 19px; margin-bottom: 18px; }
.choice__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 20px 24px;
  background: #FCF9F6;
  border: 1px solid var(--rose);
  border-radius: 2px;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.tile:hover { background: var(--earth); color: var(--ivory); border-color: var(--earth); }

/* ---------- Text blocks ---------- */

.prose p + p { margin-top: 14px; }
.prose { max-width: 760px; }
.pain { margin-top: 44px; color: var(--stone); max-width: 760px; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.step__num {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-size: 44px;
  line-height: 1;
  color: var(--rose);
}
.step__num::after { content: ""; flex: 1; height: 1px; background: var(--rose); opacity: .55; }
.step:last-child .step__num::after { display: none; }
.step h3 { font-family: var(--font-body); font-weight: 600; font-size: 19px; margin-top: 18px; }
.step p { margin-top: 6px; font-size: 16.5px; color: var(--stone); }

/* ---------- Restoration journey ---------- */

.journey { max-width: 820px; margin: 64px auto 0; }
.journey__title { text-align: center; font-size: 24px; margin-bottom: 22px; }
.journey__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}
.journey figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.journey figcaption { margin-top: 10px; text-align: center; font-size: 15.5px; color: var(--stone); }
.journey__arrow { color: var(--rose); font-size: 26px; padding-bottom: 34px; }

/* ---------- Cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.card {
  background: var(--nude);
  border-radius: 2px;
  overflow: hidden;
}
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 24px 28px 30px; }
.card h3 { font-size: 24px; }
.card p { margin-top: 8px; font-size: 17px; }

.icon-line { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Diagnosis ---------- */

.checks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.check { text-align: center; }
.check__ico {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 16px;
  border: 1px solid var(--rose);
  border-radius: 50%;
  color: var(--earth);
}
.check__ico svg { width: 40px; height: 40px; }
.check p { font-weight: 600; }
.checks-note { margin-top: 38px; text-align: center; color: var(--stone); }

/* ---------- Results ---------- */

.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; }
.tab {
  padding: 9px 22px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.tab:hover { border-color: var(--rose); }
.tab[aria-pressed="true"] { background: var(--earth); border-color: var(--earth); color: var(--ivory); }

.pairs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.pair[hidden] { display: none; }
.pair__open {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: zoom-in;
}
.pair__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pair__img { position: relative; overflow: hidden; display: block; }
.pair__img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .5s ease;
}
.pair--tattoo .pair__img img { aspect-ratio: 2 / 3; }
.pair__open:hover .pair__img img { transform: scale(1.02); }
.tag {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  padding: 4px 10px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
}
.tag--before { background: var(--ivory); color: var(--earth); }
.tag--after { background: var(--earth); color: var(--ivory); }
.pair__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-block: 12px 10px;
  border-bottom: 1px solid var(--line);
}
.pair__cap h3 { font-size: 20px; }
.pair__cap span { font-size: 13px; color: var(--stone); }
.results-note { margin-top: 34px; text-align: center; font-size: 15px; color: var(--stone); }
.pair--single { max-width: 600px; margin-inline: auto; }

/* ---------- Lightbox ---------- */

.lightbox {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 22px;
  border: 0;
  border-radius: 2px;
  background: var(--ivory);
  color: var(--earth);
}
.lightbox::backdrop { background: rgba(62, 47, 39, .82); }
.lightbox__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lightbox__imgs figure { position: relative; }
.lightbox__imgs img { width: 100%; max-height: calc(100vh - 190px); object-fit: contain; background: var(--sand); }
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.lightbox__title { font-family: var(--font-head); font-size: 22px; }
.lightbox__nav { display: flex; gap: 8px; }
.lightbox__btn {
  min-width: 46px;
  height: 46px;
  padding-inline: 14px;
  background: transparent;
  border: 1px solid var(--rose);
  border-radius: 2px;
  color: var(--rose);
  font-size: 16px;
  cursor: pointer;
}
.lightbox__btn:hover { background: var(--rose); color: var(--ivory); }

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 80px;
}
.about__img { max-width: 420px; width: 100%; aspect-ratio: 4 / 5; }
.about .prose strong { font-weight: 600; }
.about__num { margin-top: 34px; display: flex; align-items: baseline; gap: 14px; }
.about__num b {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  color: var(--rose);
}
.about__num span { color: var(--stone); }

/* ---------- Care ---------- */

.care { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.care > div { border-top: 1px solid var(--rose); padding-top: 26px; }
.care h3 { margin-bottom: 10px; }
.care p { color: var(--stone); }

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

.process { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.process > div {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 34px 36px;
}
.process p { margin-top: 8px; color: var(--stone); }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--rose);
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--stone); max-width: 62ch; }

/* ---------- Lead form ---------- */

.lead { max-width: 560px; margin-inline: auto; text-align: center; }
.lead__sub { margin-top: 14px; color: var(--nude); }
.form { margin-top: 36px; display: grid; gap: 16px; text-align: start; }
.field label { display: block; margin-bottom: 6px; font-size: 15px; color: var(--nude); }
.field input, .field select {
  width: 100%;
  height: 56px;
  padding-inline: 16px;
  background: transparent;
  border: 1px solid rgba(205, 184, 170, .6);
  border-radius: 2px;
  color: var(--ivory);
  font-size: 17px;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23CDB8AA' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 18px center;
  background-size: 12px 8px;
}
.field select option { color: var(--earth); background: var(--ivory); }
.field input:focus-visible, .field select:focus-visible { outline-color: var(--blush); border-color: var(--blush); }
.field__err { display: none; margin-top: 6px; font-size: 14.5px; color: #F0C4B4; }
.field.is-invalid input, .field.is-invalid select { border-color: #F0C4B4; }
.field.is-invalid .field__err { display: block; }
.form .btn { width: 100%; margin-top: 8px; }
.form__note { text-align: center; font-size: 15px; color: var(--nude); }
.form__fail { display: none; text-align: center; font-size: 15.5px; color: #F0C4B4; }
.form__fail.is-on { display: block; }
.thanks { margin-top: 36px; padding: 40px 28px; border: 1px solid rgba(205, 184, 170, .6); border-radius: 2px; }
.thanks h3 { color: var(--ivory); }
.thanks p { margin-top: 10px; color: var(--nude); }
[hidden] { display: none !important; }

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

.footer {
  background: var(--earth);
  color: var(--nude);
  border-top: 1px solid rgba(205, 184, 170, .25);
  padding-block: 44px 92px;
  font-size: 15.5px;
}
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__logo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer__links a { text-decoration: none; border-bottom: 1px solid transparent; transition: color .25s ease, border-color .25s ease; }
.footer__links a:hover { color: var(--ivory); border-color: var(--blush); }
.footer__place { color: var(--ivory); margin-bottom: 8px; }

/* ---------- Floating WhatsApp and mobile bar ---------- */

.wa {
  position: fixed;
  z-index: 40;
  left: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  transition: transform .25s ease;
}
.wa:hover { transform: scale(1.05); }
.wa svg { width: 28px; height: 28px; fill: currentColor; }

.bar {
  display: none;
  position: fixed;
  z-index: 45;
  inset-inline: 0;
  bottom: 0;
  background: var(--earth);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  transition: transform .3s ease;
}
.bar a {
  display: block;
  padding: 13px;
  text-align: center;
  color: var(--ivory);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  border: 1px solid rgba(248, 243, 238, .35);
  border-radius: 2px;
}
.bar.is-off { transform: translateY(110%); }

/* ---------- Legal pages ---------- */

.legal { padding-block: 72px 96px; }
.legal h1 { font-size: 48px; margin-bottom: 8px; }
.legal h2 { font-size: 26px; margin: 40px 0 10px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin-top: 10px; }
.legal li { position: relative; padding-inline-start: 22px; margin-top: 6px; }
.legal li::before { content: ""; position: absolute; inset-inline-start: 0; top: .85em; width: 12px; height: 1px; background: var(--rose); }
.legal a { text-decoration-color: var(--rose); text-underline-offset: 4px; }
.legal__date { color: var(--stone); font-size: 16px; margin-bottom: 26px; }

/* ---------- Reveal on scroll ---------- */

/* Motion is driven by GSAP in main.js. Only the hero is hidden up front, so it
   never flashes before its entrance; everything else is hidden by the script. */
.js-anim .hero :is(h1, .hero__kicker, .hero__lead, .hero__actions > *, .trust li, .hero__img, .hero__frame) { visibility: hidden; }

.progress {
  position: fixed;
  z-index: 60;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: right;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Depth and polish ---------- */

main { overflow-x: clip; }

/* Hero: one full first screen, the portrait framed by an offset arch. */
.hero { position: relative; overflow: clip; }
.hero:not(.hero--simple) {
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding-block: 40px 120px;
}
.hero:not(.hero--simple)::before {
  content: "";
  position: absolute;
  inset-inline-end: -8%;
  top: -18%;
  width: min(72vw, 1000px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(201, 156, 142, .34), rgba(201, 156, 142, 0));
  pointer-events: none;
}
.hero__grid { position: relative; }
.hero__kicker { margin-bottom: 22px; color: var(--rose); }
.hero__lead { font-size: 20px; line-height: 1.7; }
.hero__actions { margin-top: 38px; }
.trust {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  gap: 8px 30px;
}
.hero__media {
  position: relative;
  width: 100%;
  max-width: 480px;
  justify-self: center;
}
.hero__media .hero__img { max-width: none; }
.hero__frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--rose);
  border-radius: 999px 999px 2px 2px;
  transform: translate(-20px, 20px);
  pointer-events: none;
}
.arch img { will-change: transform; }

/* Fear: sticky statement beside an editorial list. */
.fear {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: 88px;
}
.fear__head { position: sticky; top: calc(var(--header-h) + 48px); }
.divider--start { justify-content: flex-start; margin-inline: 0; }
.divider--start::before { display: none; }
.fear-note { margin-top: 24px; max-width: 30em; }
.fear-list { margin-top: 0; }
.fear-list li {
  position: relative;
  align-items: center;
  gap: 22px;
  padding-block: 24px;
  border-bottom: 0;
  font-family: var(--font-head);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.3;
}
.fear-list li::before {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 11px;
}
.fear-list li::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
  transform: scaleX(var(--p, 1));
  transform-origin: right;
}
.choice { margin-top: 88px; }
.choice__title { font-family: var(--font-head); font-weight: 400; font-size: 28px; margin-bottom: 24px; }
.tile {
  min-height: 112px;
  background-color: #FCF9F6;
  background-image: linear-gradient(var(--earth), var(--earth));
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 0% 100%;
  border-color: var(--line);
  transition: background-size .6s var(--ease-out), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.tile:hover { background-color: #FCF9F6; background-size: 100% 100%; }
.tile:active { transform: scale(.985); }

/* Steps: the connecting line draws itself. */
.step__num::after { transform: scaleX(var(--p, 1)); transform-origin: right; }
.step__num { font-size: 52px; }

/* The statement after the restoration journey, set large. */
.pain {
  margin: 104px auto 0;
  max-width: 21em;
  font-family: var(--font-head);
  font-size: clamp(26px, 3.1vw, 44px);
  line-height: 1.32;
  color: var(--earth);
  text-align: center;
}

.journey figure { overflow: hidden; }

/* Cards */
.cards { gap: 24px; }
.card { background: #F3EAE2; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.card__media { overflow: hidden; }
.card__img { transition: transform 1.1s var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(62, 47, 39, .45); }
.card:hover .card__img { transform: scale(1.05); }
.card__body { padding: 28px 30px 34px; }

/* Diagnosis */
.check__ico { width: 92px; height: 92px; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.check:hover .check__ico { background: var(--earth); border-color: var(--earth); color: var(--ivory); }
.checks-note { margin-top: 48px; font-family: var(--font-head); font-size: 24px; color: var(--earth); }

/* Diagnosis: a profile in a gold-ringed circle, four checks as soft chips. */
.dg {
  --gold: #C39A68;
  --gold-rim: linear-gradient(140deg, #EBD3AB, #B98A5E 42%, #F3E3C6 68%, #B07F58);
  position: relative;
  overflow: clip;
  padding-block: 112px 190px;
  background:
    radial-gradient(60% 70% at 62% 34%, #FFFBF7, rgba(255, 251, 247, 0)),
    linear-gradient(180deg, var(--ivory), #F5EAE0);
}
.dg__wrap { position: relative; }
.dg__photo {
  position: absolute;
  inset-inline-end: -210px;
  top: 50%;
  width: 540px;
  aspect-ratio: 1;
  transform: translateY(-54%);
}
.dg__photo-in {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--nude);
  box-shadow: 0 40px 70px -40px rgba(120, 84, 60, .5);
}
.dg__photo-in img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.dg__ring {
  position: absolute;
  inset: -16px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background: var(--gold-rim) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.dg__body { position: relative; margin-inline-end: 370px; text-align: center; }
.dg h2 { font-size: clamp(38px, 3.7vw, 56px); line-height: 1.18; }
.dg__l1, .dg__l2 { display: block; }
.dg__l1 { color: var(--stone); }
.dg__l2 { font-size: 1.12em; }
.dg__swoosh { display: block; width: min(400px, 60%); height: auto; margin: 18px auto 0; }

.dg__items { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; }
.dg__item { position: relative; padding-inline: 10px; }
.dg__item + .dg__item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 18px;
  width: 1px;
  height: 120px;
  background: linear-gradient(rgba(195, 154, 104, 0), var(--gold), rgba(195, 154, 104, 0));
  transform: scaleY(var(--p, 1));
}
.dg__chip {
  display: grid;
  place-items: center;
  width: 156px;
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, #FFFFFF, #FBF5EE 58%, #F2E6D9) padding-box,
    var(--gold-rim) border-box;
  box-shadow: 0 22px 34px -22px rgba(120, 84, 60, .5), inset 0 -10px 18px rgba(201, 156, 142, .14), inset 0 8px 12px #FFFFFF;
  color: var(--earth);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.dg__chip svg { width: 82px; height: 82px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dg__dash { stroke-dasharray: 3.5 3.5; stroke-width: 1.3; }
.dg__item:hover .dg__chip { transform: translateY(-8px); box-shadow: 0 34px 44px -24px rgba(120, 84, 60, .55), inset 0 -10px 18px rgba(201, 156, 142, .14), inset 0 8px 12px #FFFFFF; }
.dg__item p { margin-top: 24px; font-weight: 600; font-size: 21px; line-height: 1.3; }

.dg__note { display: flex; align-items: center; justify-content: center; gap: 30px; margin-top: 56px; font-size: 19px; }
.dg__note::before, .dg__note::after { content: ""; flex: 0 1 96px; height: 1px; background: var(--gold); opacity: .7; }
.dg__cta { margin-top: 40px; }
.btn--pill {
  gap: 16px;
  padding: 21px 54px;
  border-radius: 999px;
  font-size: 19px;
  background-color: #4D382D;
  box-shadow: 0 22px 36px -20px rgba(62, 47, 39, .75), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.btn--pill::after { display: none; }
.btn--pill svg { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.dg__waves { position: absolute; inset-inline: 0; bottom: -1px; width: 100%; height: 190px; pointer-events: none; }
.dg__wave--soft { fill: rgba(255, 255, 255, .6); }
.dg__wave--base { fill: var(--ivory); }
.dg__wave-line { fill: none; stroke: var(--gold); stroke-width: 1.4; vector-effect: non-scaling-stroke; }

/* Results */
.tab { transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease); }
.tab:active { transform: scale(.96); }
.pair__img img { transition: transform 1.1s var(--ease-out); }
.pair__open:hover .pair__img img { transform: scale(1.05); }
.pair__cap { transition: border-color .4s var(--ease); }
.pair:hover .pair__cap { border-bottom-color: var(--rose); }

/* About */
.about__num b { font-size: 96px; font-variant-numeric: tabular-nums; }

/* Care and process */
.care > div { position: relative; border-top: 0; padding-top: 30px; }
.care > div::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: var(--rose);
  transform: scaleX(var(--p, 1));
  transform-origin: right;
}
.process > div { transition: border-color .4s var(--ease), transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.process > div:hover { border-color: var(--rose); transform: translateY(-4px); box-shadow: 0 22px 44px -30px rgba(62, 47, 39, .4); }

/* FAQ: answers open smoothly where the browser supports it. */
.faq { interpolate-size: allow-keywords; }
.faq details::details-content {
  height: 0;
  overflow: clip;
  transition: height .5s var(--ease-out), content-visibility .5s allow-discrete;
}
.faq details[open]::details-content { height: auto; }
.faq summary { transition: color .3s var(--ease); }
.faq summary:hover { color: var(--rose); }
.faq summary::after { transition: transform .45s var(--ease-out); }

/* Lead */
.sec--earth { position: relative; overflow: clip; }
.sec--earth::before {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  top: -30%;
  width: min(110vw, 1100px);
  aspect-ratio: 1;
  translate: 50% 0;
  background: radial-gradient(closest-side, rgba(169, 112, 90, .28), rgba(169, 112, 90, 0));
  pointer-events: none;
}
.sec--earth > .wrap { position: relative; }
.field input, .field select { transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.field input:hover, .field select:hover { border-color: var(--nude); }
.field input:focus, .field select:focus { background-color: rgba(248, 243, 238, .05); }

/* Lightbox opens with a short settle. */
.lightbox { opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .35s var(--ease), transform .5s var(--ease-out), overlay .5s allow-discrete, display .5s allow-discrete; }
.lightbox[open] { opacity: 1; transform: none; }
@starting-style { .lightbox[open] { opacity: 0; transform: translateY(14px) scale(.985); } }
.lightbox::backdrop { transition: opacity .4s var(--ease); }
@starting-style { .lightbox[open]::backdrop { opacity: 0; } }

.wa { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); box-shadow: 0 10px 24px -10px rgba(62, 47, 39, .5); }
.wa:hover { transform: translateY(-3px) scale(1.06); }

/* ---------- Tablet ---------- */

@media (max-width: 1020px) {
  .nav { display: none; }
  .burger { display: block; }
  .header .btn { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
  }
  .nav.is-open a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .hero__grid { gap: 44px; }
  .about { gap: 44px; }
  h1 { font-size: 50px; }
  .fear { gap: 48px; }
  .dg__photo { width: 400px; inset-inline-end: -190px; }
  .dg__body { margin-inline-end: 230px; }
  .dg__chip { width: 112px; }
  .dg__chip svg { width: 60px; height: 60px; }
  .dg__item + .dg__item::before { height: 90px; top: 12px; }
  .dg__item p { font-size: 18px; }
  .nav.is-open { animation: nav-in .45s var(--ease-out); }
  .nav a::after { display: none; }
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- Mobile ---------- */

@media (max-width: 760px) {
  :root { --gap-section: 56px; --header-h: 64px; --fade: 56px; }
  body { font-size: 17px; }
  .kicker { font-size: 13px; letter-spacing: .22em; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  h3 { font-size: 23px; }
  .wrap { padding-inline: 20px; }
  .logo img { height: 38px; }
  .btn { width: 100%; padding-inline: 20px; }
  .sec__head { margin-bottom: 32px; }
  .sec__cta { margin-top: 32px; }

  .hero, .hero:not(.hero--simple) { display: block; min-height: 0; padding-block: 28px 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__media { order: -1; max-width: none; padding-inline-end: 12px; }
  .hero__img { max-width: none; aspect-ratio: auto; height: 340px; }
  .hero__frame { transform: translate(-12px, 12px); inset-inline-end: 12px; }
  .hero__kicker { margin-bottom: 14px; }
  .hero__lead { font-size: 17px; margin-top: 18px; }
  .hero__actions { margin-top: 26px; }
  .trust { flex-direction: column; gap: 6px; margin-top: 30px; padding-top: 20px; }

  .fear { grid-template-columns: 1fr; gap: 26px; }
  .fear__head { position: static; }
  .fear-list li { font-size: 20px; padding-block: 18px; gap: 16px; }
  .fear-list li::before { width: 28px; height: 28px; }
  .choice { margin-top: 52px; }
  .choice__title { font-size: 24px; }
  .choice__tiles { grid-template-columns: 1fr; }
  .tile { min-height: 76px; }
  .pain { margin-top: 64px; }
  .checks-note { font-size: 21px; margin-top: 36px; }
  .dg { padding-block: 64px 130px; }
  .dg__photo { position: relative; inset: auto; top: auto; width: 230px; margin: 0 auto 40px; transform: none; }
  .dg__ring { inset: -10px; }
  .dg__body { margin-inline-end: 0; }
  .dg h2 { font-size: 30px; }
  .dg__items { grid-template-columns: 1fr 1fr; gap: 34px 8px; margin-top: 40px; }
  .dg__item + .dg__item::before { display: none; }
  .dg__chip { width: 124px; }
  .dg__chip svg { width: 66px; height: 66px; }
  .dg__item p { margin-top: 16px; font-size: 18px; }
  .dg__note { margin-top: 40px; font-size: 17px; gap: 0; }
  .dg__note::before, .dg__note::after { display: none; }
  .dg__cta { margin-top: 28px; }
  .btn--pill { padding: 18px 24px; font-size: 18px; }
  .dg__waves { height: 110px; }
  .check__ico { width: 78px; height: 78px; }
  .about__num b { font-size: 72px; }
  .card:hover, .process > div:hover { transform: none; box-shadow: none; }

  .steps { grid-template-columns: 1fr; gap: 26px; margin-top: 40px; }
  .step__num::after { display: none; }
  .step__num { font-size: 38px; }
  .step h3 { margin-top: 8px; }

  .journey { margin-top: 44px; }
  .journey__row { grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; }
  .journey__arrow { display: none; }
  .journey figcaption { font-size: 14px; }

  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card__body { padding: 20px 22px 24px; }
  .checks { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .pairs { grid-template-columns: 1fr; gap: 30px; }
  .tabs { margin-bottom: 28px; }

  .about { grid-template-columns: 1fr; gap: 30px; }
  .about__img { max-width: none; aspect-ratio: auto; height: 380px; }
  .care { grid-template-columns: 1fr; gap: 30px; }
  .process { grid-template-columns: 1fr; gap: 12px; }
  .process > div { padding: 26px 22px; }
  .faq summary { font-size: 17.5px; padding-block: 18px; }

  .lightbox { padding: 12px; }
  .lightbox__bar { flex-direction: column; align-items: stretch; text-align: center; }
  .lightbox__nav { justify-content: center; }

  .footer { padding-bottom: 116px; text-align: center; }
  .footer__in { flex-direction: column; }
  .footer__links { justify-content: center; }

  .bar { display: block; }
  .wa { bottom: 84px; left: 14px; width: 48px; height: 48px; }
  .legal { padding-block: 44px 64px; }
  .legal h1 { font-size: 36px; }
  .legal h2 { font-size: 23px; }
}
