:root {
  --optic: #c46f75;
  --category-accent: #c46f75;
  --esthetic-ink: #17202d;
  --esthetic-muted: #667085;
  --esthetic-rose: #c46f75;
  --esthetic-rose-dark: #a75058;
  --esthetic-sand: #f7eee8;
  --esthetic-line: #eadfd9;
}

.esthetic-care-hero {
  max-width: none;
  margin: 0;
  padding: 34px 0 30px;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 233, 224, .92), transparent 32%),
    radial-gradient(circle at 92% 15%, rgba(226, 238, 226, .8), transparent 30%),
    linear-gradient(180deg, #fffdfc, #fbf8f6);
}

.esthetic-hero-grid {
  display: grid;
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
  grid-template-columns: minmax(340px, .78fr) minmax(610px, 1.22fr);
  gap: 34px;
  align-items: center;
}

.esthetic-hero-copy {
  max-width: 525px;
  padding: 18px 4px 18px 14px;
}

.esthetic-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--esthetic-rose-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.esthetic-hero-kicker::before {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.esthetic-care-hero h1 {
  max-width: 520px;
  margin: 0;
  color: var(--esthetic-ink);
  font-size: clamp(39px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.057em;
}

.esthetic-hero-lead {
  margin: 18px 0 0;
  color: var(--esthetic-muted);
  font-size: 15px;
  line-height: 1.7;
}

.esthetic-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.esthetic-primary,
.esthetic-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.esthetic-primary {
  background: var(--esthetic-rose);
  box-shadow: 0 10px 24px rgba(196, 111, 117, .22);
  color: #fff;
}

.esthetic-primary:hover { background: var(--esthetic-rose-dark); }

.esthetic-secondary {
  border-color: var(--esthetic-line);
  background: rgba(255, 255, 255, .8);
  color: #4e596b;
}

.esthetic-safety-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 19px 0 0;
  color: #7a6270;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.esthetic-safety-note svg {
  width: 15px;
  flex: 0 0 15px;
  margin-top: 1px;
}

.esthetic-focus-tool {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(218, 198, 190, .82);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(70, 47, 42, .11);
}

.esthetic-focus-stage {
  position: relative;
  min-height: 475px;
  overflow: hidden;
  background: #eee4dc;
  isolation: isolate;
}

.esthetic-focus-stage::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 56%, rgba(24, 27, 34, .22) 100%),
    radial-gradient(circle at 50% 43%, var(--focus-glow, rgba(224, 171, 151, .12)), transparent 34%);
  pointer-events: none;
  content: "";
  transition: background .25s ease;
}

.esthetic-focus-stage[data-focus="calming"] { --focus-glow: rgba(167, 205, 185, .2); }
.esthetic-focus-stage[data-focus="cleansing"] { --focus-glow: rgba(171, 200, 218, .2); }
.esthetic-focus-stage[data-focus="relaxation"] { --focus-glow: rgba(205, 182, 218, .19); }

.esthetic-focus-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

.esthetic-tool-label {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 4;
  max-width: calc(100% - 32px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  padding: 7px 11px;
  color: #653f44;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
}

.esthetic-face-marker {
  position: absolute;
  z-index: 4;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, .98);
  border-radius: 50%;
  background: rgba(196, 111, 117, .82);
  box-shadow: 0 0 0 5px rgba(196, 111, 117, .18), 0 5px 14px rgba(42, 31, 33, .2);
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease, background .2s ease, box-shadow .2s ease;
}

