/* ==========================================================================
   SV Tejas & Acrílicos Internacional — Hoja de estilos
   Mobile first · Variables CSS · Sin frameworks
   --------------------------------------------------------------------------
   1. Tokens          6. Hero              11. Proyectos       16. Testimonios
   2. Base            7. Confianza         12. Instalación     17. FAQ
   3. Utilidades      8. Soluciones        13. Cobertura       18. CTA / Form
   4. Botones         9. Productos         14. Nosotros        19. Contacto / Footer
   5. Header         10. Diferenciadores   15. Equipo          20. Modales / Flotantes
   ========================================================================== */

/* 1. TOKENS --------------------------------------------------------------- */
:root {
  --ink: #0f1113;
  --ink-2: #16191c;
  --graphite: #1d2125;
  --graphite-2: #272c31;
  --steel: #8b939b;
  --steel-2: #5d656d;
  --line-dark: rgba(255, 255, 255, .1);
  --line: #e2e3e0;
  --paper: #f3f3f0;
  --white: #ffffff;
  --text: #1a1d20;
  --text-soft: #50575e;
  --text-inv: #f2f3f4;
  --text-inv-soft: #a9b0b7;

  --accent: #3ba0f3;          /* azul de la marca SV */
  --accent-strong: #0b6fc2;   /* versión para texto sobre fondo claro (AA) */
  --accent-ink: #06243d;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --container: 1240px;
  --gutter: 16px;
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 68px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 1px 2px rgba(15, 17, 19, .06), 0 2px 8px rgba(15, 17, 19, .05);
  --shadow-md: 0 10px 30px -10px rgba(15, 17, 19, .25);

  --sec-pad: clamp(64px, 10vw, 128px);
}

@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }
@media (min-width: 1280px) { :root { --gutter: 40px; } }

