@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..700;1,9..40,400..700&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --white: #ffffff;
  --ink: #050505;
  --ink-soft: #121212;
  --graphite: #222222;
  --muted: #6f6f6f;
  --line: #e2e2df;
  --soft: #f4f4f2;
  --warm: #fafaf8;
  --radius-xl: clamp(24px, 3.5vw, 38px);
  --radius-lg: clamp(18px, 2.5vw, 28px);
  --radius-md: clamp(14px, 2vw, 20px);
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  overflow-x: clip;
}

body.menu-is-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button, a {
  outline-offset: 4px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.site-shell {
  width: min(94vw, 1440px);
  margin: clamp(10px, 1.8vw, 24px) auto 0;
  position: relative;
}

/* ==========================================================================
   TOPBAR & NAVIGATION
   ========================================================================== */
.topbar {
  min-height: clamp(64px, 7vw, 90px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: clamp(10px, 1.4vw, 14px) clamp(8px, 1.2vw, 16px) clamp(14px, 1.8vw, 20px);
  position: relative;
  z-index: 100;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  width: max-content;
  text-decoration: none;
}

.brand-name {
  font: 700 clamp(20px, 2.2vw, 24px)/1 var(--display);
  letter-spacing: -.06em;
  color: var(--ink);
}

.brand-sub {
  color: var(--muted);
  font-size: clamp(7.5px, 0.8vw, 9px);
  text-transform: uppercase;
  letter-spacing: .13em;
  white-space: nowrap;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border: 1px solid #ececea;
  background: #fafaf8;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0,0,0,.03);
}

.mobile-nav-header,
.mobile-nav-footer,
.nav-backdrop {
  display: none;
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 12px;
  color: #3d3d3d;
  transition: background .25s ease, color .25s ease, transform .25s ease;
  white-space: nowrap;
}

.nav-link:hover {
  transform: translateY(-1px);
  color: var(--ink);
}

.nav-link.is-active {
  background: var(--ink);
  color: var(--white);
}

.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language {
  border: 0;
  background: transparent;
  padding: 10px 6px;
  color: #333;
  cursor: pointer;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #1a1a1a;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.btn-small {
  padding: 11px 16px;
  font-size: 12px;
}

.btn-large {
  padding: 16px 24px;
  font-size: 13.5px;
}

.btn-outline {
  border-color: #c9c9c7;
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: rgba(0,0,0,.03);
}

.menu-toggle {
  display: none;
  border: 0;
  background: #fafaf8;
  border: 1px solid #ebebea;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background .2s ease;
}

.menu-toggle:hover {
  background: #f0f0ed;
}

.menu-toggle .bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), opacity .2s ease;
  transform-origin: center;
}

.menu-toggle.is-open .bar-1 {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle.is-open .bar-2 {
  transform: translateY(-3.25px) rotate(-45deg);
}

.section-canvas,
.editorial-section,
.testimonials-section,
.final-cta {
  overflow: hidden;
}

/* ==========================================================================
   HERO SECTION (DESKTOP DEFAULT)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 890px;
  background: var(--warm);
  border-radius: var(--radius-xl);
  isolation: isolate;
  padding: clamp(60px, 7vw, 88px) clamp(20px, 3vw, 34px) 28px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 52% 33%, rgba(0,0,0,.035), transparent 38%);
  pointer-events: none;
}

.hero-title-wrap {
  position: relative;
  z-index: 2;
  margin-top: clamp(40px, 5.5vw, 74px);
}

.hero-title {
  margin: 0;
  font: 300 clamp(72px, 11vw, 172px)/.79 var(--display);
  letter-spacing: -.088em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-title span {
  display: block;
}

.hero-title-offset {
  margin-left: 11.5%;
}

.hero-photo-wrap {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: clamp(120px, 11vw, 146px);
  transform: translateX(-43%);
  width: clamp(240px, 20vw, 292px);
}

.hero-photo-frame {
  padding: 9px;
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 24px 65px rgba(0,0,0,.10);
  transform: rotate(-1.5deg);
  transition: transform .4s ease, box-shadow .4s ease;
}

.hero-photo-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 30px 80px rgba(0,0,0,.14);
}

.hero-photo-frame img {
  aspect-ratio: .82;
  border-radius: 19px;
}

.photo-tag {
  margin: 10px 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: #555;
  font-weight: 500;
}

.tag-dot {
  width: 6px;
  height: 6px;
  background: var(--ink);
  border-radius: 50%;
}

/* Info group handles both desktop & mobile layout gracefully */
.hero-info-group {
  display: contents;
}

.hero-copy {
  position: absolute;
  z-index: 6;
  left: clamp(20px, 3vw, 34px);
  top: clamp(400px, 32vw, 437px);
  width: clamp(210px, 18vw, 245px);
}

.micro-arrow {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  margin-bottom: 12px;
}

.eyebrow, .micro-caption, .card-label, .section-index, .why-number, .treatment-number {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 9px;
}

.hero-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.48;
  max-width: 230px;
  color: #333;
}

