:root {
  --ink: #191716;
  --muted: #716b65;
  --paper: #f7f3ee;
  --porcelain: #fffaf4;
  --clay: #8c5f56;
  --wine: #5b2632;
  --moss: #243f36;
  --sage: #cad7c8;
  --gold: #c7a66a;
  --line: rgba(25, 23, 22, 0.12);
  --white-line: rgba(255, 250, 244, 0.18);
  --shadow: 0 24px 70px rgba(35, 27, 25, 0.16);
  --shadow-soft: 0 14px 42px rgba(35, 27, 25, 0.1);
  --radius-card: 8px;
  --radius-soft: 18px;
  --radius-pill: 999px;
  --section-y: clamp(78px, 8vw, 104px);
  --section-y-compact: clamp(64px, 7vw, 88px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::selection {
  color: var(--porcelain);
  background: var(--wine);
}

img {
  display: block;
  max-width: 100%;
}

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

section[id] {
  scroll-margin-top: 92px;
}

button,
input,
select {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #fff1c7, var(--wine));
  box-shadow: 0 0 24px rgba(199, 166, 106, 0.5);
}

.cursor-glow {
  position: fixed;
  z-index: 1;
  width: 320px;
  height: 320px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(199, 166, 106, 0.22), transparent 62%);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 250ms ease;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 16px;
  color: var(--porcelain);
  background: rgba(25, 23, 22, 0.28);
  border: 1px solid rgba(255, 250, 244, 0.16);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: background 300ms ease, color 300ms ease, box-shadow 300ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 250, 244, 0.86);
  border-color: rgba(25, 23, 22, 0.12);
  box-shadow: 0 16px 44px rgba(25, 23, 22, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--porcelain);
  background: linear-gradient(135deg, var(--wine), var(--moss));
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 14px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.74;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  opacity: 0.8;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-links a.is-active::after {
  opacity: 0.72;
  transform: scaleX(1);
}

.nav-links .nav-feature {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: var(--porcelain);
  background: rgba(199, 166, 106, 0.18);
  border: 1px solid rgba(199, 166, 106, 0.34);
  border-radius: var(--radius-pill);
  opacity: 1;
}

.site-header.is-scrolled .nav-feature {
  color: var(--moss);
  background: rgba(36, 63, 54, 0.08);
  border-color: rgba(36, 63, 54, 0.16);
}

.nav-links .nav-feature::after {
  display: none;
}

.button,
.icon-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 800;
  transition: transform 220ms var(--ease), background 220ms ease, border-color 220ms ease;
}

.button::before,
.icon-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.2) 42%, transparent 68%);
  opacity: 0;
  transform: translateX(-120%);
  transition: transform 540ms var(--ease), opacity 240ms ease;
}

.button:hover::before,
.icon-button:hover::before {
  opacity: 1;
  transform: translateX(120%);
}

.button > *,
.icon-button > * {
  position: relative;
  z-index: 1;
}

.button {
  padding: 0 18px;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-2px);
}

.button:active,
.icon-button:active {
  transform: translateY(0) scale(0.98);
}

.button svg,
.icon-button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  color: var(--porcelain);
  background: var(--wine);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(91, 38, 50, 0.24);
}

.button-primary:hover {
  background: #471e28;
}

.button-ghost {
  color: inherit;
  background: rgba(255, 250, 244, 0.08);
  border-color: currentColor;
  backdrop-filter: blur(14px);
}

.icon-button {
  padding: 0 15px;
  color: var(--porcelain);
  background: rgba(255, 250, 244, 0.1);
  border-color: rgba(255, 250, 244, 0.25);
}

.site-header.is-scrolled .icon-button {
  color: var(--porcelain);
  background: var(--moss);
}

.section-dark {
  color: var(--porcelain);
  background: var(--ink);
}

