/* Nácar — салон красоты. Концепция «перламутр и книга записи» → demos/_conceptos/salon.html
   Два фирменных приёма: арки-зеркала с перламутровой кромкой и книга записи (reservar.html).
   Перелив --nacar — только кромки арок, тонкие линии и название на первом экране.
   Навигация — R-18: одна шапка на всех страницах, липкая, одной высоты. */

:root {
  --cacao: #2a1c17;
  --cacao-2: #45302a;
  --cacao-3: #6b534b;
  --crema: #f7f1ea;
  --perla: #fcf9f5;
  --polvo: #ecd8cf;
  --polvo-2: #e2c8bd;
  --rosa: #a8584a;
  --rosa-2: #8f4639;
  --rosa-claro: #f3e1db;
  --linea: #e4d8cc;
  --linea-2: #cdbcae;
  --gris: #6f5f57;
  --verde: #6f9e78;
  --nacar: linear-gradient(120deg, #efe2dc 0%, #dfe9ee 30%, #eadff0 55%, #f3eadf 80%, #e7dccf 100%);
  --f-t: "Playfair Display", Georgia, serif;
  --f: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lado: 20px;
  --cab-h: 101px;
  --ancho: 1200px;
}
@media (min-width: 640px) { :root { --lado: 32px; } }
@media (min-width: 1000px) { :root { --lado: 40px; --cab-h: 73px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--crema); color: var(--cacao);
  font-family: var(--f); font-size: 17px; line-height: 1.6;
  padding-bottom: 76px;
}
@media (min-width: 1000px) { body { padding-bottom: 0; } }
body[data-pagina="reservar"] { padding-bottom: 104px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-t); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
[id] { scroll-margin-top: calc(var(--cab-h) + 14px); }
:focus-visible { outline: 2px solid var(--rosa); outline-offset: 3px; }
[hidden] { display: none !important; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.env { max-width: calc(var(--ancho) + var(--lado) * 2); margin-inline: auto; padding-inline: var(--lado); }

.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--perla); color: var(--cacao); padding: 10px 14px; font-weight: 700; }
.saltar:focus { top: 10px; }

/* ── шапка: одна на все страницы, липкая, не меняется при прокрутке → R-18 ── */
.cab { position: sticky; top: 0; z-index: 40; background: var(--cacao); color: var(--perla); border-bottom: 1px solid rgba(252, 249, 245, .12); }
.cab__in {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "marca idioma" "menu menu";
  align-items: center; column-gap: 12px;
}
.marca { grid-area: marca; display: flex; align-items: center; gap: 10px; min-height: 56px; text-decoration: none; }
.marca svg { width: 22px; height: 29px; flex: none; }
.marca__nombre { font-family: var(--f-t); font-style: italic; font-weight: 500; font-size: 25px; line-height: 1; }
.marca__sub { display: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(252, 249, 245, .6); margin-left: 4px; }
.menu {
  grid-area: menu; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--lado) * -1); padding-inline: calc(var(--lado) - 12px);
  border-top: 1px solid rgba(252, 249, 245, .1);
}
.menu::-webkit-scrollbar { display: none; }
.menu a {
  position: relative; display: flex; align-items: center; flex: none; min-height: 44px; padding-inline: 12px;
  font-size: 15px; font-weight: 600; color: rgba(252, 249, 245, .78); text-decoration: none; white-space: nowrap;
}
.menu a:hover { color: var(--perla); }
.menu a[aria-current="page"] { color: var(--perla); }
.menu a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--nacar); }
/* «Reservar cita» — последний пункт меню: на мониторе кнопкой, на телефоне его заменяет нижняя панель */
.menu .cab__cta { display: none; }
@media (min-width: 560px) { .marca__sub { display: inline; } }
@media (min-width: 1000px) {
  .cab__in { grid-template-columns: auto 1fr auto; grid-template-areas: "marca menu idioma"; column-gap: 20px; min-height: 72px; }
  .menu { margin: 0; padding: 0; border: 0; justify-content: flex-end; align-items: center; overflow: visible; }
  .menu a { padding-inline: 14px; }
  .menu .cab__cta { display: inline-flex; margin-left: 14px; min-height: 44px; padding: 0 18px; background: var(--rosa); color: #fff; font-size: 14.5px; }
  .menu .cab__cta:hover { background: var(--rosa-2); }
  .menu .cab__cta[aria-current="page"] { background: var(--perla); color: var(--cacao); }
  .menu .cab__cta[aria-current="page"]::after { display: none; }
}

/* переключатель языка: список вниз, открывается и без JS */
.idioma { grid-area: idioma; position: relative; }
.idioma summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; justify-content: center;
  padding-inline: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; border: 1px solid rgba(252, 249, 245, .25);
}
.idioma summary::-webkit-details-marker { display: none; }
.idioma summary svg { width: 11px; height: 11px; transition: transform .2s; }
.idioma[open] summary svg { transform: rotate(180deg); }
.idioma ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 180px; margin: 0; padding: 6px; list-style: none;
  background: var(--perla); color: var(--cacao); box-shadow: 0 20px 40px -18px rgba(42, 28, 23, .5); border: 1px solid var(--linea);
}
.idioma ul a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding-inline: 12px; font-size: 15px; font-weight: 600; text-decoration: none; }
.idioma ul a small { font-size: 12px; color: var(--gris); letter-spacing: .08em; }
.idioma ul a:hover { background: var(--crema); }
.idioma ul a[aria-current] { box-shadow: inset 3px 0 0 var(--rosa); }

