:root {
  interpolate-size: allow-keywords;
  --bg: #F0F7FA;
  --surface: #FFFFFF;
  --surface-2: #E4F1F6;
  --ink: #1B2D36;
  --ink-soft: #4A6572;
  --accent: #0097A7;
  --accent-2: #FF6F00;
  --line: rgba(27,45,54,0.12);
  --line-strong: rgba(27,45,54,0.25);
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 76px;
  --container: 1240px;
  --font-head: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', 'Roboto Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

html, body { margin: 0; overflow-x: hidden; max-width: 100vw; }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color 240ms; }
a:hover { color: var(--accent-2); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { max-width: 68ch; }
p + p { margin-top: 14px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-header p {
  margin: 12px auto 0;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 10000;
  background: var(--ink);
  color: var(--surface);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 200ms;
}
.skip-link:focus {
  top: 12px;
  color: var(--surface);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  background: rgba(240,247,250,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 240ms ease, box-shadow 240ms ease, height 240ms ease;
}
.site-header.scrolled {
  background: rgba(240,247,250,0.98);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.18);
  height: 64px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 2;
}
.logo:hover { color: var(--accent); }
.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* ===== NAV DESKTOP ===== */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}
.nav-desktop a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 240ms;
}
.nav-desktop a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 280ms cubic-bezier(.2,.7,.2,1);
}
.nav-desktop a:not(.nav-cta):hover::after,
.nav-desktop a:not(.nav-cta).is-active::after {
  width: 100%;
}
.nav-desktop a:hover { color: var(--accent); }
.nav-desktop a.is-active { color: var(--accent); }
.nav-desktop .nav-cta {
  background: var(--ink);
  color: var(--surface);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 240ms, color 240ms, transform 240ms;
}
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta:hover {
  background: var(--accent);
  color: var(--surface);
  transform: translateY(-2px);
}

/* ===== NAV TOGGLE (HAMBURGER) ===== */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  z-index: 1100;
  padding: 8px;
  transition: border-color 240ms, background 240ms, box-shadow 240ms;
  box-shadow: 0 2px 8px -2px rgba(0,0,0,0.12);
  flex-shrink: 0;
}
.nav-toggle:hover {
  border-color: var(--accent);
  background: rgba(0,151,167,0.06);
  box-shadow: 0 4px 12px -2px rgba(0,151,167,0.2);
}
.nav-toggle:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), opacity 240ms, background 240ms;
  transform-origin: center;
}
.nav-toggle:hover span {
  background: var(--accent);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===== DRAWER ===== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms;
}
.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  z-index: 1050;
  background: var(--surface);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  padding: calc(var(--header-h) + 24px) 28px 28px;
  overflow-y: auto;
}
.drawer.is-open {
  transform: translateX(0);
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-nav a {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: background 200ms, color 200ms;
}
.drawer-nav a:hover,
.drawer-nav a.is-active {
  background: var(--surface-2);
  color: var(--accent);
}
.drawer-nav .nav-cta {
  margin-top: 16px;
  background: var(--accent);
  color: var(--surface);
  text-align: center;
  font-weight: 600;
  border-radius: var(--radius);
}
.drawer-nav .nav-cta:hover {
  background: var(--ink);
  color: var(--surface);
}

/* ===== MAIN ===== */
main {
  padding-top: var(--header-h);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 240ms, color 240ms, transform 240ms, box-shadow 240ms;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(0,151,167,0.35);
}
.btn-primary .btn-arrow {
  transition: transform 240ms;
}
.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 240ms, color 240ms, border-color 240ms, transform 240ms;
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--surface);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 240ms, color 240ms, transform 240ms, box-shadow 240ms;
}
.btn-accent:hover, .btn-accent:focus-visible {
  background: var(--accent-2);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(255,111,0,0.35);
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
}
.trust-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}

