/* Página pública · Hospedería Villa Palmeras
   Paleta tomada del edificio y del logo:
   tinta (aro del logo), ocre (fachada), azul (pared azul), cielo (fondo de secciones).
   Tipografías propias, servidas desde /static (licencia OFL). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght.woff2") format("woff2-variations");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-ext-wght.woff2") format("woff2-variations");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --tinta: #17403f;
  --tinta-hondo: #0f2e2d;
  --ocre: #e2a23a;
  --ocre-claro: #f7e5c0;
  --azul: #2b77b6;
  --cielo: #eaf4f6;
  --texto: #1d2a2a;
  --suave: #556867;
  --linea: #d3e2e4;
  --error: #b42318;
  --wa: #1c7a47;
  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radio: 14px;
  /* Bloque de celosía del pasillo: flor de cuatro pétalos dentro de un cuadro. */
  --celosia: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke='%23e2a23a' stroke-width='2.2'%3E%3Crect x='1.5' y='1.5' width='41' height='41' rx='2'/%3E%3Ccircle cx='22' cy='22' r='14'/%3E%3Cpath d='M22 8c5 6 5 22 0 28c-5-6-5-22 0-28zM8 22c6-5 22-5 28 0c-6 5-22 5-28 0z'/%3E%3C/g%3E%3C/svg%3E");
  --celosia-tinta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='2.2'%3E%3Crect x='1.5' y='1.5' width='41' height='41' rx='2'/%3E%3Ccircle cx='22' cy='22' r='14'/%3E%3Cpath d='M22 8c5 6 5 22 0 28c-5-6-5-22 0-28zM8 22c6-5 22-5 28 0c-6 5-22 5-28 0z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