.section-muted {
  background: var(--paper);
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  padding: 132px 0 62px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06);
  transform: translateY(var(--hero-shift, 0px)) scale(1.04);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 15, 14, 0.84) 0%, rgba(16, 15, 14, 0.52) 44%, rgba(16, 15, 14, 0.16) 100%),
    linear-gradient(0deg, rgba(16, 15, 14, 0.82) 0%, rgba(16, 15, 14, 0.06) 56%);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 250, 244, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 244, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black 0%, transparent 68%);
}

.hero-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 250, 244, 0.11) 45%, transparent 62%);
  transform: translateX(-42%);
  animation: sheen 8s ease-in-out infinite;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(290px, 0.34fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  width: min(1120px, calc(100% - 36px));
  margin-bottom: clamp(18px, 5vh, 58px);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5.3vw, 72px);
  line-height: 1.04;
}

h2 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(30px, 3.65vw, 48px);
  line-height: 1.07;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 580px;
  color: rgba(255, 250, 244, 0.82);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  color: rgba(255, 250, 244, 0.88);
  background: rgba(255, 250, 244, 0.1);
  border: 1px solid var(--white-line);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 800;
}

.hero-badges svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-soft);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.16), rgba(255, 250, 244, 0.08));
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.hero-panel div {
  padding: 20px 20px 18px;
  border-right: 0;
  border-bottom: 1px solid var(--white-line);
}

.hero-panel div:last-child {
  border-bottom: 0;
}

.hero-panel span {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.hero-panel small {
  display: block;
  color: rgba(255, 250, 244, 0.74);
  font-size: 12px;
  line-height: 1.38;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--white-line);
  border-radius: 50%;
  color: var(--porcelain);
  transform: translateX(-50%);
  animation: float 2.4s ease-in-out infinite;
}

.intro-section {
  position: relative;
  padding: var(--section-y) 0 var(--section-y-compact);
  background: var(--porcelain);
  overflow: hidden;
}

.intro-section::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 166, 106, 0.54), transparent);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(34px, 5vw, 62px);
  align-items: end;
}

.intro-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.signature-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.signature-line span {
  width: 68px;
  height: 1px;
  background: var(--gold);
}

.method-strip {
  width: min(1120px, calc(100% - 36px));
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.method-strip article {
  position: relative;
  min-height: 198px;
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 34px rgba(25, 23, 22, 0.05);
  transition: background 280ms ease, transform 280ms var(--ease), box-shadow 280ms ease;
  overflow: hidden;
}

.method-strip article::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 260ms ease, transform 360ms var(--ease);
}

.method-strip article:hover {
  background: #fff;
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.method-strip article:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.method-strip svg {
  width: 25px;
  height: 25px;
  margin-bottom: 22px;
  color: var(--wine);
}

.method-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.56;
}

.treatments {
  position: relative;
  padding: var(--section-y) 0;
  overflow: hidden;
}

.treatments::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 16%, rgba(36, 63, 54, 0.08), transparent 30%);
  pointer-events: none;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 680px;
}

.treatment-lab {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--porcelain);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.treatment-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.tab-button {
  min-height: 62px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color 220ms ease, background 220ms ease;
}

.tab-button:last-child {
  border-right: 0;
}

.tab-button.active {
  color: var(--porcelain);
  background: linear-gradient(135deg, var(--moss), var(--wine));
}

.treatment-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1.04fr);
  min-height: 0;
  align-items: stretch;
}

.treatment-media {
  position: relative;
  height: clamp(330px, 35vw, 430px);
  min-height: 0;
  margin: 18px 0 18px 18px;
  overflow: hidden;
  border-radius: var(--radius-soft);
  background: #e8ded5;
  box-shadow: inset 0 0 0 1px rgba(25, 23, 22, 0.08);
}

.treatment-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 250, 244, 0.26);
  border-radius: inherit;
  pointer-events: none;
}

.treatment-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 700ms var(--ease), filter 700ms ease;
}

.treatment-lab:hover .treatment-image {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.treatment-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 4.4vw, 56px);
}

.treatment-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.treatment-copy ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.treatment-copy li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.treatment-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.experience {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 620px;
  background: var(--moss);
  color: var(--porcelain);
  overflow: hidden;
}