/* 2. BASE ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-stretch: 112%; letter-spacing: -.02em; line-height: 1.08; font-weight: 700; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* 3. UTILIDADES ----------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px;
  background: var(--accent); color: var(--ink); font-weight: 600; border-radius: var(--radius);
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.section { padding-block: var(--sec-pad); position: relative; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--text-inv); }
.section-graphite { background: var(--graphite); color: var(--text-inv); }

.eyebrow {
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.section-dark .eyebrow, .section-graphite .eyebrow, .hero .eyebrow, .modal-lightbox .eyebrow { color: var(--accent); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head-split { max-width: none; display: grid; gap: 20px; align-items: end; }
@media (min-width: 900px) { .section-head-split { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.section-title { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); text-wrap: balance; }
.section-title-sm { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.section-lead { margin-top: 18px; font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); color: var(--text-soft); max-width: 60ch; text-wrap: pretty; }
.section-head-split .section-lead { margin-top: 0; }
.section-dark .section-lead, .section-graphite .section-lead { color: var(--text-inv-soft); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600;
  color: var(--accent-strong); position: relative; padding-block: 4px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 1.8em; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.link-btn { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.section-dark .link-btn, .site-footer .link-btn { color: inherit; text-decoration: none; font-weight: 400; }

/* Reveal on scroll ---------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 4. BOTONES ------------------------------------------------------------- */
.btn {
  --btn-bg: transparent; --btn-fg: inherit; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; line-height: 1.2; text-align: center;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
  position: relative; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon-arrow { transition: transform .3s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-primary { --btn-bg: var(--accent); --btn-fg: var(--ink); }
.btn-primary:hover { --btn-bg: #62b5f7; box-shadow: 0 10px 24px -10px rgba(59, 160, 243, .7); }
.btn-dark { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn-dark:hover { --btn-bg: var(--graphite-2); }
.btn-ghost { --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { --btn-bd: var(--white); background: rgba(255, 255, 255, .1); }
.btn-outline { --btn-fg: var(--text); --btn-bd: #c9cbc7; }
.btn-outline:hover { --btn-bd: var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .875rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
@media (max-width: 380px) { .btn-lg { padding-inline: 20px; } .btn { white-space: normal; } }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text); background: var(--white);
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* 5. HEADER --------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--white); transition: background-color .35s, box-shadow .35s, height .35s, backdrop-filter .35s;
}
.site-header::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line-dark);
  opacity: 0; transition: opacity .35s;
}
.site-header[data-state="scrolled"], .site-header.menu-open {
  background: rgba(15, 17, 19, .88); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .6);
}
.site-header[data-state="scrolled"]::after { opacity: 1; }
@media (min-width: 1024px) { .site-header[data-state="scrolled"] { height: 66px; } }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 700; font-stretch: 110%; font-size: .98rem; letter-spacing: -.01em; }
.brand-sub { font-family: var(--mono); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-inv-soft); margin-top: 3px; }
@media (max-width: 359px) { .brand-text { display: none; } }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--line-dark); }
.menu-bars { position: relative; width: 20px; height: 12px; display: block; }
.menu-bars span { position: absolute; left: 0; width: 100%; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease); }
.menu-bars span:nth-child(1) { top: 0; }
.menu-bars span:nth-child(2) { top: 5px; }
.menu-bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* Navegación móvil (panel desplegable) */
.main-nav {
  position: fixed; inset: var(--header-h) 0 auto; height: calc(100dvh - var(--header-h));
  background: var(--ink); padding: 24px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-list { display: flex; flex-direction: column; }
.nav-link {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 0;
  font-size: 1.6rem; font-weight: 600; font-stretch: 112%; letter-spacing: -.01em; border-bottom: 1px solid var(--line-dark);
}
.main-nav.is-open .nav-list li { animation: navIn .5s var(--ease) both; }
.main-nav.is-open .nav-list li:nth-child(2) { animation-delay: .04s; }
.main-nav.is-open .nav-list li:nth-child(3) { animation-delay: .08s; }
.main-nav.is-open .nav-list li:nth-child(4) { animation-delay: .12s; }
.main-nav.is-open .nav-list li:nth-child(5) { animation-delay: .16s; }
.main-nav.is-open .nav-list li:nth-child(6) { animation-delay: .2s; }
@keyframes navIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.nav-mobile-extra { display: grid; gap: 16px; margin-top: 32px; }
.nav-mobile-contact { display: inline-flex; align-items: center; gap: 10px; justify-content: center; color: var(--text-inv-soft); }

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .main-nav { position: static; height: auto; background: none; padding: 0; visibility: visible; opacity: 1; transform: none; overflow: visible; flex-direction: row; }
  .nav-list { flex-direction: row; gap: clamp(18px, 2.2vw, 36px); }
  .nav-link { font-size: .9rem; font-weight: 500; font-stretch: 100%; padding: 6px 0; border: 0; position: relative; color: rgba(255, 255, 255, .82); transition: color .25s; }
  .nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .nav-link:hover, .nav-link.is-active { color: var(--white); }
  .nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
  .nav-mobile-extra { display: none; }
}