/* ===== DOT GRID BACKGROUND ===== */
.dot-grid {
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ===== HERO ===== */
.hero {
  padding: clamp(3rem, 10vw, 7rem) 0 clamp(2rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(240,247,250,0.92) 0%, rgba(240,247,250,0.82) 40%, rgba(240,247,250,0.88) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -0.02em;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: word-reveal 600ms cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes word-reveal {
  to { opacity: 1; transform: none; }
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

/* Hair Fiber SVG in Hero */
.hero-fiber-wrap {
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  max-width: 520px;
  position: relative;
}
.hero-fiber-svg {
  width: 100%;
  height: auto;
}
.fiber-damaged {
  stroke-dasharray: 6 4;
  animation: fiber-breathe 10s ease-in-out infinite;
}
@keyframes fiber-breathe {
  0%, 100% { stroke-dashoffset: 0; opacity: 0.7; }
  50% { stroke-dashoffset: 12; opacity: 0.5; }
}
.fiber-healthy {
  transition: stroke-dashoffset 1400ms cubic-bezier(.2,.7,.2,1);
}
.fiber-shine {
  transition: opacity 800ms ease 600ms;
}

.hero-fiber-wrap.is-analyzed .fiber-damaged {
  animation: none;
  opacity: 0.15;
  transition: opacity 800ms;
}
.hero-fiber-wrap.is-analyzed .fiber-healthy {
  stroke-dashoffset: 0 !important;
}
.hero-fiber-wrap.is-analyzed .fiber-shine {
  opacity: 0.55;
}

.fiber-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--ink-soft);
  margin-top: 8px;
  padding: 0 8px;
}

/* ===== ANALYSIS TOOL ===== */
.analiz {
  background: var(--surface);
  position: relative;
}
.analiz-tool {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.analiz-fiber-strip {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 20px;
}
.analiz-fiber-svg {
  flex: 1;
  min-width: 0;
}
.analiz-progress {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.analiz-progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  transition: background 320ms, transform 320ms;
}
.analiz-progress-dot.is-done {
  background: var(--accent);
  transform: scale(1.15);
}
.analiz-progress-dot.is-current {
  background: var(--accent-2);
  transform: scale(1.25);
}

.analiz-body {
  padding: clamp(20px, 4vw, 36px);
  min-height: 260px;
  position: relative;
}

.analiz-step {
  display: none;
  opacity: 0;
  transform: translateX(40px);
}
.analiz-step.is-active {
  display: block;
  animation: step-slide-in 420ms cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes step-slide-in {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: none; }
}

.step-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(0,151,167,0.1);
  padding: 4px 10px;
  border-radius: 100px;
}
.step-header h3 {
  font-size: 1.25rem;
}

.step-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.radio-card {
  position: relative;
  cursor: pointer;
}
.radio-card input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.radio-card .radio-face {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 240ms, background 240ms, box-shadow 240ms, transform 240ms;
  font-size: 0.92rem;
  font-weight: 500;
}
.radio-card .radio-face .radio-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--ink-soft);
  transition: color 240ms;
}
.radio-card:hover .radio-face {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.radio-card input:checked ~ .radio-face {
  border-color: var(--accent);
  background: rgba(0,151,167,0.06);
  box-shadow: 0 4px 16px -4px rgba(0,151,167,0.2);
}
.radio-card input:checked ~ .radio-face .radio-icon {
  color: var(--accent);
}

/* Analysis Result */
.analiz-result {
  display: none;
  opacity: 0;
  text-align: center;
  padding: 8px 0 0;
}
.analiz-result.is-active {
  display: block;
  animation: step-slide-in 500ms cubic-bezier(.2,.7,.2,1) forwards;
}
.result-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  border: 1.5px solid var(--accent);
  box-shadow: 0 12px 40px -12px rgba(0,151,167,0.18);
}
.result-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--accent);
}
.result-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.result-card .result-desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 auto 24px;
  max-width: 44ch;
}
.result-stats {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 40px);
  margin-bottom: 24px;
}
.result-stat {
  text-align: center;
}
.result-stat .stat-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--accent);
  display: block;
}
.result-stat .stat-label {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.analiz-restart {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: underline;
  transition: color 200ms;
}
.analiz-restart:hover { color: var(--accent); }

/* ===== TREATMENT CARDS ===== */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}
.treatment-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms cubic-bezier(.2,.7,.2,1);
  position: relative;
  overflow: hidden;
}
.treatment-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1);
}
.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px -8px rgba(0,151,167,0.22);
}
.treatment-card:hover::before {
  transform: scaleX(1);
}
.treatment-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 16px;
  transition: color 240ms cubic-bezier(.2,.7,.2,1), filter 240ms, transform 240ms;
}
.treatment-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.treatment-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.6;
}
.treatment-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.treatment-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.treatment-meta svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
}