.experience::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(199, 166, 106, 0.09), transparent 66%);
  pointer-events: none;
}

.experience-media {
  overflow: hidden;
}

.experience-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 900ms var(--ease);
}

.experience:hover .experience-media img {
  transform: scale(1.075);
}

.experience-copy {
  align-self: center;
  width: min(520px, calc(100% - 36px));
  margin: 0 auto;
  padding: var(--section-y-compact) 0;
}

.experience-copy p {
  color: rgba(255, 250, 244, 0.78);
  font-size: 16px;
  line-height: 1.72;
}

.experience-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.experience-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--white-line);
  font-weight: 800;
  transition: transform 220ms var(--ease), color 220ms ease;
}

.experience-list span:hover {
  color: #fff;
  transform: translateX(4px);
}

.experience-list svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.before-after {
  position: relative;
  padding: var(--section-y) 0;
  overflow: hidden;
}

.before-after::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(199, 166, 106, 0.14), transparent 34%);
  pointer-events: none;
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.grid-two p {
  color: rgba(255, 250, 244, 0.74);
  font-size: 16px;
  line-height: 1.7;
}

.comparison {
  position: relative;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-card);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.34);
}

.comparison.is-demoing {
  cursor: ew-resize;
}

.comparison img,
.comparison-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.comparison img {
  object-fit: cover;
}

.comparison-after {
  width: var(--split, 58%);
  overflow: hidden;
  border-right: 2px solid var(--gold);
}

.comparison::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--split, 58%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 244, 0.62);
  border-radius: 50%;
  background: rgba(25, 23, 22, 0.56);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(14px);
  pointer-events: none;
  transition: left 260ms var(--ease);
}

.comparison-after img {
  width: calc(100% / (var(--split-value, 0.58)));
  max-width: none;
}

.comparison-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-hint {
  position: absolute;
  left: 50%;
  top: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  color: var(--porcelain);
  background: rgba(25, 23, 22, 0.58);
  border: 1px solid var(--white-line);
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  pointer-events: none;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  animation: hintPulse 2.4s ease-in-out infinite;
  transition: opacity 300ms ease, transform 300ms var(--ease);
}

.comparison-hint svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  animation: hintSlide 1.6s ease-in-out infinite;
}

.comparison.has-interacted .comparison-hint {
  opacity: 0;
  transform: translate(-50%, -8px);
}

.comparison-label {
  position: absolute;
  bottom: 18px;
  padding: 8px 10px;
  color: var(--porcelain);
  background: rgba(25, 23, 22, 0.58);
  border: 1px solid var(--white-line);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  backdrop-filter: blur(14px);
}

.comparison-label.left {
  left: 18px;
}

.comparison-label.right {
  right: 18px;
}

.ai-agent {
  position: relative;
  padding: var(--section-y) 0;
  overflow: hidden;
}

.agent-page {
  min-height: 100svh;
  background: var(--ink);
}

.agent-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 132px 0 76px;
  overflow: hidden;
  isolation: isolate;
}

.agent-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 15, 14, 0.94), rgba(16, 15, 14, 0.72) 54%, rgba(16, 15, 14, 0.86)),
    url("https://images.unsplash.com/photo-1556760544-74068565f05c?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.agent-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 250, 244, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 244, 0.08) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.agent-page .ai-agent-copy p {
  color: rgba(255, 250, 244, 0.78);
}

.agent-page .ai-agent-copy h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5.1vw, 70px);
}

.agent-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 28px 0 22px;
}

.agent-value-grid div {
  min-height: 112px;
  padding: 18px 16px;
  background: rgba(255, 250, 244, 0.08);
  border: 1px solid var(--white-line);
  border-radius: var(--radius-card);
  backdrop-filter: blur(18px);
}

.agent-value-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--porcelain);
  font-size: 30px;
  line-height: 1;
}