/* ── кнопки: прямоугольные, без пилюль ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border: 1.5px solid transparent; background: none; cursor: pointer; text-align: center; text-decoration: none;
  font-family: var(--f); font-size: 16px; font-weight: 700; line-height: 1.2; color: inherit;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--rosa { background: var(--rosa); border-color: var(--rosa); color: #fff; }
.btn--rosa:hover { background: var(--rosa-2); border-color: var(--rosa-2); }
.btn--claro { border-color: rgba(252, 249, 245, .55); color: var(--perla); }
.btn--claro:hover { background: var(--perla); color: var(--cacao); }
.btn--oscuro { border-color: var(--cacao); color: var(--cacao); }
.btn--oscuro:hover { background: var(--cacao); color: var(--perla); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.enlace { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15.5px; text-decoration: none; color: var(--rosa); }
.enlace svg { width: 18px; height: 18px; transition: transform .18s; }
.enlace:hover svg { transform: translateX(3px); }
:is(.oscura, .banda--oscura) .enlace { color: var(--polvo); }

/* ── полосы ── */
.banda { padding-block: clamp(64px, 9vw, 120px); }
.banda--oscura, .oscura { background: var(--cacao); color: var(--perla); }
.banda--polvo { background: var(--polvo); }
.banda--perla { background: var(--perla); }
.antetitulo { display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rosa); margin: 0 0 18px; }
.antetitulo::before { content: ""; width: 32px; height: 2px; background: var(--nacar); flex: none; }
:is(.oscura, .banda--oscura) .antetitulo { color: var(--polvo); }
.titular { font-size: clamp(34px, 5vw, 56px); }
.titular em { font-style: italic; color: var(--rosa); }
:is(.oscura, .banda--oscura) .titular em { color: var(--polvo); }
.entrada { font-size: clamp(17px, 1.6vw, 19px); color: var(--cacao-2); max-width: 58ch; margin-top: 18px; }
:is(.oscura, .banda--oscura) .entrada { color: rgba(252, 249, 245, .82); }
.cabeza { display: grid; gap: 0; margin-bottom: clamp(36px, 5vw, 56px); }
@media (min-width: 900px) {
  .cabeza--lado { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
  .cabeza--lado .entrada { margin-top: 0; }
}

/* ── арка-зеркало с перламутровой кромкой ── */
.arco { position: relative; display: block; padding: 3px; border-radius: 999px 999px 0 0; background: var(--nacar); }
.arco img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; background: var(--polvo); }
.arco--fino { padding: 2px; }

/* ── первый экран главной: три зеркала салона ── */
.portada { position: relative; overflow: hidden; padding: 28px 0 44px; text-align: center; }
.portada::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 45% at 50% 38%, rgba(236, 216, 207, .16), transparent 70%);
}
.espejos { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 2.4vw, 30px); padding-top: clamp(34px, 5vw, 64px); }
.espejos .arco--centro { width: min(76vw, 320px); aspect-ratio: 5 / 7; }
.espejos .arco--lado { display: none; width: clamp(130px, 14vw, 180px); aspect-ratio: 5 / 7.6; }
@media (min-width: 720px) {
  .espejos .arco--centro { width: clamp(300px, 28vw, 360px); }
  .espejos .arco--lado { display: block; }
}
.nombre {
  position: absolute; left: 0; right: 0; top: 0; margin: 0;
  font-family: var(--f-t); font-style: italic; font-weight: 500; line-height: .9; letter-spacing: -.02em;
  font-size: clamp(92px, 17vw, 190px);
  background: var(--nacar); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .45));
  pointer-events: none;
}
.portada h1 { font-size: clamp(34px, 5.2vw, 58px); margin-top: 30px; }
.portada h1 em { font-style: italic; color: var(--polvo); }
.portada .entrada { margin-inline: auto; text-align: center; }
.hechos { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; }
.hechos li { border: 1px solid rgba(252, 249, 245, .24); padding: 6px 12px; color: rgba(252, 249, 245, .88); }
.acciones { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 480px) { .acciones .btn { flex: 1 1 100%; } }
.libre { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; font-size: 14px; }
.libre__rot { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(252, 249, 245, .66); margin-right: 4px; }
.chip-libre {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; text-decoration: none;
  border: 1px solid rgba(252, 249, 245, .28); background: rgba(252, 249, 245, .06); font-weight: 600; color: var(--perla);
  transition: background-color .18s, border-color .18s;
}
.chip-libre:hover { background: rgba(252, 249, 245, .14); border-color: rgba(252, 249, 245, .5); }
.chip-libre i { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 3px rgba(111, 158, 120, .25); }