.esthetic-face-marker::after {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.esthetic-face-marker.is-active {
  width: 28px;
  height: 28px;
  background: var(--esthetic-rose-dark);
  box-shadow: 0 0 0 8px rgba(196, 111, 117, .2), 0 7px 18px rgba(42, 31, 33, .22);
}

.esthetic-face-marker[data-focus="hydration"] { left: 49%; top: 48%; }
.esthetic-face-marker[data-focus="calming"] { left: 54%; top: 39%; }
.esthetic-face-marker[data-focus="cleansing"] { left: 50%; top: 53%; }
.esthetic-face-marker[data-focus="relaxation"] { left: 50%; top: 72%; }

.esthetic-focus-result {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 15px;
  background: rgba(255, 255, 255, .92);
  padding: 15px 16px;
  backdrop-filter: blur(12px);
}

.esthetic-focus-result small {
  display: block;
  margin-bottom: 3px;
  color: #8b6670;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.esthetic-focus-result strong {
  display: block;
  color: #31252a;
  font-size: 18px;
  line-height: 1.25;
}

.esthetic-focus-result p {
  max-width: 520px;
  margin: 5px 0 0;
  color: #6e6570;
  font-size: 11px;
  line-height: 1.45;
}

.esthetic-result-badge {
  border-radius: 999px;
  background: #f8e9e7;
  padding: 7px 10px;
  color: #9b4d55;
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.esthetic-focus-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 11px;
  background: #fff;
}

.esthetic-focus-tab {
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--esthetic-line);
  border-radius: 10px;
  background: #fff;
  padding: 7px 6px;
  color: #685c63;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.esthetic-focus-tab:hover { border-color: #d19a9e; }

.esthetic-focus-tab[aria-selected="true"] {
  border-color: var(--esthetic-rose);
  background: #fff7f7;
  color: var(--esthetic-rose-dark);
  box-shadow: inset 0 0 0 1px rgba(196, 111, 117, .12);
}

.esthetic-care-hero button:focus-visible,
.esthetic-care-hero a:focus-visible {
  outline: 3px solid rgba(196, 111, 117, .34);
  outline-offset: 3px;
}

@media (max-width: 1060px) {
  .esthetic-hero-grid {
    width: min(100% - 28px, 960px);
    grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr);
    gap: 22px;
  }
  .esthetic-care-hero h1 { font-size: 42px; }
  .esthetic-focus-stage { min-height: 430px; }
}

@media (max-width: 860px) {
  .esthetic-care-hero { padding-top: 24px; }
  .esthetic-hero-grid { grid-template-columns: 1fr; }
  .esthetic-hero-copy { max-width: 680px; padding: 10px 4px; text-align: center; }
  .esthetic-hero-kicker { justify-content: center; }
  .esthetic-care-hero h1 { max-width: 680px; margin-inline: auto; }
  .esthetic-hero-actions { justify-content: center; }
  .esthetic-safety-note { max-width: 610px; margin-inline: auto; margin-top: 18px; text-align: left; }
  .esthetic-focus-tool { width: min(100%, 760px); max-width: 760px; margin-inline: auto; }
}

@media (max-width: 560px) {
  .esthetic-care-hero { padding: 20px 0 22px; }
  .esthetic-hero-grid { width: calc(100% - 24px); gap: 14px; }
  .esthetic-hero-copy { display: contents; }
  .esthetic-hero-kicker { order: 1; margin: 0; font-size: 10px; }
  .esthetic-care-hero h1 { order: 2; font-size: 36px; text-align: center; }
  .esthetic-hero-lead { order: 3; margin: 0; padding: 0 5px; font-size: 12px; text-align: center; }
  .esthetic-hero-actions { order: 4; margin-top: 2px; }
  .esthetic-primary { width: min(100%, 280px); }
  .esthetic-secondary { display: none; }
  .esthetic-safety-note { order: 6; margin-top: 0; padding: 0 5px; font-size: 9.5px; }
  .esthetic-focus-tool { order: 5; justify-self: stretch; border-radius: 17px; }
  .esthetic-focus-stage { min-height: 360px; }
  .esthetic-focus-photo { object-position: center center; }
  .esthetic-tool-label { left: 10px; top: 10px; font-size: 8px; }
  .esthetic-focus-result {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px;
  }
  .esthetic-focus-result strong { font-size: 15px; }
  .esthetic-focus-result p { font-size: 9.5px; }
  .esthetic-result-badge { justify-self: start; padding: 5px 8px; }
  .esthetic-focus-tabs { gap: 5px; padding: 8px; }
  .esthetic-focus-tab { min-height: 43px; padding: 6px 3px; font-size: 8.5px; }
  .esthetic-face-marker[data-focus="hydration"] { left: 48%; top: 46%; }
  .esthetic-face-marker[data-focus="calming"] { left: 54%; top: 35%; }
  .esthetic-face-marker[data-focus="cleansing"] { left: 49%; top: 51%; }
  .esthetic-face-marker[data-focus="relaxation"] { left: 50%; top: 68%; }
}
