/* ============ DESIGN TOKENS ============ */
:root {
  --paper: #F4F1EC;
  --linen: #E8E3DA;
  --clay: #D9D2C5;
  --ink: #1A1A18;
  --graphite: #3D3B37;
  --slate: #6B6862;
  --mist: #9A968E;
  --accent: #2F5D50;
  --accent-soft: #4A7C6B;
  --accent-glow: rgba(47, 93, 80, 0.12);
  --alert: #B4532F;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.7);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --panel-w: 420px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv01';
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(47,93,80,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(180,83,47,0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 9999;
  border-radius: 6px;
  transition: top 0.3s;
}
.skip-link:focus { top: 16px; }

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease);
}
.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 40px;
}

.logo { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--ink);
  position: relative; display: grid; place-items: center; overflow: hidden;
}
.logo-mark::before {
  content: ''; position: absolute; width: 20px; height: 20px;
  border: 2px solid var(--paper); border-radius: 50%;
  border-right-color: transparent; border-bottom-color: transparent;
  animation: spin 8s linear infinite;
}
.logo-mark::after {
  content: ''; position: absolute; width: 6px; height: 6px;
  background: var(--accent-soft); border-radius: 50%;
}
@keyframes spin { to { transform: rotate(360deg); } }

.logo-text small {
  display: block; font-size: 10px; font-weight: 400;
  color: var(--slate); letter-spacing: 0.15em;
  text-transform: uppercase; font-family: var(--font-mono);
}

.nav-desktop { display: flex; gap: 8px; align-items: center; }
.nav-desktop a {
  padding: 8px 16px; font-size: 14px; color: var(--graphite);
  border-radius: 8px; transition: all 0.2s;
}
.nav-desktop a:hover { background: rgba(26,26,24,0.05); color: var(--ink); }

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  transition: all 0.3s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover {
  background: var(--accent); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(47,93,80,0.25);
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid rgba(26,26,24,0.15);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(26,26,24,0.03); }
.btn-icon {
  width: 44px; height: 44px; padding: 0;
  display: grid; place-items: center; border-radius: 10px;
  background: var(--glass-bg); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease);
}
.btn-icon:hover { background: var(--white); transform: scale(1.05); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 40px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--graphite);
  margin-bottom: 32px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  flex-wrap: wrap;
}

.pulse {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.08em;
  height: 0.12em;
  background: var(--accent);
  opacity: 0.15;
  z-index: -1;
}

.hero-desc {
  font-size: 18px;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(26,26,24,0.08);
  flex-wrap: wrap;
}

.stat-value {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-value span { font-size: 16px; color: var(--accent); }

.stat-label {
  font-size: 13px;
  color: var(--slate);
  margin-top: 4px;
  font-family: var(--font-mono);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--linen) 0%, var(--clay) 100%);
  box-shadow: 0 40px 80px -20px rgba(26,26,24,0.15);
}

.scan-visual { position: absolute; inset: 0; display: grid; place-items: center; }

.scan-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(47,93,80,0.2);
}
.scan-ring:nth-child(1) { width: 90%; height: 90%; animation: rotate 30s linear infinite; }
.scan-ring:nth-child(2) { width: 70%; height: 70%; animation: rotate 20s linear infinite reverse; border-style: dashed; }
.scan-ring:nth-child(3) { width: 50%; height: 50%; animation: rotate 15s linear infinite; border-color: rgba(47,93,80,0.4); }
@keyframes rotate { to { transform: rotate(360deg); } }

.scan-core {
  width: 38%; height: 38%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-soft), var(--accent));
  position: relative;
  box-shadow: 0 0 60px rgba(47,93,80,0.4), inset 0 0 40px rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
}
.scan-core::after {
  content: 'КТ·72';
  font-family: var(--font-mono);
  font-size: 28px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan 3s ease-in-out infinite;
  box-shadow: 0 0 20px var(--accent-soft);
}
@keyframes scan {
  0%, 100% { top: 15%; opacity: 0; }
  10%, 90% { opacity: 1; }
  50% { top: 85%; }
}