.social-proof {
  position: absolute;
  z-index: 6;
  right: clamp(20px, 3vw, 35px);
  top: clamp(140px, 12vw, 163px);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 240px;
}

.avatar-stack {
  display: flex;
  padding-left: 8px;
}

.avatar-stack img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--warm);
  object-fit: cover;
  margin-left: -8px;
}

.proof-content {
  display: flex;
  flex-direction: column;
}

.proof-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.social-proof strong {
  font: 600 28px/1 var(--display);
  letter-spacing: -.04em;
}

.rating-line {
  font-size: 10px;
  color: #555;
  font-weight: 500;
}

.social-proof small {
  display: block;
  margin-top: 4px;
  color: #676767;
  font-size: 9.5px;
  line-height: 1.4;
  max-width: 135px;
}

.scroll-orb {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: -30px;
  transform: translateX(-50%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-size: 24px;
  transition: transform .3s ease, background .3s ease;
  box-shadow: 0 12px 35px rgba(0,0,0,.14);
}

.scroll-orb:hover {
  transform: translateX(-50%) scale(1.08) rotate(5deg);
  background: #1a1a1a;
}

.scroll-label {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 82px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: #FFF;
  font-size: 8px;
  letter-spacing: .10em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
}

.hero-bottom-panel {
  position: absolute;
  z-index: 4;
  left: clamp(16px, 2.5vw, 32px);
  right: clamp(16px, 2.5vw, 32px);
  bottom: 0;
  padding: 22px 23px 18px;
  background: #000;
  border-radius: 28px 28px 16px 16px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 138px minmax(0,1fr);
  gap: 0;
  align-items: center;
  box-shadow: 0 22px 40px rgba(0,0,0,.035);
  overflow: visible;
}

.hero-bottom-panel::before {
  content: "";
  position: absolute;
  z-index: 5;
  left: 50%;
  top: -1px;
  width: 118px;
  height: 43px;
  transform: translateX(-50%);
  background: var(--warm);
  border-radius: 0 0 58px 58px;
}

.feature-card {
  position: relative;
  z-index: 2;
  min-height: 142px;
  border-radius: 19px;
  background: #fff;
  display: grid;
  grid-template-columns: 101px minmax(0,1fr);
  align-items: center;
  gap: 18px;
  padding: 14px;
  box-shadow: none;
  transition: transform .3s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
}

.feature-card-right {
  grid-template-columns: minmax(0,1fr) 129px;
  gap: 15px;
}

.feature-media {
  height: 112px;
  overflow: hidden;
  border-radius: 15px;
}

.feature-card-right .feature-media {
  height: 112px;
  border-radius: 14px;
}

.feature-content {
  position: relative;
  min-width: 0;
  padding: 0 4px 0 0;
}

.feature-card-right .feature-content {
  padding: 0 0 0 1px;
}

.feature-content h2 {
  margin: 10px 0 6px;
  font: 600 clamp(13px, 1.1vw, 15px)/1.15 var(--display);
  letter-spacing: -.025em;
  max-width: 220px;
}

.feature-content p {
  margin: 0;
  color: #707070;
  font-size: 10px;
  line-height: 1.4;
  max-width: 220px;
}

.feature-card .card-label {
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--muted);
}

.circle-link {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--warm);
  margin: 0;
  font-size: 11px;
  color: var(--ink);
  transition: background .2s ease, transform .2s ease;
}

.circle-link:hover {
  background: var(--ink);
  color: var(--white);
  transform: scale(1.1);
}

.feature-card-right .circle-link {
  right: 0;
  top: 0;
  bottom: auto;
}

