/* =========================================================
   Kora Hogar — estilos
   Dirección: editorial cálido. Pergamino y papel de fondo,
   carbón para el texto, café del logo para los fondos fuertes,
   oliva como acento y ocre solo en los botones de compra.
   El rediseño está al final del archivo ("Editorial cálido").
   ========================================================= */
:root {
  --ink: #1f1b17;        /* carbón: texto y bordes fuertes */
  --muted: #6a5f52;      /* texto secundario */
  --brand: #4a2c1a;      /* café espresso del logo: fondos fuertes */
  --caramel: #6b7440;    /* oliva: acento (antes caramelo) */
  --sand: #c9b98f;       /* arena */
  --linen: #efe6d6;      /* pergamino: secciones con fondo */
  --oat: #d9ccb6;        /* líneas y bordes */
  --white: #faf5ec;      /* papel: fondo general */
  --honey: #e0a23f;      /* ocre: botones de compra */
  --honey-2: #cf8f2a;
  --sage: #5f6b3a;       /* oliva oscuro: incluido / garantía */
  --red: #a8432f;
  --r-lg: 14px;
  --r: 10px;
  --r-sm: 8px;
  --gutter: clamp(18px, 4.4vw, 56px);
  --max: 1240px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  /* curvas de resorte: llegan, se pasan un poco y asientan */
  --spring: cubic-bezier(.3, 1.4, .5, 1);
  --spring-soft: cubic-bezier(.25, 1.15, .4, 1);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1);
    --spring-soft: linear(0, .006, .025 2.8%, .101 6.1%, .539 18.9%, .721 25.3%, .849 31.5%, .937 38.1%, .968 41.8%, .991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 85.9%, 1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 18px/1.55 var(--font); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--brand); margin: 0; letter-spacing: -0.02em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 22px; height: 22px; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- marca ---------- */
.wordmark { font: 400 26px/1 var(--display); color: var(--brand); letter-spacing: -0.03em; }
.wordmark span { color: var(--caramel); font-weight: 600; margin-left: 2px; }
.wordmark--light, .wordmark--light span { color: var(--white); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 18px/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .12s ease, color .12s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--cod { background: var(--honey); color: var(--ink); }
.btn--cod:hover { background: var(--honey-2); }
.btn--line { background: var(--white); color: var(--brand); border-color: var(--brand); }
@media (hover: hover) { .btn--line:hover { background: var(--brand); color: var(--white); } }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 16px; }
.icon-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: transparent; color: var(--brand); cursor: pointer; border-radius: 50%; position: relative; }
.icon-btn .ic { width: 28px; height: 28px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); text-underline-offset: 4px; }
.more .ic { width: 18px; height: 18px; }

