/* ==========================================================================
   Solucionestextiles.cl — Estilos (diseño "Taller": negro + cobre)
   Tema oscuro por defecto; tema claro con [data-theme="light"] en <html>.
   --accent se puede cambiar desde el panel (Configuración > Color principal).
   ========================================================================== */
:root {
  color-scheme: dark;
  --bg: #0E0D0B; --bg2: #16130F; --card: #1B1814; --imgbg: #24201A;
  --fg: #F3ECE3; --muted: #A89C8E; --line: #352E26;
  --accent: #BD7119; --accent-ink: #D08A3A; --on-accent: #0E0D0B;
  --tint: #3A2A17; --ok: #7CC08F; --warn: #E0A458; --sale: #E0644F;
  --header-bg: rgba(14, 13, 11, .94);
  --shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  --fd: "Cormorant Garamond", Georgia, serif;
  --fb: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 4px; --r-sm: 2px;
  --header-h: 72px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #FBF8F3; --bg2: #F3ECE1; --card: #FFFFFF; --imgbg: #F6F0E6;
  --fg: #1C1915; --muted: #6B6157; --line: #E2D8CA;
  --accent-ink: #8F5410; --tint: #F1DEC4; --ok: #2F6B3F; --warn: #9A5B10; --sale: #B5332A;
  --header-bg: rgba(251, 248, 243, .94);
  --shadow: 0 20px 40px -22px rgba(40, 25, 10, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--fb);
  font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.ms {
  font-family: "Material Symbols Rounded"; font-weight: 300; font-style: normal;
  font-size: 1.25em; line-height: 1; display: inline-block; vertical-align: middle;
  font-feature-settings: "liga"; user-select: none;
}

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }

/* ---------- Tipografía ---------- */
.h1, .h2, .hero__title, .pdp__title { font-family: var(--fd); font-weight: 500; letter-spacing: -.01em; line-height: 1; }
.h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.h1 em, .h2 em, .hero__title em { font-style: italic; color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 36em; }
.eyebrow {
  display: inline-block; margin: 0 0 18px; font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow--light { color: var(--accent-ink); }
.eyebrow--accent { color: var(--sale); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 50px; padding: 0 26px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer; transition: filter .2s, background .2s, color .2s, border-color .2s;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover:not(:disabled) { filter: brightness(1.1); }
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { filter: brightness(.92); }
.btn--ghost, .btn--ghost-light, .btn--ghost-dark { border-color: var(--fg); color: var(--fg); background: none; }
.btn--ghost:hover, .btn--ghost-light:hover, .btn--ghost-dark:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 13px; }
.btn--lg { height: 54px; padding: 0 30px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; color: var(--accent-ink); font-size: 14px; letter-spacing: .04em; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow--light { color: var(--accent-ink); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: none; color: var(--fg); transition: border-color .2s;
}
.icon-btn:hover { border-color: var(--accent); }
.pill {
  display: inline-flex; align-items: center; gap: .3em; height: 36px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 13px; letter-spacing: .04em; background: none;
}
.pill:hover { border-color: var(--accent); }
.pill--active, .pill[aria-current="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill--accent { border-color: var(--sale); color: var(--sale); }

/* ---------- Barra superior + header ---------- */
.top {
  background: var(--accent); color: var(--on-accent); font-size: 12.5px; letter-spacing: .04em;
  text-align: center; padding: 7px 16px;
}
.top a:hover { text-decoration: underline; }
.header {
  position: sticky; top: 0; z-index: 40; background: var(--header-bg);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--fg); min-width: 0; }
.brand img { height: 44px; width: auto; flex: none; }
.brand__text { font-family: var(--fd); font-size: 19px; line-height: 1.05; font-weight: 600; }
.brand__text small {
  display: block; font-family: var(--fb); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); font-weight: 400;
}
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav__link { font-size: 14px; letter-spacing: .06em; color: var(--fg); transition: color .2s; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--accent-ink); }
.nav__head, .nav__cta-mobile { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.cart-btn { position: relative; width: auto; padding: 0 12px; gap: 6px; display: inline-flex; align-items: center; font-size: 14px; }
.cart-btn__count {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; line-height: 1;
  transition: transform .2s;
}
.cart-btn__count.is-empty { display: none; }
.cart-btn__count.bump { transform: scale(1.35); }
.header__burger { display: none; }
.theme-btn .t-sun { display: none; }
:root[data-theme="light"] .theme-btn .t-sun { display: block; }
:root[data-theme="light"] .theme-btn .t-moon { display: none; }

.search { display: none; border-top: 1px solid var(--line); }
.search.is-open { display: block; }
.search__inner { display: flex; align-items: center; gap: 12px; padding-block: 12px; }
.search__inner input {
  flex: 1; min-width: 0; height: 42px; background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--fg); outline: none; font-size: 16px;
}
.search__inner input:focus { border-color: var(--accent); }
.overlay { display: none; }