.agent-value-grid span {
  display: block;
  color: rgba(255, 250, 244, 0.68);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.agent-page .agent-training span {
  color: var(--porcelain);
  background: rgba(255, 250, 244, 0.08);
  border-color: var(--white-line);
  backdrop-filter: blur(18px);
}

.agent-page .agent-training svg {
  color: var(--gold);
}

.agent-prompt-card {
  max-width: 620px;
  margin-top: 16px;
  padding: 18px;
  background: rgba(199, 166, 106, 0.1);
  border: 1px solid rgba(199, 166, 106, 0.26);
  border-radius: var(--radius-soft);
  backdrop-filter: blur(18px);
}

.agent-prompt-card small {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.agent-prompt-card p {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  line-height: 1.35;
}

.ai-agent::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(36, 63, 54, 0.08), transparent 42%),
    radial-gradient(circle at 86% 12%, rgba(199, 166, 106, 0.18), transparent 34%);
  pointer-events: none;
}

.ai-agent-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.66fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.ai-agent-copy p {
  max-width: 590px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.agent-training {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin-top: 30px;
}

.agent-training span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 28px rgba(25, 23, 22, 0.05);
  font-size: 14px;
  font-weight: 800;
}

.agent-training svg {
  width: 19px;
  height: 19px;
  color: var(--wine);
  flex: 0 0 auto;
}

.chat-demo {
  display: grid;
  justify-items: end;
  perspective: 1200px;
}

.chat-phone {
  position: relative;
  width: min(100%, 410px);
  min-height: 640px;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(247, 243, 238, 0.98)),
    linear-gradient(135deg, rgba(199, 166, 106, 0.18), transparent);
  border: 1px solid rgba(255, 250, 244, 0.28);
  border-radius: 32px;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.34);
  transform: rotateY(-4deg) rotateX(2deg);
  transform-origin: center;
  animation: phoneFloat 7s ease-in-out infinite;
}

.chat-phone::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(25, 23, 22, 0.08);
  border-radius: 24px;
  pointer-events: none;
  z-index: 3;
}

.chat-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 16px 18px;
  color: var(--porcelain);
  background: linear-gradient(135deg, var(--moss), var(--wine));
}

.chat-context {
  display: flex;
  gap: 8px;
  padding: 12px 14px 0;
  background: rgba(255, 250, 244, 0.94);
}

.chat-context span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  color: var(--moss);
  background: rgba(36, 63, 54, 0.08);
  border: 1px solid rgba(36, 63, 54, 0.12);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.chat-context svg {
  width: 13px;
  height: 13px;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.chat-header strong,
.chat-header small {
  display: block;
}

.chat-header strong {
  font-size: 14px;
}

.chat-header small {
  margin-top: 3px;
  color: rgba(255, 250, 244, 0.72);
  font-size: 12px;
}

.chat-status {
  position: relative;
  padding-left: 12px;
  color: rgba(255, 250, 244, 0.82);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chat-status::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  background: #95e8b1;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(149, 232, 177, 0.14);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 332px;
  max-height: 332px;
  padding: 18px;
  overflow-y: auto;
  background:
    linear-gradient(rgba(255, 250, 244, 0.72), rgba(255, 250, 244, 0.72)),
    radial-gradient(circle at 20% 10%, rgba(199, 166, 106, 0.18), transparent 32%);
}

.message {
  width: fit-content;
  max-width: 84%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
  animation: messageIn 360ms var(--ease) both;
}

.message.bot {
  color: var(--ink);
  background: #fff;
  border-bottom-left-radius: 7px;
  box-shadow: 0 10px 24px rgba(25, 23, 22, 0.07);
}

.message.user {
  align-self: flex-end;
  color: var(--porcelain);
  background: var(--moss);
  border-bottom-right-radius: 7px;
}

.message.typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-width: 58px;
}

.message.typing i {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: typingDot 900ms ease-in-out infinite;
}

.message.typing i:nth-child(2) {
  animation-delay: 120ms;
}

.message.typing i:nth-child(3) {
  animation-delay: 240ms;
}

