/* Smile Again — cream ground, navy ink, gold accent.
   The smile curve from the logo shapes the photographs and closes the page. */

:root {
  --bg: #F6F0E7;
  --surface: #ECE2D4;
  --card: #FCF8F2;
  --ink: #0C2846;
  --muted: #3E5272;
  --navy-2: #173A61;
  --accent: #C99B4C;
  --accent-light: #DDB872;
  --accent-text: #85590F;
  --gold-field: #E9D5AA;
  --wa: #25D366;

  --font-display: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --font-text: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: 1rem;
  --step-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --step-lead: clamp(1.3125rem, 1.15rem + 0.6vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.4rem + 3.6vw, 4.5rem);
  --step-display: clamp(3.25rem, 1rem + 6.6vw, 6.75rem);

  --margin: clamp(1rem, 4vw, 4.5rem);
  --gutter: clamp(1rem, 3vw, 4rem);
  --section: clamp(6rem, 13vw, 13rem);
  --radius: 18px;
  --gap-gallery: clamp(.75rem, 1.5vw, 1.25rem);

  --smile-mask: var(--radius);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
  --t-reveal: 800ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
section[id] { scroll-margin-top: 4.5rem; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--bg); padding: .6rem 1rem; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.wrap { padding-inline: var(--margin); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; text-wrap: balance; }
.display { font-size: var(--step-display); line-height: 0.98; letter-spacing: -0.03em; }
.head { font-size: var(--step-head); line-height: 1.04; letter-spacing: -0.02em; }
.lead { font-size: var(--step-lead); line-height: 1.4; }
.sub { font-family: var(--font-display); font-size: var(--step-lead); line-height: 1.25; }
p { max-width: 62ch; text-wrap: pretty; }
[dir="rtl"] .display, [dir="rtl"] .head { letter-spacing: 0; line-height: 1.1; }

/* =========================================================
   BUTTONS
   A pill whose colour sweeps in from the reading edge on hover,
   with a lift, a sheen, and an icon or arrow that moves.
   ========================================================= */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--ink);
  --btn-sweep: var(--ink);
  --btn-sweep-fg: var(--bg);
  --btn-glow: rgba(201, 155, 76, .55);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.5rem; padding: .5rem 1.75rem;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-text); font-size: 1.0625rem; font-weight: 600; letter-spacing: .01em; line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 24px -14px var(--btn-glow);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), color 260ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-sweep); border-radius: inherit;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 420ms var(--ease-out);
}
[dir="rtl"] .btn::before { transform-origin: right center; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-18deg); opacity: 0; pointer-events: none;
}
.btn > * { position: relative; }
.btn-ico {
  display: grid; place-items: center; flex: none;
  width: 2.5rem; height: 2.5rem; margin-inline-start: -1.15rem;
  border-radius: 50%; background: var(--ink); color: var(--accent);
  transition: transform 420ms var(--ease-out), background-color 260ms ease, color 260ms ease;
}
.btn-ico svg { width: 1.35rem; height: 1.35rem; fill: currentColor; }
.btn-arrow { width: 1.2rem; height: 1.2rem; flex: none; transition: transform 320ms var(--ease-out); }
[dir="rtl"] .btn-arrow { transform: scaleX(-1); }
.btn:active { transform: scale(.97); transition-duration: var(--t-press); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-3px); color: var(--btn-sweep-fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 18px 34px -14px var(--btn-glow); }
  .btn:hover::before { transform: scaleX(1); }
  .btn:hover::after { animation: sheen 900ms var(--ease-out) 120ms; }
  .btn:hover .btn-ico { background: var(--accent); color: var(--ink); transform: rotate(-12deg) scale(1.06); }
  .btn:hover .btn-arrow { transform: translateX(5px); }
  [dir="rtl"] .btn:hover .btn-arrow { transform: scaleX(-1) translateX(5px); }
}
.btn:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; }
@keyframes sheen { 0% { opacity: 0; transform: skewX(-18deg) translateX(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: skewX(-18deg) translateX(420%); } }

/* on navy grounds the sweep turns cream */
.btn.on-dark { --btn-sweep: var(--bg); --btn-sweep-fg: var(--ink); --btn-glow: rgba(0, 0, 0, .55); }
@media (hover: hover) and (pointer: fine) { .btn.on-dark:hover .btn-ico { background: var(--ink); color: var(--accent); } }
.btn-navy { --btn-bg: var(--ink); --btn-fg: var(--bg); --btn-sweep: var(--bg); --btn-sweep-fg: var(--ink); --btn-glow: rgba(12, 40, 70, .55); }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-sweep: var(--ink); --btn-sweep-fg: var(--bg); --btn-glow: transparent;
  box-shadow: inset 0 0 0 2px currentColor;
}
.btn-ghost.on-dark { --btn-fg: var(--bg); --btn-sweep: var(--bg); --btn-sweep-fg: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--btn-sweep), 0 18px 34px -16px rgba(0, 0, 0, .35); } }
.btn-sm { min-height: 2.75rem; padding: .3rem 1.2rem; font-size: .9375rem; gap: .5rem; }
.btn-sm .btn-ico { width: 2rem; height: 2rem; margin-inline-start: -.85rem; }
.btn-sm .btn-ico svg { width: 1.1rem; height: 1.1rem; }
.btn-lg { min-height: 3.875rem; padding-inline: 2rem; font-size: 1.125rem; }
.btn-lg .btn-ico { width: 2.75rem; height: 2.75rem; margin-inline-start: -1.35rem; }
.btn-xl { min-height: 4.5rem; padding-inline: 2.4rem; font-size: 1.25rem; }
.btn-xl .btn-ico { width: 3.25rem; height: 3.25rem; margin-inline-start: -1.7rem; }
.btn-xl .btn-ico svg { width: 1.7rem; height: 1.7rem; }

