/* =====================================================================
   TECNO INFORMÁTICA · Estilos
   Tema corporativo claro
   Azul primario #0076CE · Azul oscuro #0672CB · Hover #005392
   Texto #000000 / #222222 · Bordes #CCCCCC · Superficie #F4F4F4 · Blanco #FFFFFF
   Verde de confirmación #00B388 (HPE green teal)
   ===================================================================== */

:root {
  /* Paleta corporativa */
  --primary: #0076CE;          /* botones, enlaces, acentos */
  --primary-dark: #0672CB;     /* íconos, etiquetas */
  --primary-hover: #005392;    /* hover / estados activos */
  --primary-soft: #E6F1FA;     /* fondos suaves con tinte azul */
  --on-primary: #FFFFFF;       /* texto sobre azul */
  --on-dark-accent: #7CC4FF;   /* acento legible sobre fotos oscuras */
  --white: #FFFFFF;
  --brand-accent: #0076CE;     /* palabra "Informática" del logotipo */

  /* Neutros */
  --text-strong: #000000;
  --text: #222222;
  --text-muted: #555555;
  --text-dim: #6B6B6B;
  --border: #E1E1E1;
  --border-strong: #CCCCCC;

  /* Superficies */
  --bg: #FFFFFF;
  --bg-2: #F4F4F4;
  --surface: #FFFFFF;
  --surface-2: #F4F4F4;
  --surface-solid: #FFFFFF;
  --media-bg: #F4F4F4;

  /* Mensajes */
  --success: #00B388;          /* HPE green teal */
  --on-success: #00261C;       /* texto sobre verde (contraste AA) */
  --danger: #C62828;
  --wa: #25D366;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.22);
  --shadow-primary: 0 8px 22px -10px rgba(0, 118, 206, 0.45);

  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--primary); color: var(--on-primary); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 48px; padding: 0 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .98rem; letter-spacing: .005em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { border-color: var(--border-strong); color: var(--text); background: var(--bg); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); background: var(--surface); }
.btn-wa { background: var(--wa); color: #03260f; }
.btn-wa:hover { background: #3be27b; }
.btn-sm { height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px; color: var(--text);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 1rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(0,118,206,.2); }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; color: var(--primary); font-weight: 600; }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .35s, border-color .35s, transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 46px; height: auto; }
.brand-name { font-family: var(--font-head); font-size: 1.18rem; letter-spacing: -0.01em; font-weight: 500; }
.brand-name strong { font-weight: 700; color: var(--brand-accent); margin-left: 2px; }

.main-nav { margin-left: auto; display: flex; gap: 4px; }
.nav-link {
  position: relative; padding: 10px 14px; border-radius: 10px; color: var(--text-muted);
  font-weight: 500; font-size: .95rem; transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--primary); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--primary); color: var(--on-primary);
  font-size: .7rem; font-weight: 700; display: grid; place-items: center;
}
.cart-count[data-empty="true"] { display: none; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(40px, 8vh, 90px)); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .10; }
.glow-a { width: 520px; height: 520px; background: var(--primary); top: -160px; left: -120px; }
.glow-b { width: 420px; height: 420px; background: var(--primary-hover); top: 120px; right: -120px; }

.hero-copy { position: relative; text-align: center; max-width: 1140px; }
.hero-title { font-size: clamp(2.4rem, 6.6vw, 5.3rem); font-weight: 700; margin-bottom: .35em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .word { display: inline-block; will-change: transform; }
.hero-title .accent {
  background: linear-gradient(95deg, var(--primary-hover) 0%, var(--primary) 60%, var(--primary-dark) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--text-muted); max-width: 640px; margin: 0 auto 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-trust {
  list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px 26px; color: var(--text-muted); font-size: .93rem;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { color: var(--primary-dark); width: 18px; height: 18px; }

.hero-expand { position: relative; margin-top: clamp(40px, 7vh, 72px); height: 100vh; height: 100svh; }
.hero-media {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  clip-path: inset(0 12% 18% 12% round 14px);
  will-change: clip-path;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transform-origin: 50% 40%; will-change: transform; }
.hero-media-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.92) 100%);
}
.hero-media-caption {
  position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%);
  width: min(90%, 720px); text-align: center; opacity: 0;
}
.caption-title { font-family: var(--font-head); font-size: clamp(1.7rem, 4.4vw, 3.4rem); font-weight: 700; line-height: 1.05; margin-bottom: 1.2rem; letter-spacing: -0.02em; }