/* Keratin shimmer effect on cards */
@keyframes keratin-shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}
.treatment-card .shimmer-layer {
  position: absolute;
  top: 0; bottom: 0;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(0,151,167,0.06), transparent);
  pointer-events: none;
  left: -100%;
}
.treatment-card:hover .shimmer-layer {
  animation: keratin-shimmer 800ms ease forwards;
}

/* ===== PROCESS TIMELINE ===== */
.process {
  background: var(--surface);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.process-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
}
.process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
  transition: background 400ms, color 400ms;
}
.process-step:hover .process-step-num {
  background: var(--accent);
  color: var(--surface);
}
.process-step h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.process-step p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.process-step .step-time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: rgba(0,151,167,0.08);
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 10px;
}
.process-connector {
  position: absolute;
  top: 24px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 2px;
  background: var(--line-strong);
  z-index: 1;
}
.process-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.process-step:last-child .process-connector { display: none; }

/* ===== PACKAGES ===== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  align-items: start;
}
.package-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  border: 1.5px solid var(--line);
  position: relative;
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms cubic-bezier(.2,.7,.2,1);
}
.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px -8px rgba(0,151,167,0.2);
}
.package-card.is-popular {
  border-color: var(--accent);
  box-shadow: 0 8px 32px -8px rgba(0,151,167,0.18);
}
.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-2);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.package-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.package-card .package-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.package-price {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.package-price .currency {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-left: 4px;
}
.package-note {
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.package-features {
  list-style: none;
  margin-bottom: 24px;
}
.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.package-features li:last-child { border-bottom: none; }
.package-features li svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}
.package-features li .feat-yes { color: var(--accent); }
.package-features li .feat-no { color: var(--ink-soft); opacity: 0.4; }
.package-features li.excluded {
  color: var(--ink-soft);
  text-decoration: line-through;
  opacity: 0.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms cubic-bezier(.2,.7,.2,1), border-color 240ms;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px -8px rgba(0,151,167,0.12);
  border-color: rgba(0,151,167,0.2);
}
.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  transition: border-left-color 360ms;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-info strong {
  display: block;
  font-size: 0.9rem;
}
.testimonial-info span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 320ms, box-shadow 320ms;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 3vw, 28px);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  transition: color 240ms;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary .faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 360ms cubic-bezier(.4,0,.2,1);
  color: var(--ink-soft);
}
.faq-item[open] summary .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-item > .faq-body {
  height: 0;
  padding: 0 clamp(18px, 3vw, 28px);
  overflow: hidden;
  transition: height 360ms cubic-bezier(.4,0,.2,1),
              padding-block-end 360ms cubic-bezier(.4,0,.2,1);
}
.faq-item[open] > .faq-body {
  height: auto;
  padding-block-end: 24px;
}
.faq-body p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
@media (prefers-reduced-motion: reduce) {
  .faq-item > .faq-body { transition: none; }
}

/* ===== STATS ROW ===== */
.stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.stat-block {
  text-align: center;
}
.stat-block .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--accent);
  display: block;
  line-height: 1.1;
  transition: text-shadow 360ms;
}
.stat-block .stat-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 16px;
  border-radius: var(--radius);
  transition: background 240ms, transform 240ms;
}
.contact-row:hover {
  background: var(--surface-2);
  transform: translateX(4px);
}
.contact-row svg {
  width: 20px;
  height: 20px;
  color: var(--ink-soft);
  margin-top: 2px;
  transition: color 240ms;
}
.contact-row:hover svg {
  color: var(--accent);
}
.contact-row strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 2px;
}
.contact-row span,
.contact-row a {
  font-size: 0.9rem;
  color: var(--ink);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer-nav-list li {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
}
.form-card h3 {
  margin-bottom: 20px;
}

.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 240ms, box-shadow 240ms;
  appearance: none;
  -webkit-appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,151,167,0.12);
  outline: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234A6572' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  padding: 0;
  border: 0;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.kvkk-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
}
.kvkk-field label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 0;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo {
  color: var(--surface);
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.footer-brand .logo:hover { color: var(--accent); }
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 32ch;
  margin-bottom: 16px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background 240ms, color 240ms, transform 240ms;
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--surface);
  transform: translateY(-2px);
}
.footer-social a svg { width: 18px; height: 18px; }