.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .22em; text-decoration-thickness: .07em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 2rem;
  padding: .7rem var(--margin);
  background: var(--bg);
}
.brand img { width: auto; height: 3.4rem; }
.nav { display: flex; gap: .4rem; margin-inline-start: auto; font-size: var(--step-small); }
.nav-link { position: relative; padding: .5rem .75rem; text-decoration: none; }
.nav-link::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .3rem; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav-link:hover::after { transform: scaleX(1); } }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-toggle { font-size: var(--step-small); font-weight: 600; font-family: "Heebo", sans-serif; padding: .45rem .9rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(12, 40, 70, .25); transition: box-shadow var(--t-hover) ease, background-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .lang-toggle:hover { background: var(--ink); color: var(--bg); box-shadow: inset 0 0 0 1.5px var(--ink); } }
.menu-toggle { display: none; font-size: var(--step-small); font-weight: 600; padding: .45rem .9rem; border-radius: 999px; background: var(--surface); }
.menu { position: absolute; inset-inline: 0; top: 100%; background: var(--bg); padding: .5rem var(--margin) 1.5rem; box-shadow: 0 18px 30px -18px rgba(12, 40, 70, .35); }
.menu a { display: block; padding: .8rem 0; font-family: var(--font-display); font-size: var(--step-lead); text-decoration: none; }

/* ---------- hero: full-width photograph ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center;
  min-height: calc(100svh - 4.8rem);
  background: #081C34;
}
.hero-media { position: absolute; inset: 0 0 0 18%; z-index: -2; }
[dir="rtl"] .hero-media { inset: 0 18% 0 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
[dir="rtl"] .hero-media img { transform: scaleX(-1); }
/* neutral scrim so the words read over the photograph */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 28, 52, 1) 0%, rgba(8, 28, 52, 1) 18%, rgba(8, 28, 52, .8) 32%, rgba(8, 28, 52, .3) 54%, rgba(8, 28, 52, 0) 68%);
}
[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(8, 28, 52, 1) 0%, rgba(8, 28, 52, 1) 18%, rgba(8, 28, 52, .8) 32%, rgba(8, 28, 52, .3) 54%, rgba(8, 28, 52, 0) 68%); }
.hero-copy { width: min(46rem, 52%); padding: 4rem var(--margin) 7rem; color: var(--bg); }
.hero-sub { font-size: var(--step-lead); line-height: 1.4; max-width: 30ch; margin-top: 1.75rem; color: rgba(246, 240, 231, .92); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 2.5rem; }