/* ---------- Cinta ---------- */
.ticker {
  border-block: 1px solid var(--border); background: var(--bg-2);
  overflow: hidden; padding: 18px 0; position: relative; z-index: 2;
}
.ticker-track { display: flex; width: max-content; gap: 0; will-change: transform; }
.ticker-track span {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--text-dim); padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap;
}
.ticker-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-left: 28px; }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 11vw, 130px) 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: .3em; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

/* ---------- Categorías ---------- */
.cat-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(12, 1fr);
}
.cat-card {
  position: relative; grid-column: span 3; min-height: 250px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border); isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  text-align: left; transition: border-color .3s, transform .4s var(--ease);
}
.cat-card:nth-child(1) { grid-column: span 6; grid-row: span 2; min-height: 516px; }
.cat-card:nth-child(2), .cat-card:nth-child(3) { grid-column: span 3; }
.cat-card:nth-child(n+4) { grid-column: span 3; }
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .8s var(--ease); transform: scale(1.04);
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.95) 100%);
}
.cat-card:hover { border-color: rgba(0,118,206,.6); transform: translateY(-4px); }
.cat-card:hover img { transform: scale(1.12); }
.cat-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(0, 0, 0, .45); border: 1px solid var(--border-strong); color: var(--primary);
  margin-bottom: auto; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cat-card h3 { font-size: 1.3rem; margin: 0 0 4px; }
.cat-card:nth-child(1) h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cat-card p { color: var(--text-muted); margin: 0; font-size: .93rem; }
.cat-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: .85rem; color: var(--primary); font-weight: 600; }
.cat-meta .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.cat-card:hover .cat-meta .ico { transform: translateX(4px); }

/* ---------- Productos ---------- */
.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.product-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.product-card:hover { border-color: var(--border-strong); transform: translateY(-5px); box-shadow: var(--shadow); }
.product-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--media-bg);
  cursor: pointer; border: 0; width: 100%; display: block;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-media .img-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease), transform .7s var(--ease); }
@media (hover: hover) { .product-card:hover .product-media .img-alt { opacity: 1; } }
.photo-pill {
  position: absolute; left: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600;
  background: rgba(0,0,0,.72); color: #fff; border: 1px solid rgba(255,255,255,.25);
}
.photo-pill .ico { width: 14px; height: 14px; }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 10px; border-radius: 4px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--primary); color: var(--on-primary);
}
.badge[data-tipo="nuevo"] { background: var(--primary); color: var(--white); }
.badge[data-tipo="top-ventas"] { background: var(--text-strong); color: var(--white); }
.stock-pill {
  position: absolute; top: 12px; right: 12px; z-index: 1; padding: 5px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; background: rgba(255,255,255,.95); color: var(--text);
  border: 1px solid var(--border-strong);
}
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .74rem; color: var(--primary-dark); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.product-name { font-family: var(--font-head); font-size: 1.06rem; font-weight: 600; line-height: 1.3; margin: 0 0 10px; }
.product-name button { text-align: left; }
.product-name button:hover { color: var(--primary); }
.product-specs { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.product-specs li { font-size: .74rem; color: var(--text-muted); background: var(--bg-2); border: 1px solid var(--border); padding: 3px 8px; border-radius: 6px; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: auto; margin-bottom: 14px; }
.price { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--text-strong); }
.price-old { color: var(--text-dim); text-decoration: line-through; font-size: .92rem; }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.product-actions .btn { height: 42px; font-size: .9rem; padding: 0 14px; }
.btn-ask { width: 42px; padding: 0 !important; border-radius: 12px; }
.btn-add.is-added { background: var(--success); color: var(--on-success); box-shadow: none; }