.chat-suggestions {
  display: flex;
  gap: 8px;
  padding: 13px 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.chat-suggestions::-webkit-scrollbar {
  display: none;
}

.chat-suggestions button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  color: var(--moss);
  background: rgba(36, 63, 54, 0.08);
  border: 1px solid rgba(36, 63, 54, 0.14);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms var(--ease);
}

.chat-suggestions button:hover {
  background: rgba(36, 63, 54, 0.14);
  transform: translateY(-1px);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 10px;
  padding: 14px;
}

.chat-form input {
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  outline: 0;
}

.chat-form input:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(36, 63, 54, 0.12);
}

.chat-form button {
  display: grid;
  place-items: center;
  color: var(--porcelain);
  background: var(--wine);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms ease;
}

.chat-form button:hover {
  background: #471e28;
  transform: translateY(-1px);
}

.chat-form svg {
  width: 18px;
  height: 18px;
}

.testimonials {
  padding: var(--section-y) 0;
  background: var(--porcelain);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  position: relative;
  min-height: 248px;
  display: grid;
  align-content: space-between;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 16px 44px rgba(25, 23, 22, 0.07);
  transition: transform 260ms var(--ease), box-shadow 260ms ease;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(199, 166, 106, 0.12), transparent 44%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card > * {
  position: relative;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.testimonial-card p {
  margin: 22px 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  line-height: 1.3;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.booking {
  padding: var(--section-y-compact) 0 var(--section-y);
}

.booking-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.64fr);
  gap: clamp(38px, 5vw, 66px);
  align-items: start;
}

.booking-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.booking-form input,
.booking-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  outline: 0;
}

.booking-form input:focus,
.booking-form select:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(91, 38, 50, 0.12);
}

.booking-form button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.site-footer {
  padding: 34px 0;
  color: var(--porcelain);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 250, 244, 0.66);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--porcelain);
  background: var(--moss);
  border: 1px solid rgba(255, 250, 244, 0.18);
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(36, 63, 54, 0.3);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease), filter 800ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.mobile-dock {
  display: none;
}

.text-split {
  overflow: hidden;
}

.text-split .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.72em) rotate(1.6deg);
  filter: blur(7px);
  transition:
    opacity 760ms var(--ease),
    transform 760ms var(--ease),
    filter 760ms ease;
  transition-delay: calc(var(--word-index) * 34ms + var(--text-delay, 0ms));
}

.text-split.in-view .word,
.in-view .text-split .word {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
  filter: blur(0);
}

.text-split.reveal {
  transform: none;
  filter: none;
}