.buy { display: grid; gap: 10px; }
.buy__note { font-size: 15px; color: var(--muted); text-align: center; }
.buy__pay { display: flex; justify-content: center; align-items: center; gap: 5px; flex-wrap: wrap; margin: -2px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.buy__pay svg { width: 18px; height: 18px; }
.pay-opts { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-opts legend { font-weight: 700; margin-bottom: 8px; }
.pay-opt { position: relative; display: grid; justify-items: center; gap: 4px; padding: 12px 8px; border: 2px solid var(--oat); border-radius: var(--r); cursor: pointer; text-align: center; font-size: 15px; line-height: 1.25; }
.pay-opt:has(input:checked) { border-color: var(--brand); background: var(--linen); }
.pay-opt:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt svg { width: 26px; height: 26px; }
.pay-opt strong { display: block; }
.pay-opt small { color: var(--muted); font-size: 13px; }
.order-form[data-pay="card"] [data-cod-only] { display: none; }
.order-form:not([data-pay="card"]) [data-card-only] { display: none; }
.buy--compact .btn { min-height: 50px; padding: 12px 16px; font-size: 16px; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.price__now { font-weight: 800; font-size: 26px; color: var(--ink); }
.price__was { color: var(--muted); font-size: 17px; }
.price__save { background: var(--sage); color: #fff; font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; }

/* ---------- avisos y encabezado ---------- */
.announce { background: var(--brand); color: var(--white); font-size: 14px; font-weight: 600; }
.announce ul { list-style: none; max-width: var(--max); margin: 0 auto; padding: 9px var(--gutter); display: flex; justify-content: center; gap: 36px; }
@media (max-width: 760px) {
  .announce ul { display: grid; place-items: center; height: 38px; padding: 0 16px; }
  .announce li { grid-area: 1 / 1; opacity: 0; animation: rotate 9s infinite; }
  .announce li:nth-child(2) { animation-delay: 3s; }
  .announce li:nth-child(3) { animation-delay: 6s; }
}
@keyframes rotate { 0%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,253,249,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--oat); }
.site-header__bar { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: block; text-decoration: none; }
.logo img { height: 52px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; }
.site-nav a:hover { background: var(--linen); }
.site-nav a[aria-current] { background: var(--brand); color: var(--white); }
.site-header__actions { display: flex; align-items: center; gap: 6px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--honey); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.menu-btn { display: none; }
@media (max-width: 920px) {
  .menu-btn { display: grid; }
  .header-cta { display: none; }
  .site-header__actions { margin-left: auto; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--white); border-bottom: 1px solid var(--oat); box-shadow: 0 14px 24px rgba(74,44,26,.14); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px var(--gutter) 18px; gap: 2px; }
  .site-nav a { font-size: 19px; padding: 14px 16px; }
}

/* ---------- portada ---------- */
.hero { background: var(--linen); padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 6vw, 84px); }
.hero__top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(56px, 7vw, 84px); }
.hero h1 { font-size: clamp(42px, 7.4vw, 88px); font-weight: 400; }
.hero h1 span { display: block; color: var(--caramel); font-weight: 600; }
.hero__side { display: grid; gap: 18px; }
.hero__lead { font-size: clamp(18px, 2vw, 21px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .hero__top { grid-template-columns: 1fr; } .hero__cta .btn { flex: 1 1 100%; } }

/* la casa: un ambiente por producto */
.house { position: relative; display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--brand); padding: 14px; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.house::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(30px, 5vw, 56px); background: var(--brand); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.room { display: flex; flex-direction: column; min-width: 0; background: var(--white); border-radius: var(--r); overflow: hidden; }
.room__name { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-weight: 700; font-size: 15px; color: var(--brand); border-bottom: 2px dashed var(--oat); }
.room__img { display: block; aspect-ratio: 1; background: var(--linen); }
.room__img img { width: 100%; height: 100%; object-fit: cover; }
.room__body { display: grid; gap: 12px; padding: 16px; margin-top: auto; }
.room__title { font: 400 21px/1.15 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.room__title a { text-decoration: none; }
@media (max-width: 1100px) and (min-width: 861px) { .house { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .house { grid-template-columns: 1fr; padding: 10px; gap: 10px; }
  .room { display: grid; grid-template-columns: 36% minmax(0, 1fr); }
  .room__name { grid-column: 1 / -1; padding: 10px 14px; }
  .room__img { aspect-ratio: auto; height: 100%; }
  .room__body { padding: 12px; gap: 8px; }
  .room__title { font-size: 18px; }
  .room .price__now { font-size: 21px; }
  .room .price__save { display: none; }
  .room .btn { min-height: 48px; padding: 10px 12px; font-size: 15px; }
}

/* ---------- secciones ---------- */
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section--tint { background: var(--linen); }
.section--brand { background: var(--brand); color: var(--white); }
.section--brand h2, .section--brand h3 { color: var(--white); }
.h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 400; margin-bottom: 24px; }
.lead { font-size: clamp(18px, 2vw, 21px); max-width: 60ch; margin-bottom: 24px; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.head-row .h2 { margin: 0; }
.page-hero { background: var(--linen); padding: clamp(36px, 6vw, 72px) 0; }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 400; margin-bottom: 14px; }
.page-hero p { font-size: clamp(18px, 2vw, 21px); max-width: 60ch; }

.values { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.values li { display: grid; gap: 12px; align-content: start; padding: 22px; border: 1px solid var(--oat); border-radius: var(--r); font-weight: 600; }
.values .ic { width: 36px; height: 36px; color: var(--brand); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr 1fr; } }

/* franja que se desplaza */
.band { background: var(--honey); color: var(--ink); overflow: hidden; border-block: 2px solid var(--ink); }
.band__track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.band__track span { padding: 14px 22px; font: 400 20px/1 var(--display); white-space: nowrap; }
.band__track span::after { content: "•"; margin-left: 44px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* tarjetas de producto */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1180px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid, .grid--2 { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--oat); border-radius: var(--r-lg); overflow: hidden; }
.pcard__img { display: block; aspect-ratio: 1; background: var(--linen); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { display: grid; gap: 12px; padding: 20px; margin-top: auto; }
.pcard__room { display: flex; align-items: center; gap: 8px; color: var(--caramel); font-weight: 700; font-size: 15px; }
.pcard__title { font: 400 24px/1.1 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.pcard__title a { text-decoration: none; }
.pcard__need { font-weight: 700; color: var(--brand); }
.pcard__list { list-style: none; display: grid; gap: 6px; font-size: 16px; color: var(--muted); }
.pcard__list li { padding-left: 18px; position: relative; }
.pcard__list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--honey); }

/* pasos (secuencia real) */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 32px; }
.steps li { counter-increment: s; background: rgba(255,255,255,.08); border-radius: 20px; padding: 24px; }
.section:not(.section--brand) .steps li { background: var(--white); border: 1px solid var(--oat); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 14px; background: var(--honey); color: var(--ink); font: 400 22px/1 var(--display); }
.steps h3 { font-size: 21px; margin-bottom: 6px; }
.section--brand .steps p { color: #ead9c4; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* preguntas */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 64px); }
/* Preguntas frecuentes: acordeón (una abierta a la vez) */
.faq__item { position: relative; border-bottom: 2px solid var(--oat); }
.section--tint .faq__item { border-color: #d9c6ae; }
.faq__item::before { /* línea miel a la izquierda de la pregunta abierta */
  content: ""; position: absolute; left: -14px; top: 14px; bottom: 14px; width: 4px; border-radius: 4px;
  background: var(--honey); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease-out);
}
.faq__item.is-open::before { transform: scaleY(1); }
.faq__h { margin: 0; font: inherit; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 48px;
  padding: 20px 0; border: 0; background: none; text-align: left; cursor: pointer;
  font: 700 19px/1.35 var(--font); color: var(--ink); transition: color .2s;
}
.faq__q:hover, .faq__item.is-open .faq__q { color: var(--brand); }
.faq__q:focus-visible { outline: 3px solid var(--honey); outline-offset: 4px; border-radius: 6px; }
.faq__icon { position: relative; flex: none; width: 22px; height: 22px; margin-right: 6px; transition: transform .3s var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2.5px; border-radius: 2px; background: var(--brand); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__inner { overflow: hidden; min-height: 0; opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .35s var(--ease-out); }
.faq__item.is-open .faq__inner { opacity: 1; transform: none; transition-delay: .08s; }
.faq__inner p { margin: 0; padding: 0 0 10px; max-width: 62ch; }
.faq__wa { display: inline-block; margin-bottom: 20px; font-size: 15px; font-weight: 600; color: var(--caramel); }
.faq__wa:hover { color: var(--brand); }

/* Reseñas de clientes: dos filas que se mueven solas */
.reviews { overflow: hidden; }
.reviews .h2 { margin-bottom: 28px; }
.marquee {
  overflow: hidden; padding: 8px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee + .marquee { margin-top: 6px; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee--reverse .marquee__track { animation-duration: 50s; animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review {
  flex: none; width: 290px; margin-right: 18px; padding: 20px 22px;
  background: var(--white); border: 1px solid var(--oat); border-radius: var(--r);
  box-shadow: 0 4px 14px rgba(74,44,26,.06); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
@media (hover: hover) { .review:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(74,44,26,.14); } }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__face { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.review__face--initials { display: grid; place-items: center; background: var(--oat); color: var(--brand); font: 400 16px/1 var(--display); }
.review__name { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.25; }
.review__city { margin: 0; font-size: 14px; color: var(--muted); }
.review__stars { margin: 12px 0 8px; color: var(--honey); font-size: 17px; letter-spacing: 2px; line-height: 1; }
.review__tag { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 8px; background: var(--linen); color: var(--brand); font-size: 13px; font-weight: 600; }
.review__text { margin: 0; font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review__demo { margin: 10px 0 0; font-size: 12px; font-weight: 700; color: var(--red); }
.review__title { margin: 0 0 6px; font: 700 17px/1.3 var(--font); color: var(--ink); }
.reviews__static { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.reviews__static .review { margin-right: 0; width: 340px; max-width: 100%; }
.reviews__static .review__text { display: block; -webkit-line-clamp: unset; overflow: visible; }
@media (max-width: 767px) {
  .marquee--reverse { display: none; }
  .review { width: 260px; margin-right: 14px; }
  .reviews__static .review { width: 100%; }
}
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

.cta-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; background: var(--brand); color: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); }
.cta-box h2 { color: var(--white); font-size: clamp(30px, 4vw, 46px); }
.cta-box p { color: #ead9c4; margin-top: 10px; }
.cta-box .hero__cta { justify-content: flex-end; }
@media (max-width: 860px) { .cta-box { grid-template-columns: 1fr; } .cta-box .hero__cta { justify-content: stretch; } }

/* ---------- ficha de producto ---------- */
.pdp { padding: clamp(24px, 4vw, 52px) 0 clamp(40px, 6vw, 72px); }
.pdp__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.pdp__grid > * { min-width: 0; }
.gallery { position: sticky; top: 92px; display: grid; gap: 10px; }
.gallery__main { aspect-ratio: 1; background: var(--linen); border-radius: var(--r-lg); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; background: var(--linen); aspect-ratio: 1; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--brand); }
.pdp__info { display: grid; gap: 16px; }
.pdp__title { font-size: clamp(30px, 3.8vw, 46px); font-weight: 400; }
.pdp__tagline { font-size: 19px; }
.pdp .price__now { font-size: 36px; }
.pdp__pack { background: #fbeedb; border-left: 4px solid var(--honey); padding: 12px 14px; border-radius: 8px; font-size: 16px; }
.pdp__trust { list-style: none; display: grid; gap: 10px; padding: 16px; background: var(--linen); border-radius: var(--r); font-size: 16px; }
.pdp__trust li { display: flex; align-items: center; gap: 10px; }
.pdp__trust .ic { color: var(--brand); }
@media (max-width: 860px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .gallery__thumbs { grid-template-columns: repeat(6, 64px); overflow-x: auto; }
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 19px; }
.checks .ic { width: 26px; height: 26px; color: var(--sage); }
.video-row { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.video-row video { border-radius: var(--r-lg); width: 100%; }
.video-row .buy { max-width: 420px; }
@media (max-width: 760px) { .video-row { grid-template-columns: 1fr; } .video-row video { max-width: 340px; margin: 0 auto; } }
.feats { display: grid; gap: clamp(28px, 4vw, 48px); }
.feat { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.feat--flip { grid-template-columns: 1fr minmax(0, 320px); }
.feat--flip img { order: 2; }
.feat img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); background: var(--linen); }
.feat h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.feat p { max-width: 52ch; }
@media (max-width: 760px) { .feat, .feat--flip { grid-template-columns: 1fr; } .feat--flip img { order: 0; } }
.box-list { list-style: none; background: var(--white); border-radius: var(--r); padding: 6px 20px; }
.box-list li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--oat); }
.box-list li:last-child { border: 0; }
.specs { margin: 0; background: var(--white); border-radius: var(--r); padding: 6px 20px; }
.specs div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--linen); font-size: 16px; }
.specs div:last-child { border: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.notes { list-style: none; display: grid; gap: 14px; }
.notes li { padding-left: 22px; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); }
.offer { display: grid; gap: 14px; background: var(--brand); color: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.offer h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 38px); }
.offer .price__now { color: var(--white); font-size: 40px; }
.offer .price__was { color: #c9ab8a; }
.offer p { color: #ead9c4; }

.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--white); border-top: 1px solid var(--oat); box-shadow: 0 -6px 20px rgba(74,44,26,.14); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 14px; transform: translateY(110%); transition: transform .25s ease; }
.sticky.is-visible { transform: none; }
.sticky__info { min-width: 0; line-height: 1.2; }
.sticky__info strong { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 48vw; }
.sticky__info span, .sticky__info small { font-size: 14px; color: var(--muted); }
.sticky__info span { font-weight: 800; font-size: 19px; color: var(--ink); }
.sticky .btn { min-height: 52px; padding: 10px 22px; font-size: 16px; flex: none; }
@media (max-width: 860px) { .sticky { justify-content: space-between; } }
body:has(.sticky.is-visible) { padding-bottom: 84px; }

/* ---------- carrito y formulario ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(46,29,18,.55); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--white); display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,.15); }
.drawer--modal .drawer__panel { width: min(520px, 100%); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--oat); }
.drawer__head h2 { font-size: 22px; }
.drawer__body { padding: 18px; overflow-y: auto; display: grid; gap: 14px; align-content: start; }
.empty { color: var(--muted); }
.cart-lines { list-style: none; display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-sm); }
.cart-line strong { display: block; font-size: 16px; line-height: 1.25; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; border: 1px solid var(--oat); border-radius: 999px; }
.qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--brand); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; }
.cart-total, .order-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; padding-top: 10px; border-top: 2px solid var(--oat); }
.cart-total strong, .order-total strong { font-size: 28px; }
.order-form { gap: 12px; }
.order-form__cod { display: grid; gap: 12px; }
.offers { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.offers legend { font-weight: 700; margin-bottom: 8px; }
.offer-opt { display: grid; grid-template-columns: 22px 56px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 2px solid var(--oat); border-radius: var(--r); cursor: pointer; }
.offer-opt:has(input:checked) { border-color: var(--brand); background: var(--linen); }
.offer-opt input { width: 20px; height: 20px; accent-color: var(--brand); }
.offer-opt img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.offer-opt strong { display: block; font-size: 16px; }
.offer-opt em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--sage); }
.offer-opt b { font-size: 18px; }
.order-lines { list-style: none; display: grid; gap: 8px; }
.order-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; font-size: 15px; }
.order-lines img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { font: 400 17px/1.4 var(--font); color: var(--ink); padding: 12px 14px; border: 2px solid var(--oat); border-radius: var(--r-sm); background: var(--white); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 460px) { .field-row { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; color: var(--muted); align-items: start; }
.check input { width: 20px; height: 20px; accent-color: var(--brand); margin-top: 1px; }
.form-error { background: #f8e4dc; color: var(--red); padding: 10px 12px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; }
.form-error[hidden] { display: none; }
.form-error a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn[disabled] { opacity: .65; cursor: wait; }
.field select:disabled { background: var(--linen); color: var(--muted); }

/* ---------- páginas de texto y contacto ---------- */
.prose { max-width: 760px; display: grid; gap: 16px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 18px; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { display: grid; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--linen); text-decoration: none; }
.contact-card .ic { width: 34px; height: 34px; color: var(--brand); }
.contact-card strong { font-size: 20px; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.thanks .prose { justify-items: center; }
.thanks__box { max-width: 640px; display: grid; gap: 18px; justify-items: center; }
.thanks__badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #e3ecd9; color: var(--sage); font-weight: 800; font-size: 15px; }
.thanks__badge .ic { width: 20px; height: 20px; }
.thanks__cta { width: 100%; max-width: 440px; }
.thanks__summary, .thanks__tips { width: 100%; text-align: left; background: var(--white); border: 1px solid var(--oat); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 12px; }
.thanks__summary h2, .thanks__tips h2 { font: 400 20px/1.2 var(--display); }
.thanks__tips .checks li { font-size: 16px; }
.thanks__summary .order-lines li { grid-template-columns: 56px 1fr; }
.track { list-style: none; width: 100%; text-align: left; display: grid; gap: 0; }
.track li { position: relative; display: grid; gap: 2px; padding: 0 0 18px 40px; font-size: 15px; color: var(--muted); }
.track li strong { color: var(--ink); font-size: 16px; }
.track li::before { content: ""; position: absolute; left: 6px; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--oat); background: var(--white); }
.track li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 24px; bottom: 2px; width: 2px; background: var(--oat); }
.track .is-done::before { background: var(--sage); border-color: var(--sage); }
.track .is-done::after { background: var(--sage) !important; }
.track .is-now::before { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(74,44,26,.15); }

/* ---------- ayudas del formulario y de la portada ---------- */
.field__help { font-weight: 400; font-size: 13px; color: var(--muted); }
.field__err { font-weight: 600; font-size: 14px; color: var(--red); }
.field__err[hidden] { display: none; }
.check .field__err { grid-column: 2; }
.field [aria-invalid="true"] { border-color: var(--red); }
.order-trust { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.order-trust li { display: inline-flex; align-items: center; gap: 4px; }
.order-trust .ic { width: 16px; height: 16px; }
.hero__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; font-weight: 600; }
.hero__proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero__proof .ic { width: 20px; height: 20px; color: var(--sage); }

/* ---------- pie ---------- */
.site-footer { background: var(--ink); color: #e6d6c3; padding: 56px 0 24px; font-size: 16px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__about { margin-top: 14px; max-width: 34ch; }
.site-footer h2 { font: 700 17px/1.2 var(--font); color: var(--white); letter-spacing: 0; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #e6d6c3; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--white); }
.site-footer__legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: #bfa58a; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer__links a { color: #bfa58a; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > :first-child { grid-column: 1 / -1; } }

.wa-float { position: fixed; right: 16px; bottom: 96px; z-index: 39; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.wa-float svg { width: 32px; height: 32px; }
/* Logo de WhatsApp en botones y enlaces que abren WhatsApp */
.ic--wa { color: #25d366; }
.btn--wa { background: #25d366; color: #fff; border-color: #25d366; }
.btn--wa:hover { background: #1ebe5b; border-color: #1ebe5b; }
.btn--wa .ic--wa { color: #fff; }
.faq__wa, .footer-wa { display: inline-flex; align-items: center; gap: 6px; }
.faq__wa .ic, .footer-wa .ic { width: 18px; height: 18px; flex: none; }

/* ---------- Nosotros ---------- */
.about-hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.about-hero h1 { font-size: clamp(36px, 5.6vw, 66px); }
.about-hero__logo { margin: 0; background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 40px); box-shadow: 0 20px 40px rgba(74,44,26,.12); }
.about-hero__logo img { width: 100%; height: auto; }
@media (max-width: 860px) { .about-hero__grid { grid-template-columns: 1fr; } .about-hero__logo { max-width: 360px; } }

.about-hero p { max-width: 46ch; }

/* La regla de la marca, en grande: el único momento fuerte de la página */
.manifesto__quote { margin: 0 0 clamp(36px, 6vw, 64px); }
.manifesto__quote p { max-width: 17ch; font: 400 clamp(34px, 6vw, 72px)/1.02 var(--display); letter-spacing: -0.03em; color: var(--white); text-wrap: balance; }
.manifesto__quote p::before { content: "\201C"; display: block; height: .55em; color: var(--honey); }
.manifesto__rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
.manifesto__rules li { border-top: 2px solid var(--caramel); padding-top: 18px; display: grid; gap: 6px; align-content: start; }
.manifesto__rules li > span { color: var(--sand); }
.manifesto__rules li > span .ic { width: 28px; height: 28px; }
.manifesto__rules h3 { font-size: 22px; }
.manifesto__rules p { color: #ead9c4; }
@media (max-width: 760px) { .manifesto__rules { grid-template-columns: 1fr; } }

/* Cierre: datos clave y botón en una sola franja */
.about-close__row { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 4vw, 48px); align-items: center; }
.about-close .h2 { font-size: clamp(26px, 3.2vw, 38px); max-width: 12ch; }
.about-close__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--ink); font-weight: 600; }
.about-close__facts li { display: flex; align-items: center; gap: 8px; }
.about-close__facts li > span { color: var(--caramel); display: inline-flex; }
@media (max-width: 860px) { .about-close__row { grid-template-columns: 1fr; } .about-close .h2 { max-width: none; } }

/* ---------- Términos y condiciones ---------- */
.terms-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.terms-index { position: sticky; top: 92px; background: var(--linen); border-radius: var(--r); padding: 18px; }
.terms-index strong { display: block; margin-bottom: 10px; color: var(--brand); }
.terms-index ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.terms-index a { text-decoration: none; }
.terms-index a:hover { text-decoration: underline; }
.terms { display: grid; gap: 30px; max-width: 760px; }
.terms section { scroll-margin-top: 90px; }
.terms h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 10px; }
.terms p + p, .terms ul { margin-top: 10px; }
.terms ul { padding-left: 22px; display: grid; gap: 6px; }
.terms .fill { background: #fbeedb; padding: 0 4px; border-radius: 4px; }
.terms-updated { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .terms-layout { grid-template-columns: 1fr; } .terms-index { position: static; } }

/* =========================================================
   Animaciones
   Solo se activan si el JS marca <html class="anim"> (así, sin JS,
   todo se ve normal) y se apagan con "reducir movimiento".
   ========================================================= */

/* --- Entrada de la portada: título, texto, botones y la casa --- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes roof { from { transform: translateY(40%) scaleY(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(220%) skewX(-20deg); } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

.anim .hero h1 { animation: rise .8s var(--ease-out) both; }
.anim .hero h1 span { animation: rise .8s var(--ease-out) .18s both; }
.anim .hero__lead { animation: rise .8s var(--ease-out) .32s both; }
.anim .hero__cta { animation: rise .8s var(--ease-out) .44s both; }
.anim .house { animation: rise .9s var(--ease-out) .5s both; }
.anim .house::before { transform-origin: 50% 100%; animation: roof .7s var(--ease-out) .85s both; }
.anim .house .room { animation: rise .7s var(--ease-out) both; }
.anim .house .room:nth-child(1) { animation-delay: 1s; }
.anim .house .room:nth-child(2) { animation-delay: 1.12s; }
.anim .house .room:nth-child(3) { animation-delay: 1.24s; }
.anim .house .room:nth-child(4) { animation-delay: 1.36s; }
.anim .page-hero h1 { animation: rise .7s var(--ease-out) both; }
.anim .page-hero p { animation: rise .7s var(--ease-out) .15s both; }

/* --- Aparecer al bajar (el JS agrega .rv y luego .is-in) --- */
.anim .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0s); }
.anim .rv.is-in { opacity: 1; transform: none; }
.anim .steps li.is-in::before { animation: pop .5s var(--ease-out) calc(var(--d, 0s) + .2s) both; }

/* --- Respuesta al usuario: tarjetas, fotos, botones --- */
.pcard, .room, .contact-card, .values li { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.pcard__img img, .room__img img, .feat img, .gallery__main img { transition: transform .6s var(--ease-out); }
@media (hover: hover) {
  .pcard:hover, .contact-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(74,44,26,.14); }
  .room:hover { transform: translateY(-4px); }
  .pcard:hover .pcard__img img, .room:hover .room__img img, .feat:hover img { transform: scale(1.05); }
  .values li:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(74,44,26,.10); }
  .values li:hover .ic { animation: sway .6s ease-in-out; }
}
.btn--cod { position: relative; overflow: hidden; isolation: isolate; }
.btn--cod::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-120%) skewX(-20deg);
}
@media (hover: hover) { .btn--cod:hover::after { animation: shine .7s ease-out; } }
/* el botón de la barra fija brilla cada tanto para llamar la atención */
.anim .sticky.is-visible .btn--cod::after { animation: shine 1s ease-out 1s 3; }
.gallery__thumb { transition: border-color .2s, transform .2s; }
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__main img.is-swapping { animation: rise .35s var(--ease-out); }
.drawer:not([hidden]) .drawer__panel { animation: slidein .35s var(--ease-out); }
.drawer:not([hidden]) .drawer__scrim { animation: fadein .3s ease; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .announce li:first-child { opacity: 1; }
  .anim .rv { opacity: 1; transform: none; }
  /* reseñas sin movimiento: se recorren a mano */
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-left: var(--gutter); }
  .marquee__set[aria-hidden] { display: none; }
}