/* ---------- Parallax: Arma tu PC ---------- */
.parallax-band { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; padding: 110px 0; }
.parallax-bg { position: absolute; inset: -18% 0; z-index: 0; will-change: transform; }
.parallax-bg img { width: 100%; height: 100%; object-fit: cover; }
.parallax-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.82) 42%, rgba(0,0,0,.2) 100%),
    radial-gradient(circle at 80% 50%, rgba(0,118,206,.35), transparent 60%);
}
.parallax-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.parallax-copy { max-width: 560px; }
.parallax-copy p:not(.eyebrow) { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 1.8rem; }
.float-chips { position: relative; height: 380px; }
.chip-float {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: .95rem;
  background: rgba(0, 0, 0, .5); border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow);
  will-change: transform;
}
.chip-float .ico { color: var(--primary); }
.chip-float:nth-child(1) { top: 6%; left: 8%; }
.chip-float:nth-child(2) { top: 30%; right: 2%; }
.chip-float:nth-child(3) { top: 56%; left: 0; }
.chip-float:nth-child(4) { bottom: 4%; right: 12%; border-color: rgba(0,118,206,.5); }

/* ---------- Catálogo ---------- */
.catalog-tools { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.search {
  flex: 1 1 320px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,118,206,.15); }
.search .ico { color: var(--text-dim); }
.search input { flex: 1; border: 0; background: none; outline: none; height: 100%; min-width: 0; }
.search input::placeholder { color: var(--text-dim); }
.sort select {
  height: 52px; padding: 0 40px 0 16px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--surface-solid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.filter-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.filter-chip {
  flex: none; height: 40px; padding: 0 16px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500;
  border: 1px solid var(--border); color: var(--text-muted); background: var(--bg);
  transition: all .2s;
}
.filter-chip:hover { border-color: var(--border-strong); color: var(--text); }
.filter-chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); font-weight: 600; }
.filter-chip .n { opacity: .65; margin-left: 4px; font-size: .8em; }
.result-count { color: var(--text-dim); font-size: .9rem; margin: 8px 0 18px; }
.empty-state { text-align: center; padding: 50px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty-state p { color: var(--text-muted); }
.empty-state strong { color: var(--text); }

/* ---------- Empresas ---------- */
.business-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.business-media { position: relative; }
.business-img-wrap { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--border); }
.business-img { width: 100%; height: 125%; object-fit: cover; will-change: transform; }
.business-badge {
  position: absolute; right: -18px; bottom: 36px; display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; border-radius: 18px; background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow);
}
.business-badge strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.business-badge span { font-size: .85rem; font-weight: 600; line-height: 1.3; }
.business-copy > p { color: var(--text-muted); font-size: 1.06rem; }
.biz-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; }
.biz-list li { display: flex; gap: 16px; align-items: flex-start; }
.biz-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(0,118,206,.25); border: 1px solid rgba(0,118,206,.35); color: var(--primary-dark); }
.biz-list strong { font-family: var(--font-head); font-size: 1.08rem; }
.biz-list p { color: var(--text-muted); margin: 2px 0 0; font-size: .95rem; }