.center-flow {
  position: relative;
  z-index: 8;
  height: 190px;
  display: flex;
  align-items: center;
  flex-direction: column;
  pointer-events: none;
}

.flow-line {
  position: absolute;
  top: 31px;
  width: 1px;
  height: 67px;
  flex: none;
  background: #a7a7a4;
  margin: 0;
}

.flow-caption {
  position: absolute;
  top: 137px;
  width: 105px;
  font-size: 7.5px;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
  color: #999;
  text-align: center;
}

.center-flow::after {
  content: "↘";
  position: absolute;
  bottom: 0px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #FFF;
  color: #000;
  font-size: 14px;
}

.center-flow::before {
  content: "";
  position: absolute;
  bottom: 0px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03);
}

/* Background watermark typography */
.decor-word {
  position: absolute;
  pointer-events: none;
  user-select: none;
  font: 300 clamp(60px, 12vw, 210px)/.78 var(--display);
  letter-spacing: -.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,.04);
  white-space: nowrap;
  max-width: 100vw;
}

.decor-word-1 { left: -8px; bottom: 86px; transform: rotate(-8deg); }
.decor-word-2 { right: -35px; bottom: 22px; transform: rotate(6deg); }
.decor-word-3 { left: 49%; bottom: -14px; transform: rotate(-7deg); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   EDITORIAL SECTION (TRATAMENTOS)
   ========================================================================== */
.editorial-section {
  padding: clamp(80px, 10vw, 140px) clamp(16px, 4vw, 40px) clamp(60px, 8vw, 120px);
  position: relative;
}

.section-intro {
  display: grid;
  grid-template-columns: 80px 1fr 300px;
  gap: clamp(20px, 3vw, 36px);
  align-items: end;
  max-width: 1120px;
  margin: 0 auto clamp(40px, 6vw, 85px);
}

.section-intro h2 {
  margin: 0;
  font: 300 clamp(40px, 6vw, 86px)/.94 var(--display);
  letter-spacing: -.07em;
}

.section-intro em {
  font-style: normal;
  color: #767676;
}

.section-intro p {
  margin: 0;
  color: #6b6b6b;
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 260px;
}

.treatment-stage {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  min-height: 870px;
}

.treatment {
  position: absolute;
  width: clamp(300px, 32vw, 380px);
}

.treatment-01 { left: 3%; top: 40px; }
.treatment-02 { right: 4%; top: 240px; }
.treatment-03 { left: 24%; bottom: 30px; }

.treatment-number {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  margin-bottom: 12px;
  color: #666;
}

.treatment-image {
  height: clamp(300px, 30vw, 390px);
  border-radius: 28px;
  overflow: hidden;
  background: var(--soft);
  box-shadow: 0 16px 45px rgba(0,0,0,.06);
}

.treatment-image img {
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}

.treatment:hover .treatment-image img {
  transform: scale(1.04);
}

.treatment-meta {
  padding: 15px 3px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.treatment-meta h3 {
  margin: 0;
  font: 600 clamp(18px, 1.8vw, 22px)/1.1 var(--display);
  letter-spacing: -.045em;
}

.treatment-meta p {
  margin: 0;
  max-width: 160px;
  color: #777;
  font-size: 11.5px;
  line-height: 1.4;
}

.treatment-word {
  z-index: -1;
  right: -4%;
  top: 31%;
}

/* ==========================================================================
   WHY SECTION
   ========================================================================== */
.why-section {
  background: var(--warm);
  border-radius: var(--radius-xl);
  min-height: 640px;
  padding: clamp(50px, 6vw, 76px) clamp(20px, 4vw, 5vw);
  position: relative;
}

.why-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.why-title {
  margin: clamp(50px, 7vw, 96px) 0 clamp(60px, 8vw, 120px);
  font: 300 clamp(38px, 7.5vw, 110px)/.86 var(--display);
  letter-spacing: -.075em;
  position: relative;
  z-index: 2;
}

.why-title span {
  color: #777;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #d4d4d1;
}

.why-item {
  padding: 24px 24px 0 0;
  border-right: 1px solid #d4d4d1;
}

.why-item + .why-item {
  padding-left: 24px;
}

.why-item:last-child {
  border-right: 0;
}

.why-item .why-number {
  color: #666;
}

.why-item h3 {
  margin: 18px 0 9px;
  font: 600 clamp(18px, 1.8vw, 21px)/1 var(--display);
  letter-spacing: -.04em;
}

.why-item p {
  margin: 0;
  color: #6e6e6e;
  font-size: 12.5px;
  line-height: 1.55;
  max-width: 270px;
}

.why-word {
  right: -30px;
  top: 10px;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: clamp(80px, 10vw, 140px) clamp(16px, 4vw, 4vw) clamp(70px, 9vw, 125px);
}

.section-intro-wide {
  grid-template-columns: 80px 1fr 180px;
}

.score-box {
  text-align: right;
}

.score-box strong {
  display: block;
  font: 300 clamp(60px, 6vw, 84px)/.85 var(--display);
  letter-spacing: -.075em;
}

.score-box .stars {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  margin-top: 6px;
  color: #d4a017;
}

.score-box small {
  display: block;
  margin-top: 8px;
  color: #777;
  font-size: 10px;
}

.testimonial-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr .85fr .85fr;
  gap: 18px;
  align-items: stretch;
}

.testimonial {
  margin: 0;
  background: var(--soft);
  border-radius: 28px;
  min-height: 320px;
  padding: clamp(24px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .3s ease;
}

.testimonial:hover {
  transform: translateY(-2px);
}

.testimonial-main {
  min-height: 385px;
  background: var(--ink);
  color: var(--white);
}

.testimonial blockquote {
  margin: 0;
  font: 400 clamp(19px, 1.8vw, 23px)/1.2 var(--display);
  letter-spacing: -.045em;
  max-width: 440px;
}

.testimonial:not(.testimonial-main) blockquote {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.35;
}

.testimonial figcaption {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 10px;
  letter-spacing: .08em;
  color: #777;
}

.testimonial figcaption strong {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink);
}

.testimonial-main figcaption {
  color: #a0a0a0;
}

.testimonial-main figcaption strong {
  color: var(--white);
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta {
  position: relative;
  min-height: clamp(540px, 50vw, 720px);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.final-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: clamp(36px, 5vw, 60px) clamp(20px, 4vw, 40px);
}

.final-content .micro-caption {
  color: #a8a8a8;
}

.final-content h2 {
  margin: clamp(20px, 3vw, 30px) 0 clamp(14px, 2vw, 20px);
  font: 300 clamp(44px, 9.5vw, 140px)/.84 var(--display);
  letter-spacing: -.088em;
}

.final-content h2 span {
  color: #8d8d8d;
}

.final-content p {
  margin: 0 auto;
  color: #bababa;
  font-size: clamp(13px, 1.2vw, 15px);
  max-width: 440px;
}

.final-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 36px);
  flex-wrap: wrap;
}