.site-footer h4 {
  color: var(--surface);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav-list a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 200ms, transform 200ms;
  display: inline-block;
}
.footer-nav-list a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.78rem;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.footer-legal a {
  color: rgba(255,255,255,0.5);
  transition: color 200ms;
}
.footer-legal a:hover { color: var(--accent); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 48px -12px rgba(0,0,0,0.2), 0 0 0 1px var(--line);
  border: 1px solid var(--line);
  z-index: 9999;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
@media (min-width: 768px) {
  .cookie-banner {
    left: 24px;
    right: auto;
    max-width: 420px;
  }
}
.cookie-banner h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.cookie-banner p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}
.cookie-banner p a { text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-actions button {
  flex: 1;
  min-width: 100px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 200ms, color 200ms, border-color 200ms, transform 200ms, box-shadow 200ms;
  border: 2px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
}
.cookie-actions button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--surface);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -4px rgba(0,151,167,0.3);
}
.cookie-actions .cookie-accept {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}
.cookie-actions .cookie-accept:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}
.cookie-actions .cookie-settings {
  border-color: var(--line-strong);
  color: var(--ink-soft);
  font-weight: 500;
}
.cookie-actions .cookie-settings:hover {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent);
}
@media (max-width: 480px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: 100%;
    padding: 20px 16px;
  }
  .cookie-actions {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .cookie-actions button {
    min-width: 0;
    padding: 12px 8px;
    font-size: 0.82rem;
  }
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 900ms cubic-bezier(.16,.73,.24,.99),
              transform 900ms cubic-bezier(.16,.73,.24,.99);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Stagger children in process-steps (parent has reveal) */
.process-steps.is-in .process-step {
  opacity: 0;
  transform: translateY(24px);
  animation: stagger-in 700ms cubic-bezier(.16,.73,.24,.99) forwards;
}
.process-steps.is-in .process-step:nth-child(1) { animation-delay: 80ms; }
.process-steps.is-in .process-step:nth-child(2) { animation-delay: 200ms; }
.process-steps.is-in .process-step:nth-child(3) { animation-delay: 320ms; }
.process-steps.is-in .process-step:nth-child(4) { animation-delay: 440ms; }
.process-steps.is-in .process-step:nth-child(5) { animation-delay: 560ms; }
@keyframes stagger-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

html.no-js .reveal { opacity: 1; transform: none; }
html.no-js .process-step { opacity: 1; transform: none; animation: none; }

/* Reset reveal transition on interactive cards so hover responds immediately */
.treatment-card.reveal.is-in,
.package-card.reveal.is-in,
.testimonial-card.reveal.is-in,
.team-card.reveal.is-in {
  transition: transform 240ms cubic-bezier(.2,.7,.2,1),
              box-shadow 240ms cubic-bezier(.2,.7,.2,1),
              border-color 240ms cubic-bezier(.2,.7,.2,1);
  transition-delay: 0s;
}

/* ===== TABLE SCROLL ===== */
.table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
}
.table-scroll > table {
  margin: 0 !important;
  min-width: 560px;
  width: 100%;
}
@media (max-width: 640px) {
  .table-scroll {
    background:
      linear-gradient(to right, var(--surface) 30%, transparent) left center / 40px 100% no-repeat,
      linear-gradient(to left, var(--surface) 30%, transparent) right center / 40px 100% no-repeat,
      linear-gradient(to right, rgba(0,0,0,.12), transparent) left center / 14px 100% no-repeat,
      linear-gradient(to left, rgba(0,0,0,.12), transparent) right center / 14px 100% no-repeat;
    background-attachment: local, local, scroll, scroll;
  }
}
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) {
  min-width: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
}
th {
  font-weight: 600;
  background: var(--bg);
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== COUNTER ===== */
.counter-up {
  font-variant-numeric: tabular-nums;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 12px;
}
.page-hero p {
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: var(--ink-soft); }

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms cubic-bezier(.2,.7,.2,1);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px -8px rgba(0,151,167,0.15);
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms;
}
.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.team-card .team-role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}
.team-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ===== POLICY PAGES ===== */
.policy-content {
  max-width: 760px;
  line-height: 1.7;
  margin: 0 auto;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.policy-content h2 {
  font-size: 1.4rem;
  margin: clamp(2rem, 4vw, 3rem) 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.policy-content h2:first-of-type { border-top: none; padding-top: 0; }
.policy-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 8px;
}
.policy-content p {
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.policy-content ul, .policy-content ol {
  margin: 12px 0;
  padding-left: 24px;
  color: var(--ink-soft);
}
.policy-content li {
  margin-bottom: 6px;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ===== THANK YOU PAGE ===== */
.thankyou-content {
  text-align: center;
  padding: clamp(4rem, 10vw, 8rem) 0;
  max-width: 520px;
  margin: 0 auto;
}
.thankyou-icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  color: var(--accent);
}
.thankyou-content h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 16px;
}
.thankyou-content p {
  color: var(--ink-soft);
  margin: 0 auto 32px;
}

/* ===== 404 PAGE ===== */
.error-content {
  text-align: center;
  padding: clamp(5rem, 12vw, 10rem) 0;
}
.error-content .error-code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 500;
  color: var(--line);
  line-height: 1;
  margin-bottom: 16px;
}
.error-content h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 12px;
}
.error-content p {
  color: var(--ink-soft);
  margin: 0 auto 32px;
}