.scan-meta {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--graphite);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.scan-meta span {
  padding: 6px 10px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  border: 1px solid var(--glass-border);
}

/* ============ SECTIONS ============ */
.section {
  padding: 120px 40px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 24px;
  max-width: 800px;
}

.section-desc {
  font-size: 18px;
  color: var(--slate);
  max-width: 600px;
  margin-bottom: 64px;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.service-card {
  padding: 36px;
  background: var(--white);
  border: 1px solid rgba(26,26,24,0.06);
  border-radius: 20px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  display: block;
  width: 100%;
  font-family: inherit;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47,93,80,0.2);
  box-shadow: 0 20px 40px -12px rgba(26,26,24,0.12);
}
.service-card:hover::before { opacity: 1; }

.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
  position: relative;
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--accent);
  position: relative;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
}

.service-card p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(26,26,24,0.06);
  font-size: 14px;
  position: relative;
}

.service-price {
  font-weight: 500;
  color: var(--ink);
  font-family: var(--font-mono);
}

.service-arrow {
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.service-card:hover .service-arrow { transform: translateX(4px); }

/* ============ PROCESS ============ */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  background: rgba(26,26,24,0.08);
  border-radius: 24px;
  overflow: hidden;
}

.process-step {
  background: var(--paper);
  padding: 40px 32px;
  position: relative;
  transition: background 0.3s;
}
.process-step:hover { background: var(--white); }

.process-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.process-step p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* ============ CONTACTS + MAP ============ */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-block {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(26,26,24,0.06);
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mist);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-value {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
}

.contact-link {
  color: var(--accent);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--accent-soft); text-decoration: underline; }

.contact-license {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--slate);
  letter-spacing: 0.02em;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 4px 0;
}
.schedule-row span:first-child { color: var(--slate); }
.schedule-row span:last-child { color: var(--ink); }

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.map-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(26,26,24,0.15);
  aspect-ratio: 4 / 3;
  background: var(--linen);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
  transition: filter 0.4s var(--ease);
}
.map-wrapper:hover iframe { filter: grayscale(0) contrast(1); }

/* ============ CTA ============ */
.cta {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 120px;
}

.cta-inner {
  background: var(--ink);
  border-radius: 32px;
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(47,93,80,0.3), transparent 70%);
  pointer-events: none;
}

.cta h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--paper);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 20px;
  position: relative;
}

.cta p {
  color: var(--mist);
  font-size: 17px;
  margin-bottom: 32px;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

.cta .btn-primary { background: var(--paper); color: var(--ink); }
.cta .btn-primary:hover { background: var(--white); transform: translateY(-2px); }
.cta .btn-ghost { color: var(--paper); border-color: rgba(244,241,236,0.2); }
.cta .btn-ghost:hover { background: rgba(244,241,236,0.08); border-color: var(--paper); }

.cta-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.cta-visual .scan-core { width: 60%; height: 60%; }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid rgba(26,26,24,0.08);
  padding: 60px 40px 40px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 20px;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: var(--graphite);
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(26,26,24,0.08);
  font-size: 13px;
  color: var(--slate);
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ MOBILE FAB ============ */
.mobile-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: none;
}
.mobile-fab .btn-icon {
  width: 56px; height: 56px;
  background: var(--ink); color: var(--paper);
  border: none;
  box-shadow: 0 12px 32px rgba(26,26,24,0.3);
}