/* 6. HERO ----------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 48px) 0 clamp(56px, 9vh, 96px);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media::after {
  content: ""; position: absolute; inset: -1px; z-index: 2;
  background:
    linear-gradient(180deg, rgba(15, 17, 19, .72) 0%, rgba(15, 17, 19, .35) 35%, rgba(15, 17, 19, .88) 78%, var(--ink) 100%);
}
/* Slider del banner */
.hero-slides { position: absolute; inset: 0 0 -8%; will-change: transform; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.08); transition: transform 8s linear; }
.hero-slide.is-active .hero-img { transform: scale(1); }
@media (min-width: 1024px) {
  .hero { align-items: center; }
  .hero-media { left: 34%; }
  .hero-media::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(15, 17, 19, .85) 18%, rgba(15, 17, 19, .25) 55%, rgba(15, 17, 19, .2) 100%),
      linear-gradient(180deg, rgba(15, 17, 19, .5) 0%, transparent 25%, transparent 78%, rgba(15, 17, 19, .55) 100%);
  }
}
.hero-geo { position: absolute; right: -4%; bottom: 0; width: min(68vw, 780px); height: auto; color: var(--accent); opacity: .22; z-index: -1; pointer-events: none; }
.hero-content { position: relative; }
.hero-title { font-size: clamp(2.5rem, 1.2rem + 6.2vw, 5.6rem); max-width: 13ch; font-weight: 700; font-stretch: 115%; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
.hero-lead { margin-top: 24px; max-width: 46ch; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); color: rgba(255, 255, 255, .8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 479px) { .hero-actions .btn { flex: 1 1 100%; } }
.hero-badge { display: inline-flex; align-items: center; gap: 16px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-badge-num { font-size: 2.6rem; font-weight: 700; font-stretch: 120%; line-height: 1; color: var(--accent); }
.hero-badge-text { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72); line-height: 1.5; }

.hero-anim { animation: heroIn 1.1s var(--ease) both; animation-delay: calc(.15s + var(--d, 0) * .14s); }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Controles del slider */
.hero-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.hero-caption { flex: 1 1 100%; display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.hero-count { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--accent); flex: none; }
.hero-caption-text { font-size: .85rem; color: rgba(255, 255, 255, .78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .4s; }
.hero-caption-text.is-changing { opacity: 0; }
.hero-progress { display: flex; gap: 6px; flex: 1; }
.hero-dot { position: relative; flex: 1; max-width: 72px; height: 24px; }
.hero-dot span { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(255, 255, 255, .25); border-radius: 2px; overflow: hidden; }
.hero-dot span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-done span::after { transform: scaleX(1); }
.hero-dot[aria-current="true"] span::after { animation: heroProgress var(--hero-interval, 6500ms) linear forwards; }
.hero-controls.is-paused .hero-dot[aria-current="true"] span::after { animation-play-state: paused; }
@keyframes heroProgress { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); color: var(--white); transition: background-color .25s, color .25s, border-color .25s; }
.hero-arrow:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.hero-arrow .icon { width: 18px; height: 18px; }
@media (min-width: 1024px) {
  .hero-controls { position: absolute; right: var(--gutter); bottom: -8px; width: 340px; margin: 0; }
}

/* 7. CONFIANZA ---------------------------------------------------------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-item { padding: 28px 16px 28px 0; border-bottom: 1px solid var(--line); }
.trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
.trust-item:nth-child(even) { padding-left: 16px; }
.trust-num { display: flex; align-items: baseline; gap: 4px; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); font-weight: 700; font-stretch: 118%; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.trust-pre, .trust-unit { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--text-soft); align-self: flex-end; margin-bottom: .35em; }
.trust-pre { margin-right: 4px; }
.trust-unit { margin-left: 2px; }
.trust-icon .icon { width: .9em; height: .9em; color: var(--accent-strong); }
.trust-label { margin-top: 10px; font-size: .88rem; color: var(--text-soft); line-height: 1.4; max-width: 24ch; }
.trust-foot { font-size: .75rem; color: var(--steel-2); padding-block: 14px; }
@media (min-width: 900px) {
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-item { padding: 40px 28px; border-bottom: 0; border-right: 1px solid var(--line); }
  .trust-item:nth-child(even) { padding-left: 28px; }
  .trust-item:first-child { padding-left: 0; }
  .trust-item:last-child { border-right: 0; }
  .trust-foot { border-top: 1px solid var(--line); }
}

/* 8. SOLUCIONES (CategoryCard) ---------------------------------------- */
.category-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .category-card:first-child { grid-column: span 2; } }

.category-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px; padding: 24px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  color: var(--white); background: var(--graphite);
}
@media (min-width: 1024px) { .category-card { min-height: 400px; padding: 32px; } }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.category-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 17, 19, .1) 0%, rgba(15, 17, 19, .35) 40%, rgba(15, 17, 19, .92) 100%);
  transition: background-color .4s;
}
.category-card:hover img { transform: scale(1.06); }
.category-card:hover::before { background-color: rgba(15, 17, 19, .15); }
.category-index { position: absolute; top: 22px; left: 24px; font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; color: rgba(255, 255, 255, .8); }
.category-count { position: absolute; top: 18px; right: 20px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: rgba(15, 17, 19, .55); backdrop-filter: blur(6px); }
.category-card h3 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); }
.category-card p { margin-top: 10px; font-size: .94rem; color: rgba(255, 255, 255, .78); max-width: 42ch; }
.category-cta { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
.category-cta .arrow-box { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--ink); transition: transform .35s var(--ease); }
.category-card:hover .arrow-box { transform: translateX(6px); }
.category-card a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* 9. PRODUCTOS (ProductCard) ------------------------------------------- */
.catalog-toolbar { display: grid; gap: 16px; margin-bottom: 28px; }
@media (min-width: 1024px) {
  .catalog-toolbar { grid-template-columns: 1fr 260px; align-items: start; }
  .filter-scroller { overflow: visible; margin: 0; padding: 0; }
  .filters { flex-wrap: wrap; width: auto; }
}
.filter-scroller { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.filter-scroller::-webkit-scrollbar { display: none; }
.filters { display: flex; gap: 8px; width: max-content; }
.filter-btn {
  min-height: 40px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line);
  font-size: .875rem; font-weight: 500; color: var(--text-soft); background: var(--white); white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-btn .count { font-family: var(--mono); font-size: .7rem; opacity: .6; margin-left: 6px; }
.search-field { position: relative; display: block; }
.search-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--steel-2); }
.search-field input { width: 100%; min-height: 44px; padding: 10px 14px 10px 42px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); transition: border-color .25s, box-shadow .25s; }
.search-field input:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px rgba(59, 160, 243, .2); }
.catalog-status { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-2); margin-bottom: 20px; min-height: 1.2em; }