/* ===== SITEMAP PAGE ===== */
.sitemap-list {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.sitemap-group {
  margin-bottom: 28px;
}
.sitemap-group h2 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.sitemap-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sitemap-group a {
  font-size: 0.92rem;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sitemap-group a::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===== NICHE ANIMATIONS — HAIR SALON ===== */

/* 1. Protein molecule float */
@keyframes protein-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(2deg); }
  75% { transform: translateY(5px) rotate(-1.5deg); }
}
.protein-float {
  animation: protein-float 8s cubic-bezier(.37,0,.63,1) infinite;
}

/* 2. Keratin layer build-up glow */
@keyframes keratin-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,151,167,0); }
  50% { box-shadow: 0 0 24px 6px rgba(0,151,167,0.18); }
}
.keratin-glow {
  animation: keratin-glow 5s cubic-bezier(.37,0,.63,1) infinite;
}

/* 3. Treatment card shine sweep */
@keyframes shine-sweep {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* 4. Microscope focus pulse */
@keyframes micro-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.02); }
}
.micro-pulse {
  animation: micro-pulse 10s cubic-bezier(.37,0,.63,1) infinite;
}

/* 5. Hair strand wave - ambient */
@keyframes strand-wave {
  0%, 100% { d: path("M0 30 Q25 10 50 30 Q75 50 100 30 Q125 10 150 30"); }
  50% { d: path("M0 30 Q25 50 50 30 Q75 10 100 30 Q125 50 150 30"); }
}

/* Hair salon warm ambient glow on hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 70%;
  height: 40%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center bottom, rgba(0,151,167,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Stat block hover: warm keratin shimmer */
.stat-block {
  transition: transform 240ms cubic-bezier(.2,.7,.2,1);
}
.stat-block:hover {
  transform: translateY(-3px);
}

/* 6. Silk shimmer sweep for package cards */
@keyframes silk-shimmer {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(250%) skewX(-15deg); }
}
.package-card::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  pointer-events: none;
  transform: translateX(-100%) skewX(-15deg);
  clip-path: inset(0 0 0 0 round var(--radius-lg));
}
.package-card:hover::after {
  animation: silk-shimmer 700ms cubic-bezier(.16,.73,.24,.99) forwards;
}

/* 7. Warm glow for treatment card on hover — keratin shine */
.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px -10px rgba(0,151,167,0.22),
              0 0 28px -4px rgba(0,151,167,0.1);
}
.treatment-card:hover .treatment-icon {
  color: var(--accent-2);
  filter: drop-shadow(0 0 8px rgba(0,151,167,0.3));
  transition: color 240ms cubic-bezier(.2,.7,.2,1), filter 240ms;
}

