:root {
  --color-bg: #0B0D12;
  --color-surface: #14171F;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #F5F5F4;
  --color-text-muted: #9CA3AF;
  --color-accent: #F59E0B;
  --color-accent-hover: #FBBF24;
  --color-on-accent: #0B0D12;
  --color-success: #22C55E;
  --color-error: #EF4444;

  --font-display: "Bebas Neue", sans-serif;
  --font-heading: "Outfit", sans-serif;
  --font-body: "Source Sans 3", sans-serif;

  --container-width: 1200px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; margin: 0 0 16px; }

button, .btn {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  min-height: 44px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-on-accent);
}
.btn-accent:hover, .btn-accent:focus-visible { background: var(--color-accent-hover); }

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--color-accent); color: var(--color-accent); }

.btn-lg { padding: 14px 28px; font-size: 18px; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 18, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  color: var(--color-text);
}

.logo-mark {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--color-text);
  width: 44px;
  height: 44px;
  padding: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a:not(.btn) {
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}
.site-nav a:not(.btn):hover, .site-nav a:not(.btn):focus-visible { color: var(--color-text); }

.nav-phone { color: var(--color-accent) !important; font-weight: 600; }

.lang-select {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 10px;
  min-height: 36px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--color-border); }
  .site-nav .btn { margin-top: 12px; }
  .lang-select { margin-top: 12px; width: 100%; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  text-align: center;
}

.hero-photo-bg {
  display: none;
}

@media (max-width: 899px) {
  .hero-photo-bg {
    display: block;
    position: absolute;
    z-index: 0;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78%;
    max-width: 340px;
    opacity: 0.25;
    filter: drop-shadow(0 0 70px rgba(245, 158, 11, 0.35));
    pointer-events: none;
    user-select: none;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(11, 13, 18, 0.7) 40%, rgba(11, 13, 18, 0.92) 100%);
    pointer-events: none;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
  }

  #key-3d-mount {
    display: none;
  }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-copy {
  width: 100%;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.01em;
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto 24px;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--color-text-muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  margin-top: 48px;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-visual canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    text-align: left;
  }
  .hero-copy { flex: 1.1; }
  .hero h1, .hero-sub { margin-left: 0; margin-right: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-visual { margin-top: 0; flex: 0.9; max-width: 360px; }
}

@media (max-width: 480px) {
  .hero { padding: 64px 0 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

section { padding: 72px 0; }
section h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); text-align: center; margin-bottom: 40px; }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--color-accent);
}
.card h3 { color: var(--color-text); font-size: 20px; margin: 16px 0 8px; }
.card p { color: var(--color-text-muted); margin: 0; }
.card.featured {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), var(--color-surface));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.badge-soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  vertical-align: middle;
  white-space: nowrap;
}

.why-us { background: var(--color-surface); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-item h3 { font-size: 18px; margin-bottom: 8px; }
.why-item p { color: var(--color-text-muted); margin: 0; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.steps li { text-align: center; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--color-text-muted); margin: 0; }

.service-area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.area-list { padding-left: 20px; color: var(--color-text-muted); }
.text-muted { color: var(--color-text-muted); }
.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .service-area-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
}

.booking-inner { max-width: 640px; }

.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 14px; }

input, select, textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 10px 12px;
  min-height: 44px;
}
textarea { min-height: 88px; resize: vertical; }

input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--color-error); }

.field-error {
  color: var(--color-error);
  font-size: 14px;
  min-height: 20px;
  margin: 0;
}

#booking-form > button[type="submit"] {
  display: flex;
  margin: 0 auto;
}

.confirmation {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-success);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 16px;
}
.confirmation[hidden] { display: none; }
.confirmation p { margin: 0; }

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-inner p { margin: 0 0 8px; color: var(--color-text-muted); }
.footer-inner .logo { color: var(--color-text); }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover, .footer-inner a:focus-visible { color: var(--color-accent); }
.footer-copyright {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 32px 0 0;
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}

/* Calendar Picker */
.cal-picker { position: relative; }

.cal-trigger {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 10px 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  text-align: left;
}
.cal-trigger.has-value { color: var(--color-text); }
.cal-trigger:hover, .cal-trigger:focus-visible { border-color: var(--color-accent); }

.cal-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 200;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  width: 308px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cal-month-year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  text-transform: capitalize;
}
.cal-nav {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: unset;
  line-height: 1;
}
.cal-nav:hover, .cal-nav:focus-visible { border-color: var(--color-accent); color: var(--color-accent); }

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 4px;
}
.cal-weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--font-body);
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-text);
  cursor: pointer;
  min-height: unset;
  padding: 0;
  transition: background 150ms ease, color 150ms ease;
}
.cal-day:hover:not(:disabled) { background: rgba(245, 158, 11, 0.14); color: var(--color-accent); }
.cal-day.today { border-color: rgba(245, 158, 11, 0.45); }
.cal-day.selected { background: var(--color-accent); color: var(--color-on-accent); font-weight: 700; border-color: transparent; }
.cal-day.selected:hover { background: var(--color-accent-hover); }
.cal-day:disabled { color: rgba(255, 255, 255, 0.15); cursor: not-allowed; }
.cal-day.other-month { color: rgba(255, 255, 255, 0.2); }

.cal-time-section {
  margin-top: 14px;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
}
.cal-time-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cal-time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.cal-time-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 12px;
  padding: 7px 4px;
  cursor: pointer;
  min-height: unset;
  text-align: center;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.cal-time-btn:hover, .cal-time-btn:focus-visible { border-color: var(--color-accent); color: var(--color-accent); }
.cal-time-btn.selected { background: var(--color-accent); color: var(--color-on-accent); border-color: var(--color-accent); font-weight: 700; }

@media (max-width: 480px) {
  .cal-dropdown { width: 100%; left: 0; right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