/* ---------- the smile mask ---------- */
.shape-smile { border-radius: var(--smile-mask); overflow: hidden; background: var(--surface); }
.shape-smile img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- about ---------- */
.about { padding: var(--section) 1.25rem 0; }
.about-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 58% 1fr; gap: 2rem;
  min-height: 100svh;
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem) 0;
}
.about-lead { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5rem); }
.about-photo { width: min(38vw, 620px); aspect-ratio: 4 / 5; margin-top: auto; margin-bottom: -6rem; background: var(--navy-2); }
.about-photo img { object-position: 69% 50%; }
.about-text { display: flex; flex-direction: column; gap: 3.5rem; align-items: flex-start; padding-top: .5rem; max-width: 26rem; }
.about-block p { margin-top: .9rem; }
.about-text > :last-child { margin-bottom: 4rem; }

/* ---------- treatments ---------- */
.treatments { padding-block: var(--section) 0; }
.treat-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.treat-head h2 { grid-column: 1 / span 6; }
.treat-head .lead { grid-column: 8 / span 5; }
.treat-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; margin-top: clamp(3.5rem, 6vw, 5.5rem); padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.75rem, 3.5vw, 3rem); background: var(--surface); border-radius: var(--radius); }
.treat-cta-text { font-family: var(--font-display); font-size: clamp(1.375rem, 1.05rem + 1vw, 1.875rem); line-height: 1.25; max-width: 30ch; }
.cat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: clamp(4rem, 7vw, 6.5rem); }
.cat-name { grid-column: 1 / span 3; align-self: start; position: sticky; top: 6.5rem; font-size: clamp(1.75rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.1; letter-spacing: -0.015em; padding-top: .6rem; }
.items { grid-column: 4 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.item {
  position: relative; overflow: hidden;
  padding: 1.6rem 1.75rem 1.75rem;
  background: var(--card); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(12, 40, 70, .07);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), background-color 320ms ease;
}
.item::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 420ms var(--ease-out); }
[dir="rtl"] .item::before { transform-origin: right; }
@media (hover: hover) and (pointer: fine) {
  .item:hover { transform: translateY(-4px); background: #fff; box-shadow: inset 0 0 0 1px rgba(201, 155, 76, .45), 0 22px 40px -28px rgba(12, 40, 70, .45); }
  .item:hover::before { transform: scaleX(1); }
}
.item h4 { font-size: var(--step-body); font-weight: 700; line-height: 1.35; }
.item p { font-size: var(--step-small); margin-top: .45rem; color: var(--muted); max-width: 42ch; }
.item-lead { grid-column: 1 / -1; padding: 2.25rem 2.25rem 2.4rem; background: var(--ink); color: var(--bg); box-shadow: none; }
.item-lead h4 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); line-height: 1.15; }
.item-lead p { font-size: var(--step-body); color: rgba(246, 240, 231, .88); max-width: 52ch; margin-top: .75rem; }
.item-lead .note { display: inline-block; margin-top: 1.1rem; padding: .3rem .9rem; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: .9375rem; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .item-lead:hover { background: var(--navy-2); box-shadow: 0 22px 40px -26px rgba(12, 40, 70, .7); } }