/* 8. Team card gentle lift with glow */
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -8px rgba(0,151,167,0.18),
              0 0 0 1px rgba(0,151,167,0.12);
}
.team-card:hover .team-avatar {
  transform: scale(1.06);
  box-shadow: 0 0 20px rgba(0,151,167,0.25);
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms;
}

/* 9. FAQ item subtle expand feedback */
.faq-item:hover {
  border-color: rgba(0,151,167,0.25);
}
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 4px 16px -4px rgba(0,151,167,0.1);
}

/* 10. Testimonial card quote accent on hover */
.testimonial-card:hover .testimonial-quote {
  border-left-color: var(--accent-2);
}

/* 11. Stat number accent pulse on hover */
.stat-block:hover .stat-num {
  text-shadow: 0 0 20px rgba(0,151,167,0.25);
}

/* 12. Keratin strand shimmer — buttons on hover */
.btn-primary::before,
.btn-accent::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  pointer-events: none;
  transform: translateX(-150%) skewX(-15deg);
  transition: none;
}
.btn-primary:hover::before,
.btn-accent:hover::before {
  animation: silk-shimmer 600ms cubic-bezier(.16,.73,.24,.99) forwards;
}

/* 13. Contact row interactive glow */
.contact-row:hover svg {
  filter: drop-shadow(0 0 6px rgba(0,151,167,0.35));
}

/* 14. Package card border glow on hover */
.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px -10px rgba(0,151,167,0.22),
              0 0 0 1px rgba(0,151,167,0.15);
}
.package-card.is-popular:hover {
  box-shadow: 0 16px 40px -10px rgba(0,151,167,0.28),
              0 0 0 2px var(--accent);
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--ink);
  color: var(--surface);
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.cta-band h2 {
  color: var(--surface);
  margin-bottom: 12px;
}
.cta-band p {
  color: rgba(255,255,255,0.7);
  margin: 0 auto 28px;
}
.cta-band .btn-accent:hover {
  background: var(--surface);
  color: var(--ink);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 420px;
  }
  .process-step { text-align: left; padding: 0; }
  .process-step-num {
    margin: 0 0 12px;
  }
  .process-connector {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .packages-grid {
    grid-template-columns: 1fr;
  }
  .stats-row {
    gap: 20px 32px;
  }
  .footer-social a {
    width: 44px;
    height: 44px;
  }
  .footer-nav-list a {
    padding: 6px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .treatments-grid {
    grid-template-columns: 1fr;
  }
  .step-options {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }
  .result-stats {
    flex-direction: column;
    gap: 16px;
  }
  .trust-strip {
    justify-content: center;
  }
  .cookie-banner {
    bottom: 8px;
    left: 8px;
    right: 8px;
    padding: 20px;
  }
}

@media (max-width: 430px) {
  .treatment-card {
    padding: 20px;
  }
  .package-card {
    padding: 24px;
  }
  .faq-item summary {
    font-size: 0.9rem;
    padding: 14px 16px;
  }
}

@media (max-width: 360px) {
  body { font-size: 15px; }
  h1 { font-size: 1.8rem; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .process-steps.is-in .process-step {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .fiber-damaged { animation: none; }
  .hero h1 .word {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ===== TREATMENT IMAGE HOVER ===== */
.treatment-card img {
  transition: transform 600ms cubic-bezier(.2,.7,.2,1), filter 600ms;
}
.treatment-card:hover img {
  transform: scale(1.03);
  filter: brightness(1.04);
}

/* ===== SMOOTH FOCUS RING ===== */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  transition: outline-offset 200ms;
}

/* ===== PROCESS STEP HOVER (desktop) ===== */
@media (min-width: 1025px) {
  .process-step {
    transition: transform 240ms cubic-bezier(.2,.7,.2,1);
  }
  .process-step:hover {
    transform: translateY(-4px);
  }
}

/* ===== HEADER LOGO HOVER EFFECT ===== */
.logo .logo-icon {
  transition: transform 360ms cubic-bezier(.2,.7,.2,1), color 240ms;
}
.logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.08);
  color: var(--accent);
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 60ms linear;
  z-index: 10;
}

/* ===== DRAWER CLOSE ===== */

/* ===== PRINT ===== */
@media print {
  .site-header, .drawer, .drawer-backdrop, .cookie-banner,
  .nav-toggle, .skip-link { display: none !important; }
  main { padding-top: 0; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