/* ── ¿Te suena? ── */
.dolores { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .dolores { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.dolor { background: var(--perla); border: 1px solid var(--linea); padding: 28px 26px 30px; }
.dolor__n { font-family: var(--f-t); font-style: italic; font-size: 34px; line-height: 1; color: var(--rosa); }
.dolor p { font-family: var(--f-t); font-size: 23px; line-height: 1.28; margin-top: 16px; }
.dolor small { display: block; margin-top: 12px; font-size: 15px; color: var(--gris); }
.puente { font-family: var(--f-t); font-style: italic; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; margin-top: clamp(40px, 6vw, 64px); }
.puente::after { content: ""; display: block; width: 80px; height: 2px; background: var(--nacar); margin-top: 18px; }

/* ── por qué Nácar ── */
.razones { display: grid; gap: 34px 28px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .razones { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .razones { grid-template-columns: repeat(4, 1fr); } }
.razon__ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--nacar); padding: 2px; }
.razon__ico span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--perla); color: var(--rosa); }
.razon__ico svg { width: 26px; height: 26px; }
.razon h3 { font-family: var(--f); font-weight: 700; font-size: 19px; line-height: 1.25; margin-top: 20px; letter-spacing: 0; }
.razon p { font-size: 16px; color: var(--cacao-2); margin-top: 8px; }
.razones + .acciones { justify-content: flex-start; margin-top: 44px; }

