/* ===================== Design tokens ===================== */
:root {
  --color-bg: #fdf8f5;
  --color-bg-alt: #f7ede7;
  --color-surface: #ffffff;
  --color-primary: #b86f6a;
  --color-primary-dark: #98524e;
  --color-primary-light: #e7c2bc;
  --color-accent: #c9a15a;
  --color-text: #3a2e2c;
  --color-text-muted: #7a6764;
  --color-border: #ecdcd4;
  --shadow-sm: 0 2px 10px rgba(60, 40, 35, 0.06);
  --shadow-md: 0 10px 30px rgba(60, 40, 35, 0.10);
  --radius-md: 14px;
  --radius-lg: 26px;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
  --container-w: 1140px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--color-primary-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1em; color: var(--color-text); }
ul { padding-left: 1.2em; }
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 64px 0; }
.section--alt { background: var(--color-bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head .eyebrow { display: block; margin-bottom: 10px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--color-accent);
  font-weight: 700;
}
.muted { color: var(--color-text-muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--color-primary-dark); }
.btn--outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}
.btn--outline:hover { background: var(--color-primary-light); }
.btn--light {
  background: #fff;
  color: var(--color-primary-dark);
}
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .85rem; }

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 245, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.main-nav a {
  padding: 10px 12px;
  font-size: .88rem;
  font-weight: 600;
  border-radius: 999px;
  color: var(--color-text);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.is-active { background: var(--color-primary-light); color: var(--color-primary-dark); }
.nav-item { position: relative; }
.dropdown-panel {
  display: none;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
@media (min-width: 981px) {
  .dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 260px;
    z-index: 50;
  }
  .nav-item:hover .dropdown-panel,
  .nav-item:focus-within .dropdown-panel { display: block; }
}
.dropdown-panel li a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .86rem; }
@media (max-width: 980px) {
  .dropdown-panel { display: block; border: none; box-shadow: none; padding: 0 0 0 14px; margin-top: 2px; }
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { font-weight: 700; font-size: .9rem; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--color-primary-dark);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle::before { transform: translateY(-6px); }
.nav-toggle::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-2px) rotate(-45deg); }

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    height: 100vh;
    width: min(320px, 84vw);
    background: var(--color-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 22px 22px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: var(--shadow-md);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 13px 14px; font-size: 1rem; }
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .nav-scrim {
    display: none;
    position: fixed; inset: 0; background: rgba(58,46,44,.35); z-index: 90;
  }
  .nav-scrim.is-open { display: block; }
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, var(--color-primary-light) 0%, transparent 45%),
              radial-gradient(circle at 85% 0%, #f1dfc9 0%, transparent 40%),
              var(--color-bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: #fff;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-art {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-primary-light), var(--color-accent) 120%);
  position: relative;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg { width: 46%; height: 46%; opacity: .9; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 16/9; }
}

/* ===================== Cards / Services grid ===================== */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.card-avatar {
  flex-shrink: 0;
  width: 84px; height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}
.card-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.card-icon {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 32px; height: 32px; stroke: var(--color-primary-dark); }
.card h3 { margin-bottom: 6px; font-size: 1.15rem; }
.card p { flex-grow: 1; font-size: .92rem; }
.card-link { font-weight: 700; color: var(--color-primary); margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; }
.card-link::after { content: "→"; transition: transform .15s ease; }
.card:hover .card-link::after { transform: translateX(4px); }
@media (max-width: 420px) {
  .card { flex-direction: column; align-items: center; text-align: center; }
}

/* ===================== Price list ===================== */
.price-list { list-style: none; padding: 0; margin: 0 0 18px; }
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--color-border);
}
.price-list li:last-child { border-bottom: none; }
.price-list .name { font-weight: 600; }
.price-list .price { font-weight: 700; color: var(--color-primary-dark); white-space: nowrap; }

/* ===================== Service page hero ===================== */
.service-hero {
  padding: 44px 0 20px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.breadcrumbs { font-size: .82rem; color: var(--color-text-muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--color-primary-dark); font-weight: 600; }
.service-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
@media (max-width: 860px) {
  .service-layout { grid-template-columns: 1fr; }
}
.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: 96px;
}
.sidebar-card + .sidebar-card { margin-top: 20px; }
@media (max-width: 860px) {
  /* On mobile the sidebar stacks below the article — sticky here would float
     over content while scrolling, which is exactly what we don't want. */
  .sidebar-card { position: static; }
}
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li + li { margin-top: 4px; }
.sidebar-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 600;
}
.sidebar-nav a:hover, .sidebar-nav a.is-active { background: var(--color-primary-light); color: var(--color-primary-dark); }

/* ===================== Promo strip ===================== */
.promo-strip {
  background: linear-gradient(120deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.promo-strip h3 { color: #fff; margin-bottom: 4px; }
.promo-strip p { color: rgba(255,255,255,.85); margin: 0; }

/* ===================== Contacts ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-item .ico {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 12px; background: var(--color-primary-light);
  display: flex; align-items: center; justify-content: center;
}
.contact-item .ico svg { width: 20px; height: 20px; stroke: var(--color-primary-dark); }
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ===================== Forms ===================== */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 6px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #fff;
  font: inherit;
  color: var(--color-text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .78rem; color: var(--color-text-muted); margin-top: 4px; }
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: #e4f3e6; color: #2b6b34; }
.form-status.is-error { background: #fbe6e4; color: #a23328; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ===================== Booking modal ===================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(58,46,44,.45);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  z-index: 200;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-md);
  position: relative;
  margin: auto;
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.modal h2 { margin-bottom: 6px; }

@media (max-width: 640px) {
  /* Full-screen sheet on phones: nothing to mis-center, no "floats off to
     the side" — it simply fills the screen edge to edge. */
  .modal-overlay { padding: 0; align-items: stretch; }
  .modal {
    max-width: 100%;
    width: 100%;
    min-height: 100%;
    border-radius: 0;
    margin: 0;
    padding: 24px 20px 40px;
  }
}

/* ===================== Footer ===================== */
.site-footer {
  background: #2f2422;
  color: #ecdedb;
  padding: 54px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #d9c5c1; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .82rem; color: #b7a5a1;
}

/* ===================== Floating CTA ===================== */
.floating-book {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 150;
  box-shadow: var(--shadow-md);
}
@media (max-width: 640px) {
  .floating-book { left: 16px; right: 16px; bottom: 16px; }
  .floating-book .btn { width: 100%; }
}

/* ===================== Utility ===================== */
.stack { display: flex; flex-direction: column; gap: 10px; }
.mt-lg { margin-top: 40px; }
.text-center { text-align: center; }