body.pub {
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.55; color: var(--texto);
  background: #fff; -webkit-font-smoothing: antialiased; padding-bottom: 4.5rem;
}
.pub h1, .pub h2, .pub h3 { font-family: var(--display); color: var(--tinta); letter-spacing: -0.015em; }
.pub h1 { font-weight: 800; font-size: clamp(2.1rem, 6vw, 3.2rem); line-height: 1.02; }
.pub h2 { font-weight: 700; font-size: clamp(1.55rem, 3.6vw, 2.15rem); line-height: 1.1; margin-bottom: .5rem; }
.pub h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.2; margin-bottom: .35rem; }
.pub a { color: var(--azul); text-underline-offset: .18em; }
.pub a:hover { color: var(--tinta); }
.pub :focus-visible { outline: 3px solid var(--ocre); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.block { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.block-sky { background: var(--cielo); }
.plain { list-style: none; padding: 0; margin: 0; }
.skip { position: absolute; left: -999px; top: .5rem; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; }
.hint { font-size: .9rem; color: var(--suave); margin: .5rem 0; }
.empty { background: var(--cielo); border-radius: var(--radio); padding: 1.25rem 1.5rem; color: var(--tinta); }

/* ---------- Encabezado ---------- */
.site-head { background: #fff; border-bottom: 1px solid var(--linea); position: sticky; top: 0; z-index: 30; }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { border-radius: 50%; }
.brand span { font-family: var(--display); font-weight: 800; color: var(--tinta); font-size: 1.2rem; line-height: 1; }
.brand small { display: block; font-family: var(--body); font-weight: 600; font-size: .78rem; color: var(--suave); letter-spacing: .02em; margin-bottom: .15rem; }
.head-nav { position: relative; }
.menu-btn { border: 1px solid var(--linea); background: #fff; border-radius: 10px; width: 44px; height: 44px; font-size: 1.5rem; color: var(--tinta); }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a { display: block; text-decoration: none; color: var(--tinta); font-weight: 600; padding: .65rem .9rem; border-radius: 10px; }
.menu-list a:hover, .menu-list a[aria-current="page"] { background: var(--cielo); }
.no-js .menu-btn { display: none; }
@media (max-width: 899.98px) {
  .js .menu-list { display: none; position: absolute; right: 0; top: calc(100% + .5rem); background: #fff; min-width: 250px;
    border: 1px solid var(--linea); border-radius: var(--radio); padding: .4rem; box-shadow: 0 14px 30px rgba(23, 64, 63, .16); }
  .js .menu-list.open { display: block; }
  .no-js .menu-list { display: flex; flex-wrap: wrap; }
}
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .menu-list { display: flex; align-items: center; gap: .25rem; }
  .menu-list .lang a { color: var(--suave); font-weight: 600; }
}

/* ---------- Portada ---------- */
.hero { background: var(--tinta) var(--celosia-tinta); color: #fff; overflow: hidden; }
.hero-grid > *, .unit-grid > *, .unit-row > * { min-width: 0; }
.hero-grid { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 7vw, 5rem); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 9vw, 5.2rem); line-height: .95; letter-spacing: -0.03em; margin-bottom: 1.1rem; }
.hero-lead { font-size: 1.15rem; max-width: 36ch; color: #e3efee; margin-bottom: 1.75rem; }
.hero-note { margin: 1rem 0 0; color: #cfe1df; font-size: .95rem; }
.hero-note a { color: var(--ocre-claro); font-weight: 600; }
.hero-cards { position: relative; min-height: 300px; }
.postcard { position: absolute; margin: 0; background: #fff; padding: 10px 10px 28px; border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.postcard img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.postcard-a { width: min(58%, 260px); aspect-ratio: 3 / 4; left: 4%; top: 0; transform: rotate(-4deg); }
.postcard-b { width: min(58%, 260px); aspect-ratio: 3 / 4; right: 4%; top: 12%; transform: rotate(3.5deg); }
.hero-cards:has(.postcard-a:only-child) .postcard-a { position: relative; left: auto; margin-inline: auto; }
.hero-logo { display: block; width: min(200px, 60%); height: auto; margin-inline: auto; border-radius: 50%; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-cards { min-height: 420px; }
  .postcard-a, .postcard-b { width: 270px; }
  .postcard-a { left: 0; top: 0; }
  .postcard-b { right: 0; top: 90px; }
}
@media (prefers-reduced-motion: no-preference) {
  .postcard-a { animation: drop-a .7s cubic-bezier(.2, .8, .2, 1) both .1s; }
  .postcard-b { animation: drop-b .7s cubic-bezier(.2, .8, .2, 1) both .3s; }
  @keyframes drop-a { from { opacity: 0; transform: translateY(18px) rotate(-9deg); } }
  @keyframes drop-b { from { opacity: 0; transform: translateY(18px) rotate(8deg); } }
}

/* Franja de celosía: separa la portada del contenido y abre el pie. */
.celosia-band { height: 44px; background: var(--ocre-claro) var(--celosia) repeat-x; background-position: center; }

/* ---------- Buscador ---------- */
.search { display: grid; gap: .65rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; color: var(--texto);
  padding: .9rem; border-radius: var(--radio); max-width: 640px; }
.search .field label { display: block; font-size: .8rem; font-weight: 600; color: var(--suave); margin-bottom: .2rem; }
.search input, .search select, .book-form input, .book-form select, .book-form textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--texto); background: #fff;
  border: 1.5px solid var(--linea); border-radius: 10px; padding: .6rem .7rem; min-height: 46px; }
.search input:focus, .search select:focus, .book-form input:focus, .book-form select:focus, .book-form textarea:focus {
  border-color: var(--azul); outline: 3px solid rgba(43, 119, 182, .2); outline-offset: 0; }
.search .field-guests { grid-column: 1; }
.search button { grid-column: 2; align-self: end; }
@media (min-width: 640px) {
  .search { grid-template-columns: 1fr 1fr .6fr auto; align-items: end; }
  .search .field-guests, .search button { grid-column: auto; }
}
.search-compact { box-shadow: none; border: 1.5px solid var(--linea); margin-top: 1rem; max-width: 760px; }

/* ---------- Botones ---------- */
.btn-sun, .btn-pill { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-weight: 700;
  text-decoration: none; border-radius: 999px; min-height: 46px; padding: .55rem 1.25rem; border: 2px solid transparent;
  font-size: 1rem; cursor: pointer; transition: background-color .15s, color .15s; white-space: nowrap; }
.btn-sun { background: var(--ocre); color: var(--tinta-hondo); border-color: var(--ocre); }
.btn-sun:hover { background: #cf8d22; border-color: #cf8d22; color: var(--tinta-hondo); }
.pub .btn-pill { background: var(--tinta); color: #fff; }
.pub .btn-pill:hover { background: var(--tinta-hondo); color: #fff; }
.pub .btn-quiet { background: #fff; color: var(--tinta); border-color: var(--tinta); }
.pub .btn-quiet:hover { background: var(--cielo); color: var(--tinta); }
.pub .btn-wa { background: var(--wa); color: #fff; }
.pub .btn-wa:hover { background: #145c35; color: #fff; }
.btn-block { width: 100%; }

/* ---------- Dónde estamos ---------- */
.where { display: grid; gap: 1.25rem; }
.near { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.near li { display: flex; gap: .8rem; align-items: baseline; font-size: 1.1rem; }
.near i { color: var(--azul); font-size: 1.25rem; }
@media (min-width: 900px) {
  .where { grid-template-columns: 1fr 1.4fr; align-items: center; }
  .where .near { grid-template-columns: repeat(3, 1fr); }
  .where .near li { flex-direction: column; gap: .3rem; }
}

/* ---------- Listas de unidades ---------- */
.block-head { max-width: 60ch; margin-bottom: 1.5rem; }
.block-head p { color: var(--suave); margin: 0; }
.list-title { margin-bottom: 1rem; }
.list-note { color: var(--suave); margin-top: -.5rem; }
.unit-list { display: grid; gap: 1.1rem; }
.unit-row { display: grid; grid-template-columns: 110px 1fr; gap: .9rem 1.1rem; padding: 1rem;
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); }
.block-sky .unit-row { border-color: #cfe0e3; }
.unit-photo { display: block; width: 110px; height: 110px; border-radius: 10px; overflow: hidden; }
.cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-empty { display: grid; place-items: center; width: 100%; height: 100%; background: var(--ocre-claro) var(--celosia) center / 88px no-repeat; }
.cover-empty span { background: #fff; color: var(--tinta); font-family: var(--display); font-weight: 800; padding: .15rem .55rem; border-radius: 6px; }
.unit-body h3 a { color: var(--tinta); text-decoration: none; }
.unit-body h3 a:hover { text-decoration: underline; }
.unit-desc { margin: 0 0 .5rem; color: var(--suave); max-width: 62ch; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .92rem; color: var(--texto); }
.facts i { color: var(--azul); margin-right: .2rem; }
.unit-side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
  border-top: 1px dashed var(--linea); padding-top: .8rem; }
.unit-side .btn-pill { margin-left: auto; }
.price { margin: 0; }
.price strong { font-family: var(--display); font-size: 1.35rem; color: var(--tinta); }
.price-ask { color: var(--suave); font-size: .95rem; }
.how { margin: 0; font-size: .9rem; font-weight: 600; color: var(--suave); }
.how-online { color: var(--azul); }
@media (min-width: 720px) {
  .unit-row { grid-template-columns: 190px 1fr 210px; align-items: center; padding: 1.1rem; }
  .unit-photo { width: 190px; height: 150px; }
  .unit-side { grid-column: auto; flex-direction: column; align-items: stretch; border-top: 0; border-left: 1px dashed var(--linea);
    padding: 0 0 0 1.1rem; height: 100%; justify-content: center; }
  .unit-side .btn-pill { margin-left: 0; }
}

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.gallery-item { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--cielo); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 30, 30, .88); }
.lightbox figure { margin: 0; }
.lightbox img { display: block; max-width: 100%; max-height: 78vh; margin-inline: auto; border-radius: 6px; background: #fff; }
.lightbox figcaption { color: #fff; text-align: center; font-size: .95rem; min-height: 1.4em; margin-top: .4rem; }
.lightbox-bar { display: flex; justify-content: center; align-items: center; gap: 1rem; color: #fff; margin-top: .5rem; }
.lightbox-bar button { background: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 1.2rem; color: var(--tinta); }

/* ---------- Antes de reservar ---------- */
.before { display: grid; gap: 1.25rem; align-items: center; border-top: 1px solid var(--linea); }
.before p { color: var(--suave); max-width: 60ch; margin: 0; }
.before-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 900px) { .before { grid-template-columns: 1fr auto; } }

/* ---------- Encabezado de páginas interiores ---------- */
.page-head { background: var(--cielo); padding-block: 2rem 1.75rem; }
.page-head h1 { margin: 0; }
.search-summary { font-weight: 600; color: var(--tinta); background: var(--ocre-claro); display: inline-block; padding: .45rem .9rem; border-radius: 999px; }
.form-error { color: var(--error); font-weight: 600; margin: .75rem 0 0; }

/* ---------- Ficha de unidad ---------- */
.unit-page { padding-block: 1.25rem 3rem; }
.crumbs { margin-bottom: 1rem; font-size: .95rem; }
.crumbs a { text-decoration: none; font-weight: 600; }
.unit-grid { display: grid; gap: 2rem; }
.unit-main h1 { margin-bottom: .6rem; }
.unit-main .facts { margin-bottom: 1.25rem; font-size: 1rem; }
.unit-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.5rem; }
.unit-gallery .gallery-main { grid-column: 1 / -1; aspect-ratio: 4 / 3; max-height: 460px; }
.unit-gallery.single .gallery-main { max-width: 560px; }
.unit-gallery-empty { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; color: var(--suave); }
.unit-gallery-empty .cover-empty { width: 120px; height: 120px; border-radius: 10px; flex: none; }
.unit-text { max-width: 64ch; }
.h-small { font-size: 1.25rem; margin-top: 1.75rem; }
.amenities { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .5rem 1rem; }
.amenities i { color: var(--azul); margin-right: .35rem; }
.book-card { border: 1.5px solid var(--linea); border-radius: var(--radio); padding: 1.25rem; background: #fff; }
.book-card h2 { font-size: 1.45rem; margin-top: .4rem; }
@media (min-width: 980px) {
  .unit-grid { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; }
  .unit-aside { position: sticky; top: 84px; }
}

/* Calendario */
.months { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 520px) and (max-width: 979.98px) { .months { grid-template-columns: 1fr 1fr; } }
.month { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; text-align: center; font-size: .92rem; }
.month caption { caption-side: top; font-family: var(--display); font-weight: 700; color: var(--tinta); padding: 0 0 .3rem; text-align: left; }
.month th { font-size: .72rem; color: var(--suave); font-weight: 600; }
.month td { height: 36px; border-radius: 8px; }
.month td.free { background: var(--cielo); color: var(--tinta); font-weight: 600; cursor: pointer; }
.month td.free:hover { background: #d4e9ee; }
.month td.taken { background: repeating-linear-gradient(135deg, #f1f1f1 0 4px, #e3e3e3 4px 8px); color: #9aa5a5; text-decoration: line-through; }
.month td.past { color: #c3cccc; }
.month td.sel { background: var(--tinta); color: #fff; }
.month td.taken.sel, .month td.taken.range { background: #fde8e6; color: var(--error); }
.month td.range { background: var(--ocre-claro); }
.month-nav { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; margin: .4rem 0; gap: .5rem; }
.month-nav a { text-decoration: none; font-weight: 600; }
.legend { color: var(--suave); font-size: .8rem; display: inline-flex; align-items: center; gap: .3rem; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.dot-free { background: var(--cielo); border: 1px solid #c4dde3; }
.dot-taken { background: #e3e3e3; margin-left: .4rem; }

/* Formulario */
.book-form { display: grid; gap: .75rem; margin-top: .75rem; }
.book-form .field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .2rem; color: var(--texto); }
.row-2, .row-3 { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row-3 label { min-height: 2.4em; line-height: 1.2; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: .85rem; margin: .25rem 0 0; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.steps { padding-left: 1.2rem; margin: 0; display: grid; gap: .35rem; font-size: .95rem; }
.steps li::marker { color: var(--ocre); font-family: var(--display); font-weight: 800; }

/* ---------- Solicitud enviada ---------- */
.done { padding-block: 2.5rem 4rem; max-width: 720px; }
.ticket { border: 2px solid var(--tinta); border-radius: var(--radio); overflow: hidden; margin: 1.5rem 0; background: #fff; }
.ticket-code { background: var(--tinta) var(--celosia-tinta); color: #fff; padding: 1rem 1.25rem; }
.ticket-code span { display: block; font-size: .85rem; color: #cfe1df; }
.ticket-code strong { font-family: var(--display); font-size: clamp(1.8rem, 6vw, 2.4rem); letter-spacing: .01em; }
.ticket dl { margin: 0; padding: .5rem 1.25rem 1rem; }
.ticket dl div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .5rem; padding: .5rem 0; border-bottom: 1px dashed var(--linea); }
.ticket dl div:last-child { border-bottom: 0; }
.ticket dt { color: var(--suave); font-weight: 600; font-size: .92rem; }
.ticket dd { margin: 0; font-weight: 600; }
.lead-sm { font-size: 1.1rem; font-weight: 600; color: var(--tinta); }

/* ---------- Políticas y contacto ---------- */
.prose { max-width: 72ch; display: grid; gap: 2rem; }
.rules { padding-left: 1.2rem; display: grid; gap: .45rem; margin: 0; }
.rules li::marker { color: var(--ocre); }
.contact-grid { display: grid; gap: 2.5rem; }
.contact-list { display: grid; gap: .8rem; justify-items: start; }
.where-big { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--tinta); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr .8fr; } }

/* ---------- Avisos ---------- */
.flashes { padding-top: 1rem; }
.flash { border-radius: 10px; padding: .75rem 1rem; margin: 0 0 .5rem; background: var(--cielo); color: var(--tinta); font-weight: 600; }
.flash-warning { background: var(--ocre-claro); }
.flash-danger { background: #fde8e6; color: var(--error); }

/* ---------- Pie ---------- */
.site-foot { background: var(--tinta-hondo); color: #d7e6e4; margin-top: 2rem; }
.site-foot .celosia-band { background-color: var(--ocre-claro); }
.foot-grid { display: grid; gap: 2rem; padding-block: 2.5rem 1.5rem; }
.site-foot h2 { color: #fff; font-size: 1.1rem; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: #fff; }
.site-foot .plain li { margin-bottom: .45rem; }
.foot-brand { display: flex; gap: 1rem; align-items: center; }
.foot-brand img { border-radius: 50%; }
.foot-brand p { margin: 0; }
.foot-legal { font-size: .85rem; color: #9fb9b6; padding-bottom: 1.5rem; margin: 0 auto; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--wa); color: #fff !important; text-decoration: none; font-weight: 700; border-radius: 999px;
  padding: .8rem 1.15rem; box-shadow: 0 10px 24px rgba(15, 46, 45, .35); }
.wa-float i { font-size: 1.35rem; line-height: 1; }
.wa-float:hover { background: #145c35; }
@media (max-width: 380px) { .wa-float span { display: none; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---- Precio (Etapa 6) ---- */
.quote-slot { margin: .75rem 0 1rem; }
.quote { background: var(--cielo); border-radius: 10px; padding: .75rem .9rem; }
.quote dl { margin: 0; }
.quote dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; font-size: .95rem; }
.quote dt { font-weight: 400; color: var(--texto); }
.quote dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote .discount dd, .quote .discount dt { color: var(--wa); }
.quote .quote-total { border-top: 1px solid var(--linea); margin-top: .35rem; padding-top: .45rem; font-weight: 700; font-size: 1.05rem; }
.quote .quote-deposit { color: var(--suave); font-size: .9rem; }
.quote-note { font-size: .9rem; color: var(--suave); margin: .5rem 0 0; }
.quote-note.ok { color: var(--wa); }
.promo-tag { margin: .35rem 0; padding: .45rem .7rem; border-radius: 8px; background: var(--ocre-claro); font-size: .92rem; }
.promo-list { display: grid; gap: .6rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.unit-total { margin: .2rem 0 0; font-size: .9rem; color: var(--suave); }
.unit-total strong { color: var(--texto); }
input.upper { text-transform: uppercase; }

/* ---- Pagos y registro (Etapa 7) ---- */
.pay { margin: 2rem 0 1rem; display: grid; gap: 1rem; }
.pay h2 { margin-bottom: 0; }
.pay-card { border: 1.5px solid var(--linea); border-radius: var(--radio); padding: 1.1rem 1.25rem; background: #fff; margin: 1rem 0; }
.pay .pay-card { margin: 0; }
.pay-card h3 { display: flex; align-items: center; gap: .45rem; }
.pay-card h3 i { color: var(--azul); }
.pay-qr { display: grid; gap: 1rem; align-items: start; margin: .5rem 0; }
.pay-qr img { width: 220px; height: auto; max-width: 100%; border: 1px solid var(--linea); border-radius: 10px; background: #fff; justify-self: center; }
@media (min-width: 640px) { .pay-qr { grid-template-columns: 220px 1fr; } }
.pay-note { background: var(--cielo); border-radius: 10px; padding: .75rem 1rem; font-weight: 600; color: var(--tinta); }
.pay-test { background: #fde8e6; color: var(--error); border-radius: 10px; padding: .6rem .9rem; font-weight: 700; margin: .25rem 0 .75rem; }
.pay-waiting { border-color: var(--ocre); background: #fffaf0; }
.reg-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .75rem; }
.reg-form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; }
.reg-form .check input { width: 1.3rem; height: 1.3rem; min-height: 0; padding: 0; margin-top: .1rem; flex: none; }
.req { color: var(--error); }
.pay-card input, .pay-card select, .reg-form input, .reg-form select, .reg-form textarea { width: 100%; min-width: 0; box-sizing: border-box; }
@media (max-width: 560px) { .pay-card .row-2, .reg-form .row-2 { grid-template-columns: minmax(0, 1fr); } }
