/* PhotoPro — AI Hairstyle Studio
   Fonts (load via Google Fonts in HTML):
   Body  → "DM Sans"
   Head  → "Sora"
*/

:root {
  --bg: #ffffff;
  --surface: #f9fafb;
  --surface2: #f3f4f6;
  --blush: #f0fdfa;
  --blush2: #fafafa;
  --violet: #0F766E;
  --violet-mid: #14B8A6;
  --violet-light: #2DD4BF;
  --magenta: #0F766E;
  --magenta2: #0D9488;
  --text: #111827;
  --mute: #6b7280;
  --card: #ffffff;
  --line: rgba(15, 118, 110, 0.12);
  --report: #f9fafb;
  --gold: #14B8A6;
  --wrap: 1140px;
  --display: "Sora", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --r: 16px;
  --gradient: linear-gradient(135deg, #0F766E 0%, #14B8A6 50%, #2DD4BF 100%);
  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 118, 110, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 118, 110, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--violet);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--magenta2); }

.wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

/* ── Top note ── */
.top-note {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 9px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.01em;
}
.top-note a { font-weight: 600; color: var(--violet); }

/* ── Header ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: none;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--mute);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s;
}
.nav-toggle:hover { border-color: var(--violet); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0 18px;
  border-top: 1px solid var(--line);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 0;
  font-size: 15px;
}

/* ── Buttons ── */
.btn-primary,
.btn-ghost,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.2;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
}
.btn-primary:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--violet);
  border: 1.5px solid rgba(15, 118, 110, 0.35);
}
.btn-outline:hover {
  background: var(--blush);
  border-color: var(--violet);
  color: var(--violet);
}

.btn-ghost {
  background: var(--surface);
  color: var(--violet);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: var(--blush);
  color: var(--magenta2);
}

button:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Sticky CTA ── */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.92) 24%, #fff);
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.sticky-cta.is-away {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}
.sticky-cta a {
  pointer-events: auto;
  width: min(100%, 420px);
  text-align: center;
}

body { padding-bottom: 88px; }

/* ── Hero ── */
.hero {
  padding: 48px 0 40px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(20, 184, 166, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(15, 118, 110, 0.05), transparent 50%),
    linear-gradient(180deg, var(--surface) 0%, #fff 72%);
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blush);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--violet);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 7.5vw, 58px);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  color: var(--mute);
  margin: 0 0 24px;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--mute);
  font-weight: 500;
}

.hero-photo {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface2);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.08);
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Trust strip ── */
.trust-strip {
  background: var(--bg);
  border-block: 1px solid rgba(17, 24, 39, 0.06);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.trust-item {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
}
.trust-item .ico {
  color: var(--violet);
  font-size: 22px;
  margin-bottom: 8px;
  display: block;
}

/* ── Sections ── */
.section { padding: 72px 0; }
.section.blush { background: var(--surface); }

.sec-h {
  text-align: center;
  margin-bottom: 40px;
}
.sec-h .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 10px;
}
.sec-h h2 {
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 42px);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}
.sec-h p {
  margin: 0 auto;
  color: var(--mute);
  max-width: 50ch;
  font-size: 16px;
}

/* ── Service grid ── */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.svc {
  background: var(--card);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--r);
  padding: 18px 14px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.svc:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
  color: var(--text);
  text-decoration: none;
}
.svc .ico {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: var(--blush);
  color: var(--violet);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.svc b { display: block; font-size: 13px; font-weight: 600; }

/* ── Step cards (optional) ── */
.step-card {
  background: var(--card);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--r);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.step-card::before {
  content: attr(data-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}
.step-card h3 {
  font-family: var(--display);
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 600;
}
.step-card p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.6;
}

/* ── Tool / upload ── */
.tool {
  background: var(--card);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.try-screen { display: none; }
.try-screen.active { display: block; }

.tool.is-busy { min-height: min(78vh, 640px); }

.upload {
  border: 1.5px dashed rgba(15, 118, 110, 0.25);
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #fff 0%, var(--surface) 100%);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.upload:hover,
.upload.drag {
  border-color: var(--violet);
  background: rgba(15, 118, 110, 0.04);
  transform: translateY(-1px);
}

.upload-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--blush);
  color: var(--violet);
  border: 1px solid var(--line);
}

.upload h3 {
  font-family: var(--display);
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.upload p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
  max-width: 30ch;
  margin-inline: auto;
}

.photo-ok {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r);
  margin-bottom: 20px;
  background: var(--surface);
  border: 1px solid rgba(17, 24, 39, 0.06);
}
.photo-ok.on { display: flex; }

.photo-ok img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 2px solid var(--blush);
}
.photo-ok-meta { flex: 1; min-width: 0; }
.photo-ok strong { display: block; font-size: 14px; font-weight: 600; }
.photo-ok span {
  display: block;
  font-size: 12px;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}
.photo-change {
  flex: 0 0 auto;
  padding: 8px 14px;
  font-size: 12px;
  margin: 0;
}