/* ---------- Beneficios ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.stat { background: var(--bg); padding: 30px 24px; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--primary); line-height: 1.05; }
.stat span { color: var(--text-muted); font-size: .93rem; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, transform .4s var(--ease); }
.feature:hover { border-color: rgba(0,118,206,.45); transform: translateY(-4px); }
.feature .ico { width: 30px; height: 30px; color: var(--primary-dark); margin-bottom: 18px; }
.feature p { color: var(--text-muted); margin: 0; font-size: .95rem; }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); overflow: hidden; }
.step-n { font-family: var(--font-head); font-size: 3.4rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(0,118,206,.7); display: block; margin-bottom: 18px; }
.step p { color: var(--text-muted); margin: 0; }

/* ---------- CTA final ---------- */
.cta-final { padding: clamp(72px, 10vw, 120px) 0; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, rgba(0,118,206,.10), transparent 60%), var(--bg-2); }
.cta-inner { text-align: center; max-width: 760px; }
.cta-inner p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.25fr; gap: 36px; padding-bottom: 40px; }
.footer-brand p { color: var(--text-muted); margin-top: 14px; max-width: 320px; }
.footer-title { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: var(--text-muted); transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--primary); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-muted); font-size: .95rem; }
.footer-contact .ico { width: 18px; height: 18px; color: var(--primary-dark); margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.7); transition: transform .3s var(--ease);
}
.wa-float .ico { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Carrito ---------- */
.overlay { position: fixed; inset: 0; z-index: 140; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(440px, 100%);
  background: var(--surface-solid); border-left: 1px solid var(--border-strong);
  display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-size: 1.35rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 68px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; background: var(--media-bg); }
.cart-item h4 { font-size: .92rem; margin: 0 0 6px; font-family: var(--font-head); font-weight: 600; line-height: 1.3; }
.cart-item .unit { font-size: .82rem; color: var(--text-dim); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 10px; margin-top: 6px; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--text-muted); }
.qty button:hover { color: var(--primary); }
.qty .ico { width: 16px; height: 16px; }
.qty span { min-width: 26px; text-align: center; font-weight: 600; font-size: .9rem; }
.cart-item-right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.cart-item-right strong { font-family: var(--font-head); }
.remove-btn { color: var(--text-dim); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; }
.remove-btn:hover { color: var(--danger); background: rgba(198,40,40,.1); }
.remove-btn .ico { width: 18px; height: 18px; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--text-muted); }
.cart-empty .ico { width: 44px; height: 44px; color: var(--text-dim); margin: 0 auto 12px; }
.drawer-foot { padding: 14px 20px 18px; border-top: 1px solid var(--border); background: var(--bg-2); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total span { color: var(--text-muted); }
.cart-total strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--primary); }
.cart-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 6px 0 20px; }
.cart-form[hidden] { display: none; }
.form-step { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: .95rem; margin: 12px 0 0; }
.form-step span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; background: var(--primary); color: var(--on-primary); }
.inv, .pay { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
.inv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inv-grid[hidden] { display: none; }
.inv-grid label { display: grid; gap: 4px; font-size: .8rem; color: var(--text-muted); }
.inv-grid .full { grid-column: 1 / -1; }
.chk { display: flex !important; align-items: center; gap: 8px; font-size: .86rem !important; color: var(--text) !important; cursor: pointer; }
.chk input { width: 18px !important; height: 18px !important; accent-color: var(--primary); }
.pay-list { display: grid; gap: 6px; }
.pay-list label { position: relative; cursor: pointer; }
.pay-list label[hidden] { display: none; }
.pay-list input { position: absolute; opacity: 0; pointer-events: none; }
.pay-list span { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg); font-size: .88rem; color: var(--text-muted); transition: border-color .2s, color .2s; }
.pay-list span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; transition: all .2s; }
.pay-list input:checked + span { border-color: var(--primary); color: var(--text); }
.pay-list input:checked + span::before { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 3px var(--bg); }
.pay-list input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.form-err { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: .84rem; background: rgba(198,40,40,.12); border: 1px solid rgba(198,40,40,.45); color: #8E1B1B; }
.form-err[hidden] { display: none; }
.cart-form [aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(198,40,40,.18); }
.cart-form label { display: grid; gap: 4px; font-size: .8rem; color: var(--text-muted); }
.cart-form .full { grid-column: 1 / -1; }
.cart-form input, .cart-form select { height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); outline: none; width: 100%; }
.cart-form input:focus, .cart-form select:focus { border-color: var(--primary); }
/* Entrega */
.ship { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
.ship legend { font-size: .8rem; color: var(--text-muted); padding: 0; margin-bottom: 4px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border-strong); }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; height: 36px; border-radius: 9px; font-size: .88rem; font-weight: 600; color: var(--text-muted); transition: background .2s, color .2s; text-align: center; }
.seg input:checked + span { background: var(--primary); color: var(--on-primary); }
.seg input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.seg label:hover span { color: var(--text); }
.seg input:checked + span:hover, .seg label:hover input:checked + span { color: var(--on-primary); }
.seg-sm span { height: 32px; font-size: .84rem; }
.ship-opt { display: grid; gap: 8px; }
.ship-opt[hidden], .ship-note[hidden] { display: none; }
.ship-lbl { font-size: .8rem; color: var(--text-muted); }
.ship-addr { display: grid; gap: 4px; font-size: .8rem; color: var(--text-muted); }
.ship-note { margin: 0; font-size: .8rem; line-height: 1.45; color: var(--text-muted); padding: 8px 10px; border-radius: 10px; background: rgba(0,118,206,.18); border: 1px solid rgba(0,118,206,.3); }
.ship-note strong { color: var(--text); }
.ship-cost { background: rgba(0,118,206,.1); border-color: rgba(0,118,206,.4); }
.ship-cost strong { color: var(--primary); }
.drawer-note { font-size: .76rem; color: var(--text-dim); margin: 10px 0 0; text-align: center; }
.drawer-foot[data-empty="true"] { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[hidden] { display: none; }
.modal-card {
  position: relative; width: min(920px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg);
  background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
}
.modal-media { background: var(--media-bg); display: flex; flex-direction: column; justify-content: center; min-width: 0; }

/* ---------- Carrusel de fotos ---------- */
.gallery { position: relative; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: var(--media-bg); }
.gal-track {
  display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.gal-slide img { width: 100%; height: 100%; object-fit: cover; }
.gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,.72); border: 1px solid var(--border-strong); color: var(--white);
  transition: background .2s, color .2s, opacity .2s;
}
.gal-nav:hover { background: var(--primary); color: var(--on-primary); }
.gal-prev { left: 12px; } .gal-next { right: 12px; }
.gal-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgba(0,0,0,.72); color: #fff; }
.gal-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: none; gap: 6px; z-index: 2; }
.gal-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.45); transition: all .25s; }
.gal-dots span.on { width: 20px; border-radius: 4px; background: var(--primary); }
.gallery[data-single="true"] .gal-nav, .gallery[data-single="true"] .gal-count { display: none; }
.gal-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.gal-thumbs:empty { display: none; }
.gal-thumb { flex: 0 0 64px; height: 48px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumb:hover { opacity: 1; }
.gal-thumb[aria-current="true"] { border-color: var(--primary); opacity: 1; }
.modal-body { padding: 34px 30px 30px; display: flex; flex-direction: column; }
.modal-body h3 { font-size: 1.6rem; }
.modal-brand { color: var(--text-dim); font-size: .9rem; margin-top: -6px; }
.modal-body > p { color: var(--text-muted); }
.modal .price-row { margin: 4px 0 14px; }
.spec-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.spec-list li { display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.spec-list .ico { width: 18px; height: 18px; color: var(--success); }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,.92); border: 1px solid var(--border-strong); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 170; transform: translate(-50%, 140%);
  padding: 12px 20px; border-radius: 12px; background: var(--text); color: var(--white);
  font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); pointer-events: none;
  transition: transform .45s var(--ease), opacity .3s, visibility .45s; max-width: calc(100% - 32px);
  opacity: 0; visibility: hidden;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Estado inicial de animaciones (solo con JS + GSAP activo) ---------- */