/* ---------- Secciones ---------- */
.section { padding-block: 88px; }
.section--tight { padding-block: 48px 72px; }
.section--light, .section--alt { background: var(--bg2); border-block: 1px solid var(--line); }
.section--dark { background: var(--bg2); border-block: 1px solid var(--line); }
.section__head, .sh {
  display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px;
}
.section__head .eyebrow { width: 100%; margin-bottom: -8px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head .h2, .sh h2 { margin: 0; }
.sh h2 { font-family: var(--fd); font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 500; line-height: 1; }
.sh p { margin: 0; color: var(--muted); max-width: 36em; }
.page-hero { padding-block: 64px 40px; border-bottom: 1px solid var(--line); }
.page-hero--dark { background: var(--bg2); }
.page-hero .lead { margin-top: 12px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs span { color: var(--fg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-block: 72px 64px; }
.hero__title { font-size: clamp(44px, 6.4vw, 86px); line-height: .98; margin: 0 0 22px; }
.hero__sub { font-size: 18px; color: var(--muted); max-width: 30em; margin: 0 0 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.stage { position: relative; aspect-ratio: 1 / 1; max-width: 100%; }
.stage__ring { position: absolute; inset: 6%; border: 1px dashed var(--accent); border-radius: 50%; opacity: .55; }
.stage__g { position: absolute; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .45)); }
.stage__g svg { width: 100%; height: auto; }
.stage__g--1 { width: 46%; left: 4%; top: 20%; }
.stage__g--2 { width: 52%; left: 30%; top: 6%; z-index: 2; }
.stage__g--3 { width: 44%; right: 2%; top: 30%; }
.stage__photo { position: absolute; inset: 8%; border-radius: 50%; overflow: hidden; }
.stage__photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 22px 20px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font-family: var(--fd); font-size: 30px; font-weight: 600; color: var(--accent-ink); line-height: 1; }
.facts span { font-size: 13px; color: var(--muted); }

/* ---------- Compra por línea ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat { background: var(--bg); padding: 24px 18px 20px; display: flex; flex-direction: column; gap: 6px; transition: background .2s; }
.cat:hover { background: var(--bg2); }
.cat svg, .cat img { width: 62%; height: auto; margin: 0 auto 10px; }
.cat img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.cat b { font-family: var(--fd); font-size: 24px; font-weight: 600; line-height: 1.1; }
.cat span { font-size: 13px; color: var(--muted); }

/* ---------- Escudos de colegio ---------- */
.schools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sch {
  position: relative; display: flex; gap: 14px; align-items: center; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; transition: border-color .2s;
}
.sch:hover { border-color: var(--accent); }
.sch[aria-current="true"] { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
.crest { width: 52px; height: 60px; flex: none; }
.sch b { display: block; font-size: 15px; line-height: 1.25; font-weight: 500; }
.sch span span, .sch small { font-size: 12.5px; color: var(--muted); }
.sch--all { background: var(--bg2); border-style: dashed; }
.sch--all .crest { color: var(--muted); }

/* ---------- Armador de uniforme ---------- */
.kit { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.kit-rows { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.kit-row {
  display: grid; grid-template-columns: 76px 1fr auto auto auto; gap: 16px; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.kit-row:last-child { border-bottom: 0; }
.kit-row__img { width: 76px; height: 76px; background: var(--imgbg); border-radius: var(--r); display: grid; place-items: center; overflow: hidden; }
.kit-row__img svg { width: 78%; height: auto; }
.kit-row__img img { width: 100%; height: 100%; object-fit: cover; }
.kit-row__name { min-width: 0; }
.kit-row__name a { display: block; font-weight: 500; }
.kit-row__name a:hover { color: var(--accent-ink); }
.kit-row__name small { font-size: 13px; color: var(--muted); }
.kit-row__price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kit-row__price.is-quote { font-weight: 400; color: var(--muted); font-size: 13px; }
.kit-row select { width: 120px; }
.kit-row select, .kit-sum select, .sort select {
  height: 38px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg);
  color: var(--fg); font-size: 14px; padding: 0 8px;
}
.kit-sum {
  position: sticky; top: calc(var(--header-h) + 20px); background: #0E0D0B; color: #F3ECE3;
  border: 1px solid #352E26; border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.kit-sum h3 { font-family: var(--fd); font-weight: 600; font-size: 28px; margin: 0; line-height: 1.1; }
.kit-sum p, .kit-sum label { margin: 0; font-size: 14px; color: #A89C8E; }
.kit-sum label { display: flex; flex-direction: column; gap: 6px; }
.kit-sum select { height: 44px; border-color: #3A332B; background: #1F1B16; color: #F3ECE3; }
.kit-sum__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed #5A4A38; padding-top: 14px; }
.kit-sum__total b { font-size: 24px; font-variant-numeric: tabular-nums; }
.kit-sum ul { margin: 0; padding: 0; list-style: none; font-size: 13px; color: #A89C8E; display: grid; gap: 6px; }
.kit-sum li::before { content: "·"; color: var(--accent); margin-right: 8px; font-weight: 700; }
.hint { padding: 40px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--r); }

/* ---------- Tarjeta de producto ---------- */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.grid-products--3 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pcard {
  position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; transition: border-color .2s, transform .2s;
}
.pcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.pcard__hit { position: absolute; inset: 0; z-index: 2; }
.pcard__media { position: relative; aspect-ratio: 1 / 1; background: var(--imgbg); display: grid; place-items: center; overflow: hidden; }
.pcard__media > svg { width: 72%; height: auto; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .14)); }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.pcard__alt { opacity: 0; }
.pcard:hover .pcard__alt { opacity: 1; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.badge {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--fg); color: var(--bg);
  padding: 3px 8px; border-radius: var(--r-sm); line-height: 1.5;
}
.badge--sale { background: var(--sale); color: #fff; }
.badge--new { background: var(--accent); color: var(--on-accent); }
.pcard__stock { position: absolute; bottom: 10px; left: 12px; font-size: 12px; color: var(--warn); background: var(--card); padding: 2px 8px; border-radius: var(--r-sm); z-index: 1; }
.pcard__stock--out { color: var(--muted); }
.pcard__body { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; flex: 1; }
.pcard__cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); font-weight: 500; }
.pcard__title { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 500; font-family: var(--fb); }
.pcard__meta { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.pcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 8px; }
.price { font-weight: 600; font-variant-numeric: tabular-nums; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.price s { font-weight: 400; color: var(--muted); font-size: 13px; }
.price--quote { font-weight: 400; color: var(--muted); font-size: 14px; }
.dots { display: flex; gap: 3px; align-items: center; }
.dots i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--line); }
.dots em { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 2px; }

/* ---------- Tienda (listado) ---------- */
.shop { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.shop__side { position: sticky; top: calc(var(--header-h) + 20px); }
.shop__side h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.cat-tree, .cat-tree ul { list-style: none; margin: 0; padding: 0; }
.cat-tree ul { padding-left: 14px; border-left: 1px solid var(--line); margin: 4px 0 8px; }
.cat-tree a { display: block; padding: 6px 0; font-size: 14px; color: var(--muted); }
.cat-tree a:hover { color: var(--fg); }
.cat-tree a.is-active { color: var(--accent-ink); }
.side-cta { margin-top: 28px; padding: 20px; border: 1px dashed var(--accent); border-radius: var(--r-sm); display: grid; gap: 8px; }
.side-cta .ms { color: var(--accent); font-size: 28px; }
.side-cta p { margin: 0; font-size: 14px; color: var(--muted); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.toolbar__filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.pager { display: flex; justify-content: center; gap: 20px; align-items: center; margin-top: 40px; font-size: 14px; color: var(--muted); }
.pager a { color: var(--fg); border: 1px solid var(--line); padding: 8px 16px; border-radius: var(--r-sm); }
.pager a:hover { border-color: var(--accent); }

/* ---------- Ficha de producto ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main { position: relative; aspect-ratio: 1 / 1; background: var(--imgbg); border-radius: var(--r); display: grid; place-items: center; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main > svg { width: 72%; max-width: 380px; height: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .16)); }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery__thumbs button { width: 72px; height: 72px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--imgbg); }
.gallery__thumbs button.is-active { border-color: var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pdp__info .eyebrow { margin: 0; }
.pdp__title { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 0; }
.pdp__info .lead { margin: 0; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp__price strong { font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pdp__price s { color: var(--muted); }
.pdp__price small { color: var(--muted); }
.save { font-size: 13px; color: var(--sale); }
.pdp__price--quote { font-size: 18px; color: var(--muted); }
.buy { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.opt { border: 0; padding: 0; margin: 0; }
.opt legend { font-size: 13px; color: var(--muted); margin-bottom: 8px; padding: 0; }
.opt legend strong { color: var(--fg); font-weight: 500; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch input, .size input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--sw); border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--fg); }
.swatch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size span {
  display: grid; place-items: center; min-width: 44px; height: 38px; padding: 0 10px; border: 1px solid var(--line);
  border-radius: var(--r-sm); font-size: 13px; cursor: pointer; background: var(--card);
}
.size input:checked + span { background: var(--fg); color: var(--card); border-color: var(--fg); }
.size input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.size.is-out span { opacity: .4; text-decoration: line-through; }
.stock-msg { margin: 0; font-size: 13px; min-height: 1em; }
.stock-msg.ok { color: var(--ok); }
.stock-msg.low { color: var(--warn); }
.embroidery { border: 1px dashed var(--accent); border-radius: var(--r-sm); padding: 12px; font-size: 14px; }
.embroidery summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.embroidery summary small { color: var(--muted); font-weight: 400; }
.embroidery input { width: 100%; height: 42px; margin: 10px 0 6px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--fg); }
.embroidery .muted { font-size: 12px; }
.buy__row { display: flex; gap: 10px; }
.buy__btn { flex: 1; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); }
.qty button { width: 40px; height: 48px; border: 0; background: none; font-size: 18px; }
.qty input { width: 44px; height: 48px; border: 0; background: none; text-align: center; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty--sm input { width: 64px; height: 38px; -moz-appearance: auto; }
.qty--sm input::-webkit-inner-spin-button { -webkit-appearance: auto; }
.assurances { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.assurances li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.assurances .ms { color: var(--accent); }
.assurances strong { display: block; font-weight: 500; }
.assurances small { color: var(--muted); }
.tabs details { border-bottom: 1px solid var(--line); }
.tabs summary, .faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.tabs summary { font-weight: 500; }
.tabs summary::-webkit-details-marker, .faq summary::-webkit-details-marker, .embroidery summary::-webkit-details-marker { display: none; }
.tabs summary .ms, .faq summary .ms { color: var(--accent); transition: transform .2s; }
.tabs details[open] summary .ms, .faq details[open] summary .ms { transform: rotate(45deg); }
.tabs details > p { color: var(--muted); }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0 0 16px; font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.sticky-buy { display: none; }

/* ---------- Rubros ---------- */
.rub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rub a { background: var(--card); padding: 22px; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; transition: background .2s; }
.rub a:hover { background: var(--bg2); }
.rub svg { width: 64px; height: auto; }
.rub b { display: block; font-size: 17px; font-weight: 500; }
.rub span span { font-size: 13px; color: var(--muted); }

/* ---------- Bordado ---------- */
.emb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.hoop {
  position: relative; aspect-ratio: 1 / 1; max-width: 420px; width: 100%; border-radius: 50%;
  border: 10px solid #5A3E2B; box-shadow: inset 0 0 0 2px #7A5638;
  background: repeating-linear-gradient(45deg, #1F1B16 0 3px, #24201A 3px 6px); display: grid; place-items: center;
}
.hoop img { width: 50%; }
.hoop svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.emb-list { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.emb-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 10px; align-items: baseline; }
.emb-list li::before { content: ""; width: 14px; border-top: 1px dashed var(--accent); flex: none; transform: translateY(-4px); }

/* ---------- Formularios ---------- */
.qf { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.qf label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qf input, .qf select, .qf textarea,
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--fg);
  font-size: 15px; letter-spacing: 0; text-transform: none; padding: 11px 12px; transition: border-color .2s;
}
.qf input:focus, .qf select:focus, .qf textarea:focus,
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.qf .full { grid-column: 1 / -1; }
.qf button { grid-column: 1 / -1; justify-self: start; }
.qf--card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.qf--card button { justify-self: stretch; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.form-card h3 { font-family: var(--fd); font-size: 26px; font-weight: 600; margin: 8px 0 0; display: flex; align-items: center; gap: 10px; }
.form-card.highlight { border-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input[type=file] { padding: 9px; }
.field ul { list-style: none; padding: 0; margin: 0; }
.span-2 { grid-column: 1 / -1; }
.req { color: var(--accent-ink); }
.error { color: var(--sale); font-size: 13px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--sale); }
.step-dot { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-ink); font-family: var(--fb); font-size: 14px; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--tint); }
.radio-card input { accent-color: var(--accent); margin-top: 5px; }
.radio-card strong { display: block; font-weight: 500; }
.radio-card small { color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { accent-color: var(--accent); margin-top: 4px; }
.check a { color: var(--accent-ink); text-decoration: underline; }
.check.has-error { color: var(--sale); }

/* ---------- Generacionales ---------- */
.gen { background: var(--tint); border: 1px solid var(--line); border-radius: var(--r); padding: 36px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.gen svg { width: 110px; height: auto; }
.gen h2 { font-family: var(--fd); font-weight: 600; font-size: clamp(28px, 3vw, 40px); margin: 0 0 8px; line-height: 1.05; }
.gen p { margin: 0; max-width: 40em; }

/* ---------- Servicios ---------- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc article { border-top: 1px solid var(--accent); padding-top: 22px; }
.svc h3 { font-family: var(--fd); font-size: 28px; font-weight: 600; margin: 0 0 10px; }
.svc h3 a:hover { color: var(--accent-ink); }
.svc p { color: var(--muted); margin: 0 0 14px; }
.svc ul { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; }
.svc li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 40px; border-bottom: 1px solid var(--line); }
.svc-row--rev .svc-row__media { order: 2; }
.svc-row__media img, .svc-row__media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.service__num { font-family: var(--fd); font-size: 18px; color: var(--accent-ink); }
.svc-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; margin-bottom: 48px; }
.svc-detail__img { border-radius: var(--r); }
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.item-card { border-top: 1px solid var(--accent); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.item-card img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
.item-card h3 { font-family: var(--fd); font-size: 24px; font-weight: 600; margin: 0; }
.item-card p { color: var(--muted); margin: 0; font-size: 14px; }
.checklist { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: baseline; }
.checklist .ms { color: var(--accent); font-size: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.step { border-top: 1px solid var(--accent); padding-top: 18px; }
.step__n { font-family: var(--fd); font-size: 40px; color: var(--accent-ink); line-height: 1; display: block; margin-bottom: 8px; }
.step h3 { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Nosotros / páginas ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; }
.about__big { font-family: var(--fd); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; font-weight: 500; margin: 0; }
.about__img img, .about__img .ph { border-radius: var(--r); width: 100%; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.mv--stack { grid-template-columns: 1fr; margin-top: 0; }
.mv h3, .mv__card h2 { margin: 0 0 6px; font-family: var(--fb); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-ink); font-weight: 500; }
.mv p { margin: 0; color: var(--muted); }
.mv__card { border-top: 1px solid var(--accent); padding-top: 18px; }
.mv__card .ms { display: none; }
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--fd); font-size: 30px; font-weight: 600; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 17px; font-weight: 500; margin: 1.4em 0 .4em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--fg); font-weight: 500; }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.trust__item { display: flex; gap: 12px; align-items: flex-start; border-top: 1px solid var(--accent); padding-top: 16px; }
.trust__item .ms { color: var(--accent); font-size: 26px; }
.trust__item strong { display: block; font-weight: 500; }
.trust__item small { color: var(--muted); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--fd); font-size: 24px; font-weight: 600; padding: 20px 0; }
.faq details > p, .faq details > div { padding: 0 0 22px; margin: 0; color: var(--muted); max-width: 62em; }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
.contact__cards { display: grid; gap: 12px; }
.contact-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
a.contact-card:hover { border-color: var(--accent); }
.contact-card .ms { grid-row: span 2; color: var(--accent); font-size: 26px; }
.contact-card strong { font-weight: 500; }
.contact-card small { color: var(--muted); }
.contact__map iframe, .contact__map .ph { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r); }

/* ---------- Placeholder ---------- */
.ph { background: var(--imgbg); display: grid; place-items: center; align-content: center; gap: 6px; color: var(--muted); text-align: center; width: 100%; height: 100%; }
.ph span { font-family: var(--fd); font-size: 48px; color: var(--accent-ink); }
.ph--lg { aspect-ratio: 4 / 3; border-radius: var(--r); }

/* ---------- Carrito y checkout ---------- */
.checkout-steps { list-style: none; display: flex; gap: 20px; padding: 0; margin: 0 0 24px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.checkout-steps li { counter-increment: st; }
.checkout-steps li::before { content: counter(st) ". "; }
.checkout-steps .is-active { color: var(--accent-ink); }
.checkout-steps .is-done { color: var(--fg); }
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; margin-top: 24px; }
.cart__items { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0 20px; }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item__img { width: 80px; height: 80px; background: var(--imgbg); border-radius: var(--r); overflow: hidden; display: grid; place-items: center; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__img svg { width: 80%; height: auto; }
.cart-item__info { display: flex; flex-direction: column; min-width: 0; }
.cart-item__info strong { font-weight: 500; }
.cart-item__info small, .cart-item__unit { color: var(--muted); font-size: 13px; }
.cart-item__info .warn { color: var(--warn); }
.cart-item__sub { font-variant-numeric: tabular-nums; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.summary h3 { font-family: var(--fd); font-size: 26px; font-weight: 600; margin: 0; }
.summary__row, .summary__item { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.summary__item small { display: block; color: var(--muted); }
.summary__total { border-top: 1px solid var(--line); padding-top: 14px; font-size: 18px; }
.summary__total strong { font-variant-numeric: tabular-nums; }
.summary__note { font-size: 12px; color: var(--muted); margin: 0; display: flex; gap: 6px; align-items: center; }
.success { text-align: center; padding-block: 24px 32px; }
.success__icon { font-size: 56px; color: var(--accent); }
.success .lead { margin-inline: auto; }
.bank { white-space: pre-wrap; background: var(--bg); border: 1px solid var(--line); padding: 14px; border-radius: var(--r-sm); font-family: inherit; }
.empty { text-align: center; padding: 56px 16px; color: var(--muted); grid-column: 1 / -1; }
.empty .ms { font-size: 44px; color: var(--accent); }
.empty h3, .empty h1 { color: var(--fg); font-family: var(--fd); font-size: 32px; font-weight: 600; margin-top: 12px; }

/* ---------- Cotización ---------- */
.quote { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.quote__wa { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- CTA final ---------- */
.cta-band { background: var(--accent); color: var(--on-accent); padding-block: 56px; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band .h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; max-width: 40em; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--dark { background: #0E0D0B; color: #F3ECE3; }
.cta-band .btn--ghost-dark { border-color: #0E0D0B; color: #0E0D0B; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: 14px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 32px; }
.footer__contact p { display: flex; gap: 8px; align-items: flex-start; }
.footer__contact .ms { color: var(--accent); }
.footer h4 { color: var(--fg); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 14px; font-weight: 500; font-family: var(--fb); }
.footer__grid a { display: block; padding: 3px 0; }
.footer__grid a:hover { color: var(--accent-ink); }
.footer__grid .brand { display: flex; margin-bottom: 14px; }
.footer__grid p { margin: 0 0 6px; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { border: 1px solid var(--line); padding: 4px 10px; border-radius: var(--r-sm); font-size: 12px; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pay { display: flex; gap: 8px; flex-wrap: wrap; }
.pay span { border: 1px solid var(--line); padding: 3px 8px; border-radius: var(--r-sm); font-size: 11px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 45; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); white-space: nowrap;
  background: var(--fg); color: var(--bg); font-size: 13px; padding: 8px 12px; border-radius: var(--r-sm);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.wa-float:hover .wa-float__tip, .wa-float.show-tip .wa-float__tip { opacity: 1; transform: translate(0, -50%); }

/* ---------- Toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: max-content; max-width: calc(100% - 32px); }
.toast { background: var(--fg); color: var(--bg); padding: 10px 18px; border-radius: var(--r-sm); font-size: 14px; animation: toast-in .25s ease-out; }
.toast--warning, .toast--error { background: var(--sale); color: #fff; }
.form-card .toast, .toast--inline { position: static; animation: none; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Animación ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.stars { color: var(--accent); letter-spacing: 2px; }
.stars-off { opacity: .25; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .schools { grid-template-columns: repeat(2, 1fr); }
  .kit { grid-template-columns: 1fr; }
  .kit-sum { position: static; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .header__inner { gap: 12px; }
  .header__burger { display: inline-grid; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(320px, 86vw); flex-direction: column; align-items: stretch;
    gap: 0; margin: 0; padding: 20px; background: var(--bg); border-right: 1px solid var(--line);
    transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto;
  }
  .menu-open .nav { transform: none; }
  .nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-family: var(--fd); font-size: 24px; }
  .nav__head button { background: none; border: 0; color: var(--fg); }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__cta-mobile { display: inline-flex; margin-top: 20px; }
  .overlay { position: fixed; inset: 0; z-index: 55; background: rgba(10, 9, 8, .6); }
  .menu-open .overlay { display: block; }
  .header__actions { margin-left: auto; }
  .hero__inner, .emb-grid, .about, .faq-wrap, .contact, .quote, .pdp, .svc-detail, .svc-row, .kit, .cart, .shop { grid-template-columns: minmax(0, 1fr); }
  .btn--block, .buy__btn { white-space: normal; height: auto; min-height: 50px; padding-block: 10px; text-align: center; }
  .svc-row--rev .svc-row__media { order: 0; }
  .stage { max-width: 440px; margin-inline: auto; width: 100%; }
  .svc, .rub { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div { border-bottom: 1px solid var(--line); }
  .shop { grid-template-columns: 1fr; }
  .shop__side { position: static; }
  .cat-tree { display: flex; flex-wrap: wrap; gap: 6px; }
  .cat-tree > li > a { border: 1px solid var(--line); padding: 6px 12px; border-radius: var(--r-sm); }
  .cat-tree ul { display: none; }
  .side-cta { display: none; }
  .cart { grid-template-columns: 1fr; }
  .summary, .gallery { position: static; }
  .gen { grid-template-columns: 1fr; }
  .gen svg { display: none; }
  .sticky-buy {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; justify-content: space-between; align-items: center;
    gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line);
  }
  .sticky-buy div { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
  .sticky-buy small { color: var(--muted); font-size: 12px; }
  .page-product .wa-float { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  .section { padding-block: 60px; }
  .hero__inner { padding-block: 44px; }
  .brand__text { font-size: 16px; }
  .brand__text small { display: none; }
  .brand img { height: 38px; }
  .cart-btn__label { display: none; }
  .svc, .rub, .qf, .emb-list, .form-grid, .mv, .footer__grid { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr 1fr; }
  .grid-products, .grid-products--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard__body { padding: 10px 12px 12px; }
  .pcard__title { font-size: 15px; }
  .dots { display: none; }
  .kit-row { grid-template-columns: 64px 1fr auto; row-gap: 8px; }
  .kit-row__img { width: 64px; height: 64px; }
  .kit-row select { grid-column: 2; }
  .kit-row .btn { grid-column: 3; }
  .kit-row__price { grid-column: 3; grid-row: 1; }
  .cart-item { grid-template-columns: 64px 1fr auto; }
  .cart-item__img { width: 64px; height: 64px; }
  .cart-item .qty { grid-column: 2; justify-self: start; }
  .gen { padding: 24px; }
  .wa-float__tip { display: none; }
}
@media (max-width: 480px) {
  .brand__text { display: none; }
  .header__actions { gap: 6px; }
}
@media (max-width: 420px) {
  .schools { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
:root[data-theme="light"] .hoop { border-color: #8A6446; background: repeating-linear-gradient(45deg, #EFE6D8 0 3px, #E7DCCB 3px 6px); }

/* ==========================================================================
   Bloques de neuroventas del sitio original (adaptados al tema)
   ========================================================================== */
.top .ms { font-size: 1em; }
.header__cta { margin-left: 4px; }

/* Menú desplegable */
.nav__item { position: relative; }
.has-drop > .nav__link { display: inline-flex; align-items: center; gap: 2px; }
.has-drop > .nav__link .ms { font-size: 18px; transition: transform .2s; }
.drop {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translate(-50%, 6px); z-index: 50;
  display: grid; grid-auto-flow: column; gap: 28px; padding: 24px; min-width: max-content;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-drop:hover > .nav__link .ms { transform: rotate(180deg); }
.drop__col { display: flex; flex-direction: column; gap: 6px; min-width: 150px; }
.drop__col a { font-size: 14px; color: var(--muted); }
.drop__col a:hover { color: var(--accent-ink); }
.drop__col .drop__title { font-family: var(--fd); font-size: 20px; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.drop__promo { justify-content: flex-start; gap: 8px; }
.drop__promo .pill { justify-content: center; }
.drop--small { grid-auto-flow: row; gap: 4px; padding: 14px; }
.drop__service { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); font-size: 14px; }
.drop__service:hover { background: var(--bg2); color: var(--accent-ink); }
.drop__service .ms { color: var(--accent); }

/* Hero con slider */
.hero__slide { display: none; }
.hero__slide.is-active { display: block; animation: hero-in .6s ease; }
@keyframes hero-in { from { opacity: 0; } }
.hero__visual { position: relative; }
.hero__proof { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.hero__proof li { display: flex; align-items: center; gap: 6px; }
.hero__proof .ms { color: var(--accent); }
.chip {
  position: absolute; z-index: 3; display: flex; gap: 10px; align-items: center; padding: 12px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); font-size: 13px;
}
.chip .ms { color: var(--accent); font-size: 24px; }
.chip strong { display: block; font-weight: 500; }
.chip small { color: var(--muted); }
.chip--a { left: -4%; bottom: 14%; animation: float 6s ease-in-out infinite; }
.chip--b { right: -2%; top: 8%; animation: float 6s ease-in-out 3s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero__dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button { width: 28px; height: 3px; padding: 0; border: 0; background: var(--line); }
.hero__dots button.is-active { background: var(--accent); }

/* Franja de confianza */
.trust { border-bottom: 1px solid var(--line); }
.trust > .trust__grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust > .trust__grid .trust__item { border-top: 0; border-right: 1px solid var(--line); padding: 22px 20px; }
.trust > .trust__grid .trust__item:last-child { border-right: 0; }

/* Caminos (categorías) */
.cat { position: relative; }
.cat__num { position: absolute; top: 14px; left: 16px; font-family: var(--fd); font-size: 18px; color: var(--accent-ink); }
.cat .link-arrow { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--accent-ink); }

/* Encabezados de sección */
.section__head--split > div { max-width: 46em; }
.section__head--split .lead { margin: 14px 0 0; }
.section__head .eyebrow .ms { font-size: 1.2em; }

/* Servicios (tarjetas) */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: border-color .2s, transform .2s; }
.service:hover { border-color: var(--accent); transform: translateY(-2px); }
.service__media { aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: var(--imgbg); display: grid; place-items: center; margin-bottom: 8px; }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__media .ms { font-size: 48px; color: var(--accent); }
.service h3 { font-family: var(--fd); font-size: 28px; font-weight: 600; margin: 0; }
.service p { color: var(--muted); margin: 0; font-size: 14px; }
.service__cta { margin-top: auto; padding-top: 8px; color: var(--accent-ink); font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }

/* Ofertas */
.section--offers { background: linear-gradient(180deg, color-mix(in srgb, var(--sale) 8%, var(--bg)), var(--bg)); }

/* Tarjeta: sellos extra */
.badge--soft { background: var(--card); color: var(--accent-ink); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 3px; }
.badge--soft .ms { font-size: 13px; }
.pcard__stock .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); margin-right: 4px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.price strong { font-weight: 600; }
.price small { color: var(--muted); font-weight: 400; }
.pcard__go { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--accent-ink); flex: none; transition: background .2s, color .2s; }
.pcard__go .ms { font-size: 18px; }
.pcard:hover .pcard__go { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* Nosotros + cifras */
.about-strip__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about-strip__big { display: flex; align-items: flex-start; flex-wrap: wrap; font-family: var(--fd); color: var(--accent-ink); line-height: .85; }
.about-strip__num { font-size: clamp(120px, 16vw, 220px); font-weight: 500; }
.about-strip__plus { font-size: clamp(60px, 7vw, 100px); }
.about-strip__big small { flex-basis: 100%; font-family: var(--fb); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.5; margin-top: 16px; }
.about-strip .lead { margin-bottom: 20px; }
.stats { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 24px; }
.stats strong { font-family: var(--fd); font-size: 26px; font-weight: 600; color: var(--accent-ink); }

/* Testimonios y logos */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.testimonial blockquote { margin: 0; font-family: var(--fd); font-size: 21px; line-height: 1.35; }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.testimonial figcaption img, .avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; background: var(--tint); color: var(--accent-ink); font-family: var(--fd); font-size: 20px; }
.testimonial strong { display: block; font-weight: 500; }
.testimonial small { color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; margin-top: 48px; }
.logos img { height: 44px; width: auto; opacity: .7; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.logos img:hover { opacity: 1; filter: none; }

@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__item > .nav__link { border-bottom: 0; display: flex; justify-content: space-between; }
  .drop { position: static; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; padding: 0 0 12px 12px; grid-auto-flow: row; gap: 14px; min-width: 0; background: none; }
  .drop::before { display: none; }
  .has-drop.is-open .drop { display: grid; }
  .has-drop.is-open > .nav__link .ms { transform: rotate(180deg); }
  .has-drop:hover .drop, .has-drop:focus-within .drop { transform: none; }
  .chip { display: none; }
  .hero__proof { gap: 8px 16px; }
  .trust > .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust > .trust__grid .trust__item:nth-child(2n) { border-right: 0; }
  .trust > .trust__grid .trust__item { border-bottom: 1px solid var(--line); }
  .about-strip__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .trust > .trust__grid { grid-template-columns: 1fr; }
  .trust > .trust__grid .trust__item { border-right: 0; }
  .pcard__go { display: none; }
  .hero__dots { bottom: 12px; }
}
