/* =========================================================
   Kora Hogar — estilos
   Azul azulejo (confianza), menta (superficies),
   amarillo mango solo en los botones de compra.
   ========================================================= */
:root {
  /* Paleta Kora Hogar: sale del logo (café espresso, caramelo, arena) */
  --ink: #2e1d12;        /* texto principal, café casi negro */
  --muted: #6b5747;      /* texto secundario */
  --brand: #4a2c1a;      /* café espresso del logo: títulos, fondos fuertes */
  --caramel: #9c6a44;    /* caramelo del techo del logo */
  --sand: #c09c6c;       /* arena dorada del logo */
  --linen: #f6efe6;      /* fondo lino, cálido */
  --oat: #e6d8c6;        /* bordes y superficies avena */
  --white: #fffdf9;      /* blanco cálido */
  --honey: #e3a34b;      /* botones de compra: miel */
  --honey-2: #cc8a2e;
  --sage: #5e7b5a;       /* verde salvia: incluido / garantía */
  --red: #a8432f;
  --r-lg: 28px;
  --r: 18px;
  --r-sm: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Figtree", sans-serif;
  --ease-out: cubic-bezier(.2, .7, .2, 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: 800 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--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: 800; }
.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(3, 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: 700 21px/1.15 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.room__title a { text-decoration: none; }
@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: 800; 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: 800; 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: 800 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(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) { .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: 800 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: 800 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); }
.faq details { border-bottom: 2px solid var(--oat); }
.section--tint .faq details { border-color: #d9c6ae; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 13px; font-size: 32px; font-weight: 400; color: var(--brand); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; max-width: 62ch; }
@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: 800; }
.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; }
.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; }

/* ---------- 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; }

/* ---------- 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: 800 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 .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; }
}