/* ── la carta: превью на главной ── */
.carta-prev { display: grid; gap: 22px; }
@media (min-width: 700px) { .carta-prev { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .carta-prev { grid-template-columns: repeat(4, 1fr); } }
.seccion-card { display: flex; flex-direction: column; background: var(--perla); border: 1px solid var(--linea); }
.seccion-card__foto { padding: 22px 22px 0; }
.seccion-card__foto .arco { aspect-ratio: 4 / 3.4; }
.seccion-card__cuerpo { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; }
.seccion-card h3 { font-size: 28px; }
.seccion-card h3 small { display: block; font-family: var(--f); font-size: 13.5px; font-weight: 600; color: var(--gris); margin-top: 6px; letter-spacing: 0; }
.filas { margin: 16px 0 12px; padding: 0; list-style: none; }
.fila a {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px; min-height: 44px; padding: 8px 0;
  border-top: 1px dashed var(--linea-2); text-decoration: none; font-size: 15.5px;
}
.fila a:hover .fila__n { color: var(--rosa); }
.fila__n { font-weight: 600; transition: color .15s; }
.fila__p { font-weight: 700; color: var(--rosa); white-space: nowrap; }
.fila__p small { font-weight: 500; font-size: 12.5px; color: var(--gris); margin-right: 3px; }
.seccion-card .enlace { margin-top: auto; }

/* ── equipo: на главной и отдельной странице ── */
.equipo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
@media (min-width: 1000px) { .equipo { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.persona .arco { aspect-ratio: 3 / 4; }
.persona h3 { font-style: italic; font-size: clamp(26px, 3vw, 32px); margin-top: 18px; }
.persona__rol { font-size: 15px; color: rgba(252, 249, 245, .78); margin-top: 6px; }
.banda--crema .persona__rol, .banda--perla .persona__rol { color: var(--gris); }
.idiomas-chip { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; padding: 0; list-style: none; }
.idiomas-chip li { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; padding: 4px 9px; border: 1px solid currentColor; opacity: .85; }

/* ── trabajos: мозаика ── */
/* клетки по схеме, без дыр: телефон 2 × 4, монитор 4 × 3 */
.mosaico {
  display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; margin: 0; padding: 0; list-style: none;
  grid-template-areas: "a b" "a c" "d e" "f e";
}
@media (min-width: 760px) {
  .mosaico { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; grid-template-areas: "a b b c" "a d e e" "f d e e"; }
}
.mosaico li { position: relative; overflow: hidden; }
.mosaico li:nth-child(1) { grid-area: a; }
.mosaico li:nth-child(2) { grid-area: b; }
.mosaico li:nth-child(3) { grid-area: c; }
.mosaico li:nth-child(4) { grid-area: d; }
.mosaico li:nth-child(5) { grid-area: e; }
.mosaico li:nth-child(6) { grid-area: f; }
.mosaico a { display: block; height: 100%; text-decoration: none; color: var(--perla); }
.mosaico img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.mosaico a:hover img { transform: scale(1.04); }
.mosaico figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: 14px; line-height: 1.3;
  background: linear-gradient(transparent, rgba(42, 28, 23, .78));
}
.mosaico figcaption b { display: block; font-family: var(--f-t); font-style: italic; font-weight: 400; font-size: 19px; }
.mosaico figcaption span { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 700; font-size: 13px; color: var(--polvo); }
.mosaico figcaption svg { width: 14px; height: 14px; }

/* ── opiniones ── */
.opiniones { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .opiniones { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.opinion blockquote { margin: 0; font-family: var(--f-t); font-style: italic; font-size: clamp(22px, 2.3vw, 26px); line-height: 1.35; }
.opinion svg { width: 34px; height: 26px; color: var(--rosa); margin-bottom: 14px; }
.opinion footer { margin-top: 16px; font-size: 14.5px; color: var(--gris); }
.opinion footer b { color: var(--cacao); }
.nota-ejemplo { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); border: 1px dashed var(--linea-2); padding: 4px 10px; margin-top: 14px; }

/* ── antes de venir: вопросы ── */
.dos { display: grid; gap: 34px; }
@media (min-width: 900px) { .dos { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }
.preguntas { border-top: 1px solid var(--linea-2); }
.preguntas details { border-bottom: 1px solid var(--linea-2); }
.preguntas summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 12px 0; font-weight: 700; font-size: 17.5px;
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary svg { width: 18px; height: 18px; flex: none; color: var(--rosa); transition: transform .2s; }
.preguntas details[open] summary svg { transform: rotate(45deg); }
.preguntas details p { padding: 0 0 20px; color: var(--cacao-2); max-width: 62ch; }

/* ── tarjeta regalo: тизер и сама карточка ── */
.regalo-tz { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .regalo-tz { grid-template-columns: 1fr 1fr; gap: 72px; } }
.tarjeta {
  position: relative; aspect-ratio: 1.6; width: 100%; max-width: 480px; padding: clamp(20px, 3.4vw, 34px); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; color: var(--cacao);
  background: var(--nacar); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.tarjeta::after { content: ""; position: absolute; right: -70px; bottom: -150px; width: 230px; height: 330px; border-radius: 999px 999px 0 0; border: 1.5px solid rgba(42, 28, 23, .16); }
.tarjeta--cacao { background: var(--cacao); color: var(--perla); outline: 1.5px solid rgba(236, 216, 207, .35); outline-offset: -10px; }
.tarjeta--cacao::after { border-color: rgba(236, 216, 207, .22); }
.tarjeta--polvo { background: var(--polvo); }
.tarjeta__cab { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.tarjeta__cab svg { width: 22px; height: 29px; }
.tarjeta__cab b { font-family: var(--f-t); font-style: italic; font-weight: 500; font-size: 26px; }
.tarjeta__cab small { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.tarjeta__valor { position: relative; z-index: 1; font-family: var(--f-t); font-size: clamp(38px, 6vw, 56px); line-height: 1; }
.tarjeta__valor small { display: block; font-family: var(--f); font-size: 14px; font-weight: 600; margin-top: 6px; opacity: .8; }
.tarjeta__para { position: relative; z-index: 1; font-size: 14px; line-height: 1.4; }
.tarjeta__para b { font-family: var(--f-t); font-style: italic; font-weight: 400; font-size: 20px; }

/* ── финал и «dónde estamos» ── */
.final { display: grid; gap: 40px; }
@media (min-width: 900px) { .final { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.final .acciones { justify-content: flex-start; }
.ficha { background: var(--perla); border: 1px solid var(--linea); padding: 28px; }
.ficha h3 { font-family: var(--f); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.ficha address { font-style: normal; font-size: 18px; margin-top: 8px; }
.ficha + .ficha, .ficha__bloque + .ficha__bloque { margin-top: 22px; }
.horario { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 16px; }
.horario th, .horario td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--linea); font-weight: 500; }
.horario td { text-align: right; }
.horario tr.hoy th, .horario tr.hoy td { font-weight: 800; color: var(--rosa); }
.horario tr.hoy th::after { content: attr(data-hoy); margin-left: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.contactos { margin: 12px 0 0; padding: 0; list-style: none; }
.contactos a { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--linea); }
.contactos a:hover { color: var(--rosa); }
.contactos svg { width: 20px; height: 20px; color: var(--rosa); flex: none; }

/* ── нижняя панель на телефоне: видна всегда → R-18 ── */
.barra-cita {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 10px;
  padding: 12px var(--lado) calc(12px + env(safe-area-inset-bottom));
  background: var(--perla); border-top: 1px solid var(--linea); box-shadow: 0 -12px 30px -24px rgba(42, 28, 23, .5);
}
.barra-cita .btn { min-height: 50px; }
.barra-cita .btn--rosa { flex: 1; }
.barra-cita .btn--wa { flex: 0 0 52px; width: 52px; padding: 0; border-color: var(--cacao); color: var(--cacao); }
@media (min-width: 1000px) { .barra-cita { display: none; } }

/* ── подвал ── */
.pie { background: var(--cacao); color: rgba(252, 249, 245, .82); padding: 64px 0 36px; font-size: 15.5px; }
.pie__cols { display: grid; gap: 34px; }
@media (min-width: 760px) { .pie__cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.pie .marca { min-height: 44px; color: var(--perla); }
.pie__lema { margin-top: 12px; max-width: 30ch; }
.pie h2 { font-family: var(--f); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--polvo); margin-bottom: 10px; }
.pie ul { margin: 0; padding: 0; list-style: none; }
.pie li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.pie li a:hover { color: var(--perla); text-decoration: underline; }
.pie__demo { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(252, 249, 245, .14); font-size: 14px; color: rgba(252, 249, 245, .62); max-width: 90ch; }
.pie__demo b { color: rgba(252, 249, 245, .85); }

/* ── шапка внутренних страниц ── */
.pag-cab { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); }
.pag-cab h1 { font-size: clamp(44px, 7vw, 84px); }
.pag-cab h1 em { font-style: italic; color: var(--rosa); }

/* ── карта процедур ── */
.subnav { position: sticky; top: var(--cab-h); z-index: 30; background: rgba(247, 241, 234, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.subnav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a {
  position: relative; display: flex; align-items: center; gap: 8px; flex: none; min-height: 50px; padding-inline: 14px;
  font-weight: 700; font-size: 15px; text-decoration: none; color: var(--gris); white-space: nowrap;
}
.subnav a small { font-weight: 600; font-size: 12.5px; color: var(--linea-2); }
.subnav a[aria-current] { color: var(--cacao); }
.subnav a[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--rosa); }
.carta-sec { padding-block: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--linea); scroll-margin-top: calc(var(--cab-h) + 64px); }
.carta-sec:nth-of-type(even) { background: var(--perla); }
.carta-sec__in { display: grid; gap: 32px; }
@media (min-width: 900px) { .carta-sec__in { grid-template-columns: 340px 1fr; gap: 64px; align-items: start; } .carta-sec__lado { position: sticky; top: calc(var(--cab-h) + 80px); } }
.carta-sec__lado .arco { aspect-ratio: 4 / 4.6; max-width: 340px; }
.carta-sec h2 { font-size: clamp(38px, 5vw, 54px); margin-top: 26px; }
.carta-sec__lado > p { color: var(--cacao-2); margin-top: 12px; }
.quien { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 18px 0 0; padding: 0; list-style: none; }
.quien a { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 700; font-size: 15px; }
.quien img { width: 34px; height: 44px; object-fit: cover; border-radius: 99px 99px 0 0; }
.quien a:hover { color: var(--rosa); }
.lista-serv { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linea-2); }
.serv { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; padding: 20px 0; border-bottom: 1px solid var(--linea-2); }
.serv__cab { display: flex; align-items: baseline; gap: 12px; grid-column: 1 / -1; }
.serv h3 { font-family: var(--f); font-weight: 700; font-size: 18.5px; letter-spacing: 0; line-height: 1.3; }
.serv__puntos { flex: 1; min-width: 20px; border-bottom: 2px dotted var(--linea-2); transform: translateY(-5px); }
.serv__precio { font-weight: 800; font-size: 18.5px; color: var(--rosa); white-space: nowrap; }
.serv__precio small { font-size: 13px; font-weight: 600; color: var(--gris); margin-right: 4px; }
.serv__desc { color: var(--cacao-2); font-size: 15.5px; }
.serv__meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 14px; color: var(--gris); }
.serv__meta svg { width: 16px; height: 16px; }
.serv .btn { align-self: center; }
.importante { background: var(--polvo); padding: clamp(28px, 4vw, 44px); margin-top: 40px; }
.importante h3 { font-size: 28px; }
.importante ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
@media (min-width: 760px) { .importante ul { grid-template-columns: 1fr 1fr; gap: 14px 34px; } }
.importante li { padding-left: 22px; position: relative; font-size: 16px; }
.importante li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--rosa); }
.importante li b { display: block; }

/* ── страница equipo ── */
.perfil { display: grid; gap: 30px; padding-block: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--linea); }
@media (min-width: 900px) { .perfil { grid-template-columns: 400px 1fr; gap: 72px; align-items: center; } .perfil:nth-of-type(even) { grid-template-columns: 1fr 400px; } .perfil:nth-of-type(even) .perfil__foto { order: 2; } }
.perfil__foto .arco { aspect-ratio: 3 / 4; max-width: 400px; }
.perfil h2 { font-style: italic; font-size: clamp(46px, 6vw, 68px); }
.perfil__rol { font-size: 18px; font-weight: 700; margin-top: 8px; }
.perfil__rol span { font-weight: 500; color: var(--gris); }
.perfil__txt { font-family: var(--f-t); font-size: clamp(21px, 2.2vw, 24px); line-height: 1.4; margin-top: 22px; max-width: 40ch; }
.perfil .idiomas-chip { color: var(--cacao); margin-top: 18px; }
.mejor { margin: 22px 0 0; padding: 0; list-style: none; max-width: 520px; }
.mejor li { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px dashed var(--linea-2); font-size: 16px; }
.mejor li a { display: flex; align-items: center; min-height: 44px; flex: 1; }
.mejor li a:hover { color: var(--rosa); }
.mejor li b { color: var(--rosa); white-space: nowrap; }
.perfil__trab { display: flex; gap: 10px; margin-top: 22px; }
.perfil__trab img { width: 96px; height: 120px; object-fit: cover; }
.perfil .acciones { justify-content: flex-start; margin-top: 26px; }

/* ── книга записи ── */
.paso { padding-block: 28px; border-top: 1px solid var(--linea); }
.paso:first-of-type { border-top: 0; padding-top: 0; }
.paso__cab { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.paso__n { font-family: var(--f-t); font-style: italic; font-size: 30px; line-height: 1; color: var(--rosa); }
.paso h2 { font-size: clamp(28px, 3.4vw, 36px); }
.paso__cab p { margin-left: auto; font-size: 14.5px; color: var(--gris); }
.pestanas { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
.pestanas::-webkit-scrollbar { display: none; }
.pestana {
  display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; padding: 0 16px; cursor: pointer;
  border: 1.5px solid var(--linea-2); background: var(--perla); font-family: var(--f); font-size: 15px; font-weight: 700; color: var(--cacao);
}
.pestana[aria-selected="true"] { background: var(--cacao); border-color: var(--cacao); color: var(--perla); }
.pestana b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--rosa); color: #fff; font-size: 12px; }
.chips { display: grid; gap: 10px; }
@media (min-width: 640px) { .chips { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .chips { grid-template-columns: repeat(3, 1fr); } }
.opcion { position: relative; display: block; cursor: pointer; }
.opcion input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opcion__caja {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 4px 12px; align-items: start; padding: 14px 16px; min-height: 64px;
  border: 1.5px solid var(--linea-2); background: var(--perla); transition: border-color .15s, background-color .15s;
}
.opcion__caja::before {
  content: ""; width: 20px; height: 20px; margin-top: 2px; border: 1.5px solid var(--linea-2); background: #fff;
  grid-row: span 2; transition: background-color .15s, border-color .15s;
}
.opcion:hover .opcion__caja { border-color: var(--cacao-3); }
.opcion input:checked + .opcion__caja { border-color: var(--rosa); background: var(--rosa-claro); }
.opcion input:checked + .opcion__caja::before {
  border-color: var(--rosa); background: var(--rosa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.opcion input:focus-visible + .opcion__caja { outline: 2px solid var(--rosa); outline-offset: 2px; }
.opcion input[type="radio"] + .opcion__caja::before { border-radius: 50%; }
.opcion input[type="radio"]:checked + .opcion__caja::before { background: #fff; box-shadow: inset 0 0 0 5px var(--rosa); }
.opcion__n { font-weight: 700; font-size: 16px; line-height: 1.3; }
.opcion__p { font-weight: 800; color: var(--rosa); white-space: nowrap; }
.opcion__m { grid-column: 2 / -1; font-size: 13.5px; color: var(--gris); }
.opcion--simple .opcion__caja { grid-template-columns: 22px 1fr; min-height: 52px; align-items: center; }
.opcion--simple .opcion__caja::before { grid-row: auto; margin-top: 0; }

.dias { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--linea-2); background: var(--perla); }
.dias::-webkit-scrollbar { display: none; }
.dia {
  flex: 1 0 72px; display: grid; justify-items: center; gap: 1px; min-height: 68px; padding: 10px 6px; cursor: pointer;
  border: 0; border-right: 1px solid var(--linea); background: none; font-family: var(--f); color: var(--cacao);
}
.dia:last-child { border-right: 0; }
.dia small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gris); }
.dia b { font-family: var(--f-t); font-size: 24px; font-weight: 400; line-height: 1.05; }
.dia span { font-size: 11.5px; color: var(--gris); }
.dia[aria-pressed="true"] { background: var(--cacao); color: var(--perla); }
.dia[aria-pressed="true"] small, .dia[aria-pressed="true"] span { color: var(--polvo); }
.dia:disabled { cursor: not-allowed; color: var(--linea-2); background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(205, 188, 174, .18) 6px 12px); }
.dia:disabled small, .dia:disabled span { color: var(--linea-2); }

.libro { margin-top: 18px; border: 1px solid var(--linea-2); background: var(--perla); }
.libro__maestras { display: none; }
.libro__tabla { display: none; }
.libro__aviso { padding: 16px 18px; font-size: 15px; color: var(--cacao-2); border-bottom: 1px solid var(--linea); background: var(--crema); }
.libro__aviso:empty { display: none; }
/* телефон: мастерицы аватарами, время чипсами */
.libro__movil { padding: 16px; }
.quienes { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.quienes::-webkit-scrollbar { display: none; }
.quien-btn {
  display: grid; justify-items: center; gap: 4px; flex: 0 0 84px; min-height: 96px; padding: 8px 4px; cursor: pointer;
  border: 1.5px solid var(--linea-2); background: #fff; font-family: var(--f); font-size: 13.5px; font-weight: 700; color: var(--cacao);
}
.quien-btn img, .quien-btn .todas { width: 38px; height: 48px; object-fit: cover; border-radius: 99px 99px 0 0; }
.quien-btn .todas { display: grid; place-items: center; background: var(--nacar); color: var(--cacao); }
.quien-btn .todas svg { width: 20px; height: 20px; }
.quien-btn small { font-size: 11px; font-weight: 600; color: var(--gris); line-height: 1.2; }
.quien-btn[aria-pressed="true"] { border-color: var(--rosa); background: var(--rosa-claro); }
.quien-btn:disabled { opacity: .4; cursor: not-allowed; }
.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 14px; }
.horas h3 { grid-column: 1 / -1; font-family: var(--f); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-top: 8px; }
.hora {
  display: grid; justify-items: center; gap: 1px; min-height: 52px; padding: 6px; cursor: pointer;
  border: 1.5px solid var(--linea-2); background: #fff; font-family: var(--f); font-size: 16px; font-weight: 700; color: var(--cacao);
}
.hora small { font-size: 11px; font-weight: 600; color: var(--gris); }
.hora[aria-pressed="true"] { background: var(--rosa); border-color: var(--rosa); color: #fff; }
.hora[aria-pressed="true"] small { color: #fff; }
.hora:hover:not([aria-pressed="true"]) { border-color: var(--rosa); }
.sin-horas { grid-column: 1 / -1; font-size: 15px; color: var(--gris); padding: 8px 0; }
/* монитор: журнал — мастерицы колонками, часы строками */
@media (min-width: 900px) {
  .libro__movil { display: none; }
  .libro__tabla { display: grid; grid-template-columns: 76px repeat(4, 1fr); }
  .libro__tabla > * { border-right: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
  .libro__tabla > :nth-child(5n) { border-right: 0; }
  .lt-esq { background: var(--crema); }
  .lt-m { display: grid; justify-items: center; gap: 3px; padding: 14px 6px 12px; background: var(--crema); text-align: center; }
  .lt-m img { width: 44px; height: 56px; object-fit: cover; border-radius: 99px 99px 0 0; }
  .lt-m b { font-size: 15px; }
  .lt-m small { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--gris); }
  .lt-m.no { opacity: .42; }
  .lt-h { display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; font-size: 13.5px; font-weight: 700; color: var(--gris); min-height: 40px; }
  .lt-h.pausa { min-height: 26px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--crema); }
  .lt-c { min-height: 40px; border: 0; border-right: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: #fff; font-family: var(--f); font-size: 13px; font-weight: 700; color: var(--cacao); padding: 0; }
  .lt-c.pausa { min-height: 26px; background: var(--crema); }
  .lt-c.oc { background: repeating-linear-gradient(135deg, #f1e9e1 0 6px, #f8f3ee 6px 12px); cursor: default; }
  .lt-c.fuera { background: var(--crema); cursor: default; }
  .lt-c.cabe { background: var(--rosa-claro); box-shadow: inset 0 0 0 1px rgba(168, 88, 74, .5); cursor: pointer; color: var(--rosa-2); }
  .lt-c.cabe:hover { background: #ecd0c8; }
  .lt-c.lt-libre { cursor: pointer; }
  .lt-c.lt-libre:hover:not(:disabled) { background: var(--crema); }
  .lt-c.elegida { background: var(--rosa); color: #fff; box-shadow: none; }
  .lt-c.tramo { background: #cf8e82; color: #fff; }
  .lt-c:disabled { cursor: default; }
}
.libro__todas { display: none; }
@media (min-width: 900px) {
  .libro__todas { display: block; padding: 16px 18px 18px; border-top: 1px solid var(--linea); background: var(--crema); }
  .libro__todas .horas { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); margin-top: 10px; }
}
.libro__todas p { font-weight: 700; font-size: 15px; }
.libro__todas p span { font-weight: 500; color: var(--gris); }
.leyenda { display: none; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 13.5px; color: var(--gris); }
.leyenda i { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; border: 1px solid var(--linea-2); }
.leyenda .l-cabe { background: var(--rosa-claro); border-color: var(--rosa); }
.leyenda .l-oc { background: repeating-linear-gradient(135deg, #f1e9e1 0 3px, #f8f3ee 3px 6px); }
.leyenda .l-sel { background: var(--rosa); border-color: var(--rosa); }
@media (min-width: 900px) { .leyenda { display: flex; } }

.campo { display: grid; gap: 8px; max-width: 460px; }
.campo label { font-weight: 700; font-size: 15px; }
.campo label small { font-weight: 500; color: var(--gris); }
.campo input, .campo textarea, .campo select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--linea-2); background: #fff;
  font-family: var(--f); font-size: 16px; color: var(--cacao);
}
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: 2px solid var(--rosa); outline-offset: 1px; border-color: var(--rosa); }
.campo__ayuda { font-size: 13.5px; color: var(--gris); }

/* панель итога записи — на всех ширинах, видна всегда */
.resumen {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--cacao); color: var(--perla);
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -16px 36px -26px rgba(0, 0, 0, .7);
}
.resumen__in { display: flex; align-items: center; gap: 14px; }
.resumen__txt { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.35; }
.resumen__txt b { display: block; font-size: 15.5px; }
.resumen__txt span { color: rgba(252, 249, 245, .74); }
.resumen .btn { flex: none; min-height: 52px; }
@media (max-width: 520px) { .resumen .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .resumen .btn { width: 56px; padding: 0; } }
.resumen__pista { font-size: 13.5px; color: var(--polvo); margin-top: 3px; }
.resumen__pista:empty { display: none; }

/* ── конструктор сертификата ── */
.regalo { display: grid; gap: 40px; padding-block: clamp(20px, 3vw, 40px) clamp(64px, 8vw, 110px); }
@media (min-width: 1000px) { .regalo { grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; } .regalo__prev { position: sticky; top: calc(var(--cab-h) + 28px); } }
.importes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.importe .opcion__caja { grid-template-columns: 1fr; justify-items: center; min-height: 56px; padding: 12px 6px; }
.importe .opcion__caja::before { display: none; }
.importe .opcion__n { font-family: var(--f-t); font-size: 24px; font-weight: 400; }
.disenos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.diseno .opcion__caja { grid-template-columns: 1fr; padding: 10px; min-height: 0; gap: 8px; }
.diseno .opcion__caja::before { display: none; }
.diseno__mini { height: 58px; background: var(--nacar); }
.diseno--cacao .diseno__mini { background: var(--cacao); }
.diseno--polvo .diseno__mini { background: var(--polvo); }
.diseno .opcion__n { font-size: 14.5px; text-align: center; }
.regalo__prev .tarjeta { max-width: none; }
.regalo__nota { font-size: 14.5px; color: var(--gris); margin-top: 16px; max-width: 52ch; }

/* на телефоне превью карты и отзывы — лентой вбок: соседняя карточка выглядывает, видно, что листается */
@media (max-width: 699px) {
  .carta-prev, .opiniones {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--lado) * -1); padding-inline: var(--lado); scroll-padding-inline: var(--lado);
  }
  .carta-prev::-webkit-scrollbar, .opiniones::-webkit-scrollbar { display: none; }
  .carta-prev > *, .opiniones > * { flex: 0 0 84%; scroll-snap-align: start; }
  .opinion { background: var(--perla); padding: 24px 22px; }
}

@media (max-width: 639px) {
  .dolor { padding: 22px 20px 24px; }
  .dolor p { font-size: 21px; margin-top: 10px; }
  .razon { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
  .razon__ico { width: 52px; height: 52px; grid-row: span 2; }
  .razon h3 { margin-top: 4px; }
  .razones { gap: 26px; }
}

/* ── появление блоков — добавка, без JS и при reduced-motion всё видно ── */
.js .aparece { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1); }
.js .aparece.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .aparece { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; animation: none !important; }
}