/* ---------- results: slider ---------- */
.results { padding-block: var(--section); }
.results-head, .gallery-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.results-head h2 { grid-column: 1 / span 6; }
.results-head p { grid-column: 8 / span 5; }
.compare { position: relative; max-width: 1080px; margin: clamp(3rem, 6vw, 5rem) auto 0; aspect-ratio: 2 / 1; --pos: 50%; touch-action: pan-y; transition: opacity 260ms ease; }
.compare.is-swapping { opacity: .25; }
.compare picture, .compare img { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare img { object-fit: cover; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
[dir="rtl"] .compare-before { clip-path: inset(0 0 0 calc(100% - var(--pos))); }
.compare-handle { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--pos); width: 4px; margin-inline-start: -2px; background: var(--bg); pointer-events: none; }
.compare-knob { position: absolute; top: 50%; left: 50%; width: 3.25rem; height: 3.25rem; margin: -1.625rem 0 0 -1.625rem; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45); transition: transform 200ms var(--ease-out); }
.compare-knob svg { width: 1.5rem; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:hover .compare-knob, .compare:focus-within .compare-knob { transform: scale(1.12); }
.compare:focus-within { outline: 3px solid var(--accent); outline-offset: 4px; }
.compare-labels { display: flex; justify-content: space-between; max-width: 1080px; margin: 1rem auto 0; font-size: var(--step-small); font-weight: 600; }
.cases { display: flex; justify-content: center; gap: 1.1rem; margin-top: 2rem; }
.case {
  width: 5.25rem; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px transparent;
  opacity: .6; filter: saturate(.7);
  transition: opacity 240ms ease, filter 240ms ease, transform 320ms var(--ease-out), box-shadow 240ms ease;
}
.case img { width: 100%; height: 100%; object-fit: cover; }
.case[aria-pressed="true"] { opacity: 1; filter: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--accent); }
.case:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .case:hover { opacity: 1; filter: none; transform: translateY(-3px); } }
html:not(.js) .compare { aspect-ratio: auto; display: flex; flex-direction: column; }
html:not(.js) .compare picture, html:not(.js) .compare img { position: static; height: auto; }
html:not(.js) .compare-before { clip-path: none; order: -1; }
html:not(.js) .compare-handle, html:not(.js) .compare-range, html:not(.js) .cases, html:not(.js) .compare-labels { display: none; }

/* ---------- results: gallery ---------- */
.gallery-head { margin-top: clamp(5rem, 9vw, 8rem); }
.gallery-head h3 { grid-column: 1 / span 6; font-size: clamp(1.75rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.1; letter-spacing: -0.015em; }
.gallery-head p { grid-column: 8 / span 5; }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap-gallery); margin-top: clamp(2rem, 4vw, 3rem); }
.gallery li { flex: 0 0 calc((100% - 3 * var(--gap-gallery)) / 4); }
.ba {
  --label-before: "Before"; --label-after: "After";
  position: relative; display: block; width: 100%; aspect-ratio: 1;
  border-radius: var(--radius); overflow: hidden; background: var(--surface);
  transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out);
}
[lang="he"] .ba { --label-before: "לפני"; --label-after: "אחרי"; }
.ba picture, .ba img { width: 100%; height: 100%; }
.ba img { object-fit: cover; transition: transform 700ms var(--ease-soft); }
.ba::before, .ba::after {
  position: absolute; inset-inline-start: .75rem; z-index: 1;
  padding: .3rem .75rem; border-radius: 999px;
  font-size: .875rem; font-weight: 600; line-height: 1.3;
}
.ba::before { content: var(--label-before); top: .75rem; background: rgba(12, 40, 70, .85); color: var(--bg); }
.ba::after { content: var(--label-after); top: calc(50% + .6rem); background: var(--accent); color: var(--ink); }
.ba-zoom { position: absolute; inset-inline-end: .75rem; bottom: .75rem; z-index: 1; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--bg); color: var(--ink); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: opacity 260ms ease, transform 360ms var(--ease-out); }
.ba-zoom svg { width: 1.15rem; height: 1.15rem; }
@media (hover: hover) and (pointer: fine) {
  .ba:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -26px rgba(12, 40, 70, .55); }
  .ba:hover img { transform: scale(1.05); }
  .ba:hover .ba-zoom { opacity: 1; transform: none; }
}
.ba:focus-visible .ba-zoom { opacity: 1; transform: none; }
.ba:active { transform: scale(.98); }