/* ============ SIDE PANELS ============ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,24,0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
  z-index: 200;
}
.overlay.active { opacity: 1; visibility: visible; }

.side-panel {
  position: fixed;
  top: 0; bottom: 0;
  width: var(--panel-w);
  max-width: 92vw;
  background: var(--paper);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease);
  box-shadow: 0 0 60px rgba(26,26,24,0.15);
}
.side-panel--left {
  left: 0; transform: translateX(-100%);
  border-right: 1px solid rgba(26,26,24,0.08);
}
.side-panel--left.active { transform: translateX(0); }
.side-panel--right {
  right: 0; transform: translateX(100%);
  border-left: 1px solid rgba(26,26,24,0.08);
}
.side-panel--right.active { transform: translateX(0); }

.panel-header {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(26,26,24,0.06);
}

.panel-title {
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.panel-close {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--graphite);
  transition: all 0.2s;
}
.panel-close:hover { background: rgba(26,26,24,0.05); color: var(--ink); }

.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px 28px;
}
.panel-body::-webkit-scrollbar { width: 4px; }
.panel-body::-webkit-scrollbar-thumb { background: var(--clay); border-radius: 2px; }

.panel-nav { display: flex; flex-direction: column; gap: 4px; }
.panel-nav a {
  padding: 16px 20px; border-radius: 12px;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink); display: flex;
  align-items: center; justify-content: space-between;
  transition: all 0.2s; border: 1px solid transparent;
}
.panel-nav a:hover {
  background: var(--white);
  border-color: rgba(26,26,24,0.06);
  transform: translateX(4px);
}
.panel-nav a .nav-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

.panel-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(26,26,24,0.06);
}

.panel-section-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mist);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--graphite);
}
.contact-item svg { color: var(--accent); flex-shrink: 0; }

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid rgba(26,26,24,0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: all 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-hint {
  font-size: 12px;
  color: var(--mist);
  margin-top: 6px;
  font-family: var(--font-mono);
}

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; border-radius: 100px;
  border: 1px solid rgba(26,26,24,0.1);
  font-size: 13px; color: var(--graphite);
  background: var(--white); transition: all 0.2s;
}
.chip:hover { border-color: var(--accent); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.info-spec {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
  font-family: var(--font-mono);
  border-bottom: 1px dashed rgba(26,26,24,0.08);
}
.info-spec:last-child { border-bottom: none; }
.info-spec span:first-child { color: var(--mist); }
.info-spec span:last-child { color: var(--ink); }

.info-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(26,26,24,0.06);
}
.info-block:last-child { border-bottom: none; }
.info-block h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.info-block p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

.panel-footer {
  padding: 20px 28px;
  border-top: 1px solid rgba(26,26,24,0.06);
  background: var(--paper);
}

/* ============ CONSENT CHECKBOX ============ */
.consent-group {
  margin-top: 4px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid rgba(26,26,24,0.08);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
}

.consent-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.consent-checkbox {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.consent-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(26,26,24,0.25);
  border-radius: 6px;
  background: var(--paper);
  display: grid;
  place-items: center;
  transition: all 0.2s var(--ease);
  margin-top: 1px;
}

.consent-box svg {
  width: 12px;
  height: 12px;
  color: var(--paper);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s var(--ease);
}

.consent-label:hover .consent-box { border-color: var(--accent); }

.consent-checkbox:checked + .consent-box {
  background: var(--accent);
  border-color: var(--accent);
}
.consent-checkbox:checked + .consent-box svg {
  opacity: 1;
  transform: scale(1);
}

.consent-checkbox:focus-visible + .consent-box {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.consent-group.error {
  border-color: var(--alert);
  background: rgba(180,83,47,0.04);
  animation: shake 0.4s var(--ease);
}
.consent-group.error .consent-box { border-color: var(--alert); }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

.consent-text {
  font-size: 13px;
  color: var(--graphite);
  line-height: 1.5;
}

.consent-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-text a:hover { color: var(--accent-soft); }

/* ============ FORM ERRORS ============ */
.form-group.error .form-input,
.form-group.error .form-select {
  border-color: var(--alert);
  background: rgba(180,83,47,0.04);
}

.form-group.error .form-input:focus {
  border-color: var(--alert);
  box-shadow: 0 0 0 3px rgba(180,83,47,0.15);
}

.form-error {
  font-size: 12px;
  color: var(--alert);
  margin-top: 6px;
  font-family: var(--font-mono);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
  animation: slideDown 0.3s var(--ease);
}

.form-error::before {
  content: '!';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--alert);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ DISABLED SUBMIT ============ */
#booking-submit:disabled,
.btn-primary:disabled {
  background: var(--clay);
  color: var(--mist);
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}
#booking-submit:disabled svg { opacity: 0.5; }

/* ============ DATE INPUT ============ */
.form-input[type="date"] {
  color-scheme: light;
  cursor: pointer;
}
.form-input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.form-input[type="date"]:hover::-webkit-calendar-picker-indicator { opacity: 1; }

/* ============ MEDICAL WARNING ============ */
.medical-warning {
  max-width: 1440px;
  margin: 0 auto 40px;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.medical-warning__inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  background: rgba(180, 83, 47, 0.06);
  border: 1px solid rgba(180, 83, 47, 0.2);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.medical-warning__inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--alert);
}