.product-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.product-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card.is-entering { animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.product-media { position: relative; aspect-ratio: 1; background: #e9e9ec; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-warranty { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: var(--ink); color: var(--white); }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); }
.product-name { margin-top: 8px; font-size: 1.08rem; font-stretch: 105%; line-height: 1.25; }
.product-summary { margin-top: 8px; font-size: .88rem; color: var(--text-soft); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-actions { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product-actions .btn { min-height: 42px; padding: 8px 12px; font-size: .85rem; }
.catalog-more { display: flex; justify-content: center; margin-top: 36px; }
.catalog-empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--text-soft); }

.inline-cta { margin-top: clamp(40px, 6vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.inline-cta p { font-size: 1.05rem; font-weight: 500; }
.inline-cta-dark { border-top-color: var(--line-dark); }

/* 10. DIFERENCIADORES ------------------------------------------------- */
.pillars { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line-dark); }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillar { padding: 32px 0; border-bottom: 1px solid var(--line-dark); position: relative; }
@media (min-width: 640px) {
  .pillar { padding: 40px 28px 44px 0; }
  .pillar:nth-child(odd) { border-right: 1px solid var(--line-dark); }
  .pillar:nth-child(even) { padding-left: 28px; }
}
@media (min-width: 1100px) {
  .pillar { border-bottom: 0; border-right: 1px solid var(--line-dark); padding: 44px 28px 12px; }
  .pillar:first-child { padding-left: 0; }
  .pillar:last-child { border-right: 0; }
}
.pillar::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width .8s var(--ease); }
.pillar.is-in::before { width: 48px; }
.pillar-num { font-family: var(--mono); font-size: .8rem; color: var(--accent); letter-spacing: .1em; }
.pillar h3 { margin-top: 28px; font-size: 1.45rem; }
.pillar p { margin-top: 12px; color: var(--text-inv-soft); font-size: .95rem; max-width: 34ch; }

/* 11. ANTES / DESPUÉS ------------------------------------------------- */
.ba-layout { display: grid; gap: 8px; }
@media (min-width: 1024px) { .ba-layout { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: center; } .ba-layout .section-head { margin-bottom: 0; } }
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; user-select: none; touch-action: pan-y; background: var(--graphite); }
.ba-pane { position: absolute; inset: 0; }
.ba-pane img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-placeholder { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 24px; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.ba-placeholder-before { justify-items: start; padding-left: 7%; }
.ba-placeholder-after { justify-items: end; padding-right: 7%; }
.ba-placeholder-after { background: repeating-linear-gradient(135deg, #dfe6ec 0 14px, #d3dce4 14px 28px); color: #33414d; }
.ba-placeholder-before { background: repeating-linear-gradient(135deg, #3a3f44 0 14px, #32373b 14px 28px); color: #d6dadd; }
.ba-placeholder span { padding: 8px 14px; border: 1px dashed currentColor; border-radius: var(--radius); background: rgba(255, 255, 255, .06); }
.ba-tag { position: absolute; top: 16px; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: rgba(15, 17, 19, .7); color: var(--white); }
.ba-tag-before { left: 16px; }
.ba-tag-after { right: 16px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: var(--shadow-md); }
.ba-handle .icon { width: 16px; height: 16px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-range:focus-visible + .ba-note, .ba:focus-within .ba-handle span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ba-note { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: .72rem; color: var(--white); background: rgba(15, 17, 19, .72); padding: 8px 12px; border-radius: var(--radius); pointer-events: none; }

/* 12. PROYECTOS (ProjectCard + Gallery) ------------------------------- */
.masonry { columns: 1; column-gap: 16px; }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1024px) { .masonry { columns: 3; column-gap: 20px; } }
.project-card { break-inside: avoid; margin-bottom: 16px; display: block; width: 100%; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--graphite); text-align: left; color: var(--white); }
@media (min-width: 1024px) { .project-card { margin-bottom: 20px; } }
.project-card img { width: 100%; transition: transform 1s var(--ease), filter .6s; }
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.05); filter: brightness(.6); }
.project-info {
  position: absolute; inset: auto 0 0; padding: 22px; display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(180deg, transparent, rgba(15, 17, 19, .92));
  transform: translateY(12px); opacity: 0; transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.project-card:hover .project-info, .project-card:focus-visible .project-info { opacity: 1; transform: none; }
@media (hover: none) { .project-info { opacity: 1; transform: none; } }
.project-type { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.project-title { font-size: 1.2rem; font-weight: 700; font-stretch: 110%; }
.project-expand { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); opacity: 0; transform: scale(.85); transition: opacity .35s, transform .35s var(--ease); }
.project-card:hover .project-expand, .project-card:focus-visible .project-expand { opacity: 1; transform: none; }
.project-expand .icon { width: 18px; height: 18px; }

/* 13. INSTALACIÓN ---------------------------------------------------- */
.install-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .install-layout { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.install-list { margin: 32px 0 36px; border-top: 1px solid var(--line); }
.install-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.install-list .num { font-family: var(--mono); font-size: .75rem; color: var(--accent-strong); min-width: 24px; }
.install-list button { margin-left: auto; font-size: .82rem; color: var(--text-soft); display: inline-flex; align-items: center; gap: 6px; }
.install-list button:hover { color: var(--accent-strong); }
.install-media { display: grid; grid-template-columns: 1fr; gap: 16px; position: relative; }
.install-media picture { border-radius: var(--radius-lg); overflow: hidden; }
.install-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (min-width: 640px) {
  .install-media { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .install-media picture:last-child { margin-bottom: 15%; }
  .install-media picture:first-child img { aspect-ratio: 4 / 5; }
}

/* 14. COBERTURA ------------------------------------------------------ */
.coverage { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .coverage { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.coverage-copy .btn { margin-top: 32px; }
.coverage-map { max-width: 420px; margin-inline: auto; width: 100%; }
.coverage-map svg { width: 100%; height: auto; overflow: visible; }
.map-shape { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; stroke-linejoin: round; }
.map-dots { color: rgba(255, 255, 255, .16); }
.map-core { fill: var(--accent); }
.map-pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-origin: center; transform-box: fill-box; animation: pulse 2.8s var(--ease) infinite; }
.map-pulse-2 { animation-delay: 1.4s; }
@keyframes pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(4.5); opacity: 0; } }
.map-label text { fill: var(--white); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; }
.map-label .map-label-sub { fill: var(--text-inv-soft); font-size: 9.5px; letter-spacing: .06em; }

/* 15. NOSOTROS / EQUIPO (TeamCard) ------------------------------------ */
.about { display: grid; gap: 32px; }
@media (min-width: 1024px) { .about { grid-template-columns: 1fr 1.3fr; gap: 72px; } }
.about-lead { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; text-wrap: pretty; }
.about-mv { display: grid; gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .about-mv { grid-template-columns: 1fr 1fr; gap: 40px; } }
.about-mv h3, .values-title { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--accent-strong); font-stretch: 100%; }
.about-mv p { margin-top: 12px; color: var(--text-soft); }
.values-title { margin-top: 40px; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.values li { padding: 9px 16px; border: 1px solid #d5d7d3; border-radius: 99px; font-size: .9rem; background: var(--white); }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }

.team-wrap { margin-top: clamp(72px, 10vw, 120px); }
.team-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.team-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--graphite); color: var(--white); }
.team-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1s var(--ease); }
.team-card:hover img { transform: scale(1.04); }
.team-info { position: absolute; inset: auto 0 0; padding: 48px 16px 16px; background: linear-gradient(180deg, transparent, rgba(15, 17, 19, .92) 60%); }
.team-name { font-weight: 700; font-size: 1.02rem; font-stretch: 108%; line-height: 1.2; }
.team-role { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-inv-soft); margin-top: 4px; }
.team-contact { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--accent); }
.team-contact:hover { color: var(--white); }
@media (min-width: 640px) { .team-info { padding: 64px 22px 22px; } .team-name { font-size: 1.15rem; } }

/* 16. TESTIMONIOS (TestimonialCard) ---------------------------------- */
.slider-nav { display: flex; gap: 8px; justify-self: start; }
@media (min-width: 900px) { .slider-nav { justify-self: end; } }
.t-slider { overflow: hidden; }
.t-track { display: flex; transition: transform .7s var(--ease); }
.t-card { flex: 0 0 100%; padding: 4px 2px; }
@media (min-width: 900px) { .t-card { flex-basis: 50%; padding-right: 20px; } }
@media (min-width: 1200px) { .t-card { flex-basis: 33.333%; } }
.t-inner { height: 100%; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.t-mark { font-size: 4rem; line-height: .6; font-weight: 700; color: var(--accent); font-stretch: 125%; height: 32px; }
.t-quote { margin-top: 16px; font-size: 1.12rem; line-height: 1.55; font-weight: 500; letter-spacing: -.005em; flex: 1; }
.t-author { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.t-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 700; font-size: .9rem; }
.t-name { font-weight: 600; }
.t-city { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
.t-dots { display: flex; gap: 8px; margin-top: 28px; }
.t-dot { width: 28px; height: 3px; border-radius: 2px; background: var(--line); transition: background-color .3s, width .3s; }
.t-dot[aria-current="true"] { background: var(--ink); width: 48px; }
.t-dot { position: relative; }
.t-dot::before { content: ""; position: absolute; inset: -12px -2px; }

/* 17. FAQ ------------------------------------------------------------- */
.faq-layout { display: grid; gap: 8px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq-list { border-top: 1px solid #d5d7d3; }
.faq-item { border-bottom: 1px solid #d5d7d3; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: clamp(1.02rem, .98rem + .3vw, 1.2rem); font-weight: 600; letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #c9cbc7;
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--white); }
.faq-item summary:hover { color: var(--accent-strong); }
.faq-body { padding: 0 48px 24px 0; color: var(--text-soft); }
.faq-body a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.faq-item[open] .faq-body { animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 18. CTA + FORMULARIO (ContactForm) --------------------------------- */
.cta-band { position: relative; padding-block: clamp(96px, 14vw, 180px); background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; text-align: center; }
.cta-media { position: absolute; inset: 0; z-index: -1; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: grayscale(.3); }
.cta-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(15, 17, 19, .55), rgba(15, 17, 19, .95) 75%); }
.cta-title { font-size: clamp(2.2rem, 1.3rem + 4vw, 4.4rem); max-width: 16ch; margin-inline: auto; text-wrap: balance; font-stretch: 115%; letter-spacing: -.03em; }
.cta-lead { margin: 22px auto 0; max-width: 48ch; font-size: 1.1rem; color: rgba(255, 255, 255, .78); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }

.quote-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .quote-layout { grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; } }
.quote-steps { margin-top: 36px; display: grid; gap: 14px; }
.quote-steps li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.quote-steps span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); font-family: var(--mono); font-size: .78rem; color: var(--accent-strong); }
.quote-direct { display: grid; gap: 10px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.quote-direct a { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.quote-direct a:hover { color: var(--accent-strong); }
.quote-direct .icon { color: var(--accent-strong); }

.quote-form { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .quote-form { padding: 40px; } }
.form-grid { display: grid; gap: 4px 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 8px; }
.field label span { color: var(--accent-strong); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #d3d5d1; border-radius: var(--radius);
  background: #fbfbfa; transition: border-color .25s, box-shadow .25s, background-color .25s; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2350575e' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b4b7b2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-strong); background-color: var(--white); box-shadow: 0 0 0 3px rgba(59, 160, 243, .2); }
.field.has-error input, .field.has-error select { border-color: #c0392b; background-color: #fff8f7; }
.field-error { min-height: 1.35em; font-size: .78rem; color: #b0301f; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .78rem; color: var(--text-soft); margin: 8px 0 18px; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(15, 17, 19, .25); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: flex; gap: 18px; align-items: flex-start; margin-top: 20px; padding: 22px; border-radius: var(--radius-lg); background: #eef7ff; border: 1px solid #c7e3fb; animation: faqIn .5s var(--ease); }
.form-success[hidden] { display: none; }
.form-success-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.form-success-title { font-weight: 700; font-size: 1.1rem; }
.form-success p { color: var(--text-soft); font-size: .92rem; }
.form-success .btn { margin-top: 14px; }

/* 19. CONTACTO + FOOTER --------------------------------------------- */
.contact-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: stretch; } }
.contact-list { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid #d5d7d3; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #d5d7d3; }
.contact-list .icon { color: var(--accent-strong); margin-top: 3px; }
.contact-k { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 4px; }
.contact-list a:hover { color: var(--accent-strong); }
.open-status { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--steel); }
.open-status.is-open::before { background: #1f9d55; box-shadow: 0 0 0 4px rgba(31, 157, 85, .15); }
.open-status:empty { display: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.contact-map { min-height: 360px; border-radius: var(--radius-lg); overflow: hidden; background: #dfe1dd; }
.contact-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.85) contrast(1.05); transition: filter .5s; }
.contact-map:hover iframe { filter: none; }

.site-footer { background: var(--ink); color: var(--text-inv-soft); padding-top: clamp(64px, 8vw, 96px); font-size: .92rem; }
.footer-grid { display: grid; gap: 40px 24px; grid-template-columns: 1fr 1fr; padding-bottom: 56px; }
.footer-brand { grid-column: 1 / -1; color: var(--text-inv); }
.footer-brand p { margin-top: 18px; max-width: 32ch; color: var(--text-inv-soft); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } }
.footer-col h2 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); font-weight: 500; font-stretch: 100%; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col .link-btn { transition: color .25s; overflow-wrap: anywhere; }
.footer-col a:hover, .footer-col .link-btn:hover { color: var(--white); }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social .icon-btn { background: transparent; border-color: var(--line-dark); color: var(--white); }
.social .icon-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 24px; font-size: .8rem; }
@media (max-width: 899px) { .footer-col:last-child { grid-column: 1 / -1; } }

/* 20. MODALES + FLOTANTES (Modal) ---------------------------------- */
.modal { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100%; height: 100%; margin: 0; color: var(--text); overflow: hidden; }
.modal::backdrop { background: rgba(10, 12, 14, .72); backdrop-filter: blur(4px); }
.modal[open] { display: flex; align-items: flex-end; justify-content: center; animation: fadeIn .3s var(--ease); }
@media (min-width: 768px) { .modal[open] { align-items: center; padding: 32px; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-shell { position: relative; width: 100%; max-width: 1100px; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--white); border-radius: 12px 12px 0 0; animation: modalIn .45s var(--ease); }
@media (min-width: 768px) { .modal-shell { border-radius: 12px; max-height: calc(100dvh - 64px); } }
@keyframes modalIn { from { transform: translateY(32px); opacity: .4; } to { transform: none; opacity: 1; } }
.modal-close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 3; }
.modal-text .modal-shell { max-width: 760px; }
.modal-body { padding: 24px; }
@media (min-width: 768px) { .modal-body { padding: 48px; } }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); margin-bottom: 20px; }
.prose p { color: var(--text-soft); margin-bottom: 16px; font-size: .95rem; }