/* lightbox */
.lightbox { width: min(92vw, 84svh, 900px); max-width: none; max-height: none; padding: 0; border: 0; border-radius: var(--radius); background: var(--ink); color: var(--bg); overflow: visible; }
.lightbox::backdrop { background: rgba(6, 20, 38, .86); }
.lightbox picture, .lightbox img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.lb-btn { position: absolute; z-index: 2; width: 3rem; height: 3rem; border-radius: 50%; background: var(--bg); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); transition: transform 240ms var(--ease-out), background-color 200ms ease; }
.lb-btn svg { width: 1.3rem; height: 1.3rem; }
@media (hover: hover) and (pointer: fine) { .lb-btn:hover { background: var(--accent); transform: scale(1.08); } }
.lb-btn:active { transform: scale(.94); }
.lb-close { top: -1.25rem; inset-inline-end: -1.25rem; }
.lb-prev, .lb-next { top: 50%; margin-top: -1.5rem; }
.lb-prev { inset-inline-start: -1.5rem; }
.lb-next { inset-inline-end: -1.5rem; }
.lb-prev svg { transform: scaleX(-1); }
[dir="rtl"] .lb-prev svg { transform: none; }
[dir="rtl"] .lb-next svg { transform: scaleX(-1); }
.lb-count { position: absolute; bottom: -2.4rem; left: 0; right: 0; text-align: center; font-size: var(--step-small); color: var(--bg); max-width: none; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lb-in 320ms var(--ease-out); }
  .lightbox[open]::backdrop { animation: fade-in 260ms ease; }
}
@keyframes lb-in { from { opacity: 0; transform: scale(.94); } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- package ---------- */
.package { display: grid; grid-template-columns: 7fr 5fr; }
.field { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; min-height: 70svh; padding: clamp(3rem, 6vw, 5.5rem) var(--margin) clamp(2.5rem, 5vw, 4.5rem); }
.field-navy { background: var(--ink); color: var(--bg); }
.field-gold { background: var(--gold-field); color: var(--ink); }
.field .lead { max-width: 26ch; }
.pkg-note { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: .9rem; padding: clamp(1.25rem, 2.5vw, 1.75rem) var(--margin); background: var(--accent); color: var(--ink); font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); line-height: 1.25; text-align: center; }
.pkg-note .pkg-check { background: var(--ink); color: var(--accent); }
.pkg-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1.1rem; max-width: 34rem; }
.pkg-list li { display: flex; align-items: flex-start; gap: 1rem; font-size: var(--step-lead); line-height: 1.4; }
.pkg-check { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; margin-top: -.05rem; border-radius: 50%; background: var(--accent); color: var(--ink); }
.pkg-check svg { width: 1.1rem; height: 1.1rem; }
.field-gold .pkg-check { background: var(--ink); color: var(--gold-field); }
.pkg-list .is-final { margin-top: .6rem; font-family: var(--font-display); font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); line-height: 1.2; color: var(--accent-light); }
.pkg-list .is-final .pkg-check { margin-top: .1rem; }