.medical-warning__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(180, 83, 47, 0.12);
  color: var(--alert);
  display: grid;
  place-items: center;
}

.medical-warning__text strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.4;
}

.medical-warning__text p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
}

/* ============ FOOTER EXTRAS ============ */
.footer-logo {
  margin-bottom: 20px;
}

.footer-about {
  color: var(--slate);
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
}

/* ============ FOOTER LEGAL ============ */
.footer-legal {
  padding: 32px 0;
  margin-bottom: 32px;
  border-top: 1px solid rgba(26, 26, 24, 0.08);
}

.footer-legal__text {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 900px;
}

.footer-legal__text:last-child {
  margin-bottom: 0;
}

.footer-legal__text strong {
  color: var(--graphite);
  font-weight: 500;
}

.footer-legal__link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}

.footer-legal__link:hover {
  color: var(--accent-soft);
  text-decoration-thickness: 2px;
}

/* ============ FOOTER BOTTOM ============ */
.footer-bottom__copy {
  color: var(--slate);
}

.footer-bottom__links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom__links .footer-legal__link,
.footer-bottom__links .cookie-reset {
  font-family: var(--font-mono);
  font-size: 13px;
}

.cookie-reset {
  color: var(--graphite);
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s;
}

.cookie-reset:hover {
  color: var(--accent);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .medical-warning {
    padding: 0 24px;
    margin-bottom: 32px;
  }
  .medical-warning__inner {
    padding: 24px;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .medical-warning {
    padding: 0 20px;
    margin-bottom: 24px;
  }
  .medical-warning__inner {
    padding: 20px;
    flex-direction: column;
    gap: 14px;
    border-radius: 16px;
  }
  .medical-warning__icon {
    width: 36px;
    height: 36px;
  }
  .medical-warning__text strong {
    font-size: 15px;
  }
  .medical-warning__text p {
    font-size: 13px;
  }
  .footer-legal {
    padding: 24px 0;
    margin-bottom: 24px;
  }
  .footer-legal__text {
    font-size: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  z-index: 300;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 20px 60px -12px rgba(26,26,24,0.18);
  padding: 20px 24px;
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
  max-width: 1200px;
  margin: 0 auto;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.cookie-text { flex: 1; min-width: 0; }
.cookie-text strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.cookie-text p { font-size: 13px; color: var(--slate); line-height: 1.5; }
.cookie-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-link:hover { color: var(--accent-soft); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-decline, .cookie-btn-accept {
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 8px;
}



/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 120px 24px 60px; gap: 40px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .nav-desktop { display: none; }
  .section { padding: 80px 24px; }
  .contacts-grid { grid-template-columns: 1fr; gap: 32px; }
  .map-wrapper { aspect-ratio: 16 / 10; }
  .cta { padding: 0 24px 80px; }
  .cta-inner { grid-template-columns: 1fr; padding: 48px 32px; gap: 40px; }
  .cta-visual { display: none; }
  .footer { padding: 48px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mobile-fab { display: block; }
  .cookie-banner.show ~ .mobile-fab { bottom: 200px; }
}

@media (max-width: 640px) {
  .header { padding: 16px 20px; }
  .header.scrolled { padding: 12px 20px; }
  .logo-text { display: none; }
  .hero { padding: 100px 20px 40px; }
  .hero-stats { gap: 24px; }
  .section { padding: 64px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 40px 24px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .map-wrapper { aspect-ratio: 1 / 1; border-radius: 16px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; justify-content: center; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; border-radius: 16px; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-actions { flex-direction: column-reverse; }
  .cookie-actions .btn { width: 100%; justify-content: center; }
.btn {
  padding: 8px; border-radius: 10px;
}
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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