/* ===========================================================
   Дарья Ковалёва — косметолог. Design system.
   Палитра: Пудра / Уголь / Гранат / Шалфей / Слоновая кость / Песок
   =========================================================== */

:root {
  --color-powder: #EDE4DC;
  --color-ink: #2A211D;
  --color-garnet: #8B2635;
  --color-garnet-dark: #6E1E2B;
  --color-sage: #4F5D45;
  --color-ivory: #F8F3ED;
  --color-sand: #D9CBBE;
  --color-white: #FFFFFF;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "PT Sans", Arial, sans-serif;

  --fs-base: 1.0625rem;   /* 17px */
  --fs-sm: 0.875rem;      /* 14px */
  --fs-h3: 1.375rem;      /* 22px */
  --fs-h2: 2rem;          /* 32px */
  --fs-h1: 2.75rem;       /* 44px, scales up at desktop */

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --radius: 14px;
  --shadow-soft: 0 12px 32px -16px rgba(42, 33, 29, 0.25);
  --max-width: 1200px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

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

body {
  margin: 0;
  background: var(--color-powder);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-2);
}

h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 var(--space-2); }

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-ink);
  color: var(--color-ivory);
  padding: var(--space-1) var(--space-2);
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--color-garnet);
  outline-offset: 2px;
}

/* ===== Signature thread ===== */
.thread {
  position: fixed;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--color-sand);
  z-index: 60;
  pointer-events: none;
}
.thread__fill {
  width: 100%;
  height: 0%;
  background: var(--color-garnet);
  transition: height 0.1s linear;
}
@media (max-width: 767px) {
  .thread { display: none; }
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237, 228, 220, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-sand);
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
  padding-left: calc(var(--space-3) + 12px);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--color-ink);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-sm);
  color: var(--color-garnet);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 51;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav__link {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--color-ink);
  padding: 0.5rem 0.1rem;
  position: relative;
}
.nav__link:not(.nav__link--cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0.25rem;
  height: 2px;
  background: var(--color-garnet);
  transition: right 0.25s var(--ease);
}
.nav__link:not(.nav__link--cta):hover::after,
.nav__link:not(.nav__link--cta):focus-visible::after {
  right: 0;
}
.nav__link--cta {
  background: var(--color-garnet);
  color: var(--color-ivory);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav__link--cta:hover { background: var(--color-garnet-dark); }

@media (max-width: 899px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--color-ivory);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    box-shadow: var(--shadow-soft);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.1rem; min-height: 44px; display: flex; align-items: center; }
}
@media (min-width: 900px) {
  .burger { display: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn--primary {
  background: var(--color-garnet);
  color: var(--color-ivory);
}
.btn--primary:hover { background: var(--color-garnet-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.btn--ghost:hover { background: var(--color-ink); color: var(--color-ivory); }
.btn--whatsapp, .btn--telegram {
  background: var(--color-ivory);
  border-color: var(--color-sand);
  color: var(--color-ink);
  width: 100%;
}
.btn--whatsapp span, .btn--telegram span { color: var(--color-sage); }
.btn--whatsapp:hover, .btn--telegram:hover { border-color: var(--color-sage); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== Section commons ===== */
main section {
  padding: var(--space-6) 0;
}
.section__eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--fs-sm);
  color: var(--color-garnet);
  margin-bottom: var(--space-1);
}
.section__title { max-width: 40ch; }
.section__lead {
  max-width: 60ch;
  color: color-mix(in srgb, var(--color-ink) 80%, transparent);
  margin-bottom: var(--space-4);
}
.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--fs-sm);
  color: var(--color-sage);
  margin-bottom: var(--space-2);
}

/* ===== Hero ===== */
.hero { padding-top: var(--space-5); }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
}
.hero__title { font-size: var(--fs-h1); }
.hero__lead { max-width: 52ch; font-size: 1.05rem; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.hero__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  justify-self: center;
  width: 100%;
  max-width: 420px;
}
.hero__media img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.3fr 1fr;
  }
  .hero__media {
    justify-self: end;
    margin-right: -2vw;
  }
  .hero__title { font-size: 3.5rem; }
}

/* ===== Services ===== */
.services { background: var(--color-ivory); }
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius);
  padding: var(--space-3);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 44px;
  font-family: var(--font-body);
  color: var(--color-ink);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.service-card__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin: 0; }