/* ---------- contact: WhatsApp only ---------- */
.contact { padding-block: var(--section); }
.contact-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem var(--gutter); align-items: center;
  max-width: 1240px; margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  background: var(--ink); color: var(--bg); border-radius: calc(var(--radius) * 1.5);
}
.contact-text .lead { margin-top: 1.5rem; max-width: 30ch; color: rgba(246, 240, 231, .9); }
.contact-actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.contact-line { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); text-decoration: none; color: var(--accent-light); transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .contact-line:hover { color: var(--bg); } }
.contact-mail { font-size: var(--step-small); color: rgba(246, 240, 231, .82); }
.contact-mail a { color: var(--bg); text-underline-offset: .2em; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--bg); padding-top: clamp(4rem, 8vw, 7rem); }
.footer-mark { padding-inline: var(--margin); }
.footer-word { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(4rem, 15.4vw, 15rem); line-height: .9; letter-spacing: -0.035em; white-space: nowrap; }
[dir="rtl"] .footer-mark { direction: ltr; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: clamp(3rem, 6vw, 4.5rem); }
.footer-nav { display: grid; grid-template-columns: repeat(3, max-content); gap: .75rem 2.5rem; align-content: start; }
.footer-contact { display: grid; gap: .6rem; justify-items: start; }
.footer-contact p:first-child { margin-bottom: .6rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 3.5rem 2rem; font-size: var(--step-small); }
.footer-base-actions { display: flex; align-items: center; gap: 1.5rem; }
.footer .lang-toggle { box-shadow: inset 0 0 0 1.5px rgba(246, 240, 231, .35); }
@media (hover: hover) and (pointer: fine) { .footer .lang-toggle:hover { background: var(--bg); color: var(--ink); } }

/* ---------- floating WhatsApp ---------- */
.fab {
  position: fixed; z-index: 50; bottom: max(1.25rem, env(safe-area-inset-bottom)); inset-inline-end: 1.25rem;
  display: flex; align-items: center; text-decoration: none;
}
.fab-dot {
  position: relative; isolation: isolate; display: grid; place-items: center;
  width: 3.9rem; height: 3.9rem; border-radius: 50%;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 26px -8px rgba(12, 40, 70, .5);
  transition: transform 320ms var(--ease-out);
}
.fab-dot svg { width: 2.1rem; height: 2.1rem; fill: currentColor; }
.fab-dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; }
.fab-label {
  margin-inline-end: .75rem; padding: .6rem 1rem; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-size: .9375rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 22px -10px rgba(12, 40, 70, .55);
  opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity 260ms ease, transform 360ms var(--ease-out);
}
[dir="rtl"] .fab-label { transform: translateX(-10px); }
@media (hover: hover) and (pointer: fine) {
  .fab:hover .fab-dot { transform: scale(1.08) rotate(-8deg); }
  .fab:hover .fab-label { opacity: 1; transform: none; }
}
.fab:focus-visible .fab-label { opacity: 1; transform: none; }
.fab:active .fab-dot { transform: scale(.94); }
@media (prefers-reduced-motion: no-preference) {
  .fab-dot::before { animation: pulse 2.6s var(--ease-out) infinite; }
}
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.65); opacity: 0; } }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header-actions { margin-inline-start: auto; }
  .menu-toggle { display: block; }
  .about-panel { display: flex; flex-direction: column; gap: 3rem; min-height: 0; }
  .about-lead { display: contents; }
  .about-text { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem var(--gutter); max-width: none; }
  .about-text > :last-child { margin-bottom: 0; }
  .about-photo { order: 3; width: 70%; align-self: center; margin-bottom: -5rem; }
  .cat { display: block; }
  .cat-name { position: static; padding: 0 0 1.5rem; }
  .gallery li { flex-basis: calc((100% - 2 * var(--gap-gallery)) / 3); }
}

