/* ==========================================================================
   Ternetik. Hoja de estilos única. Tema claro fijo.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f3f3f1;
  --surface: #ffffff;
  --surface-2: #e9e9e6;
  --ink: #17191c;
  --ink-2: #3d4148;
  --muted: #6b7079;
  --line: #dcdedb;
  --line-strong: #b9bcb8;
  --accent: #d8541f;
  --accent-2: #b8441a;
  --accent-soft: #fbe9df;
  --ok: #1f7a3a;
  --ok-soft: #e3f2e7;
  --warn: #9a5b12;
  --warn-soft: #fbf0dc;
  --info-soft: #e8eaee;
  --error: #b3261e;
  --error-soft: #fbe5e3;
  --font: 'Archivo', 'Arial Narrow', Arial, Helvetica, sans-serif;
  --r: 3px;
  --wrap: 1320px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 68px;
  --shadow: 0 10px 30px rgba(23, 25, 28, 0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */

[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 0.6em; line-height: 1.1; font-weight: 750; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-stretch: 110%; font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); font-stretch: 106%; line-height: 1.08; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { color: var(--ink); font-weight: 700; }
small { font-size: 0.85em; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; stroke-width: 1.75; }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--r); z-index: 100; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--alt { background: var(--surface); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head p { font-size: 1.08rem; color: var(--ink-2); }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head--row > div { max-width: 62ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 0.78rem; font-stretch: 88%; font-weight: 650; text-transform: uppercase; letter-spacing: 0.09em; color: var(--accent); margin-bottom: 0.7rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.link-more { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.muted { color: var(--muted); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.4rem; border-radius: var(--r); border: 1.5px solid transparent;
  font-weight: 650; font-size: 0.98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; padding-inline: 0.6rem; }
.btn--ghost:hover { color: var(--accent-2); }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: #2b2e33; border-color: #2b2e33; color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--surface-2); border-color: var(--surface-2); color: var(--ink); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 0.15em; font: inherit; }
.linklike:hover { color: var(--accent-2); }

/* ---------- Barra superior y cabecera ---------- */

.topbar { background: var(--ink); color: #d9dbde; font-size: 0.82rem; }
.topbar__in { display: flex; align-items: center; gap: 1.75rem; min-height: 34px; }
.topbar__in a, .topbar__in p { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; color: inherit; text-decoration: none; white-space: nowrap; }
.topbar__in a:hover { color: #fff; }
.topbar__in .ico { color: var(--accent); }
.topbar__in p:last-child { margin-left: auto; }

.site-header { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 152px; height: auto; }
.nav { flex: 1 1 auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(0.9rem, 1.8vw, 1.6rem); align-items: center; flex-wrap: nowrap; }
.nav a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--ink); white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--accent-2); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav__mobile-only { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; flex: 0 0 auto; }
.header-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.header-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.header-cart:hover { border-color: var(--ink); }
.header-cart .ico { width: 1.35rem; height: 1.35rem; }
.header-cart__count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px var(--surface); }
.header-cart.bump .header-cart__count { animation: cart-bump 0.4s var(--ease); }
@keyframes cart-bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r); width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle .ico { width: 1.4rem; height: 1.4rem; }
.nav-toggle__close { display: none; }
body.nav-open .nav-toggle__open { display: none; }
body.nav-open .nav-toggle__close { display: block; }

@media (max-width: 1023px) {
  .nav { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--surface); border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  body.nav-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1rem; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a { padding: 0.85rem 0; font-size: 1.05rem; border-bottom: 0; }
  .nav a[aria-current="page"] { color: var(--accent-2); }
  .nav__mobile-only { display: block; }
  .nav-toggle { display: inline-flex; }
  .header-link { display: none; }
  .topbar__in .topbar__hide-md { display: none; }
}
@media (max-width: 639px) {
  .topbar__in .topbar__hide-sm { display: none; }
  .topbar__in { justify-content: center; }
  .site-header__actions .btn { display: none; }
  .brand img { width: 132px; }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 1rem; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__text { font-size: 1.15rem; max-width: 46ch; margin-bottom: 1.75rem; }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; background: var(--accent); border-radius: var(--r); z-index: 0; }
.hero__media img { position: relative; z-index: 1; border-radius: var(--r); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 899px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__media { order: -1; margin-right: 1.25rem; }
  .hero__media::before { inset: 0.75rem -0.75rem -0.75rem 0.75rem; }
}

/* ---------- Franja de cifras ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 1.4rem 1.25rem; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats strong { display: block; font-size: clamp(1.7rem, 3vw, 2.4rem); font-stretch: 110%; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 0.35rem; letter-spacing: -0.02em; }
.stats span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 767px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(odd) { border-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- Bento de categorías ---------- */

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 0.9rem; }
.bento__cell { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink); color: #fff; text-decoration: none; display: flex; align-items: flex-end; }
.bento__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.bento__cell:hover img { transform: scale(1.04); }
.bento__cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23, 25, 28, 0.88) 0%, rgba(23, 25, 28, 0.35) 45%, rgba(23, 25, 28, 0) 75%); }
.bento__body { position: relative; z-index: 1; padding: 1.1rem 1.2rem; width: 100%; }
.bento__body h3 { color: #fff; margin: 0 0 0.25rem; font-size: 1.15rem; display: flex; align-items: center; gap: 0.5rem; }
.bento__body h3 .ico { color: var(--accent); }
.bento__body p { margin: 0; font-size: 0.9rem; color: #d9dbde; }
.bento__body span { display: inline-block; margin-top: 0.5rem; font-size: 0.85rem; font-weight: 650; color: #fff; }
.bento__cell--large { grid-column: span 2; grid-row: span 2; }
.bento__cell--large .bento__body h3 { font-size: 1.5rem; }
.bento__cell--tall { grid-row: span 2; }
.bento__cell--cta { background: var(--accent); align-items: center; }
.bento__cell--cta::after { display: none; }
.bento__cell--cta .bento__body h3 { font-size: 1.3rem; }
.bento__cell--cta .bento__body p { color: #fbe9df; }
.bento__cell--cta:hover { background: var(--accent-2); }
@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .bento__cell--large { grid-column: span 2; grid-row: span 1; }
  .bento__cell--tall { grid-row: span 1; }
}
@media (max-width: 639px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 170px; }
  .bento__cell--large { grid-column: span 1; }
}

/* ---------- Banda fotográfica con argumentos ---------- */

.photo-band { position: relative; color: #fff; overflow: hidden; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(23, 25, 28, 0.92) 0%, rgba(23, 25, 28, 0.78) 55%, rgba(23, 25, 28, 0.55) 100%); }
.photo-band__in { position: relative; z-index: 1; padding-block: clamp(3rem, 7vw, 5.5rem); }
.photo-band h2 { color: #fff; max-width: 20ch; margin-bottom: 2.25rem; }
.claims { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem; list-style: none; margin: 0; padding: 0; }
.claims li { border-top: 2px solid var(--accent); padding-top: 1rem; }
.claims .ico { width: 1.7rem; height: 1.7rem; color: var(--accent); margin-bottom: 0.7rem; }
.claims h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.4rem; }
.claims p { color: #d9dbde; font-size: 0.95rem; margin: 0; }
@media (max-width: 899px) { .claims { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .claims { grid-template-columns: 1fr; } }

/* ---------- Tarjetas de producto y carrusel ---------- */

.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; transition: border-color 0.2s, transform 0.3s var(--ease); }
.pcard:hover { border-color: var(--line-strong); }
.pcard__media { position: relative; display: block; background: #eeeeec; border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.pcard__media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1; background: var(--ink); color: #fff; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.3rem 0.55rem; border-radius: var(--r); }
.pcard__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.pcard__brand { font-size: 0.8rem; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: 0.05em; margin: 0; display: flex; justify-content: space-between; gap: 0.5rem; }
.pcard__brand span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.pcard__title { font-size: 1.02rem; margin: 0; line-height: 1.3; }
.pcard__title a { text-decoration: none; }
.pcard__title a:hover { color: var(--accent-2); }
.pcard__short { font-size: 0.88rem; color: var(--muted); margin: 0; }
.pcard__foot { margin-top: auto; padding-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.pcard__price { margin: 0; line-height: 1.2; }
.pcard__price strong { font-size: 1.25rem; font-stretch: 105%; }
.pcard__price small { color: var(--muted); font-size: 0.78rem; margin-left: 0.15rem; }
.pcard__price span { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }
.pcard__actions { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.cart-add--compact .btn { padding: 0.45rem 0.8rem; font-size: 0.85rem; gap: 0.35rem; }
.cart-add--compact .btn .ico { width: 1rem; height: 1rem; }

.badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 650; padding: 0.3rem 0.6rem; border-radius: var(--r); width: fit-content; }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--info { background: var(--info-soft); color: var(--ink-2); }

.scroller-wrap { position: relative; }
.scroller { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 0.5rem; scrollbar-width: thin; }
.scroller > * { flex: 0 0 clamp(240px, 22.5%, 300px); scroll-snap-align: start; }
.scroller-nav { display: flex; gap: 0.5rem; }
.scroller-nav button { width: 42px; height: 42px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.scroller-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 639px) { .scroller > * { flex-basis: 78%; } }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1023px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- Servicios (lista con icono) ---------- */

.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; border-top: 1px solid var(--line); }
.service-list__item { display: grid; grid-template-columns: 52px 1fr; gap: 1.2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.service-list__icon { width: 52px; height: 52px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.service-list__icon .ico { width: 1.6rem; height: 1.6rem; }
.service-list__item h3 { margin-bottom: 0.35rem; font-size: 1.12rem; }
.service-list__item p { color: var(--ink-2); margin-bottom: 0.5rem; font-size: 0.97rem; }
@media (max-width: 899px) { .service-list { grid-template-columns: 1fr; } }

/* ---------- Proceso ---------- */

.process { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.process__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.process__intro p { font-size: 1.05rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: paso; }
.steps li { position: relative; padding: 0 0 2rem 4.5rem; counter-increment: paso; }
.steps li::before { content: counter(paso, decimal-leading-zero); position: absolute; left: 0; top: -0.2rem; font-size: 2.2rem; font-stretch: 112%; font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -0.03em; }
.steps li::after { content: ""; position: absolute; left: 1.35rem; top: 2.6rem; bottom: 0.6rem; width: 1px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 0.35rem; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-2); }
@media (max-width: 899px) { .process { grid-template-columns: 1fr; } .process__intro { position: static; } }

/* ---------- Sectores ---------- */

.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sector { background: var(--surface); border-radius: var(--r); padding: 1.4rem 1.4rem 1.5rem; border-top: 3px solid var(--accent); }
.sector .ico { width: 1.6rem; height: 1.6rem; color: var(--accent); margin-bottom: 0.8rem; }
.sector h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.sector p { margin: 0; font-size: 0.95rem; }
@media (max-width: 899px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .sector-grid { grid-template-columns: 1fr; } }

/* ---------- Marcas ---------- */

.brand-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.75rem; }
.brand-row div { border: 1px solid var(--line); border-radius: var(--r); padding: 0.9rem 0.8rem; text-align: center; background: var(--surface); }
.brand-row strong { display: block; font-stretch: 112%; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.brand-row span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }
@media (max-width: 1023px) { .brand-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 479px) { .brand-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Testimonios ---------- */

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial { background: var(--surface); border-left: 3px solid var(--accent); padding: 1.5rem 1.5rem 1.4rem; border-radius: 0 var(--r) var(--r) 0; display: flex; flex-direction: column; }
.testimonial .ico { width: 1.6rem; height: 1.6rem; color: var(--accent); margin-bottom: 0.8rem; }
.testimonial blockquote { margin: 0 0 1.1rem; font-size: 1.02rem; color: var(--ink); font-weight: 500; line-height: 1.5; }
.testimonial footer { margin-top: auto; font-size: 0.88rem; color: var(--muted); }
.testimonial footer strong { display: block; color: var(--ink); font-size: 0.95rem; }
@media (max-width: 899px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Formulario de presupuesto ---------- */

.lead-section { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.lead-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2.25rem); }
.lead-form__head { margin-bottom: 1.5rem; }
.lead-form__head h3 { font-size: 1.5rem; font-stretch: 106%; margin-bottom: 0.4rem; }
.lead-form__head p { margin: 0; color: var(--ink-2); }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: 0.93rem; color: var(--ink); }
.field__opt { font-weight: 450; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.85rem; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: #fff; color: var(--ink); font: inherit; line-height: 1.4;
}
.field input::placeholder, .field textarea::placeholder { color: #8a8f97; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2317191c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; padding-right: 2.4rem; }
.field textarea { resize: vertical; min-height: 6rem; }
.field__help { font-size: 0.83rem; color: var(--muted); margin: 0; }
.field__help a { color: var(--ink); }
.field__error { font-size: 0.85rem; color: var(--error); margin: 0; font-weight: 600; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 450 !important; font-size: 0.9rem !important; color: var(--ink-2) !important; cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; margin: 0.15rem 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.lead-form__submit { align-items: flex-start; gap: 0.75rem; }
.notice { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.85rem 1rem; border-radius: var(--r); font-weight: 600; margin-bottom: 1.25rem; }
.notice--error { background: var(--error-soft); color: var(--error); }
.notice--ok { background: var(--ok-soft); color: var(--ok); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form--compact .lead-form__grid { grid-template-columns: 1fr 1fr; }

.lead-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 0.9rem; }
.contact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.contact-card li { display: flex; align-items: flex-start; gap: 0.65rem; }
.contact-card li .ico { color: var(--accent); margin-top: 0.2rem; }
.contact-card a { text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.contact-card small { display: block; color: var(--muted); font-weight: 400; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.check-list .ico { color: var(--ok); margin-top: 0.2rem; }
@media (max-width: 899px) { .lead-section { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .lead-form__grid, .lead-form--compact .lead-form__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-weight: 650; color: var(--ink); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--accent); transition: transform 0.3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq .faq__body { padding: 0 0 1.25rem; max-width: 70ch; color: var(--ink-2); }
.faq .faq__body p:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 2.5rem; }
.faq-group h2 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.4rem; margin-bottom: 0.5rem; }
.faq-group h2 .ico { color: var(--accent); }
.faq-index { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }

/* ---------- Guías ---------- */

.guide-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.25rem; }
.guide-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.gcard__media { display: block; background: #eeeeec; }
.gcard__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s var(--ease); }
.gcard:hover .gcard__media img { transform: scale(1.03); }
.gcard__body { padding: 1.2rem 1.3rem 1.4rem; }
.gcard__meta { font-size: 0.8rem; color: var(--accent); font-weight: 650; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; display: flex; justify-content: space-between; gap: 0.5rem; }
.gcard__meta span { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; white-space: nowrap; }
.gcard__title { font-size: 1.15rem; margin-bottom: 0.4rem; }
.gcard__title a { text-decoration: none; }
.gcard__title a:hover { color: var(--accent-2); }
.gcard__body p:last-child { font-size: 0.95rem; color: var(--ink-2); margin: 0; }
.gcard--large { grid-row: span 2; }
.gcard--large .gcard__media { flex: 1 1 auto; min-height: 0; }
.gcard--large .gcard__media img { height: 100%; min-height: 360px; aspect-ratio: auto; }
.gcard--large .gcard__title { font-size: 1.6rem; font-stretch: 106%; }
.gcard--large .gcard__body { flex: 0 0 auto; padding: 1.5rem 1.6rem 1.7rem; }
.guide-grid > .gcard:not(.gcard--large) .gcard__body p:last-child { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 899px) {
  .guide-grid, .guide-grid--three { grid-template-columns: minmax(0, 1fr); }
  .gcard--large { grid-row: auto; }
  .gcard--large .gcard__media img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
}

.article-head { max-width: 880px; padding-block: clamp(2rem, 4vw, 3.5rem) 1.5rem; }
.article-head h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.article-head .meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.9rem; color: var(--muted); margin-top: 1rem; }
.article-head .meta a { color: var(--accent-2); font-weight: 600; text-decoration: none; }
.article-cover img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-top: clamp(2rem, 4vw, 3.5rem); }
.article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.takeaways { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.4rem; }
.takeaways h2 { font-size: 1.05rem; margin-bottom: 0.75rem; }
.takeaways ul { margin: 0; padding-left: 1.1rem; font-size: 0.93rem; }
.takeaways li + li { margin-top: 0.45rem; }
@media (max-width: 1023px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-aside { position: static; } }

/* ---------- Prosa (guías y legales) ---------- */

.prose { max-width: 72ch; font-size: 1.02rem; min-width: 0; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1em; }
.prose li + li { margin-top: 0.35em; }
.prose a { color: var(--accent-2); }
.prose .lead { font-size: 1.15rem; }
.table-wrap { overflow-x: auto; margin: 1.25rem 0 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 480px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 0.75rem 0.9rem; vertical-align: top; }
.table-wrap thead th { background: var(--surface-2); color: var(--ink); font-weight: 650; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em; }
.table-wrap tbody tr + tr td { border-top: 1px solid var(--line); }
.callout { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 1.1rem 1.3rem; border-radius: 0 var(--r) var(--r) 0; margin: 1.5rem 0; }
.callout p:last-child { margin-bottom: 0; }
.callout--neutral { background: var(--surface); border-left-color: var(--ink); border: 1px solid var(--line); border-left-width: 3px; }

.legal-layout__in { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.legal-nav h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.6rem; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; }
.legal-nav li + li { border-top: 1px solid var(--line); }
.legal-nav a { display: block; padding: 0.6rem 0; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.legal-nav a[aria-current="page"] { color: var(--accent-2); }
.legal-nav__box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; font-size: 0.92rem; }
.legal-nav__box p { margin-bottom: 0.75rem; }
.legal__updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.legal h2 { font-size: 1.35rem; }
@media (max-width: 899px) { .legal-layout__in { grid-template-columns: minmax(0, 1fr); } .legal-nav { position: static; } }

/* ---------- Catálogo ---------- */

.page-head { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { margin-bottom: 0.75rem; }
.page-head .lead { max-width: 62ch; }
.crumbs { font-size: 0.85rem; margin-bottom: 1rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-2); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.catalog-tools { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.8rem; border: 1px solid var(--line-strong); border-radius: var(--r); font-size: 0.88rem; font-weight: 600; text-decoration: none; color: var(--ink); background: var(--surface); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current="page"], .chip--active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip span { color: var(--muted); font-weight: 500; }
.chip[aria-current="page"] span { color: #c9ccd1; }
.search-form { display: flex; gap: 0.5rem; }
.search-form input { padding: 0.6rem 0.85rem; border: 1.5px solid var(--line-strong); border-radius: var(--r); min-width: 240px; font: inherit; background: #fff; }
.search-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; font-size: 0.92rem; color: var(--muted); }
.empty { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r); padding: 2.5rem; text-align: center; }
.empty .ico { width: 2rem; height: 2rem; color: var(--accent); margin: 0 auto 0.75rem; }
.cat-overview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.cat-overview article { display: grid; grid-template-columns: 140px 1fr; gap: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cat-overview img { width: 100%; height: 100%; object-fit: cover; }
.cat-overview div { padding: 1.1rem 1.2rem 1.1rem 0; }
.cat-overview h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.cat-overview p { font-size: 0.92rem; margin-bottom: 0.5rem; }
@media (max-width: 899px) { .cat-overview { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .cat-overview article { grid-template-columns: 1fr; } .cat-overview div { padding: 1rem 1.2rem; } .cat-overview img { aspect-ratio: 3 / 2; } }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.perks div { display: flex; gap: 0.8rem; align-items: flex-start; }
.perks .ico { width: 1.5rem; height: 1.5rem; color: var(--accent); flex: 0 0 auto; margin-top: 0.1rem; }
.perks strong { display: block; margin-bottom: 0.15rem; }
.perks p { margin: 0; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 899px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .perks { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 899px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.aside-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; }
.aside-box h3 { font-size: 1.1rem; }

/* ---------- Ficha de producto ---------- */

.product-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.product-gallery { background: #eeeeec; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.product-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info .brand-line { font-size: 0.85rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.5rem; }
.product-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.product-info .sku { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.price-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.4rem; margin: 1.25rem 0; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.price-box .price { font-size: 2rem; font-stretch: 108%; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.price-box .price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); font-stretch: 100%; margin-left: 0.3rem; letter-spacing: 0; }
.price-box .price-iva { font-size: 0.92rem; color: var(--muted); }
.price-box .price-iva strong { color: var(--ink-2); }
.product-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; align-items: center; }
.cart-add { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; margin: 0 0 0.9rem; }
.cart-add .btn--lg { flex: 1 1 auto; }
.qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--surface); height: 50px; }
.qty__btn { width: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink); cursor: pointer; }
.qty__btn:hover { background: var(--bg); color: var(--accent-2); }
.qty__btn .ico { width: 1rem; height: 1rem; }
.qty__input { width: 58px; text-align: center; border: 0; border-inline: 1px solid var(--line); background: transparent; font: inherit; font-weight: 650; font-size: 1rem; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--muted); cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.iconbtn:hover { color: var(--error); border-color: var(--error); }
.iconbtn .ico { width: 1.1rem; height: 1.1rem; }

/* ---------- Cesta ---------- */

.page-head--tight { padding-block: clamp(1.5rem, 3vw, 2.5rem) 0.5rem; }
.page-head__count { font-size: 0.5em; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--muted); margin-left: 0.5rem; vertical-align: middle; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.cart-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.cart-table__head, .cart-line { display: grid; grid-template-columns: minmax(0, 1fr) 130px 150px 130px 48px; gap: 1rem; align-items: center; padding: 1rem 1.25rem; }
.cart-table__head { font-size: 0.78rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--bg); border-radius: var(--r) var(--r) 0 0; }
.cart-line + .cart-line { border-top: 1px solid var(--line); }
.cart-line__product { display: flex; gap: 1rem; align-items: center; min-width: 0; }
.cart-line__media { flex: 0 0 auto; width: 84px; height: 84px; border-radius: var(--r); overflow: hidden; background: #eeeeec; border: 1px solid var(--line); }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__brand { margin: 0 0 0.2rem; font-size: 0.75rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.cart-line__brand span { text-transform: none; letter-spacing: 0; font-weight: 500; margin-left: 0.4rem; }
.cart-line__title { font-size: 1rem; margin: 0 0 0.4rem; line-height: 1.3; }
.cart-line__title a { text-decoration: none; }
.cart-line__title a:hover { color: var(--accent-2); }
.cart-line__price, .cart-line__total { font-weight: 650; color: var(--ink); line-height: 1.25; }
.cart-line__price small, .cart-line__total small { display: block; font-size: 0.78rem; font-weight: 500; color: var(--muted); }
.cart-line__total strong { font-size: 1.1rem; }
.cart-line__label { display: none; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 0.2rem; }
.cart-line .qty { height: 42px; }
.cart-line .qty__btn { width: 36px; }
.cart-line .qty__input { width: 52px; font-size: 0.95rem; }
.cart-lines__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.cart-lines__btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cart-summary { position: sticky; top: calc(var(--header-h) + 1rem); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r); padding: 1.4rem; }
.cart-summary h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.cart-summary__rows { margin: 0; display: grid; gap: 0.55rem; }
.cart-summary__rows > div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; }
.cart-summary__rows dt { color: var(--ink-2); }
.cart-summary__rows dt small { color: var(--muted); font-size: 0.8rem; }
.cart-summary__rows dd { margin: 0; font-weight: 650; }
.cart-summary__total { border-top: 1px solid var(--line); padding-top: 0.75rem; margin-top: 0.25rem; }
.cart-summary__total dt { font-weight: 700; color: var(--ink); }
.cart-summary__total dd { font-size: 1.35rem; font-stretch: 106%; font-weight: 800; letter-spacing: -0.01em; }
.cart-summary__note { display: flex; gap: 0.5rem; align-items: flex-start; margin: 1rem 0; padding: 0.7rem 0.85rem; background: var(--bg); border-radius: var(--r); font-size: 0.86rem; color: var(--ink-2); }
.cart-summary__note .ico { flex: 0 0 auto; color: var(--accent); margin-top: 0.1rem; }
.cart-summary__note--ok { background: var(--ok-soft); color: var(--ok); }
.cart-summary__note--ok .ico { color: var(--ok); }
.cart-summary__cta { width: 100%; }
.cart-summary__perks { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.55rem; font-size: 0.84rem; color: var(--ink-2); }
.cart-summary__perks li { display: flex; gap: 0.5rem; align-items: flex-start; }
.cart-summary__perks .ico { flex: 0 0 auto; width: 1rem; height: 1rem; color: var(--accent); margin-top: 0.15rem; }
.cart-intro .steps--compact li { padding: 0 0 1.1rem 3.2rem; font-size: 0.95rem; color: var(--ink-2); }
.cart-intro .steps--compact li::before { font-size: 1.6rem; top: -0.05rem; }
.cart-intro .steps--compact li::after { left: 0.95rem; top: 2rem; bottom: 0.3rem; }
.cart-intro .steps--compact strong { color: var(--ink); }
.empty--cart { padding: 3.5rem 2rem; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1.25rem; }
.order-recap { max-width: 760px; }
.order-recap tfoot td, .order-recap tfoot th { border-top: 1px solid var(--line); text-align: right; }
.order-recap tfoot th { font-size: 1.05rem; }
.order-recap td:last-child, .order-recap th:last-child { text-align: right; white-space: nowrap; }

/* ---------- Aviso flotante ---------- */

.toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 0.75rem; max-width: min(520px, calc(100% - 2rem)); background: var(--ink); color: #fff; padding: 0.85rem 1.1rem; border-radius: var(--r); box-shadow: 0 16px 40px rgba(23, 25, 28, 0.3); font-size: 0.92rem; animation: toast-in 0.35s var(--ease); }
.toast--error { background: var(--error); }
.toast .ico { flex: 0 0 auto; color: var(--accent); }
.toast--error .ico { color: #fff; }
.toast a { color: #fff; font-weight: 700; white-space: nowrap; text-underline-offset: 0.15em; }
.toast.is-leaving { opacity: 0; transition: opacity 0.3s; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (max-width: 1023px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .cart-summary { position: static; }
}
@media (max-width: 767px) {
  .cart-table__head { display: none; }
  .cart-line { grid-template-columns: 1fr 1fr; grid-template-areas: "product product" "price qty" "total remove"; gap: 0.75rem 1rem; padding: 1rem; }
  .cart-line__product { grid-area: product; }
  .cart-line__price { grid-area: price; }
  .cart-line__qty { grid-area: qty; justify-self: end; }
  .cart-line__total { grid-area: total; }
  .cart-line__remove { grid-area: remove; justify-self: end; }
  .cart-line__label { display: block; }
  .cart-line__media { width: 72px; height: 72px; }
}
.product-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.92rem; }
.product-perks li { display: flex; gap: 0.5rem; align-items: flex-start; }
.product-perks .ico { color: var(--ok); margin-top: 0.15rem; }
@media (max-width: 899px) { .product-top { grid-template-columns: minmax(0, 1fr); } }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature-grid div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; display: flex; gap: 0.8rem; align-items: flex-start; }
.feature-grid .ico { width: 1.5rem; height: 1.5rem; color: var(--accent); flex: 0 0 auto; }
.feature-grid p { margin: 0; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
@media (max-width: 899px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .feature-grid { grid-template-columns: 1fr; } }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0; }
.spec-grid div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0.9rem 1rem; }
.spec-grid dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 650; margin-bottom: 0.25rem; }
.spec-grid dd { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 899px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .spec-grid { grid-template-columns: 1fr; } }

.guarantee { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.guarantee div { border-top: 2px solid var(--accent); padding-top: 1rem; }
.guarantee .ico { width: 1.6rem; height: 1.6rem; color: var(--accent); margin-bottom: 0.6rem; }
.guarantee h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.guarantee p { margin: 0; font-size: 0.93rem; }
@media (max-width: 767px) { .guarantee { grid-template-columns: 1fr; } }

/* ---------- Nosotros ---------- */

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 1.75rem 2rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 0.4rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline strong { display: block; font-stretch: 110%; font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.35rem; }
.timeline p { margin: 0; }
.photo-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
.photo-grid figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.photo-grid figcaption { padding: 0.8rem 1rem; font-size: 0.9rem; color: var(--ink-2); }
.photo-grid figure:first-child { grid-row: span 2; }
.photo-grid figure:first-child img { height: auto; aspect-ratio: 4 / 3; }
@media (max-width: 767px) { .photo-grid { grid-template-columns: 1fr; } .photo-grid figure:first-child { grid-row: auto; } }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.team-grid div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; }
.team-grid .ico { width: 1.6rem; height: 1.6rem; color: var(--accent); margin-bottom: 0.7rem; }
.team-grid h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.team-grid p { margin: 0; font-size: 0.92rem; }
@media (max-width: 899px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .team-grid { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.values div { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.values h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.values p { margin: 0; font-size: 0.97rem; }
@media (max-width: 767px) { .values { grid-template-columns: 1fr; } }

/* ---------- Banda CTA ---------- */

.cta-band { background: var(--accent); color: #fff; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: clamp(2.5rem, 5vw, 4rem); }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; max-width: 22ch; }
.cta-band p { margin: 0; color: #fbe9df; max-width: 52ch; font-size: 1.05rem; }
.cta-band__actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.cta-band .btn--primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta-band .btn--primary:hover { background: #2b2e33; border-color: #2b2e33; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.cta-band__phone:hover { color: #fff; text-decoration: underline; }

/* ---------- Pie ---------- */

.site-footer { background: var(--ink); color: #c9ccd1; padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; font-size: 0.93rem; }
.site-footer a { color: #e6e8ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand img { width: 180px; height: auto; margin-bottom: 1.1rem; }
.footer__brand p { max-width: 42ch; }
.footer__brand address { line-height: 1.7; }
.footer__col h2 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.9rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer__col .linklike { color: #e6e8ea; }
.footer__trust { list-style: none; margin: 2.5rem 0 0; padding: 1.5rem 0; border-top: 1px solid #2f3237; border-bottom: 1px solid #2f3237; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.footer__trust li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer__trust .ico { color: var(--accent); margin-top: 0.15rem; }
.footer__bottom { padding-top: 1.25rem; font-size: 0.83rem; color: #9599a0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }
@media (max-width: 1023px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .footer__grid { grid-template-columns: 1fr; } .footer__trust { grid-template-columns: 1fr; } }

/* ---------- Aviso de cookies ---------- */

.cookie-banner { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; width: min(420px, calc(100% - 2rem)); }
.cookie-banner__in {
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(23, 25, 28, 0.22), 0 2px 8px rgba(23, 25, 28, 0.08);
  padding: 1.25rem 1.25rem 1.1rem; display: grid; gap: 1rem;
  animation: cookie-in 0.45s var(--ease) both;
}
@keyframes cookie-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cookie-banner__head { display: flex; gap: 0.85rem; align-items: flex-start; }
.cookie-banner__icon { flex: 0 0 auto; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-2); border-radius: var(--r); }
.cookie-banner__icon .ico { width: 1.4rem; height: 1.4rem; }
.cookie-banner__title { margin: 0 0 0.3rem; font-weight: 750; font-size: 1.02rem; font-stretch: 104%; letter-spacing: -0.01em; color: var(--ink); }
.cookie-banner__desc { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink-2); }
.cookie-banner__desc a { color: var(--ink); font-weight: 600; text-underline-offset: 0.15em; }
.cookie-banner__desc a:hover { color: var(--accent-2); }
.cookie-banner__prefs { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cookie-opt { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0.9rem; cursor: pointer; background: var(--surface); }
.cookie-opt + .cookie-opt { border-top: 1px solid var(--line); }
.cookie-opt:hover { background: var(--bg); }
.cookie-opt--locked { cursor: default; }
.cookie-opt__text { flex: 1 1 auto; display: grid; gap: 0.1rem; }
.cookie-opt__text strong { font-size: 0.9rem; color: var(--ink); }
.cookie-opt__text small { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.switch { position: relative; flex: 0 0 auto; width: 40px; height: 22px; border-radius: 11px; background: var(--line-strong); transition: background-color 0.2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 0.2s var(--ease); }
.switch__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__input:checked + .switch { background: var(--accent); }
.switch__input:checked + .switch::after { transform: translateX(18px); }
.switch__input:focus-visible + .switch { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch--locked { background: var(--ink); display: inline-flex; align-items: center; justify-content: flex-end; padding-right: 4px; color: #fff; }
.switch--locked::after { display: none; }
.switch--locked .ico { width: 0.8rem; height: 0.8rem; }
.cookie-banner__actions { display: grid; gap: 0.5rem; }
.cookie-banner__actions .btn { width: 100%; padding-block: 0.7rem; font-size: 0.93rem; }
.cookie-banner__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.cookie-banner__row .btn--ghost { text-decoration: none; color: var(--ink-2); }
.cookie-banner__row .btn--ghost:hover { color: var(--accent-2); background: var(--bg); }
.cookie-banner__row .btn .ico { width: 1rem; height: 1rem; }
@media (max-width: 479px) { .cookie-banner { left: 0.75rem; bottom: 0.75rem; width: calc(100% - 1.5rem); } .cookie-banner__in { padding: 1rem; } }

/* ---------- 404 y gracias ---------- */

.hero-simple { padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem); max-width: 62ch; }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.next-steps div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; }
.next-steps strong { display: block; font-stretch: 110%; font-size: 1.6rem; color: var(--accent); margin-bottom: 0.4rem; line-height: 1; }
.next-steps p { margin: 0; font-size: 0.95rem; }
@media (max-width: 767px) { .next-steps { grid-template-columns: 1fr; } }

/* ---------- Animación de entrada ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.no-js .reveal, .reveal.no-io { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Impresión ---------- */

@media print {
  .topbar, .site-header, .site-footer, .cookie-banner, .legal-nav, .cta-band, .lead-form { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-layout__in { grid-template-columns: 1fr; }
  a { color: #000; text-decoration: none; }
}
