:root {
  --bg: #f6f7f8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #141414;
  --muted: #6b7280;
  --line: rgba(20, 20, 20, 0.08);
  --accent: #7d395a;
  --accent-soft: rgba(125, 57, 90, 0.1);
  --shadow: 0 16px 40px rgba(16, 24, 40, 0.06);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 57, 90, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(125, 57, 90, 0.05), transparent 20%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(246, 247, 248, 0.84);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand-logo {
  width: min(280px, 48vw);
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 500;
}

.nav a:hover, .nav a:focus-visible { color: var(--text); }

.top-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.pill:hover, .pill:focus-visible { transform: translateY(-1px); }
.primary { background: var(--accent); color: #fff; }
.ghost { background: rgba(255,255,255,0.65); border-color: var(--line); }

.hero, .section, .footer-inner { position: relative; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.25rem;
  padding: 2.2rem 0 1rem;
}

.hero-copy, .hero-aside, .glass-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.hero-aside {
  display: grid;
  gap: 1rem;
  border-radius: var(--radius-xl);
  padding: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: .95;
  letter-spacing: -0.04em;
  margin: .65rem 0 1rem;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  letter-spacing: -0.03em;
  margin: 0 0 .6rem;
}
.lede, .hero p, .section-head p, .glass-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.35rem; }
.metric-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1.4rem; }
.metric {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
  border-radius: 18px;
  padding: .95rem 1rem;
}
.metric strong { display: block; font-size: 1.35rem; margin-bottom: .15rem; }
.metric span { color: var(--muted); font-size: .95rem; }

.spotlight { border-radius: var(--radius-lg); padding: 1.25rem; background: linear-gradient(180deg, rgba(125,57,90,0.06), rgba(255,255,255,0.9)); }
.spotline { color: var(--accent); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .5rem; }
.spot-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1rem; }

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
}
.info-strip span { display: block; color: var(--muted); font-size: .88rem; margin-bottom: .25rem; }

.section { padding: 1.15rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-grid, .card-grid, .three-up, .contact-grid {
  display: grid;
  gap: 1rem;
}
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.service-card, .small-card, .booking-card, .summary-card, .panel-card, .contact-card, .faq-item {
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.service-card img {
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: .95rem;
}

.filter-row {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  margin: .6rem 0 1rem;
}

.filter-pill {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.6);
  color: var(--muted);
  border-radius: 999px;
  padding: .6rem .9rem;
}
.filter-pill.active { background: var(--accent-soft); color: var(--accent); border-color: rgba(125,57,90,0.18); }

.search, .booking-form input, .booking-form select, .booking-form textarea, .contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  color: var(--text);
  border-radius: 16px;
  padding: .9rem 1rem;
  outline: none;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1rem;
}

.booking-form, .contact-form { display: grid; gap: .9rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
label { display: grid; gap: .35rem; color: #2a2a2a; font-size: .95rem; }

.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: .55rem; }
.slot {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .72rem .5rem;
  background: rgba(255,255,255,0.8);
  color: var(--muted);
}
.slot.active, .slot:hover { background: var(--accent-soft); color: var(--accent); border-color: rgba(125,57,90,.18); }
.slot.busy { opacity: .45; text-decoration: line-through; }

.consents {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  border-radius: 18px;
  padding: .9rem;
  display: grid;
  gap: .5rem;
}
.consents label { display: flex; gap: .55rem; align-items: start; }

.booking-side { display: grid; gap: 1rem; }
.panel-top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.panel-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: end; }
.mini-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  color: var(--text);
  border-radius: 999px;
  padding: .55rem .8rem;
}

.appointment-list { display: grid; gap: .75rem; margin-top: .85rem; }
.appointment {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.8);
  border-radius: 18px;
  padding: .9rem;
}
.tag-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .4rem; }
.tag { display: inline-flex; align-items: center; padding: .28rem .55rem; border-radius: 999px; background: #f3f4f6; color: var(--muted); font-size: .8rem; }
.tag.good { background: rgba(17, 163, 127, 0.09); color: #107a5f; }
.tag.warn { background: rgba(245, 158, 11, 0.08); color: #a16207; }

.contact-card { padding: 1.2rem; }
.small-card h3, .service-card h3 { margin-bottom: .35rem; }

.faq-list { display: grid; gap: .75rem; }
.faq-item { border: 1px solid var(--line); background: rgba(255,255,255,0.78); overflow: hidden; }
.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 1rem 1.05rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-answer { display: none; padding: 0 1.05rem 1rem; color: var(--muted); line-height: 1.65; }
.faq-item.open .faq-answer { display: block; }

.footer {
  padding: 1.4rem 0 2rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.footer-logo { width: min(240px, 55vw); margin-bottom: .5rem; }
.footer p { color: var(--muted); margin-bottom: 0; }

@media (max-width: 1024px) {
  .hero, .booking-section { grid-template-columns: 1fr; }
  .service-grid, .card-grid, .three-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
}

@media (max-width: 720px) {
  .topbar-inner, .section-head, .footer-inner, .panel-top { flex-direction: column; align-items: start; }
  .service-grid, .card-grid, .cards-wide, .three-up, .contact-grid, .metric-row, .info-strip, .field-row { grid-template-columns: 1fr; }
  .top-actions, .hero-actions, .panel-actions { width: 100%; }
  .pill, .mini-btn { width: 100%; }
  .brand-logo, .footer-logo { width: min(240px, 78vw); }
}