/* ── Form groups ── */
.fg { margin-bottom: 20px; }
.fg > label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: var(--bg);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.chip:hover {
  border-color: var(--line);
  background: var(--surface);
}
.chip.sel {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.1);
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.15s, transform 0.15s;
}
.swatch:hover { transform: scale(1.06); }
.swatch.sel {
  box-shadow: 0 0 0 2px var(--violet), 0 4px 12px rgba(15, 118, 110, 0.25);
}
.swatch span {
  position: absolute;
  left: 50%;
  top: calc(100% + 5px);
  transform: translateX(-50%);
  font-size: 9px;
  white-space: nowrap;
  color: var(--mute);
  font-weight: 600;
}

.style-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.style-card {
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg);
  text-align: left;
  padding: 0;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.style-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.style-card.sel {
  border-color: var(--violet);
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.25);
}
.style-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.style-card b {
  display: block;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
}

.err {
  display: none;
  color: #dc2626;
  font-size: 13px;
  margin: 8px 0;
  padding: 10px 14px;
  background: #fef2f2;
  border-radius: 10px;
  border: 1px solid #fecaca;
}
.err.on { display: block; }

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

/* ── Mirror reveal ── */
.mirror-stage {
  max-width: 380px;
  margin: 0 auto;
  text-align: center;
  padding: 12px 0 16px;
  min-height: min(72vh, 620px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mirror-kicker {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
}

.mirror {
  position: relative;
  width: min(100%, 300px);
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 42% 42% / 52% 52% 40% 40%;
  background: linear-gradient(160deg, #fff 0%, #ede9fe 45%, #ddd6fe 100%);
  padding: 10px;
  box-shadow:
    0 24px 60px rgba(15, 118, 110, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.mirror-rim {
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.85),
    inset 0 0 28px rgba(15, 118, 110, 0.1);
  opacity: 0.55;
  transition: opacity 0.8s, box-shadow 1s;
}
.mirror.clear .mirror-rim {
  opacity: 1;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.95),
    inset 0 0 36px rgba(15, 118, 110, 0.2),
    0 0 24px rgba(20, 184, 166, 0.2);
}

.mirror-glass {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: #1f2937;
}

.mirror img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: blur(16px) saturate(0.85) brightness(0.78);
  transform: scale(1.06);
  transition: filter 1.2s ease, transform 1.4s ease;
}
.mirror.clear img {
  filter: blur(0) saturate(1.05) brightness(1);
  transform: scale(1);
}

.mirror-fog {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(180deg, rgba(245, 243, 255, 0.7), rgba(245, 243, 255, 0.25) 40%, rgba(245, 243, 255, 0.55));
  opacity: 1;
  transition: opacity 1.1s ease;
}
.mirror.clear .mirror-fog { opacity: 0; }

.mirror-shine {
  position: absolute;
  inset: -20%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.45) 48%, transparent 62%);
  transform: translateX(-60%) rotate(8deg);
  opacity: 0;
}
.mirror.is-sweep .mirror-shine { animation: ppShine 1.6s ease-in-out; }

@keyframes ppShine {
  0%   { transform: translateX(-70%) rotate(8deg); opacity: 0; }
  25%  { opacity: 0.9; }
  100% { transform: translateX(70%) rotate(8deg); opacity: 0; }
}

.mirror-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 48px rgba(17, 24, 39, 0.35);
  border-radius: inherit;
}

.mirror-cap {
  margin: 22px 0 14px;
  min-height: 2.6em;
  font-family: var(--display);
  font-size: clamp(17px, 4.2vw, 22px);
  color: var(--text);
  line-height: 1.35;
  font-weight: 600;
  transition: opacity 0.25s;
}
.mirror-cap.is-swap { opacity: 0; }

.mirror-track {
  height: 3px;
  width: min(100%, 220px);
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  overflow: hidden;
}
.mirror-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--gradient);
  transition: width 0.12s linear;
}

.swatch-rail {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 12px;
}
.swatch-rail i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  opacity: 0.28;
  transform: scale(0.92);
  transition: opacity 0.35s, transform 0.35s, box-shadow 0.35s;
  border: 2px solid #fff;
}
.swatch-rail i.on {
  opacity: 1;
  transform: scale(1.12);
  box-shadow: 0 0 0 1.5px rgba(15, 118, 110, 0.55);
}