/* =========================================================
   Editorial cálido — rediseño
   Títulos en serif grande, cuerpo compacto, líneas finas en vez
   de cajas, bordes nítidos al pasar el cursor y grano de papel.
   ========================================================= */

/* --- grano de papel sobre toda la página (3%) --- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .1 0 0 0 0 .08 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- escala tipográfica: saltos grandes entre título y texto --- */
body { font-size: 17px; line-height: 1.6; }
h1, h2, h3 { color: var(--ink); font-weight: 400; letter-spacing: -0.015em; line-height: .98; }
.hero h1 { font-size: clamp(54px, 10.4vw, 148px); line-height: .9; letter-spacing: -0.025em; }
.hero h1 span { color: inherit; font-weight: 400; font-style: italic; padding-left: clamp(0px, 9vw, 150px); }
.h2 { font-size: clamp(40px, 6.4vw, 84px); margin-bottom: clamp(24px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(48px, 8.6vw, 116px); line-height: .92; }
.pdp__title { font-size: clamp(38px, 5vw, 64px); }
.lead, .hero__lead, .page-hero p { font-size: clamp(17px, 1.5vw, 19px); }
.wordmark { font-size: 32px; letter-spacing: -0.02em; }
.wordmark span { font-style: italic; color: var(--caramel); }
.wordmark--light span { color: var(--sand); }
.section--brand h2, .section--brand h3, .cta-box h2, .offer h2, .manifesto__quote p { color: var(--white); }

/* --- botones: pieza física con canto, se levanta y se hunde --- */
.btn {
  border-radius: var(--r); font-size: 16px; font-weight: 700; letter-spacing: -0.005em;
  transform: translate(var(--mx, 0px), calc(var(--my, 0px) + var(--lift, 0px)));
  transition: transform .5s var(--spring), box-shadow .25s var(--ease-out), background-color .15s ease, color .15s ease;
}
.btn--cod { border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn--cod::after { display: none; }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--wa { border-color: #128c4a; box-shadow: 0 4px 0 #128c4a; }
@media (hover: hover) {
  .btn--cod:hover { --lift: -3px; box-shadow: 0 7px 0 var(--ink); background: var(--honey); }
  .btn--wa:hover { --lift: -3px; box-shadow: 0 7px 0 #128c4a; }
  .btn--line:hover { background: var(--ink); color: var(--white); }
}
.btn:active, .btn--cod:active, .btn--wa:active { --lift: 3px; box-shadow: 0 1px 0 var(--ink); transition-duration: .08s; }
.more { color: var(--ink); text-decoration-thickness: 1px; }
.more .ic { transition: transform .5s var(--spring); }
@media (hover: hover) { .more:hover .ic { transform: translate(3px, -3px); } }

/* --- encabezado: enlaces con subrayado que se desliza, sin píldoras --- */
.announce { background: var(--ink); font-weight: 500; letter-spacing: .01em; }
.site-header { background: rgba(250,245,236,.92); border-bottom-color: var(--ink); }
.site-nav a { position: relative; border-radius: 0; padding: 10px 2px; margin: 0 12px; font-weight: 600; font-size: 15px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--spring-soft); }
.site-nav a:hover { background: none; }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current] { background: none; color: var(--ink); }
.icon-btn { color: var(--ink); }

/* --- portada: título a todo el ancho, texto corrido a la derecha --- */
.hero { background: var(--white); padding-top: clamp(28px, 5vw, 64px); }
.hero__top { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: clamp(28px, 4vw, 56px) 24px; }
.hero__top h1 { grid-column: 1 / -1; }
.hero__side { grid-column: 7 / -1; gap: 22px; }
.hero__proof { border-top: 1px solid var(--oat); padding-top: 16px; font-size: 14px; }
.hero__proof .ic { color: var(--caramel); }
@media (max-width: 860px) { .hero__top { grid-template-columns: 1fr; } .hero__side { grid-column: 1; } }

/* la casa: cuartos a distinta altura, como ventanas */
.house { gap: 16px; padding: 18px; border-radius: 0 0 var(--r-lg) var(--r-lg); align-items: start; }
.room { border-radius: var(--r-sm); border: 1.5px solid transparent; }
.room__name { border-bottom: 1px solid var(--oat); font: 400 italic 19px/1.2 var(--display); color: var(--ink); }
.room__name .ic { width: 18px; height: 18px; color: var(--caramel); }
.room__title { font-size: 27px; line-height: 1.02; }
.room__img, .pcard__img { overflow: hidden; }
@media (min-width: 1101px) {
  .house { padding-bottom: 46px; }
  .room:nth-child(even) { margin-top: 28px; }
}

/* --- secciones --- */
.section--tint, .page-hero { background: var(--linen); }
.head-row { align-items: end; border-bottom: 1px solid var(--ink); padding-bottom: 18px; margin-bottom: clamp(28px, 4vw, 48px); }

/* por qué pedir: título a la izquierda, lista con líneas a la derecha */
@media (min-width: 861px) {
  .section:has(> .wrap > .values) > .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
  .section:has(> .wrap > .values) .head-row { display: grid; gap: 22px; border: 0; padding: 0; margin: 0; position: sticky; top: 110px; }
}
.values { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ink); }
.values li { grid-template-columns: 34px 1fr; align-items: center; gap: 18px; padding: 22px 4px; border: 0; border-bottom: 1px solid var(--oat); border-radius: 0; font: 400 clamp(22px, 2.5vw, 30px)/1.12 var(--display); letter-spacing: -0.01em; }
.values .ic { width: 28px; height: 28px; color: var(--caramel); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* franja */
.band { border-block: 1.5px solid var(--ink); }
.band__track span { font-size: 26px; font-style: italic; padding: 12px 22px; }
.band__track span::after { content: "✳"; font-style: normal; font-size: 16px; margin-left: 44px; vertical-align: middle; }

/* --- tarjetas de producto: foto a un lado, alturas alternadas --- */
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
.pcard { border: 1.5px solid var(--oat); border-radius: var(--r); background: var(--white); }
.pcard__body { gap: 12px; padding: clamp(18px, 2.2vw, 28px); }
.pcard__room { color: var(--caramel); font-weight: 600; font-size: 14px; }
.pcard__room .ic { width: 18px; height: 18px; }
.pcard__title { font-size: clamp(28px, 2.6vw, 36px); line-height: 1; }
.pcard__need { font: 400 italic 19px/1.2 var(--display); color: var(--muted); }
.pcard__list { font-size: 15px; }
.pcard__list li::before { width: 6px; height: 6px; border-radius: 0; background: var(--caramel); transform: rotate(45deg); }
.price__now { font-weight: 800; letter-spacing: -0.02em; }
.price__save { border-radius: 4px; background: var(--sage); }
@media (min-width: 681px) { .grid > .pcard:nth-child(even) { margin-top: clamp(24px, 3.4vw, 48px); } }
@media (max-width: 680px) { .grid { grid-template-columns: 1fr; } }

/* al pasar el cursor: borde nítido y la tarjeta se despega de su sombra dura */
.pcard, .room, .review, .contact-card { transition: transform .55s var(--spring), box-shadow .3s var(--ease-out), border-color .2s ease; }
@media (hover: hover) {
  .pcard:hover, .contact-card:hover, .review:hover { transform: translate(-5px, -5px); box-shadow: 7px 7px 0 var(--ink); border-color: var(--ink); }
  .room:hover { transform: translateY(-5px); box-shadow: none; border-color: var(--honey); }
  .values li:hover { transform: none; box-shadow: none; }
  .values li { transition: padding-left .5s var(--spring-soft), color .2s ease; }
  .values li:hover { padding-left: 16px; color: var(--brand); }
  .values li:hover .ic { animation: none; }
}
/* las fotos se muestran completas; solo se acercan un poco al pasar el cursor */
.pcard__img img, .room__img img { transform: none; transition: transform .8s var(--spring-soft); }
@media (hover: hover) { .pcard:hover .pcard__img img, .room:hover .room__img img { transform: scale(1.06); } }

/* --- pasos: números grandes en serif (sí es una secuencia) --- */
.steps { gap: 0; border-top: 1px solid rgba(255,255,255,.3); }
.steps li { background: none; border-radius: 0; padding: 26px 24px 26px 0; border-right: 1px solid rgba(255,255,255,.18); }
.steps li + li { padding-left: 24px; }
.steps li:last-child { border-right: 0; }
.steps li::before { width: auto; height: auto; display: block; border-radius: 0; background: none; color: var(--honey); font: 400 italic clamp(64px, 7vw, 96px)/.8 var(--display); margin-bottom: 22px; }
.steps h3 { font-size: 27px; line-height: 1.05; margin-bottom: 8px; }
.section:not(.section--brand) .steps { border-top-color: var(--ink); }
.section:not(.section--brand) .steps li { background: none; border: 0; border-right: 1px solid var(--oat); }
.section:not(.section--brand) .steps li::before { color: var(--caramel); }
@media (max-width: 960px) { .steps li, .steps li + li { padding: 22px 0; border-right: 0 !important; border-bottom: 1px solid rgba(128,110,90,.35); } }

/* --- preguntas --- */
.faq__item { border-bottom: 1px solid var(--oat); }
.faq__item:first-child { border-top: 1px solid var(--ink); }
.section--tint .faq__item { border-color: #cdbda3; }
.faq__item::before { display: none; }
.faq__q { font: 400 clamp(22px, 2.2vw, 28px)/1.15 var(--display); letter-spacing: -0.01em; padding: 22px 0; transition: padding-left .5s var(--spring-soft), color .2s; }
.faq__q:hover, .faq__item.is-open .faq__q { color: var(--ink); padding-left: 10px; }
.faq__icon { transition: transform .6s var(--spring); }
.faq__icon::before, .faq__icon::after { height: 1.5px; background: var(--ink); }
.faq__inner p { font-size: 16px; padding-left: 10px; }
.faq__wa { margin-left: 10px; color: var(--sage); }

/* --- reseñas --- */
.review { border: 1.5px solid var(--oat); border-radius: var(--r); box-shadow: none; background: var(--white); }
.review__face--initials { background: var(--linen); color: var(--ink); font-size: 20px; font-style: italic; }
.review__title { font: 400 23px/1.1 var(--display); }
.review__tag { border-radius: 4px; background: none; border: 1px solid var(--oat); color: var(--muted); }
.review__text { font-size: 15px; }

/* --- cierre y bloques café --- */
.cta-box, .offer { border-radius: var(--r-lg); }
.cta-box h2 { font-size: clamp(38px, 5.4vw, 72px); }
.offer h2 { font-size: clamp(32px, 4vw, 48px); }

/* --- ficha de producto --- */
.gallery__main, .feat img, .video-row video { border-radius: var(--r); }
.gallery__thumb { border-width: 1.5px; border-radius: 6px; }
.gallery__thumb.is-active { border-color: var(--ink); }
.pdp__tagline { font-size: 17px; color: var(--muted); }
.pdp .price__now { font-size: 40px; }
.pdp__pack { background: none; border: 0; border-left: 2px solid var(--honey); border-radius: 0; font-size: 15px; }
.pdp__trust { background: none; border-top: 1px solid var(--ink); border-radius: 0; padding: 16px 0 0; font-size: 15px; }
.pdp__trust .ic:not(.ic--wa) { color: var(--caramel); }
.checks li { font: 400 clamp(21px, 2.2vw, 27px)/1.15 var(--display); padding: 14px 0; border-bottom: 1px solid var(--oat); }
.thanks__tips .checks li { font: 400 16px/1.5 var(--font); padding: 0; border: 0; }
.checks { gap: 0; }
.feat { grid-template-columns: minmax(0, 380px) 1fr; }
.feat--flip { grid-template-columns: 1fr minmax(0, 380px); }
.feat:nth-child(even) img { margin-top: 0; }
.feat h3 { font-size: clamp(30px, 3.8vw, 48px); }
.box-list, .specs { background: none; border-radius: 0; padding: 0; border-top: 1px solid var(--ink); }
.box-list li { border-bottom: 1px solid var(--oat); }
.specs div { border-bottom: 1px solid var(--oat); font-size: 15px; }
.notes li::before { width: 6px; height: 6px; border-radius: 0; background: var(--caramel); transform: rotate(45deg); top: .7em; }

/* --- formulario y carrito --- */
.drawer__scrim { background: rgba(31,27,23,.6); }
.drawer__head { border-bottom-color: var(--ink); }
.drawer__head h2 { font-size: 30px; }
.field input, .field select, .field textarea { border-width: 1.5px; background: #fffdf8; font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--honey); }
.pay-opt, .offer-opt { border-width: 1.5px; transition: transform .45s var(--spring), border-color .2s, background-color .2s; }
.pay-opt:has(input:checked), .offer-opt:has(input:checked) { border-color: var(--ink); background: var(--linen); box-shadow: 3px 3px 0 var(--ink); transform: translate(-2px, -2px); }
.cart-total, .order-total { border-top: 1px solid var(--ink); }

/* --- otras páginas --- */
.contact-card { background: var(--white); border: 1.5px solid var(--oat); border-radius: var(--r); }
.contact-card strong { font: 400 28px/1 var(--display); }
.contact-card .ic:not(.ic--wa) { color: var(--caramel); }
.thanks__summary, .thanks__tips { border-width: 1.5px; border-radius: var(--r); }
.thanks__summary h2, .thanks__tips h2 { font-size: 26px; }
.about-hero__logo { border-radius: var(--r); box-shadow: 10px 10px 0 var(--ink); border: 1.5px solid var(--ink); }
.manifesto__quote p { font-size: clamp(44px, 8vw, 112px); line-height: .92; max-width: 15ch; font-style: italic; }
.manifesto__rules li { border-top: 1px solid var(--sand); }
.manifesto__rules h3 { font-size: 30px; }
.terms-index { background: none; border: 1.5px solid var(--oat); }
.prose h2, .terms h2 { font-size: clamp(28px, 3.2vw, 40px); }
.site-footer { background: var(--ink); }
.site-footer h2 { font: 400 italic 21px/1.2 var(--display); color: var(--sand); }
.sticky { border-top: 1.5px solid var(--ink); box-shadow: none; }

/* --- entradas: suben con resorte, escalonadas --- */
@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.anim .hero h1, .anim .hero h1 span, .anim .hero__lead, .anim .hero__cta, .anim .house, .anim .house .room, .anim .page-hero h1, .anim .page-hero p { animation-timing-function: var(--spring-soft); }
.anim .rv { transform: translateY(30px); transition: opacity .6s ease, transform .9s var(--spring-soft); transition-delay: var(--d, 0s); }
.anim .steps li.is-in::before { animation: none; }
.drawer:not([hidden]) .drawer__panel { animation: slidein .6s var(--spring-soft); }

/* --- fotos completas, sin recortes --- */
.feat img { aspect-ratio: auto; height: auto; object-fit: contain; background: none; }
.room__img, .pcard__img { aspect-ratio: 1; }
/* la casa en celular: dos columnas, cada cuarto con su foto cuadrada entera */
@media (max-width: 860px) {
  .house { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px; }
  .room { display: flex; flex-direction: column; }
  .room__name { padding: 8px 10px; font-size: 16px; gap: 6px; min-height: 56px; line-height: 1.1; }
  .room__img { aspect-ratio: 1; height: auto; }
  .room__body { padding: 10px; gap: 8px; }
  .room__title { font-size: 20px; }
  .room .price { gap: 2px 8px; }
  .room .price__now { font-size: 19px; }
  .room .price__was { font-size: 14px; }
  .room .btn { min-height: 46px; padding: 8px 6px; font-size: 14px; gap: 6px; }
  .room .btn .ic { display: none; }
  .room .buy__pay { display: none; }
}

/* --- tarjeta de producto: al pasar el cursor sube un panel con el detalle --- */
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1180px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid, .grid--2 { grid-template-columns: 1fr; } }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fffdf8; transition: transform .6s var(--spring), box-shadow .35s var(--ease-out), border-color .2s ease; }
.pcard__media { position: relative; }
.pcard__off { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 10px; border-radius: 4px; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: -0.01em; }
.pcard__body { gap: 10px; padding: 18px; margin-top: 0; flex: 1; align-content: start; }
.pcard__rating { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pcard__rating b { color: var(--honey-2); letter-spacing: 1.5px; font-size: 14px; font-weight: 400; }
.pcard__title { font-size: clamp(25px, 2vw, 29px); }
.pcard__cta { margin-top: auto; padding-top: 4px; }
.pcard__reveal {
  position: absolute; inset: auto 0 0 0; max-height: 100%; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: 20px; background: rgba(250,245,236,.97); backdrop-filter: blur(10px); border-top: 1.5px solid var(--ink);
  transform: translateY(100%); opacity: 0; visibility: hidden;
  transition: transform .65s var(--spring-soft), opacity .3s ease, visibility 0s linear .5s;
}
.pcard__reveal > * { opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .35s ease, transform .6s var(--spring); }
.pcard__reveal h4 { margin: 0 0 8px; font: 400 italic 21px/1.1 var(--display); color: var(--ink); }
.pcard__reveal .pcard__list { font-size: 14px; gap: 6px; }
.pcard__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pcard__chips span { padding: 9px 8px; border: 1px solid var(--oat); border-radius: 8px; background: var(--linen); text-align: center; font-size: 12px; font-weight: 700; line-height: 1.2; }
.pcard__actions { display: grid; gap: 8px; }
.pcard__actions .btn { min-height: 48px; font-size: 15px; }
.pcard__actions .btn--line { min-height: 42px; }
@media (hover: hover) {
  .pcard:hover, .pcard:focus-within { transform: translateY(-8px) scale(1.02); box-shadow: 0 22px 40px -18px rgba(31,27,23,.45); border-color: var(--ink); }
  .pcard:hover .pcard__reveal, .pcard:focus-within .pcard__reveal { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .pcard:hover .pcard__reveal > *, .pcard:focus-within .pcard__reveal > * { opacity: 1; transform: none; }
  .pcard:hover .pcard__reveal > :nth-child(1), .pcard:focus-within .pcard__reveal > :nth-child(1) { transition-delay: .1s; }
  .pcard:hover .pcard__reveal > :nth-child(2), .pcard:focus-within .pcard__reveal > :nth-child(2) { transition-delay: .18s; }
  .pcard:hover .pcard__reveal > :nth-child(3), .pcard:focus-within .pcard__reveal > :nth-child(3) { transition-delay: .26s; }
}
/* en pantallas táctiles no hay cursor: el panel no existe y el botón de compra queda siempre a la vista */
@media (hover: none) { .pcard__reveal { display: none; } }

/* --- un color por sección --- */
:root { --linen: #eadfc9; --sec-sand: #e6d2a8; --sec-sage: #d9dfc4; --sec-olive: #4d5830; --sec-clay: #e9c9ae; }
.hero { background: var(--white); }
.section:has(> .wrap > .values) { background: var(--sec-sand); }
.section:has(> .wrap > .values) .values { border-top-color: var(--ink); }
.section:has(> .wrap > .values) .values li { border-bottom-color: rgba(31,27,23,.22); }
.section.reviews { background: var(--sec-olive); }
.section.reviews .h2 { color: var(--white); }
.section.reviews .review { border-color: transparent; }
.section:has(.faq) { background: var(--sec-sage); }
.section:has(.faq) .faq__item { border-bottom-color: rgba(31,27,23,.2); }
.section:has(> .wrap > .feats) { background: var(--sec-clay); }
.section:has(> .wrap > .cta-box) { background: var(--white); padding-top: clamp(52px, 8vw, 96px) !important; }
.section:has(> .wrap > .contact-cards) { background: var(--sec-sand); }
.about-close { background: var(--sec-sage); }

/* "Cómo te ayuda" en celular: foto arriba y texto debajo, a todo el ancho */
@media (max-width: 760px) {
  .feat, .feat--flip { grid-template-columns: 1fr; gap: 16px; }
  .feat--flip img { order: 0; }
  .feat img { width: 100%; max-height: 440px; object-fit: cover; object-position: center; }
  .feat h3 { font-size: 32px; margin-bottom: 8px; }
  .feat p { max-width: none; }
  .feats { gap: 44px; }
}

/* --- ficha: sección crema con esquinas redondeadas que monta sobre la anterior --- */
.about-p { position: relative; z-index: 1; margin-top: -25px; border-radius: 25px 25px 0 0; background: #F6E4CF; color: #321C04; padding: clamp(72px, 10vw, 128px) 24px; }
.about-p__top { max-width: 48rem; margin: 0 auto; display: grid; justify-items: center; gap: 28px; }
.about-p__top p { max-width: 32rem; text-align: center; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; }
.about-p__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.pill { display: inline-flex; align-items: center; gap: 12px; padding: 6px 24px 6px 6px; border: 0; border-radius: 999px; font: 500 13px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s ease, transform .5s var(--spring); }
.pill:active { transform: scale(.97); }
.pill__dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #321C04; }
.pill__dot .ic { width: 18px; height: 18px; }
.pill--dark { background: #321C04; color: #FFF9F2; }
.pill--dark:hover { background: #1F1003; }
.pill--muted { background: #D9C4AA; color: #321C04; }
.pill--muted:hover { background: #CEBA9E; }
.about-p__rule { display: flex; align-items: center; gap: 2px; max-width: 72rem; margin: clamp(48px, 7vw, 88px) auto; }
.about-p__rule i { width: 8px; height: 8px; border-radius: 50%; background: #D9C4AA; flex: none; }
.about-p__rule b { flex: 1; height: 2px; background: #D9C4AA; }
.about-p__bottom { max-width: 72rem; margin: 0 auto; display: flex; gap: clamp(28px, 6vw, 96px); align-items: flex-start; }
.about-p__mark { flex: none; display: grid; gap: 14px; width: 150px; }
.about-p__mark .ic { width: 40px; height: 40px; color: #321C04; }
.about-p__mark h2 { font: 600 12px/1.5 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #321C04; }
.about-p__list { list-style: none; display: grid; gap: .55em; font: 400 clamp(24px, 3.4vw, 42px)/1.25 var(--display); letter-spacing: -0.01em; }
.about-p__list li { padding-bottom: .55em; border-bottom: 1px solid #D9C4AA; }
.about-p__list li:last-child { border: 0; padding: 0; }
@media (max-width: 767px) { .about-p__bottom { flex-direction: column; } .about-p__mark { width: auto; } }

/* --- ficha: características con columna fija y tarjetas que entran al bajar --- */
.flow { position: relative; isolation: isolate; color: #fff; padding: clamp(80px, 12vw, 192px) clamp(20px, 5vw, 64px); background: #2a190e; }
.flow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(38,22,12,.78), rgba(38,22,12,.86)), var(--flow-img) center / cover fixed; }
.flow__grid { max-width: 1320px; margin: 0 auto; display: grid; gap: 40px; }
.flow__left h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; max-width: 14ch; }
.flow__nav, .flow__cta { display: none; }
.flow__cards { display: grid; gap: clamp(20px, 3vw, 40px); min-width: 0; }
.flow__card { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: rgba(0,0,0,.22); backdrop-filter: blur(6px); opacity: 0; transform: translateX(64px); transition: opacity .7s ease-out, transform .7s ease-out; }
.flow__card.is-in { opacity: 1; transform: none; }
.flow__card > .ic { width: 40px; height: 40px; color: rgba(255,255,255,.8); }
.flow__card h3 { color: #fff; font: 500 clamp(20px, 2vw, 24px)/1.25 var(--font); letter-spacing: -0.01em; }
.flow__media { border-radius: 16px; overflow: hidden; background: rgba(0,0,0,.3); }
.flow__media img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.flow__card p { color: rgba(255,255,255,.66); font-weight: 500; font-size: clamp(14px, 1.2vw, 16px); line-height: 1.65; }
@media (min-width: 1024px) {
  .flow__grid { grid-template-columns: 400px minmax(0, 1fr); gap: clamp(64px, 8vw, 160px); align-items: start; }
  .flow__left { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: 128px 0; }
  .flow__nav { display: grid; gap: 8px; justify-items: start; }
  .flow__nav button { padding: 10px 16px; border: 0; border-radius: 12px; background: rgba(0,0,0,.22); color: rgba(255,255,255,.4); font: 500 15px/1.2 var(--font); text-align: left; cursor: pointer; transition: color .3s ease, transform .5s var(--spring); }
  .flow__nav button:hover { color: rgba(255,255,255,.75); }
  .flow__nav button.is-active { color: #fff; transform: translateX(6px); }
  .flow__cta { display: grid; gap: 14px; justify-items: start; }
  .flow__cta p { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85); }
}
@media (max-width: 1023px) { .flow::before { background-attachment: scroll; } .flow__card { transform: translateX(28px); } }
@media (prefers-reduced-motion: reduce) { .flow__card { opacity: 1; transform: none; } }

/* --- catálogo de la portada: filtros a la izquierda, productos a la derecha --- */
.shop { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; scroll-margin-top: 96px; border-top: 1px solid var(--ink); padding-top: clamp(22px, 3vw, 36px); }
.shop__side { position: sticky; top: 100px; }
.shop__filters > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--oat); font-weight: 700; font-size: 15px; list-style: none; cursor: default; }
.shop__filters > summary::-webkit-details-marker { display: none; }
.shop__clear { border: 0; background: none; padding: 4px 0; font: 600 13px/1 var(--font); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.shop__clear:disabled { opacity: .4; cursor: default; text-decoration: none; }
.shop__set { border: 0; margin: 0; padding: 20px 0; display: grid; gap: 12px; border-bottom: 1px solid var(--oat); }
.shop__set:last-child { border-bottom: 0; }
.shop__set legend { padding: 0; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.shop__check { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; }
.shop__check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.shop__check em { font-style: normal; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.shop__check:has(input:disabled) { opacity: .45; cursor: default; }
.shop__range { width: 100%; accent-color: var(--ink); margin: 0; }
.shop__range-val { display: flex; justify-content: space-between; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--muted); }
.shop__range-val strong { color: var(--ink); }
.shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--oat); }
.shop__bar p { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.shop__sort select { font: 600 14px/1.2 var(--font); color: var(--ink); padding: 9px 12px; border: 1.5px solid var(--oat); border-radius: var(--r-sm); background: #fffdf8; cursor: pointer; }
.shop__sort select:focus-visible { border-color: var(--ink); }
.shop__chips { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 14px; }
.shop__chips li { animation: chipin .35s var(--spring) both; }
.shop__chips button:not(.shop__clear) { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 6px 0 12px; border: 1px solid var(--ink); border-radius: 999px; background: none; font: 500 13px/1 var(--font); color: var(--ink); cursor: pointer; }
.shop__chips .ic { width: 14px; height: 14px; }
@keyframes chipin { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.shop__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(14px, 2vw, 24px); padding-top: 22px; }
@media (min-width: 1180px) { .shop__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.scard { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; animation: rise .6s var(--spring-soft) both; animation-delay: calc(var(--i, 0) * 55ms); }
.scard__img { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--oat); border-radius: var(--r-sm); background: #fffdf8; }
.scard__img a { display: block; height: 100%; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--spring-soft); }
@media (hover: hover) { .scard:hover .scard__img img { transform: scale(1.05); } .scard:hover .scard__img { border-color: var(--ink); } }
.scard__info { display: grid; gap: 4px; flex: 1; align-content: start; }
.scard__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.scard__name { font: 600 15px/1.3 var(--font); letter-spacing: -0.005em; color: var(--ink); text-wrap: pretty; }
.scard__name a { text-decoration: none; }
.scard__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.scard__price { flex: none; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.scard__meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.scard__buy { min-height: 46px; padding: 8px 10px; font-size: 14px; }
.shop__empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; padding: 56px 20px; border: 1px dashed var(--oat); border-radius: var(--r); text-align: center; }
.shop__empty h2 { font-size: 30px; }
.shop__empty p { color: var(--muted); font-size: 15px; }
.anim .shop { animation: rise .9s var(--spring-soft) .5s both; }
@media (max-width: 860px) {
  .shop { grid-template-columns: 1fr; gap: 14px; }
  .shop__side { position: static; }
  .shop__filters > summary { cursor: pointer; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); }
  .shop__filters > summary > span::before { content: "+ "; }
  .shop__filters[open] > summary > span::before { content: "− "; }
  .shop__filters > div { padding: 0 2px; }
  .shop__grid { gap: 26px 12px; }
  .scard__row { display: grid; gap: 2px; }
  .scard__buy .ic { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transform: none; }
  .pcard__img img, .room__img img { transform: none; }
}