.service-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--color-sage);
  font-weight: 700;
}
.service-card__desc { font-size: 0.95rem; margin: 0; }

/* ===== Atmosphere strip ===== */
.atmosphere__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21/9;
}
.atmosphere__item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .atmosphere__item { aspect-ratio: 4/3; }
}

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.about__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 420px;
}
.about__media img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.about__certs {
  margin: var(--space-2) 0 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
}
.about__certs li { margin-bottom: 0.4rem; }

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }
  .about__media { justify-self: start; margin-left: -2vw; }
}

/* ===== Results / compare slider ===== */
.results { background: var(--color-ivory); }
.compare {
  max-width: 720px;
}
.compare__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/2;
  box-shadow: var(--shadow-soft);
  touch-action: none;
  user-select: none;
}
.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare__clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}
.compare__clip .compare__img { width: var(--frame-width, 100vw); max-width: none; }
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
}
.compare__handle::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: var(--color-ivory);
  transform: translateX(-1px);
}
.compare__handle-grip {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-ivory);
  color: var(--color-garnet);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  font-size: 1.1rem;
}
.compare__label {
  position: absolute;
  bottom: var(--space-1);
  font-size: var(--fs-sm);
  font-weight: 700;
  background: rgba(42,33,29,0.55);
  color: var(--color-ivory);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.compare__label--before { left: var(--space-1); }
.compare__label--after { right: var(--space-1); }

/* ===== Reviews carousel ===== */
.reviews__carousel { position: relative; }
.reviews__track {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}
.review-card {
  flex: 0 0 100%;
  background: var(--color-ivory);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-sizing: border-box;
}
.review-card__quote { font-size: 1.1rem; margin-bottom: var(--space-2); }
.review-card__author { font-weight: 700; font-family: var(--font-display); font-size: 0.95rem; }
.review-card__meta { font-size: var(--fs-sm); color: var(--color-sage); }
.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.reviews__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-sand);
  background: var(--color-white);
  cursor: pointer;
  font-size: 1.1rem;
}
.reviews__arrow:hover { background: var(--color-garnet); color: var(--color-ivory); border-color: var(--color-garnet); }
.reviews__dots { display: flex; gap: 0.4rem; }
.reviews__dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-sand);
  cursor: pointer;
  padding: 0;
}
.reviews__dots button[aria-current="true"] { background: var(--color-garnet); }

@media (min-width: 720px) {
  .review-card { flex: 0 0 100%; }
}

/* ===== Prices ===== */
.price-table {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-sand);
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-2);
  align-items: center;
  padding: var(--space-2) var(--space-3);
  background: var(--color-white);
}
.price-row:nth-child(even) { background: var(--color-ivory); }
.price-row__name { font-weight: 700; }
.price-row__duration { color: var(--color-sage); font-size: var(--fs-sm); white-space: nowrap; }
.price-row__price { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }

/* ===== FAQ Accordion ===== */
.accordion__item {
  border-bottom: 1px solid var(--color-sand);
}
.accordion__trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: var(--space-2) 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  color: var(--color-ink);
}
.accordion__icon { transition: transform 0.25s var(--ease); flex-shrink: 0; color: var(--color-garnet); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); }
.accordion__panel {
  overflow: hidden;
  height: 0;
  transition: height 0.25s var(--ease);
}
.accordion__panel-inner { padding-bottom: var(--space-2); }

/* ===== Booking ===== */
.booking { background: var(--color-ivory); }
.booking__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.booking__messengers {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: var(--space-3);
  max-width: 320px;
}
.booking-form {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.booking-form__step-title {
  font-size: 1rem;
  color: var(--color-sage);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.booking-form__step { margin-bottom: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-sand); }
.booking-form__step:last-of-type { border-bottom: none; }
.field { margin-bottom: var(--space-2); display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--color-sand);
  background: var(--color-powder);
  min-height: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-garnet); }