.js-anim .hero-title .word { transform: translateY(110%); }
.js-anim .hero-anim { opacity: 0; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .cat-card:nth-child(1) { grid-column: span 12; grid-row: auto; min-height: 340px; }
  .cat-card:nth-child(n+2) { grid-column: span 6; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 12px var(--gutter) 24px; background: rgba(255, 255, 255, .98);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-link::after { display: none; }
  .header-actions { margin-left: auto; }
  .parallax-content { grid-template-columns: 1fr; }
  .float-chips { height: 240px; }
  .business-grid { grid-template-columns: 1fr; }
  .business-img-wrap { aspect-ratio: 16 / 11; }
  .business-badge { right: 12px; bottom: -22px; }
  .business-copy { margin-top: 20px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .modal-card { grid-template-columns: 1fr; }
  .gal-thumbs { display: none; }
  .gal-dots { display: flex; }
  .gal-count { top: 12px; bottom: auto; left: 12px; right: auto; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .hide-sm { display: none !important; }
  .brand-logo { width: 38px; }
  .brand-name { font-size: 1.05rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-expand { height: 72vh; height: 72svh; }
  .hero-media { clip-path: inset(0 5% 10% 5% round 12px); }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card, .cat-card:nth-child(n) { grid-column: span 1; min-height: 190px; padding: 16px; }
  .cat-card:nth-child(1) { grid-column: 1 / -1; min-height: 260px; }
  .cat-card p { display: none; }
  .cat-card h3 { font-size: 1.05rem; }
  .cat-ico { width: 38px; height: 38px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 12px; }
  .product-name { font-size: .95rem; }
  .product-specs { display: none; }
  .price { font-size: 1.2rem; }
  .product-actions { grid-template-columns: 1fr; }
  .product-actions .btn-ask { display: none; }
  .product-actions .btn { height: 40px; font-size: .85rem; }
  .product-actions .btn .ico { display: none; }
  .badge { top: 8px; left: 8px; font-size: .64rem; padding: 4px 8px; }
  .stock-pill { top: auto; bottom: 8px; right: 8px; font-size: .64rem; }
  .photo-pill { left: 8px; bottom: 8px; font-size: .66rem; padding: 3px 7px; }
  .gal-nav { width: 36px; height: 36px; }
  .features { grid-template-columns: 1fr; }
  .stat { padding: 22px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .chip-float { font-size: .82rem; padding: 10px 13px; }
  .modal { padding: 0; align-items: end; }
  .modal-card { border-radius: 22px 22px 0 0; max-height: 92vh; }
  .modal-body { padding: 22px 18px 24px; }
  .modal-actions .btn { flex: 1; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (max-width: 370px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* Movimiento reducido: sin animaciones pesadas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-media { clip-path: inset(0 round 0); }
  .hero-media img { transform: none; }
  .hero-media-caption { opacity: 1; }
}

/* =====================================================================
   AMPLIACIÓN 2026-09 · FAQ, ubicación, prueba social y páginas internas
   ===================================================================== */

/* ---------- Promesa de respuesta ---------- */
.resp-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--text-muted); font-size: .92rem; }
.resp-note .ico { color: var(--primary); width: 18px; height: 18px; }
.resp-note strong { color: var(--text); }

/* ---------- Preguntas frecuentes ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .3s, background .3s; }
.faq-item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { color: var(--primary); transition: transform .35s var(--ease); }
.faq-item[open] summary .ico { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--text-muted); }
.faq-item .faq-a p:last-child { margin-bottom: 0; }
.faq-item .faq-a strong { color: var(--text); }

/* ---------- Ubicación / mapa ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.location-info { display: grid; gap: 18px; align-content: start; }
.location-info dl { margin: 0; display: grid; gap: 16px; }
.location-info dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.location-info dd { margin: 0; color: var(--text); }
.location-info dd a:hover { color: var(--primary); }
.map-wrap { position: relative; min-height: 360px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); background: var(--surface-solid); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--text-muted); }

/* ---------- Reseñas ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.review { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.review .stars { color: var(--primary); letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote { margin: 0; color: var(--text); }
.review figcaption { margin-top: auto; font-size: .88rem; color: var(--text-muted); }
.review figcaption strong { color: var(--text); }
.reviews-foot { margin-top: 26px; }

/* ---------- Casos de éxito ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.case { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; }
.case img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.case-body { padding: 22px; }
.case-body dl { margin: 14px 0 0; display: grid; gap: 10px; }
.case-body dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-dark); }
.case-body dd { margin: 0; color: var(--text-muted); }
.case-body dd.res { color: var(--text); font-weight: 600; }
.case-sector { font-size: .82rem; color: var(--primary); }

/* ---------- Equipo ---------- */
.team-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.team-photo { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); }
.team-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Páginas internas ---------- */
.subpage-main { padding: calc(var(--header-h) + 28px) 0 clamp(60px, 9vw, 110px); min-height: 70vh; background: radial-gradient(ellipse at 80% -10%, rgba(0,118,206,.08), transparent 55%), var(--bg); }
.header-actions-sub { margin-left: auto; }
.breadcrumbs ol { list-style: none; margin: 0 0 clamp(28px, 5vw, 48px); padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--text-dim); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--text-dim); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current] { color: var(--text); }
.page-hero { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 6vw, 64px); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.page-hero-left { text-align: left; margin-left: 0; }
.page-lead { font-size: 1.1rem; color: var(--text-muted); }
.page-lead strong { color: var(--text); }
.page-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.err-code { font-family: var(--font-head); font-weight: 700; font-size: clamp(6rem, 22vw, 11rem); line-height: 1; margin: 0 0 .1em; letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-card { display: block; padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, transform .35s var(--ease); }
.help-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.help-card .ico { width: 28px; height: 28px; color: var(--primary); margin-bottom: 12px; }
.help-card h2 { font-size: 1.15rem; }
.help-card p { color: var(--text-muted); margin: 0; font-size: .95rem; }
.thanks-ico { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(0,179,136,.14); border: 1px solid rgba(0,179,136,.45); color: var(--success); margin-bottom: 20px; }
.thanks-ico .ico { width: 38px; height: 38px; }
.next-steps h2 { text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 28px; }
.subpage .step-n { transform: none; }

/* Texto legal */
.legal { max-width: 820px; }
.legal-date { font-size: .88rem; color: var(--text-dim); }
.legal-toc { padding: 20px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); margin-bottom: 40px; }
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.legal-toc li { margin-bottom: 6px; break-inside: avoid; }
.legal-toc a { color: var(--text-muted); }
.legal-toc a:hover { color: var(--primary); }
.legal section { scroll-margin-top: calc(var(--header-h) + 16px); margin-bottom: 36px; }
.legal h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.legal p, .legal li { color: var(--text-muted); }
.legal strong { color: var(--text); }
.legal .eyebrow { color: var(--primary); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal a:not(.btn) { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.cart-legal { font-size: .76rem; color: var(--text-dim); margin: 8px 0 0; text-align: center; }
.cart-legal a { color: var(--text-muted); text-decoration: underline; }

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .faq-grid, .location-grid, .team-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .help-grid { grid-template-columns: 1fr; }
  .map-wrap { min-height: 300px; }
}
@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-ctas .btn { width: 100%; }
  .faq-item summary { padding: 18px; font-size: 1rem; }
  .faq-item .faq-a { padding: 0 18px 18px; }
}

/* Menú con 6 enlaces: se compacta en pantallas medianas */
@media (max-width: 1180px) and (min-width: 901px) {
  .nav-link { padding: 10px 9px; font-size: .9rem; }
  .nav-link::after { left: 9px; right: 9px; }
  .header-inner { gap: 12px; }
}
@media (max-width: 1060px) and (min-width: 901px) {
  .main-nav .nav-link[href="#destacados"] { display: none; }
  .header-actions .hide-sm { display: none; }
}

/* =====================================================================
   TEMA CORPORATIVO · Ajustes de contraste
   Zonas con foto de fondo oscura: texto blanco y acento azul claro
   ===================================================================== */
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--border), 0 6px 18px -12px rgba(0,0,0,.18); }
.hero-media-caption, .cat-card, .parallax-band { color: #fff; }
.hero-media-caption .eyebrow, .parallax-band .eyebrow { color: var(--on-dark-accent); }
.parallax-band .eyebrow .dot { background: var(--on-dark-accent); box-shadow: 0 0 0 4px rgba(124,196,255,.25); }
.cat-card p { color: rgba(255,255,255,.85); }
.cat-card .cat-meta, .cat-ico { color: var(--on-dark-accent); }
.cat-card:hover { border-color: var(--primary); }
.parallax-copy p:not(.eyebrow) { color: rgba(255,255,255,.85); }
.chip-float { color: #fff; border-color: rgba(255,255,255,.28); }
.chip-float .ico { color: var(--on-dark-accent); }
.chip-float:nth-child(4) { border-color: rgba(124,196,255,.6); }

/* Tarjetas y superficies: borde fino + sombra suave, estilo catálogo corporativo */
.product-card, .feature, .review, .case, .faq-item, .help-card, .legal-toc { box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.product-card:hover, .feature:hover, .help-card:hover { border-color: var(--primary); }
.product-specs li { background: var(--bg-2); border-color: var(--border); color: var(--text-muted); }
.stats { background: var(--border); }
.stat strong { color: var(--primary); }

/* Botones */
.btn-primary { box-shadow: none; }
.btn-primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-primary); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: var(--bg); }
.btn-outline:hover { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--bg-2); }
.icon-btn:hover { background: var(--bg-2); }
.btn-add.is-added { background: var(--success); color: var(--on-success); }

/* Enlaces y precios */
.link-arrow:hover, .footer-links a:hover, .footer-contact a:hover, .breadcrumbs a:hover, .legal-toc a:hover { color: var(--primary-hover); }
.price-old { color: var(--text-dim); }
.cart-total strong { color: var(--text-strong); }

/* Pie de página */
.site-footer { background: var(--bg-2); }