/* ---------- stacked hero ---------- */
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; margin: 0; border-radius: 0; background: var(--bg); }
  .hero::before { display: none; }
  .hero-media { position: relative; inset: auto; z-index: 0; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
  .hero-copy { width: auto; padding: 2.25rem var(--margin) 1rem; color: var(--ink); }
  .hero-sub { color: var(--ink); }
  .hero .btn-ghost.on-dark { --btn-fg: var(--ink); --btn-sweep: var(--ink); --btn-sweep-fg: var(--bg); }
  .hero .btn-gold.on-dark { --btn-sweep: var(--ink); --btn-sweep-fg: var(--bg); }
  .contact-panel { grid-template-columns: 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .site-header { gap: 1rem; padding-block: .55rem; }
  .brand img { height: 2.75rem; }
  .header-wa { display: none; }
  .hero-media img { object-position: 60% 30%; }
  .hero-sub { font-size: var(--step-body); }
  .hero-actions .btn { width: 100%; }
  .about { padding: var(--section) .625rem 0; }
  .about-panel { gap: 2.5rem; padding: 2.5rem 1.25rem 0; }
  .about-photo { width: 86%; margin-bottom: -3rem; }
  .about-text { display: flex; gap: 2.25rem; }
  .treat-head, .results-head, .gallery-head { display: block; }
  .treat-head .lead, .results-head p, .gallery-head p { margin-top: 1.25rem; }
  .items { grid-template-columns: 1fr; gap: .75rem; }
  .item { padding: 1.35rem 1.4rem 1.45rem; }
  .item-lead { padding: 1.75rem 1.5rem; }
  .compare { aspect-ratio: 4 / 3; margin-inline: calc(var(--margin) * -1); }
  .compare-labels { margin-top: .75rem; }
  .case { width: 4.5rem; }
  .gallery li { flex-basis: calc((100% - var(--gap-gallery)) / 2); }
  .ba::before, .ba::after { font-size: .8125rem; padding: .2rem .6rem; inset-inline-start: .5rem; }
  .ba::before { top: .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: -4rem; margin: 0; }
  .lb-prev { inset-inline-start: 0; }
  .lb-next { inset-inline-end: 0; }
  .lb-count { bottom: -3.1rem; }
  .lb-close { top: -3.75rem; inset-inline-end: 0; }
  .package { grid-template-columns: 1fr; }
  .field { min-height: 0; }
  .contact.wrap { padding-inline: .75rem; }
  .contact-panel { padding: 2.5rem 1.5rem; }
  .contact-actions .btn { width: 100%; white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, max-content); }
  .fab-dot { width: 3.6rem; height: 3.6rem; }
  .fab-label { display: none; }
}

/* ---------- motion (content stays visible without script) ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 250ms); }
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 300ms); }

  /* hero photograph settles in, then drifts slowly */
  .js .hero-media img { animation: settle 1600ms var(--ease-soft) both, drift 24s 1.6s ease-in-out infinite alternate; }
  .js[dir="rtl"] .hero-media img { animation-name: settle-rtl, drift-rtl; }

  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js figure[data-reveal] img, .js [data-reveal] .shape-smile img { transform: scale(1.08); transition: transform 1400ms var(--ease-soft); transition-delay: calc(var(--d, 0) * 80ms); }
  .js figure[data-reveal].is-in img, .js [data-reveal].is-in .shape-smile img { transform: none; }
  .js .compare[data-reveal] img { transform: none; }
  .js .items .item { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out), box-shadow 320ms var(--ease-out), background-color 320ms ease; transition-delay: calc(var(--n, 0) * 70ms + 120ms); }
  .js .cat.is-in .item { opacity: 1; transform: none; }
  .js .cat.is-in .item.is-settled { transition-delay: 0s; }
  .js .gallery li { opacity: 0; transform: translateY(24px) scale(.97); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--n, 0) * 60ms); }
  .js .gallery.is-in li { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .js .cat.is-in .item:hover { transform: translateY(-4px); }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.1); } to { transform: scale(1.02); } }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.07) translateY(-1%); } }
@keyframes settle-rtl { from { transform: scaleX(-1) scale(1.1); } to { transform: scaleX(-1) scale(1.02); } }
@keyframes drift-rtl { from { transform: scaleX(-1) scale(1.02); } to { transform: scaleX(-1) scale(1.07) translateY(-1%); } }