/* Detalle de producto */
.pd { display: grid; gap: 28px; clear: both; }
@media (min-width: 900px) { .pd { grid-template-columns: 1.05fr 1fr; gap: 48px; } }
.pd-gallery { min-width: 0; }
@media (min-width: 900px) { .pd-gallery { position: sticky; top: 0; align-self: start; } }
.pd-main { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: #e9e9ec; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.pd-main img.is-loading { opacity: .3; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.pd-thumb { flex: 0 0 68px; height: 68px; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; background: #e9e9ec; opacity: .7; transition: opacity .25s, border-color .25s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb[aria-current="true"] { border-color: var(--accent-strong); opacity: 1; }
.pd-info h2 { font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.3rem); margin-top: 10px; }
.pd-desc { margin-top: 18px; color: var(--text-soft); display: grid; gap: 12px; font-size: .96rem; }
.pd-section { margin-top: 28px; }
.pd-section h3 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--accent-strong); margin-bottom: 12px; font-stretch: 100%; }
.pd-features { display: grid; gap: 10px; }
.pd-features li { display: flex; gap: 10px; font-size: .93rem; line-height: 1.5; }
.pd-features .icon { color: var(--accent-strong); width: 18px; height: 18px; margin-top: 2px; }
.pd-specs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pd-specs th, .pd-specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pd-specs th { font-weight: 500; color: var(--text-soft); width: 46%; padding-right: 16px; }
.pd-specs td { font-family: var(--mono); font-size: .86rem; }
.pd-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-color { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: 99px; font-size: .82rem; }
.pd-color img, .pd-color i { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, #e3e4e1, #bfc3c6); }
.pd-color-noswatch { padding-left: 12px; }
.pd-notes { display: grid; gap: 6px; font-size: .9rem; color: var(--text-soft); }
.pd-actions { display: grid; gap: 10px; margin-top: 32px; }
@media (min-width: 480px) { .pd-actions { grid-template-columns: 1fr 1fr; } }
.pd-source { margin-top: 18px; font-size: .75rem; color: var(--steel-2); }

/* Lightbox */
.modal-lightbox::backdrop { background: rgba(10, 12, 14, .94); }
.modal-lightbox[open] { align-items: center; padding: 0; }
.lightbox-shell { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 16px 16px; }
@media (min-width: 768px) { .lightbox-shell { padding: 64px 88px; } }
.lightbox-shell .modal-close { position: absolute; top: 12px; right: 12px; margin: 0; float: none; }
.lightbox-body { width: 100%; max-width: 1200px; max-height: 100%; display: grid; gap: 20px; color: var(--white); animation: modalIn .45s var(--ease); }
@media (min-width: 1024px) { .lightbox-body { grid-template-columns: 1.7fr 1fr; align-items: center; gap: 48px; } }
.lightbox-body img { width: 100%; max-height: 68dvh; object-fit: contain; border-radius: var(--radius-lg); background: var(--graphite); }
@media (min-width: 1024px) { .lightbox-body img { max-height: calc(100dvh - 128px); } }
.lb-type { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.lb-title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem); margin-top: 10px; }
.lb-meta { margin-top: 20px; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.lb-meta div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: .92rem; }
.lb-meta dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-inv-soft); padding-top: 3px; }
.lb-meta dd { margin: 0; }
.lb-count { margin-top: 20px; font-family: var(--mono); font-size: .75rem; color: var(--text-inv-soft); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: var(--white); }
.lb-nav:hover { background: var(--white); color: var(--ink); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (max-width: 767px) { .lb-nav { top: auto; bottom: 16px; transform: none; } .lightbox-shell { padding-bottom: 76px; } }
.modal-lightbox .modal-close { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: var(--white); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #1fae5b; color: var(--white);
  box-shadow: 0 10px 30px -8px rgba(31, 174, 91, .65); transition: transform .3s var(--ease), box-shadow .3s;
  animation: waIn .8s 1.2s var(--ease) both;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); box-shadow: 0 14px 36px -8px rgba(31, 174, 91, .8); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fae5b; animation: waRing 3s 2s infinite; }
@keyframes waIn { from { opacity: 0; transform: translateY(20px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes waRing { 0% { transform: scale(1); opacity: .7; } 60%, 100% { transform: scale(1.5); opacity: 0; } }
.wa-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); white-space: nowrap;
  padding: 8px 12px; border-radius: var(--radius); background: var(--ink); color: var(--white); font-size: .82rem; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: translate(0, -50%); }
@media (min-width: 768px) { .wa-float { right: 28px; bottom: 28px; } }

.to-top {
  position: fixed; right: 23px; bottom: 88px; z-index: 89; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s, background-color .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--ink); color: var(--white); }
@media (min-width: 768px) { .to-top { right: 35px; bottom: 102px; } }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px); max-width: calc(100vw - 32px);
  padding: 12px 18px; border-radius: var(--radius); background: var(--ink); color: var(--white); font-size: .9rem;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ACCESIBILIDAD: movimiento reducido ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-slides { inset: 0; }
  .hero-dot[aria-current="true"] span::after { animation: none; transform: scaleX(1); }
}