.field--invalid input, .field--invalid select { border-color: var(--color-garnet); background: #fbeeee; }
.field__error { color: var(--color-garnet); font-size: var(--fs-sm); min-height: 1em; }
.booking-form__meta { font-size: 0.9rem; color: var(--color-sage); min-height: 1.3em; }

.calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-1);
}
.calendar__month { font-family: var(--font-display); font-weight: 600; }
.calendar__nav {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-sand);
  background: var(--color-white);
  cursor: pointer;
}
.calendar__nav:disabled { opacity: 0.4; cursor: not-allowed; }
.calendar__weekdays, .calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.calendar__weekdays span { font-size: var(--fs-sm); color: var(--color-sage); padding: 0.3rem 0; }
.calendar__day {
  aspect-ratio: 1;
  border: none;
  background: var(--color-powder);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendar__day:disabled { opacity: 0.3; cursor: not-allowed; }
.calendar__day--empty { background: none; cursor: default; }
.calendar__day--sunday:not(:disabled) { opacity: 0.35; cursor: not-allowed; }
.calendar__day[aria-current="true"] { background: var(--color-garnet); color: var(--color-ivory); }
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-2);
}
.slot-btn {
  min-width: 70px;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--color-sand);
  background: var(--color-white);
  cursor: pointer;
  font-family: var(--font-body);
}
.slot-btn:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.slot-btn[aria-current="true"] { background: var(--color-garnet); color: var(--color-ivory); border-color: var(--color-garnet); }

.booking-form__submit { width: 100%; margin-top: var(--space-2); position: relative; }
.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--color-ivory);
  animation: spin 0.7s linear infinite;
}
.booking-form__submit.is-loading .btn__label { opacity: 0.6; }
.booking-form__submit.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.booking-form__error { color: var(--color-garnet); font-weight: 700; min-height: 1.2em; }

.booking-success {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.booking-success__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-sage);
  color: var(--color-ivory);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-2);
  font-size: 1.5rem;
}
.booking-success__note { font-size: 0.9rem; color: color-mix(in srgb, var(--color-ink) 70%, transparent); }

@media (min-width: 900px) {
  .booking__grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
}

/* ===== Contacts ===== */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.contacts__list { margin: var(--space-2) 0; }
.contacts__list > div { margin-bottom: var(--space-2); }
.contacts__list dt { font-size: var(--fs-sm); color: var(--color-sage); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.contacts__list dd { margin: 0; }
.contacts__demo-note { font-size: 0.85rem; color: var(--color-garnet); font-style: italic; }
.map-stub {
  background: var(--color-sand);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-ink);
  font-weight: 700;
  background-image:
    linear-gradient(45deg, rgba(42,33,29,0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(42,33,29,0.05) 25%, transparent 25%);
  background-size: 24px 24px;
}
.map-stub__pin { font-size: 2rem; }

@media (min-width: 900px) {
  .contacts__grid { grid-template-columns: 1.1fr 1fr; }
}

/* ===== Footer ===== */
.footer {
  background: var(--color-ink);
  color: var(--color-powder);
  padding: var(--space-5) 0 var(--space-3);
}
.footer .logo { color: var(--color-powder); }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(237,228,220,0.2);
}
.footer__note { font-size: 0.9rem; opacity: 0.75; max-width: 30ch; margin-top: var(--space-1); }
.footer__nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav a { text-decoration: none; opacity: 0.85; }
.footer__nav a:hover { opacity: 1; text-decoration: underline; }
.footer__credits-title { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; margin-bottom: 0.5rem; }
.footer__credits ul { list-style: none; margin: 0; padding: 0; font-size: 0.85rem; }
.footer__credits li { margin-bottom: 0.3rem; }
.footer__credits a { opacity: 0.8; }
.footer__credits a:hover { opacity: 1; }
.footer__bottom {
  padding-top: var(--space-3);
  font-size: 0.85rem;
  opacity: 0.6;
}

@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed;
  left: var(--space-2);
  right: var(--space-2);
  bottom: var(--space-2);
  z-index: 55;
  background: var(--color-garnet);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  border: none;
  padding: 0;
}
.sticky-cta a {
  display: block;
  padding: 0.9rem;
  text-align: center;
  color: var(--color-ivory);
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
}
@media (min-width: 900px) {
  .sticky-cta { display: none; }
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,33,29,0.6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  padding: 0;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--color-ivory);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: var(--space-4);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}
.modal__close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-white);
  cursor: pointer;
  font-size: 1.1rem;
}
.modal h3 { padding-right: 2.5rem; }
.modal__price {
  display: inline-block;
  background: var(--color-sage);
  color: var(--color-ivory);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: var(--space-2);
}

@media (min-width: 700px) {
  .modal-overlay { align-items: center; }
  .modal { border-radius: var(--radius); }
}