.mirror-pct {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ── Report ── */
.report {
  background: var(--report);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.report-h {
  font-family: var(--display);
  font-size: clamp(24px, 4vw, 32px);
  margin: 0 0 8px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.report-sub {
  text-align: center;
  color: var(--mute);
  font-size: 14px;
  margin: 0 0 24px;
}

.report-top {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.r-card {
  background: #fff;
  border-radius: var(--r);
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.05);
  box-shadow: var(--shadow-sm);
}
.r-card h4 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
}
.r-card p,
.r-card li {
  margin: 0;
  color: var(--mute);
  font-size: 13px;
}
.r-card ul { padding-left: 16px; margin: 0; }

.face-svg {
  width: 56px;
  height: 72px;
  margin: 0 auto 8px;
  display: block;
}

.rec-grid,
.avoid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 18px;
}

.rec-card,
.avoid-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.05);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.rec-card img,
.avoid-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.rec-card .b,
.avoid-card .b { padding: 10px 12px; }
.rec-card h5,
.avoid-card h5 {
  margin: 0 0 3px;
  font-size: 13px;
  font-family: var(--display);
  font-weight: 600;
}
.rec-card p,
.avoid-card p {
  margin: 0;
  font-size: 11px;
  color: var(--mute);
}

.avoid-card::after {
  content: "×";
  position: absolute;
  top: 8px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 16px;
}
.color-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.tips {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
.tip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--mute);
  border: 1px solid rgba(17, 24, 39, 0.04);
}
.tip b { color: var(--text); }

.looks9 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}
.looks9 figure {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.04);
}
.looks9 img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.looks9 figcaption {
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

.aesthetic {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: var(--r);
  margin-top: 10px;
  border: 1px solid rgba(17, 24, 39, 0.04);
}
.aesthetic .tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
}
.aesthetic .tags span {
  background: var(--blush);
  color: var(--violet);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line);
}
.aesthetic .slogan {
  font-family: var(--display);
  font-size: 18px;
  margin: 10px 0 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.report .hint {
  font-size: 12px;
  color: var(--mute);
  text-align: center;
  margin-top: 16px;
}

/* ── Split / check / notes ── */
.split {
  display: grid;
  gap: 32px;
  align-items: center;
}
.split img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.check {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--mute);
  font-size: 15px;
}
.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--violet);
  font-weight: 800;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--blush);
  border-radius: 6px;
  font-size: 12px;
}

.notes { display: grid; gap: 14px; }

.note {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.note:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.note p {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}
.note span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
}

/* ── Articles ── */
.articles { display: grid; gap: 14px; }

.art {
  display: block;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--r);
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.art:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
  color: var(--text);
  text-decoration: none;
}
.art h3 {
  font-family: var(--display);
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}
.art p {
  margin: 0;
  color: var(--mute);
  font-size: 13px;
}

/* ── FAQ ── */
.faq details {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--display);
  font-size: 15px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  color: var(--mute);
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

/* ── Big CTA ── */
.big-cta {
  padding: 64px 0;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.88), rgba(20, 184, 166, 0.85)),
    url("../img/showcase-04_28b53d.png") center / cover;
  background-blend-mode: multiply;
  position: relative;
}
.big-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(168, 85, 247, 0.3), transparent 60%);
  pointer-events: none;
}
.big-cta .wrap { position: relative; z-index: 1; }
.big-cta h2 {
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 42px);
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.big-cta .btn-primary {
  background: #fff;
  color: var(--violet);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.big-cta .btn-primary:hover {
  background: #fff;
  color: var(--magenta2);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

/* ── Footer ── */
.footer {
  padding: 48px 0 110px;
  background: var(--surface);
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  font-size: 13px;
  color: var(--mute);
}
.footer h4 {
  color: var(--text);
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
}
.footer-grid { display: grid; gap: 24px; }
.footer a { color: var(--mute); transition: color 0.2s; }
.footer a:hover { color: var(--violet); }
.footer .legal {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  line-height: 1.75;
  font-size: 12px;
}

/* ── Inner pages ── */
.page { padding: 36px 0 90px; }
.page h1 {
  font-family: var(--display);
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hint {
  color: var(--mute);
  font-size: 13px;
}

.prose h2 {
  font-family: var(--display);
  font-size: 20px;
  margin: 28px 0 10px;
  font-weight: 600;
}
.prose p,
.prose li {
  color: var(--mute);
  line-height: 1.7;
}

/* ── Gallery grids (optional) ── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.showcase-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.showcase-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}
.showcase-grid img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

.preset-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.preset-gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.preset-gallery figure:hover {
  transform: translateY(-2px);
  border-color: var(--line);
}
.preset-gallery figure.active {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
}
.preset-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.preset-gallery figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(transparent, rgba(17, 24, 39, 0.7));
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

/* ── Responsive ── */
@media (min-width: 760px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }

  .hero { padding: 64px 0 56px; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .trust-grid { grid-template-columns: repeat(4, 1fr); }

  .svc-grid { grid-template-columns: repeat(6, 1fr); }

  .style-cards { grid-template-columns: repeat(4, 1fr); }

  .report-top { grid-template-columns: 1fr 1fr 1fr; }
  .rec-grid { grid-template-columns: repeat(4, 1fr); }
  .avoid-grid { grid-template-columns: repeat(5, 1fr); }

  .split { grid-template-columns: 1fr 1fr; gap: 48px; }

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

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

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .preset-gallery { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 980px) {
  .articles { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .preset-gallery { grid-template-columns: repeat(6, 1fr); }
}