.final-actions .btn-dark {
  background: var(--white);
  color: var(--ink);
}

.final-actions .btn-dark:hover {
  background: #f0f0ed;
  box-shadow: 0 8px 25px rgba(255,255,255,.15);
}

.final-actions .btn-outline {
  border-color: #444;
  color: #fff;
}

.final-actions .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
}

.final-word {
  z-index: 1;
  color: rgba(255,255,255,.045);
  left: 50%;
  top: 16%;
  transform: translateX(-50%) rotate(-6deg);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3vw, 30px);
  align-items: center;
  padding: clamp(30px, 4vw, 44px) clamp(8px, 1.5vw, 16px) clamp(40px, 5vw, 60px);
}

.footer-nav {
  display: flex;
  gap: clamp(14px, 1.8vw, 22px);
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav a, .footer-contact {
  font-size: 11px;
  color: #626262;
}

.footer-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.footer-contact a {
  color: var(--ink);
  font-weight: 500;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* LAPTOPS & SMALL DESKTOPS (1024px - 1280px) */
@media (max-width: 1280px) {
  .hero-title {
    font-size: 10vw;
  }
  .hero-bottom-panel {
    grid-template-columns: minmax(0,1fr) 100px minmax(0,1fr);
  }
  .feature-card {
    grid-template-columns: 90px 1fr;
    gap: 12px;
  }
  .feature-card-right {
    grid-template-columns: 1fr 90px;
    gap: 12px;
  }
  .treatment {
    width: clamp(280px, 30vw, 340px);
  }
  .treatment-03 {
    left: 18%;
  }
}

/* TABLETS LANDSCAPE & PORTRAIT (768px - 1023px) */
@media (max-width: 1023px) {
  .site-shell {
    width: 95vw;
    margin-top: 14px;
  }

  /* Header becomes clean mobile/tablet bar */
  .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px 18px;
    min-height: 72px;
  }

  .language {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  /* Nav Backdrop */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  /* Navigation Drawer */
  .nav-pill {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 360px);
    background: var(--white);
    z-index: 999;
    border-radius: 28px 0 0 28px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-pill.is-open {
    transform: translateX(0);
  }

  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0ed;
    width: 100%;
  }

  .mobile-nav-close {
    border: 0;
    background: #f4f4f2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 16px;
    color: var(--ink);
    transition: background .2s ease;
  }

  .mobile-nav-close:hover {
    background: #e8e8e4;
  }

  .nav-links-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }

  .nav-link {
    font-size: 16px;
    font-weight: 500;
    padding: 14px 18px;
    width: 100%;
    border-radius: 14px;
    color: #222;
  }

  .nav-link.is-active {
    background: var(--ink);
    color: var(--white);
  }

  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #f0f0ed;
    width: 100%;
  }

  .btn-mobile {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 13px;
  }

  /* Hero Section in Tablet */
  .hero {
    position: relative;
    min-height: auto;
    padding: clamp(48px, 6vw, 70px) clamp(20px, 3.5vw, 36px) clamp(28px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title-wrap {
    margin-top: 10px;
    text-align: center;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(56px, 10vw, 84px);
    white-space: normal;
    line-height: .84;
    letter-spacing: -.07em;
  }

  .hero-title-offset {
    margin-left: 0;
  }

  .hero-photo-wrap {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    width: min(70vw, 290px);
    margin: clamp(24px, 4vw, 36px) auto clamp(24px, 4vw, 32px);
  }

  .hero-info-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 4vw, 36px);
    width: 100%;
    max-width: 680px;
    margin: 0 auto clamp(28px, 4vw, 44px);
    align-items: center;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: none;
  }

  .social-proof {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0,0,0,.03);
  }

  .scroll-label {
    display: none;
  }

  .center-flow {
    display: none;
  }

  .hero-bottom-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    background: var(--ink);
  }

  .hero-bottom-panel::before {
    display: none;
  }

  .feature-card,
  .feature-card-right {
    display: grid;
    grid-template-columns: 105px 1fr;
    min-height: auto;
    height: auto;
    gap: 16px;
    padding: 16px;
  }

  .feature-media,
  .feature-card-right .feature-media {
    height: 105px;
    border-radius: 14px;
  }

  .feature-card-right .feature-media {
    order: -1;
  }

  .feature-card-right .circle-link {
    top: auto;
    bottom: 0;
  }

  /* Editorial Section in Tablet */
  .section-intro,
  .section-intro-wide {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }

  .section-intro > p,
  .section-intro-wide .score-box {
    grid-column: 2;
  }

  .section-intro-wide .score-box {
    text-align: left;
    margin-top: 10px;
  }

  .treatment-stage {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .treatment {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100%;
  }

  .treatment-03 {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .treatment-image {
    height: 280px;
  }

  .treatment-word {
    right: -10%;
    top: 40%;
  }

  /* Why Section Tablet */
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Testimonials Tablet */
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .testimonial-main {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .testimonial {
    min-height: 280px;
  }

  /* Footer Tablet */
  .footer {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-contact {
    align-items: flex-start;
  }
}

/* SMARTPHONES & SMALL TABLETS (< 768px) */
@media (max-width: 767px) {
  .site-shell {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .topbar {
    padding: 8px 4px 14px;
    min-height: 56px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-cta {
    padding: 10px 14px;
    font-size: 11px;
  }

  /* Hero Mobile */
  .hero {
    padding: 34px 16px 20px;
    border-radius: 24px;
  }

  .hero-title {
    font-size: clamp(40px, 12.5vw, 62px);
    letter-spacing: -.065em;
    line-height: .86;
  }

  .hero-photo-wrap {
    width: min(84vw, 260px);
    margin: 18px auto 22px;
  }

  .hero-photo-frame {
    border-radius: 20px;
    padding: 7px;
  }

  .hero-photo-frame img {
    border-radius: 14px;
  }

  .photo-tag {
    font-size: 9px;
    margin: 8px 0 0 12px;
  }

  .hero-info-group {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 380px;
    margin-bottom: 22px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-description {
    font-size: 13px;
    max-width: 100%;
  }

  .social-proof {
    padding: 14px;
    gap: 12px;
    border-radius: 16px;
  }

  .avatar-stack img {
    width: 30px;
    height: 30px;
  }

  .social-proof strong {
    font-size: 24px;
  }

  .rating-line {
    font-size: 10px;
  }

  .social-proof small {
    font-size: 9px;
    max-width: 100%;
  }

  .hero-bottom-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 20px;
  }

  .feature-card,
  .feature-card-right {
    grid-template-columns: 82px 1fr;
    padding: 12px;
    gap: 12px;
    border-radius: 16px;
  }

  .feature-media,
  .feature-card-right .feature-media {
    height: 82px;
    border-radius: 10px;
  }

  .feature-card-right .feature-media {
    order: -1;
  }

  .feature-card-right .circle-link {
    top: auto;
    bottom: 0;
  }

  .feature-content h2 {
    font-size: 12.5px;
    margin: 4px 0 4px;
    max-width: 100%;
  }

  .feature-content p {
    font-size: 9.5px;
    line-height: 1.35;
    max-width: 100%;
  }

  .circle-link {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }

  /* Editorial Section Mobile */
  .editorial-section,
  .testimonials-section {
    padding: 70px 14px;
  }

  .section-intro,
  .section-intro-wide {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
  }

  .section-intro h2 {
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: .96;
  }

  .section-intro p {
    font-size: 12.5px;
    max-width: 100%;
  }

  .treatment-stage {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .treatment-03 {
    max-width: 100%;
  }

  .treatment-image {
    height: clamp(230px, 58vw, 320px);
    border-radius: 22px;
  }

  .treatment-meta {
    flex-direction: column;
    gap: 6px;
    padding: 14px 4px 0;
  }

  .treatment-meta h3 {
    font-size: 19px;
  }

  .treatment-meta p {
    font-size: 12px;
    max-width: 100%;
  }

  /* Why Section Mobile */
  .why-section {
    padding: 50px 16px;
    min-height: auto;
    border-radius: 24px;
  }

  .why-title {
    font-size: clamp(32px, 9.5vw, 56px);
    margin: 40px 0 50px;
    line-height: .92;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item,
  .why-item + .why-item {
    border-right: 0;
    border-bottom: 1px solid #d4d4d1;
    padding: 22px 0;
  }

  .why-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .why-item h3 {
    margin: 14px 0 8px;
    font-size: 19px;
  }

  .why-item p {
    font-size: 13px;
    max-width: 100%;
  }

  /* Testimonials Mobile */
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .testimonial {
    min-height: auto;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .testimonial blockquote {
    font-size: 18px;
  }

  .testimonial:not(.testimonial-main) blockquote {
    font-size: 16px;
  }

  /* Final CTA Mobile */
  .final-cta {
    min-height: auto;
    padding: 60px 18px;
    border-radius: 24px;
  }

  .final-content {
    padding: 0;
  }

  .final-content h2 {
    font-size: clamp(36px, 11vw, 64px);
    line-height: .9;
    letter-spacing: -.07em;
  }

  .final-content p {
    font-size: 13px;
  }

  .final-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 28px;
    gap: 10px;
  }

  .final-actions .btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 14px;
  }

  /* Footer Mobile */
  .footer {
    padding: 36px 8px 50px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }

  .footer-nav a {
    font-size: 13px;
  }

  .footer-contact {
    font-size: 12px;
    gap: 6px;
  }
}

/* COMPACT SMARTPHONES (< 380px, e.g. iPhone SE, Fold) */
@media (max-width: 380px) {
  .site-shell {
    width: calc(100% - 14px);
  }

  .header-cta {
    display: none;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-sub {
    font-size: 7px;
  }

  .hero-title {
    font-size: 36px;
  }

  .feature-card,
  .feature-card-right {
    grid-template-columns: 70px 1fr;
    padding: 10px;
    gap: 10px;
  }

  .feature-media,
  .feature-card-right .feature-media {
    height: 70px;
  }

  .feature-content h2 {
    font-size: 11.5px;
  }

  .feature-content p {
    font-size: 8.5px;
  }
}

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