@keyframes sheen {
  0%,
  45% {
    transform: translateX(-54%);
  }

  72%,
  100% {
    transform: translateX(58%);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

@keyframes hintPulse {
  0%,
  100% {
    opacity: 0.82;
  }

  50% {
    opacity: 1;
  }
}

@keyframes hintSlide {
  0%,
  100% {
    transform: translateX(-3px);
  }

  50% {
    transform: translateX(4px);
  }
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes typingDot {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: rotateY(-4deg) rotateX(2deg) translateY(0);
  }

  50% {
    transform: rotateY(-2deg) rotateX(1deg) translateY(-10px);
  }
}

@media (max-width: 960px) {
  body {
    padding-bottom: 78px;
  }

  .site-header {
    top: 10px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding: 108px 0 42px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 34px;
  }

  .hero-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 640px;
    margin: 0;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-panel div {
    border-bottom: 0;
    border-right: 1px solid var(--white-line);
  }

  .hero-panel div:last-child {
    border-right: 0;
  }

  .split,
  .treatment-stage,
  .experience,
  .grid-two,
  .ai-agent-inner,
  .booking-inner {
    grid-template-columns: 1fr;
  }

  .method-strip,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-media {
    min-height: 360px;
    order: 2;
  }

  .experience-copy {
    order: 1;
  }

  .chat-demo {
    justify-items: center;
  }

  .agent-hero {
    padding: 112px 0 56px;
  }

  .agent-page .ai-agent-copy h1 {
    font-size: clamp(38px, 8vw, 58px);
  }

  .chat-phone {
    transform: none;
    animation: none;
  }

  .mobile-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 55;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 62px;
    padding: 7px;
    background: rgba(255, 250, 244, 0.9);
    border: 1px solid rgba(25, 23, 22, 0.12);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(25, 23, 22, 0.16);
    backdrop-filter: blur(22px);
  }

  .mobile-dock a {
    display: grid;
    place-items: center;
    gap: 3px;
    min-width: 0;
    color: var(--muted);
    border-radius: 16px;
    font-size: 9.5px;
    font-weight: 800;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
  }

  .mobile-dock a:hover,
  .mobile-dock a:focus-visible,
  .mobile-dock a.is-active {
    color: var(--porcelain);
    background: var(--moss);
    transform: translateY(-2px);
  }

  .mobile-dock .dock-feature {
    color: var(--wine);
    background: rgba(91, 38, 50, 0.08);
  }

  .mobile-dock svg {
    width: 18px;
    height: 18px;
  }

  .floating-whatsapp {
    right: 18px;
    bottom: 92px;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    min-height: 60px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 46px;
    padding: 0;
  }

  h1 {
    font-size: clamp(35px, 10vw, 45px);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(27px, 8.2vw, 36px);
    line-height: 1.1;
  }

  h3 {
    font-size: 19px;
  }

  .hero {
    padding-top: 94px;
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-badges {
    flex-wrap: nowrap;
    margin-right: -16px;
    padding-right: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hero-badges::-webkit-scrollbar {
    display: none;
  }

  .hero-badges span {
    flex: 0 0 auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin-bottom: 18px;
    border-radius: 16px;
  }

  .hero-panel div {
    padding: 14px 9px;
    border-right: 1px solid var(--white-line);
    border-bottom: 0;
  }

  .hero-panel div:last-child {
    border-right: 0;
  }

  .hero-panel span {
    margin-bottom: 6px;
    font-size: 19px;
  }

  .hero-panel small {
    font-size: 9.5px;
  }

  .intro-section,
  .treatments,
  .before-after,
  .ai-agent,
  .testimonials,
  .booking {
    padding: 64px 0;
  }

  .split {
    gap: 24px;
  }

  .signature-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    font-size: 11px;
    line-height: 1.45;
  }

  .method-strip,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .method-strip article {
    min-height: auto;
    padding: 22px 18px;
  }

  .treatment-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .tab-button {
    min-height: 52px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    font-size: 11px;
  }

  .tab-button:last-child {
    border-right: 0;
  }

  .treatment-stage {
    min-height: 0;
  }

  .treatment-media {
    height: auto;
    aspect-ratio: 1.12 / 1;
    margin: 14px 14px 0;
    border-radius: 16px;
  }

  .treatment-image {
    height: 100%;
    min-height: 0;
  }

  .treatment-copy {
    padding: 26px 18px;
  }

  .experience-media {
    min-height: 280px;
  }

  .experience-copy {
    padding: 58px 0;
  }

  .experience-list span {
    align-items: flex-start;
    line-height: 1.35;
  }

  .grid-two {
    gap: 34px;
  }

  .comparison {
    aspect-ratio: 0.94 / 1;
  }

  .comparison-hint {
    top: 14px;
    font-size: 11px;
  }

  .testimonial-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .testimonial-card p {
    font-size: 20px;
  }

  .booking-inner {
    gap: 32px;
  }

  .chat-phone {
    min-height: 590px;
    border-radius: 24px;
  }

  .agent-value-grid {
    grid-template-columns: 1fr;
  }

  .agent-value-grid div {
    min-height: auto;
  }

  .agent-prompt-card p {
    font-size: 18px;
  }

  .chat-context {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .chat-context::-webkit-scrollbar {
    display: none;
  }

  .chat-messages {
    min-height: 300px;
    max-height: 300px;
  }

  .booking-form {
    padding: 20px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
