/* =========================================================
   Lady Monique de Nemours · Consultorio BDSM online
   Paleta y tipografías heredadas de la web original
   ========================================================= */
:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #191919;
  --wine: #70192e;
  --wine-deep: #3d0c18;
  --gold: #c59d5f;
  --gold-2: #b18d55;
  --gold-soft: rgba(197, 157, 95, .14);
  --line: rgba(197, 157, 95, .28);
  --text: #f4f1ec;
  --muted: #a39d95;
  --radius: 4px;
  --serif: "Judson", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Vujahday Script", cursive;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: #e2c08a; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.1rem; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-family: var(--sans); font-weight: 500; font-size: .82rem; }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; }
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.script { font-family: var(--script); font-size: 1.9rem; color: var(--gold); line-height: 1.3; }
.kicker { font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 1.2em; display: inline-flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 42px; height: 1px; background: var(--gold); }
.center .kicker::after { content: ""; width: 42px; height: 1px; background: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: .35em; }
.link-gold { font-weight: 500; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 0 auto 1.4em; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 70px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--radius); border: 1px solid var(--gold);
  font: 600 .82rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s;
}
.btn--gold { background: var(--gold); color: #120d06; }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: #120d06; }
.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold-soft); color: #e2c08a; }
.btn--sm { padding: 10px 18px; font-size: .74rem; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand img { height: 62px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) { color: var(--text); font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; position: relative; padding: 6px 0; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .25s; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"]:not(.btn) { color: var(--gold); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]:not(.btn)::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 26px; height: 1px; background: var(--gold); margin: 6px 0; transition: transform .25s, opacity .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 75% 40%, rgba(112, 25, 46, .45), transparent 60%), var(--bg); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; min-height: calc(100vh - 84px); max-height: 860px; padding: 60px 0; }
.hero__logo { width: min(100%, 470px); margin-bottom: 22px; }
.hero .script { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: .8em; }
.slogan { font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.15; color: #fff; letter-spacing: .03em; margin: 0 0 .55em; padding-left: 18px; border-left: 2px solid var(--gold); }
.slogan--sm { font-size: 1.15rem; padding-left: 12px; margin: 0 0 .8em; }
.hero__lead { color: #d8d2ca; max-width: 520px; }
.hero__media { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.hero__media img { width: 100%; max-width: 560px; max-height: 640px; object-fit: cover; -webkit-mask-image: radial-gradient(ellipse 70% 72% at 50% 46%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 70% 72% at 50% 46%, #000 52%, transparent 100%); }
.hero__badge { position: absolute; bottom: 9%; left: 0; background: rgba(10, 10, 10, .85); border: 1px solid var(--line); padding: 14px 20px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.hero__badge strong { color: var(--gold); display: block; font-family: var(--serif); text-transform: none; letter-spacing: .02em; font-size: 1.2rem; font-weight: 400; }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-3); }
.section--wine { background: linear-gradient(135deg, var(--wine-deep), var(--wine) 55%, #5a1225); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section__head p { color: #cfc8bf; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.split--reverse { grid-template-columns: 1.1fr .9fr; }
.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: 0; }
.framed img { position: relative; z-index: 1; width: 100%; }
.signature { width: min(100%, 360px); margin-top: 26px; opacity: .9; }
.titles { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; gap: 10px; }
.titles li { padding-left: 26px; position: relative; color: #d8d2ca; }
.titles li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .8rem; top: 4px; }

/* Tarjetas con icono (como la portada original) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--bg-2); border: 1px solid var(--line); padding: 46px 34px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: border-color .3s, transform .3s; }
.card:hover { border-color: var(--gold); transform: translateY(-4px); }
.card__icon { height: 120px; width: auto; margin-bottom: 26px; }
.card h3 { text-transform: uppercase; letter-spacing: .08em; font-size: 1.3rem; }
.card p { color: #cfc8bf; flex: 1; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { padding: 36px 28px 10px; border-right: 1px solid var(--line); counter-increment: step; }
.step:last-child { border-right: 0; }
.step::before { content: counter(step, upper-roman); display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--gold); margin-bottom: 12px; }
.step h3 { font-size: 1.25rem; }
.step p { color: #cfc8bf; font-size: .95rem; }

/* Temas */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(197, 157, 95, .25); border: 1px solid rgba(197, 157, 95, .25); }
.topic { background: rgba(20, 6, 10, .55); padding: 34px 30px; }
.topic h3 { font-size: 1.25rem; color: #f3dcb6; }
.topic p { color: #e3d6d0; font-size: .95rem; margin: 0; }

/* Cita destacada */
.quote { text-align: center; padding: 120px 0; background: radial-gradient(ellipse at center, rgba(112, 25, 46, .55), transparent 70%), var(--bg); }
.quote blockquote { margin: 0 auto; max-width: 860px; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); font-style: italic; line-height: 1.35; }
.quote cite { display: block; margin-top: 24px; font-style: normal; font-family: var(--script); color: var(--gold); font-size: 2rem; }

/* Página interior: cabecera */
.page-hero { padding: 90px 0 70px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(112, 25, 46, .5), transparent 65%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero p { color: #cfc8bf; max-width: 640px; margin: 0 auto; }
.page-hero__logo { width: min(100%, 360px); margin: 0 auto 10px; }

.page-hero--image { background-size: cover; background-position: center; padding: 120px 0 100px; }
.page-hero--image .script { margin-top: 10px; font-size: 2.2rem; }

/* Galería */
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery__item { display: block; position: relative; margin: 0 0 14px; break-inside: avoid; overflow: hidden; background: var(--bg-2); }
.gallery__item img { width: 100%; height: auto; transition: transform .5s ease, opacity .3s; }
.gallery__item::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .3s; pointer-events: none; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { border-color: var(--gold); }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(5, 5, 5, .96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 50px 70px 30px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100% - 30px); width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lightbox__count { color: var(--muted); font-size: .78rem; letter-spacing: .2em; margin-top: 12px; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(10, 10, 10, .6); border: 1px solid var(--line); color: var(--gold); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--gold); background: rgba(197, 157, 95, .12); }
.lightbox__close { top: 14px; right: 18px; width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 64px; font-size: 2rem; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

/* Lista de condiciones */
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 50px; margin-top: 10px; }
.rules div { border-left: 1px solid var(--gold); padding: 4px 0 4px 22px; }
.rules h3 { font-size: 1.15rem; margin-bottom: .3em; }
.rules p { color: #cfc8bf; margin: 0; font-size: .95rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-weight: 300; font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #cfc8bf; margin: 14px 0 0; }

/* Bloque de texto pendiente */
.placeholder { border: 1px dashed var(--gold); background: var(--gold-soft); padding: 22px 26px; color: #e9dcc6; font-size: .95rem; }
.placeholder strong { color: var(--gold); }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field .label { display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: #0d0d0d; border: 1px solid #3a342c; color: var(--text);
  padding: 13px 14px; font: 400 1rem/1.4 var(--sans); border-radius: var(--radius); transition: border-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: #cfc8bf; cursor: pointer; }
.check input { margin-top: 5px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 16px 18px; border: 1px solid; font-size: .95rem; }
.form-msg--ok { border-color: #5f8a5a; background: rgba(95, 138, 90, .12); color: #cfe6c8; }
.form-msg--err { border-color: #a14a4a; background: rgba(161, 74, 74, .14); color: #f1c9c9; }

/* ---------- Reservas ---------- */
.booking { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.panel { background: var(--bg-2); border: 1px solid var(--line); padding: 34px; }
.panel + .panel { margin-top: 24px; }
.panel__title { display: flex; align-items: baseline; gap: 14px; font-family: var(--serif); font-size: 1.4rem; margin-bottom: 22px; }
.panel__title span { font-size: .78rem; font-family: var(--sans); letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }

.durations { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duration { position: relative; cursor: pointer; }
.duration input { position: absolute; opacity: 0; }
.duration__box { display: block; border: 1px solid #3a342c; padding: 20px 18px; transition: border-color .2s, background .2s; }
.duration__box strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; }
.duration__box em { display: block; font-style: normal; color: var(--muted); font-size: .9rem; }
.duration__box small { display: block; margin-top: 10px; font-size: .7rem; color: #7d776f; letter-spacing: .04em; }
.duration input:checked + .duration__box { border-color: var(--gold); background: var(--gold-soft); }
.duration input:focus-visible + .duration__box { outline: 2px solid var(--gold); outline-offset: 2px; }

.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal__month { font-family: var(--serif); font-size: 1.35rem; text-transform: capitalize; }
.cal__nav { background: none; border: 1px solid var(--line); color: var(--gold); width: 38px; height: 38px; cursor: pointer; font-size: 1.1rem; border-radius: var(--radius); }
.cal__nav:hover:not([disabled]) { border-color: var(--gold); }
.cal__nav[disabled] { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__dow { text-align: center; font-size: .7rem; letter-spacing: .14em; color: var(--muted); padding-bottom: 6px; text-transform: uppercase; }
.cal__day { aspect-ratio: 1 / .9; border: 1px solid transparent; background: #0d0d0d; color: #5d5852; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 400 1rem var(--sans); border-radius: var(--radius); padding: 0; }
.cal__day small { font-size: .62rem; color: var(--gold); letter-spacing: .04em; margin-top: 2px; }
.cal__day--open { color: var(--text); border-color: #3a342c; cursor: pointer; }
.cal__day--open:hover { border-color: var(--gold); }
.cal__day--sel { background: var(--gold); color: #120d06; border-color: var(--gold); }
.cal__day--sel small { color: #120d06; }
.cal__day--today { box-shadow: inset 0 -2px 0 var(--wine); }
.cal__empty { visibility: hidden; }
.cal__legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: .78rem; color: var(--muted); }
.cal__legend i { display: inline-block; width: 11px; height: 11px; border: 1px solid #3a342c; background: #0d0d0d; margin-right: 6px; vertical-align: -1px; }
.cal__legend i.is-open { border-color: var(--gold); }
.cal__legend i.is-sel { background: var(--gold); border-color: var(--gold); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.slot { background: transparent; border: 1px solid var(--line); color: var(--text); padding: 12px 6px; font: 500 1rem var(--sans); cursor: pointer; border-radius: var(--radius); transition: background .2s, border-color .2s; }
.slot:hover:not([disabled]) { border-color: var(--gold); background: var(--gold-soft); }
.slot--sel { background: var(--gold) !important; color: #120d06; border-color: var(--gold); }
.slot[disabled] { color: #4b4640; border-color: #221f1b; text-decoration: line-through; cursor: not-allowed; }
.slots-hint { color: var(--muted); font-size: .92rem; margin: 0; }

.summary { position: static; }
.summary__line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #241f1a; font-size: .95rem; }
.summary__line span:first-child { color: var(--muted); }
.summary__line span:last-child { text-align: right; }
.summary__empty { color: var(--muted); font-style: italic; }
.summary__tribute { font-size: .72rem; color: #7d776f; margin: 12px 0 0; }
.done { text-align: center; padding: 20px 0; }
.done .script { font-size: 2.3rem; }
.done__code { display: inline-block; border: 1px solid var(--gold); padding: 8px 18px; letter-spacing: .2em; color: var(--gold); margin: 10px 0 20px; }

/* ---------- Pie ---------- */
.site-footer { background: #050505; border-top: 1px solid var(--line); padding: 70px 0 0; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__brand img { height: 70px; width: auto; margin-bottom: 10px; }
.site-footer__brand .script { font-size: 1.6rem; margin-bottom: .3em; }
.site-footer a { color: #d8d2ca; }
.site-footer a:hover, .site-footer .link-gold { color: var(--gold); }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #1f1c19; margin-top: 50px; padding: 22px 0; font-size: .78rem; color: #77716a; letter-spacing: .06em; }

/* ---------- Verificación de edad ---------- */
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(5, 5, 5, .96); display: grid; place-items: center; padding: 20px; }
.age-gate[hidden] { display: none; }
.age-gate__box { max-width: 480px; text-align: center; border: 1px solid var(--line); padding: 44px 36px; background: var(--bg); }
.age-gate__box img { height: 80px; width: auto; margin: 0 auto 18px; }
.age-gate__title { font-family: var(--serif); font-size: 1.8rem; margin-bottom: .4em; }
.age-gate__box p { color: #cfc8bf; }
.age-gate__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

/* ---------- Mantenimiento ---------- */
.maintenance { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 20px; background: radial-gradient(ellipse at center, rgba(112, 25, 46, .45), transparent 70%), var(--bg); }
.maintenance__box img { height: 90px; width: auto; margin: 0 auto 26px; }

/* ---------- Panel de gestión ---------- */
.admin-wrap { padding: 50px 0 80px; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs a { border: 1px solid var(--line); padding: 8px 16px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.tabs a[aria-current] { background: var(--gold); color: #120d06; border-color: var(--gold); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.list { width: 100%; border-collapse: collapse; font-size: .9rem; }
.list th, .list td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #221e1a; }
.list th { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; background: #0d0d0d; }
.list tr:last-child td { border-bottom: 0; }
.list .msg { max-width: 360px; white-space: pre-wrap; color: #cfc8bf; font-size: .85rem; }
.pill { display: inline-block; padding: 3px 10px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid; border-radius: 20px; }
.pill--pendiente { color: #e2c08a; border-color: #8a6d3e; }
.pill--confirmada { color: #a8d5a0; border-color: #4d7446; }
.pill--cancelada, .pill--caducada { color: #8f8a84; border-color: #4a4641; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
.inline-form input[type="url"], .inline-form input[type="text"] { background: #0d0d0d; border: 1px solid #3a342c; color: var(--text); padding: 7px 10px; font-size: .85rem; min-width: 180px; }
.btn--xs { padding: 7px 12px; font-size: .66rem; letter-spacing: .1em; }
.btn--danger { border-color: #8a3b3b; color: #f1c9c9; background: transparent; }
.btn--danger:hover { background: rgba(161, 74, 74, .2); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main-nav { gap: 20px; }
  .booking { grid-template-columns: 1fr; }
  .summary { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #0a0a0a; box-shadow: 0 30px 40px rgba(0, 0, 0, .6); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 26px; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .main-nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid #1d1a17; }
  .main-nav .btn { margin-top: 18px; }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; max-height: none; padding: 40px 0 60px; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero .slogan { border-left: 0; padding-left: 0; }
  .hero__logo { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero__media { order: -1; }
  .hero__media img { max-height: 420px; }
  .hero__badge { left: 50%; transform: translateX(-50%); bottom: 0; white-space: nowrap; }
  .kicker::before { display: none; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 50px; }
  .framed { max-width: 420px; margin-inline: auto; }
  .cards, .topics { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .form__row, .durations { grid-template-columns: 1fr; }
  .panel { padding: 24px 18px; }
  .cal__grid { gap: 4px; }
  .cal__day small { display: none; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; column-gap: 8px; }
  .gallery__item { margin-bottom: 8px; }
  .lightbox__figure { padding: 60px 8px 20px; }
  .lightbox__nav { top: auto; bottom: 18px; transform: none; width: 52px; height: 44px; }
}
