/* ==========================================================
   Regio Limpio · Estilos del sitio
   Tokens tomados del logotipo y del diseño aprobado.
   ========================================================== */

:root {
  --azul: #1262A3;
  --azul-medio: #0E5490;
  --azul-cerro: #0B3F6B;
  --verde: #2B720E;
  --verde-osc: #1F5409;
  --menta: #55D29C;
  --menta-osc: #3FB585;
  --menta-claro: #EAF7F0;
  --menta-borde: #9FDDBE;
  --azul-claro: #E6EFF8;
  --tinta: #16211C;
  --texto-2: #3C4A42;
  --muted: #55615A;
  --fondo: #F3F5F1;
  --linea: #D5DCD3;
  --linea-2: #C9D2C6;
  --blanco: #FFFFFF;
  --wa: #25D366;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: 32px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --header-h: 168px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--tinta); background: var(--blanco); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--azul); }
a:hover { color: var(--azul-cerro); }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--menta); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.center { text-align: center; }
.narrow { max-width: 680px; margin: 0 auto; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--mint { color: var(--menta); }
.ic--green { color: var(--verde); }
.ic--wa { color: var(--wa); }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-stretch: 108%; margin-bottom: 14px; }
.eyebrow--green { color: var(--verde); }
.h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.02; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; }
.h2--sm { font-size: clamp(30px, 3.4vw, 42px); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--r-sm); font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--white { background: var(--blanco); color: var(--azul); }
.btn--white:hover { color: var(--azul-cerro); }
.btn--ghost-light { background: transparent; color: var(--blanco); border-color: rgba(255,255,255,.7); font-weight: 700; }
.btn--ghost-light:hover { color: var(--blanco); background: rgba(255,255,255,.08); }
.btn--green { background: var(--verde); color: var(--blanco); }
.btn--green:hover { color: var(--blanco); background: var(--verde-osc); }
.btn--outline { background: var(--blanco); color: var(--tinta); border: 1.5px solid var(--tinta); font-weight: 700; font-size: 14.5px; min-height: 46px; padding: 0 18px; }
.btn--outline:hover { color: var(--tinta); }
.btn--wa { background: var(--wa); color: #0B2A17; border-radius: 99px; min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn--wa:hover { color: #0B2A17; }
.btn--blue { background: var(--azul); color: var(--blanco); }
.btn--blue:hover { color: var(--blanco); background: var(--azul-cerro); }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; font-size: 17px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.icon-btn { width: 40px; height: 40px; border-radius: 8px; border: 0; background: var(--fondo); cursor: pointer; display: grid; place-items: center; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--azul); font-weight: 600; text-decoration: underline; cursor: pointer; font-size: inherit; }

/* ---------- Franja superior ---------- */
.topbar { background: var(--verde); color: var(--blanco); font-size: 14px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; }
.topbar__item { display: flex; align-items: center; gap: 10px; }
.topbar__item .ic { width: 18px; height: 18px; color: #9FEACB; }
.topbar__call { color: var(--blanco); text-decoration: none; font-weight: 700; }
.topbar__call:hover { color: var(--blanco); text-decoration: underline; }

/* ---------- Encabezado ---------- */
.header { position: sticky; top: 0; z-index: 30; background: var(--blanco); box-shadow: 0 1px 0 var(--linea); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 100px; }
.header__logo img { height: 66px; width: auto; }

.search { position: relative; flex: 1; max-width: 600px; display: flex; height: 52px; border: 2px solid var(--azul); border-radius: var(--r-md); background: var(--blanco); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 16px; font-size: 15.5px; background: transparent; }
.search input::placeholder { color: #7A847E; }
.search input { border-radius: 8px 0 0 8px; }
.search > button { flex: none; width: 56px; border: 0; border-radius: 0 7px 7px 0; background: var(--azul); color: var(--blanco); display: grid; place-items: center; cursor: pointer; }

/* Buscador predictivo */
.suggest { position: absolute; left: -2px; right: -2px; top: calc(100% + 8px); z-index: 45; background: var(--blanco); border: 1px solid #E1E6DF; border-radius: var(--r-lg); box-shadow: 0 22px 50px rgba(11,63,107,.22); overflow: hidden auto; max-height: min(70vh, 520px); animation: rise .18s ease-out; }
.suggest__item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px 10px 14px; cursor: pointer; border-bottom: 1px solid #F0F3EE; }
.suggest__item:hover, .suggest__item[aria-selected="true"] { background: var(--menta-claro); }
.suggest__thumb { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; overflow: hidden; background: #E8F1F8; color: var(--azul); }
.suggest__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; background: var(--blanco); }
.suggest__thumb .ic { width: 22px; height: 22px; }
.suggest__text { min-width: 0; display: grid; gap: 2px; }
.suggest__name { font-size: 14.5px; font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest__meta { font-size: 12.5px; color: var(--muted); }
.suggest mark { background: rgba(85,210,156,.38); color: inherit; border-radius: 3px; padding: 0 1px; }
.suggest__add { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border-radius: var(--r-sm); border: 1.5px solid var(--azul); background: var(--blanco); color: var(--azul); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.suggest__add:hover { background: var(--azul); color: var(--blanco); }
.suggest__add .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.suggest__add.is-added { border-color: var(--menta-borde); background: var(--menta-claro); color: var(--verde-osc); }
.suggest__all { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 13px 14px; border: 0; background: var(--fondo); color: var(--azul); font-size: 14px; font-weight: 800; cursor: pointer; }
.suggest__all:hover { background: #E8EDE6; }
.suggest__all .ic { width: 16px; height: 16px; }
.suggest__empty { padding: 18px 16px; color: var(--texto-2); font-size: 14.5px; }
.suggest__empty a { font-weight: 700; }
@keyframes hit { 0%, 100% { box-shadow: 0 0 0 0 rgba(85,210,156,0); } 30% { box-shadow: 0 0 0 6px rgba(85,210,156,.55); } }
.card.is-hit { border-color: var(--menta-osc); animation: hit 1.4s ease 2; }
.search > button:hover { background: var(--azul-cerro); }

.quote { position: relative; }
.quote__btn { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px 0 14px; border-radius: var(--r-md); border: 1.5px solid var(--linea); background: var(--blanco); cursor: pointer; }
.quote__btn[aria-expanded="true"] { border-color: var(--tinta); background: var(--fondo); }
.quote__icon { position: relative; display: flex; }
.quote__icon .ic { width: 22px; height: 22px; stroke-width: 1.9; }
.quote__count { position: absolute; top: -9px; right: -11px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--verde); color: var(--blanco); font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--blanco); line-height: 1; }
.quote__label { text-align: left; line-height: 1.15; }
.quote__label small { display: block; font-size: 12px; color: var(--muted); }
.quote__label strong { display: block; font-size: 15px; font-weight: 800; white-space: nowrap; }

.quote__panel { position: absolute; right: 0; top: 64px; width: 400px; max-width: calc(100vw - 32px); background: var(--blanco); border-radius: var(--r-lg); border: 1px solid #E1E6DF; box-shadow: 0 22px 60px rgba(11,63,107,.25); overflow: hidden; z-index: 40; }
.quote__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid #E1E6DF; }
.quote__head strong { display: block; font-size: 19px; }
.quote__head small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.quote__list { max-height: 320px; overflow-y: auto; }
.quote__item { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid #EEF1EC; }
.quote__item img { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; padding: 3px; background: var(--blanco); border: 1px solid #E1E6DF; }
.quote__name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.quote__sub { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.quote__sub select { border: 1px solid var(--linea); border-radius: 4px; padding: 2px 4px; font-size: 12.5px; background: var(--blanco); }
.qty { display: flex; align-items: center; border: 1.5px solid var(--linea); border-radius: 8px; height: 40px; }
.qty button { width: 34px; height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.quote__empty { padding: 32px 20px; text-align: center; color: var(--texto-2); }
.quote__empty a { font-weight: 700; }
.quote__foot { background: var(--fondo); padding: 18px 20px; display: grid; gap: 12px; }
.quote__meta { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); gap: 12px; }

/* Barra de líneas */
.catbar { border-top: 1px solid #E8ECE6; background: var(--blanco); }
.catbar__in { display: flex; gap: 10px; padding-top: 12px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.catbar__in::-webkit-scrollbar { display: none; }
.catpill { flex: none; height: 44px; padding: 0 20px; border-radius: 99px; border: 1.5px solid var(--fondo); background: var(--fondo); color: var(--tinta); font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.catpill:hover { border-color: var(--azul); }
.catpill[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: var(--blanco); }

/* ---------- Portada (carrusel) ---------- */
.intro { position: relative; overflow: hidden; color: var(--blanco); transition: background-color .5s; background: linear-gradient(115deg, var(--azul) 0%, var(--azul-medio) 55%, var(--azul-cerro) 100%); }
.intro[data-slide="1"] { background: linear-gradient(115deg, var(--menta-osc) 0%, var(--menta) 55%, #8BE3BD 100%); color: var(--tinta); }
.intro[data-slide="2"] { background: linear-gradient(115deg, var(--menta-claro) 0%, var(--fondo) 100%); color: var(--tinta); }
.intro__waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity .5s; }
.intro[data-slide="1"] .intro__waves { opacity: 0; }
.intro[data-slide="2"] .intro__waves { opacity: .5; }

.intro__texture { position: absolute; inset: 0; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .5s; }
.intro[data-slide="1"] .intro__texture { opacity: 1; }
.intro__texture::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.09) 0 2px, transparent 2px 16px); }
.intro__texture::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 90% at 50% 45%, rgba(85,210,156,0) 0%, rgba(63,181,133,.55) 100%); }
.intro__curves { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__mark { position: absolute; fill: rgba(255,255,255,.22); z-index: 1; }
.intro__mark--a { left: -70px; top: -40px; width: 330px; height: 272px; transform: rotate(-14deg); }
.intro__mark--b { right: -90px; bottom: -110px; width: 400px; height: 330px; transform: rotate(18deg); fill: rgba(255,255,255,.18); }

.intro__stage { position: relative; display: grid; padding-top: 44px; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease, visibility 0s .5s; display: flex; align-items: center; min-height: 230px; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease, transform .5s ease, visibility 0s; }
.slide > .wrap { width: 100%; }
.slide__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.slide__grid--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.slide__center { display: flex; flex-direction: column; align-items: center; gap: 30px; }

.slide--1 .eyebrow { color: #9FEACB; }
.slide--2 .eyebrow { color: var(--azul-cerro); margin-bottom: 12px; }
.slide--3 .eyebrow { color: var(--verde); }

.intro__title { font-size: clamp(34px, 4.2vw, 48px); line-height: .98; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; }
.hl { color: var(--menta); position: relative; white-space: nowrap; }
.hl svg { position: absolute; left: 0; bottom: -8px; width: 100%; height: 14px; fill: none; stroke: rgba(255,255,255,.55); stroke-width: 7; stroke-linecap: round; }
.intro__h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.02; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; }
.slide--2 .intro__h2 { font-size: clamp(26px, 3vw, 36px); }
.hl2 { color: var(--azul-cerro); }
.hl3 { color: var(--azul); }
.intro__lead { font-size: 17px; line-height: 1.55; color: #DCE8F4; max-width: 520px; }
.slide--3 .intro__lead { color: var(--texto-2); margin-top: 16px; font-size: 16px; }

.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
.sectors li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 4px 18px; }
.sectors li + li { border-left: 1px solid rgba(11,63,107,.22); }
.sectors__ic { width: 68px; height: 68px; border-radius: 99px; background: var(--blanco); box-shadow: 0 6px 16px rgba(11,63,107,.18); display: grid; place-items: center; color: var(--azul); }
.sectors__ic .ic { width: 30px; height: 30px; stroke-width: 1.8; }
.sectors strong { font-size: 18px; font-weight: 800; }
.sectors span:last-child { font-size: 14px; color: #1E3D33; line-height: 1.4; }

.milestones { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.milestones::before { content: ""; position: absolute; left: 28px; right: 50%; top: 27px; height: 2px; background: rgba(22,33,28,.18); }
.milestones li { position: relative; display: flex; flex-direction: column; }
.milestones__dot { width: 56px; height: 56px; border-radius: 99px; background: var(--blanco); border: 2px solid var(--azul); display: grid; place-items: center; color: var(--azul); }
.milestones .is-now .milestones__dot { background: var(--verde); border-color: var(--verde); color: var(--blanco); }
.milestones strong { font-size: 40px; font-weight: 800; font-stretch: 118%; line-height: 1; margin-top: 16px; }
.milestones .is-now strong { color: var(--verde); }
.milestones span:last-child { color: var(--texto-2); font-size: 14.5px; margin-top: 6px; line-height: 1.45; }

.intro__controls { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-bottom: 28px; }
.dots { display: flex; gap: 8px; align-items: center; }
.dots { gap: 0; }
.dots button { height: 32px; width: 24px; border: 0; padding: 0; cursor: pointer; background: none; display: grid; place-items: center; transition: width .25s; }
.dots button::before { content: ""; height: 8px; width: 8px; border-radius: 99px; background: rgba(255,255,255,.45); transition: width .25s, background .25s; }
.dots button[aria-current="true"] { width: 40px; }
.dots button[aria-current="true"]::before { width: 28px; background: var(--menta); }
.intro[data-slide="1"] .dots button::before { background: rgba(11,63,107,.3); }
.intro[data-slide="1"] .dots button[aria-current="true"]::before { background: var(--azul-cerro); }
.intro[data-slide="2"] .dots button::before { background: rgba(22,33,28,.25); }
.intro[data-slide="2"] .dots button[aria-current="true"]::before { background: var(--azul); }
.arrows { display: flex; gap: 8px; }
.arrow { width: 44px; height: 44px; border-radius: 99px; border: 1.5px solid rgba(255,255,255,.45); background: transparent; color: var(--blanco); cursor: pointer; display: grid; place-items: center; }
.arrow:hover { background: rgba(255,255,255,.1); }
.intro[data-slide="1"] .arrow { border-color: rgba(11,63,107,.45); color: var(--azul-cerro); }
.intro[data-slide="2"] .arrow { border-color: rgba(22,33,28,.3); color: var(--tinta); }

.facts { position: relative; z-index: 2; overflow: hidden; background: var(--azul-cerro); border-top: 1px solid rgba(255,255,255,.14); color: var(--blanco); }
.facts__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 18px; padding-bottom: 18px; }
.facts li { position: relative; display: flex; gap: 14px; align-items: center; justify-content: center; padding: 2px 16px; transition: transform .25s ease; }
.facts li + li::before { content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px; background: rgba(255,255,255,.22); }
.facts__ic { position: relative; flex: none; width: 46px; height: 46px; border-radius: 99px; display: grid; place-items: center; background: rgba(85,210,156,.14); box-shadow: inset 0 0 0 1px rgba(85,210,156,.32); overflow: hidden; transition: background .25s, transform .25s; }
.facts .ic { width: 22px; height: 22px; color: var(--menta); }
@media (hover: hover) {
  .facts li:hover { transform: translateY(-2px); }
  .facts li:hover .facts__ic { background: rgba(85,210,156,.26); transform: scale(1.06); }
}
.facts strong { display: block; font-size: 15.5px; font-weight: 800; }
.facts li div span { display: block; font-size: 13.5px; color: #C9DBEC; margin-top: 2px; }

/* ---------- Catálogo ---------- */
.catalog { padding: 72px 0 88px; background: var(--blanco); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head .h2 { max-width: 820px; }
.catalog__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }

.filters { position: sticky; top: calc(var(--header-h) + 16px); background: var(--fondo); border-radius: 12px; padding: 22px; display: grid; gap: 26px; }
.filters__search { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--linea-2); border-radius: 8px; padding: 0 12px; height: 46px; background: var(--blanco); color: var(--muted); }
.filters__search input { border: 0; outline: none; background: transparent; width: 100%; font-size: 15px; color: var(--tinta); }
.filters__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.filters__lines { display: grid; gap: 4px; }
.line-btn { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; font-size: 15px; font-weight: 500; border: 0; border-radius: 8px; padding: 10px 12px; min-height: 44px; cursor: pointer; background: transparent; }
.line-btn span { font-size: 13px; color: var(--muted); font-weight: 600; }
.line-btn[aria-pressed="true"] { background: var(--blanco); font-weight: 800; }
.filters__pres { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { font-size: 14px; font-weight: 600; border-radius: 99px; padding: 0 14px; min-height: 40px; cursor: pointer; background: var(--blanco); border: 1.5px solid var(--linea-2); }
.chip-btn[aria-pressed="true"] { background: var(--tinta); color: var(--blanco); border-color: var(--tinta); }
.filters__help { border-top: 1px solid var(--linea); padding-top: 18px; font-size: 14.5px; line-height: 1.5; color: var(--texto-2); }
.filters__help a { font-weight: 700; }

.results__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.results__info { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 14.5px; color: var(--texto-2); }
.pill-mint { display: inline-flex; align-items: center; gap: 8px; background: var(--menta-claro); color: var(--verde-osc); border: 0; border-radius: 99px; padding: 0 14px; min-height: 36px; font-size: 14px; font-weight: 700; cursor: pointer; }
.pill-mint .ic { width: 16px; height: 16px; }
.results__sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--texto-2); }
.results__sort select { height: 40px; border: 1.5px solid var(--linea-2); border-radius: var(--r-sm); padding: 0 10px; background: var(--blanco); }

.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1240px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; border: 1.5px solid #E1E6DF; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: var(--blanco); transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--azul); box-shadow: 0 10px 26px rgba(11,63,107,.08); }
.card__media { position: relative; aspect-ratio: 16 / 10; cursor: pointer; background: var(--azul-claro); overflow: hidden; }
.card__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 28px 14px 8px; background: var(--blanco); }
.card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--azul); background:
  radial-gradient(circle at 50% 55%, rgba(255,255,255,.9) 0 28%, transparent 29%),
  linear-gradient(135deg, var(--menta-claro), #DCEBF6); }
.card__ph .ic { width: 30%; height: auto; max-width: 84px; aspect-ratio: 1; stroke-width: 1.4; }
.card__code, .card__brand { z-index: 3; }
.card__brand { position: absolute; top: 10px; right: 10px; max-width: calc(100% - 96px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; font-weight: 700; letter-spacing: .02em; background: rgba(255,255,255,.94); color: var(--texto-2); padding: 4px 8px; border-radius: 4px; }
.card__brand--rl { background: var(--verde); color: var(--blanco); font-weight: 800; letter-spacing: .04em; }
.card__line span { color: var(--muted); font-weight: 600; }
.chip-btn span { margin-left: 6px; font-size: 12px; font-weight: 600; opacity: .6; }
.card__media[data-line-ic="jarcieria"] .card__ph, .card__media[data-line-ic="contenedores para basura"] .card__ph { color: var(--verde); }
.card__media[data-line-ic="ambientacion de espacios"] .card__ph { color: #2C8C8C; }
.card__desc { font-size: 13.5px; line-height: 1.45; color: var(--texto-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; margin-top: -4px; padding: 2px 0; border: 0; background: none; color: var(--azul); font-size: 13px; font-weight: 700; cursor: pointer; }
.card__more:hover { text-decoration: underline; }
.card__more .ic { width: 14px; height: 14px; }
.quote__ph { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; background: var(--menta-claro); color: var(--azul); }
.quote__ph .ic { width: 22px; height: 22px; }
.card__code { position: absolute; top: 10px; left: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; background: var(--blanco); padding: 4px 8px; border-radius: 4px; color: var(--texto-2); }
.card__body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__line { font-size: 12.5px; font-weight: 700; color: var(--verde); letter-spacing: .04em; }
.card__name { font-size: 16px; line-height: 1.25; font-weight: 700; cursor: pointer; }
.card__name:hover { color: var(--azul); }
.card__pres { display: flex; flex-wrap: wrap; gap: 6px; }
.card__pres span { font-size: 12.5px; font-weight: 600; background: var(--fondo); border-radius: 4px; padding: 4px 8px; color: var(--texto-2); }
.card__actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 6px; }
.card__actions a { font-size: 14px; font-weight: 600; }
.add-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; border-radius: var(--r-sm); padding: 0 14px; min-height: 44px; cursor: pointer; border: 1.5px solid var(--azul); background: var(--azul); color: var(--blanco); margin-left: auto; }
.add-btn .ic { width: 15px; height: 15px; stroke-width: 2.6; }
.add-btn.is-added { background: var(--menta-claro); color: var(--verde-osc); border-color: var(--menta-borde); }

.card-qty { margin-left: auto; display: flex; align-items: center; height: 44px; border-radius: var(--r-sm); background: var(--menta-claro); border: 1.5px solid var(--menta-borde); overflow: hidden; }
.card-qty button { width: 44px; height: 100%; border: 0; background: transparent; font-size: 20px; font-weight: 700; color: var(--verde-osc); cursor: pointer; }
.card-qty button:hover { background: rgba(43,114,14,.1); }
.card-qty span { display: inline-flex; align-items: center; gap: 4px; min-width: 40px; justify-content: center; font-weight: 800; color: var(--verde-osc); }
.card-qty .ic { width: 14px; height: 14px; stroke-width: 2.6; }
@media (max-width: 700px) { .card-qty { width: 100%; justify-content: space-between; height: 42px; } }
.empty { border: 1.5px dashed var(--linea-2); border-radius: 12px; padding: 40px; text-align: center; color: var(--texto-2); }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; }
.pager button { width: 44px; height: 44px; border-radius: 8px; border: 1.5px solid var(--linea-2); background: var(--blanco); font-weight: 700; font-size: 15px; cursor: pointer; display: grid; place-items: center; }
.pager button[aria-current="page"] { background: var(--tinta); color: var(--blanco); border-color: var(--tinta); }
.pager button:disabled { opacity: .4; cursor: default; }

/* ---------- Cómo trabajamos ---------- */
.dots-bg { background-color: var(--fondo); background-image: radial-gradient(#C9D2C6 1px, transparent 1px); background-size: 22px 22px; }
.steps { padding: 88px 0 96px; }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 60px; }
.steps__list::before { content: ""; position: absolute; left: 17%; right: 17%; top: 62px; border-top: 3px dashed #9DB0A2; }
.steps__list li { position: relative; text-align: center; padding: 0 12px; display: flex; flex-direction: column; align-items: center; }
.steps__circle { position: relative; width: 124px; height: 124px; border-radius: 99px; background: var(--blanco); border: 3px solid currentColor; display: grid; place-items: center; }
.steps__circle .ic { width: 52px; height: 52px; stroke-width: 1.7; }
.steps__circle b { position: absolute; top: -6px; right: -6px; width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; font-size: 19px; font-weight: 800; color: var(--blanco); background: currentColor; }
.steps__circle b { color: var(--blanco); }
.steps__circle--blue { color: var(--azul); }
.steps__circle--blue b { background: var(--azul); }
.steps__circle--green { color: var(--verde); }
.steps__circle--green b { background: var(--verde); }
.steps__circle--navy { background: var(--azul-cerro); border-color: var(--azul-cerro); color: var(--menta); }
.steps__circle--navy .ic { width: 56px; height: 56px; }
.steps__circle--navy b { background: var(--menta); color: var(--azul-cerro); }
.steps__list strong { font-size: 25px; font-weight: 800; font-stretch: 108%; margin-top: 26px; }
.steps__list li > span:last-child { color: var(--texto-2); font-size: 16.5px; line-height: 1.5; margin-top: 10px; max-width: 300px; }
.steps__note { display: flex; align-items: center; gap: 12px; width: fit-content; margin: 52px auto 0; background: var(--menta-claro); border: 1.5px solid var(--menta-borde); color: var(--verde-osc); border-radius: 99px; padding: 14px 24px; font-weight: 700; font-size: 16.5px; text-align: center; }
.steps__note .ic { color: var(--verde); width: 22px; height: 22px; }

/* ---------- Contacto ---------- */
.contact { background: var(--azul); color: var(--blanco); padding: 88px 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact .eyebrow { color: #9FEACB; }
.contact__title { font-size: clamp(40px, 5vw, 64px); line-height: .96; font-weight: 800; font-stretch: 114%; letter-spacing: -.02em; }
.contact__lead { margin: 22px 0 30px; font-size: 18px; line-height: 1.55; color: #DCE8F4; max-width: 460px; }
.contact .btn--white { color: var(--tinta); }
.contact__list { margin-top: 40px; display: grid; gap: 14px; font-size: 16.5px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.45; max-width: 460px; }
.contact__list .ic { color: #9FEACB; margin-top: 2px; }
.contact__list a { color: var(--blanco); text-decoration: none; }
.contact__list a:hover { text-decoration: underline; color: var(--blanco); }
.contact__list small { color: #9FEACB; font-size: 14px; }

.form { background: var(--blanco); color: var(--tinta); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 16px; }
.form h3 { font-size: 23px; font-weight: 800; }
.form__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form select, .form textarea { height: 46px; border: 1.5px solid #B9C4B6; border-radius: var(--r-sm); padding: 0 12px; font-weight: 400; font-size: 16px; background: var(--blanco); }
.form textarea { height: auto; padding: 10px 12px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--azul); outline: none; box-shadow: 0 0 0 3px rgba(18,98,163,.15); }
.form input[aria-invalid="true"] { border-color: #C0392B; }
.form__check { flex-direction: row !important; align-items: center; gap: 10px !important; font-weight: 500 !important; }
.form__check input { width: 18px; height: 18px; padding: 0; }
.form__status { font-size: 14px; min-height: 1em; color: var(--verde); }
.form__status.is-error { color: #B03A2E; }
.form__legal { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { padding: 72px 0 56px; background: var(--blanco); }
.faq__more { margin-top: 20px; color: var(--texto-2); font-size: 16.5px; }
.faq__list { border-bottom: 1.5px solid var(--tinta); }
.faq details { border-top: 1.5px solid var(--tinta); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-size: 18.5px; font-weight: 700; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--azul); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--texto-2); line-height: 1.6; max-width: 560px; }

/* ---------- Pie ---------- */
.footer { background: var(--azul-cerro); color: var(--blanco); }
.footer__cerro { display: block; width: 100%; height: 70px; background: var(--blanco); fill: var(--azul-cerro); margin-bottom: -1px; }
.footer .wrap { padding-top: 24px; }
.footer__cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__logo { display: inline-flex; background: var(--blanco); border-radius: var(--r-md); padding: 10px 14px; }
.footer__logo img { height: 40px; width: auto; }
.footer__about { margin: 18px 0 22px; color: #C9DBEC; font-size: 15px; line-height: 1.55; max-width: 340px; }
.footer__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--menta); margin-bottom: 16px; }
.footer__links { display: grid; gap: 10px; font-size: 15px; }
.footer__links a { color: var(--blanco); text-decoration: none; }
.footer__links a:hover { text-decoration: underline; color: var(--blanco); }
.footer__contact { display: grid; gap: 10px; font-size: 15px; color: #E3EDF6; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ic { width: 18px; height: 18px; color: var(--menta); margin-top: 2px; }
.footer__contact a { color: #E3EDF6; text-decoration: none; }
.footer__contact a:hover { color: var(--blanco); text-decoration: underline; }
.footer__legal { margin-top: 52px; padding: 22px 0 28px; border-top: 1px solid #2B5E8C; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #C9DBEC; }
.footer__legal a { color: var(--blanco); font-weight: 600; }

/* ---------- Botón flotante de WhatsApp (celular y tableta) ---------- */
.wa-float { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 32px; }
}

/* Tableta */
@media (max-width: 960px) {
  :root { --header-h: 188px; --gutter: 24px; }
  .topbar__item:first-child { display: none; }
  .topbar__in { justify-content: center; padding-top: 7px; padding-bottom: 7px; }

  .header__in { flex-wrap: wrap; height: auto; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
  .header__logo img { height: 46px; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 48px; }
  .search input { font-size: 16px; }
  .quote__btn { height: 48px; }
  .header { transition: transform .3s ease, box-shadow .3s ease; }
  .header.is-hidden { transform: translateY(calc(-100% - 2px)); box-shadow: none; }
  .catbar__in { padding-top: 8px; padding-bottom: 10px; gap: 8px; }
  .catpill { height: 40px; padding: 0 16px; font-size: 14px; }


  .slide__grid, .slide__grid--even, .two-col { grid-template-columns: minmax(0, 1fr); }
  .slide { min-height: 0; }
  .slide__grid { gap: 20px; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .sectors li:nth-child(3) { border-left: 0; }

  /* Catálogo: filtros en fila arriba de los productos */
  .catalog { padding: 56px 0 72px; }
  .section-head { margin-bottom: 24px; }
  .catalog__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .filters { position: static; padding: 0; background: none; gap: 12px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
  .filters > * { min-width: 0; }
  .filters__search, .filters__help, .filters__label { display: none; }
  .filters__lines, .filters__pres { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .filters__lines::-webkit-scrollbar, .filters__pres::-webkit-scrollbar { display: none; }
  .line-btn { flex: none; min-height: 42px; padding: 0 16px; border-radius: 99px; background: var(--fondo); font-size: 14.5px; font-weight: 700; white-space: nowrap; gap: 8px; }
  .line-btn span { background: var(--blanco); border-radius: 99px; padding: 1px 7px; font-size: 12px; }
  .line-btn[aria-pressed="true"] { background: var(--azul); color: var(--blanco); }
  .line-btn[aria-pressed="true"] span { color: var(--azul); }
  .filters__pres::before { content: "Tipo:"; flex: none; align-self: center; font-size: 13px; font-weight: 700; color: var(--muted); }
  .chip-btn { flex: none; min-height: 40px; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .results__sort select { font-size: 16px; }

  /* Pasos: tres columnas compactas */
  .steps { padding: 64px 0 72px; }
  .steps__list { margin-top: 40px; gap: 16px; }
  .steps__list::before { top: 44px; }
  .steps__circle { width: 88px; height: 88px; }
  .steps__circle .ic, .steps__circle--navy .ic { width: 38px; height: 38px; }
  .steps__circle b { width: 32px; height: 32px; font-size: 16px; top: -4px; right: -4px; }
  .steps__list strong { font-size: 21px; margin-top: 18px; }
  .steps__list li > span:last-child { font-size: 15px; }
  .steps__note { margin-top: 36px; font-size: 15px; }

  .contact { padding: 64px 0; }
  .two-col { gap: 40px; }
  .contact__list li { min-height: 44px; align-items: center; }
  .faq { padding: 56px 0 48px; }

  .quote__sub { flex-wrap: wrap; white-space: nowrap; }
  .quote__sub select { font-size: 16px; padding: 4px 6px; }

  .wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 35; width: 58px; height: 58px; border-radius: 99px; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(11,63,107,.3); transition: transform .2s ease, opacity .2s ease; }
  .wa-float .ic { width: 30px; height: 30px; stroke-width: 1.8; }
  .wa-float { opacity: 0; pointer-events: none; transform: translateY(12px); }
  body.wa-visible .wa-float { opacity: 1; pointer-events: auto; transform: none; }
  body.wa-visible .wa-float:active { transform: scale(.94); }
  body.quote-open .wa-float { opacity: 0; pointer-events: none; }
}

@media (max-width: 700px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__media { aspect-ratio: 16 / 11; }
  .card__media img { padding: 26px 10px 8px; }
  .card__code { top: 6px; left: 6px; font-size: 10px; padding: 3px 6px; }
  .card__body { padding: 10px 10px 12px; gap: 6px; }
  .card__line { font-size: 11px; letter-spacing: .02em; }
  .card__name { font-size: 15px; }
  .card__desc { display: none; }
  .card__more { font-size: 12.5px; margin-top: -2px; }
  .card__brand { top: 6px; right: 6px; font-size: 9.5px; padding: 3px 5px; }
  .card__pres { gap: 4px; }
  .card__pres span { font-size: 11px; padding: 3px 6px; }
  .card__actions { padding-top: 4px; }
  .add-btn { width: 100%; justify-content: center; min-height: 42px; font-size: 14px; padding: 0 8px; }
}

/* Celular */
@media (max-width: 600px) {
  :root { --gutter: 16px; --header-h: 172px; }
  .topbar { font-size: 13px; }
  .header__logo img { height: 40px; }
  .quote__btn { height: 46px; padding-left: 10px; padding-right: 12px; gap: 8px; }
  .quote__label small { display: none; }
  .quote__label strong { font-size: 14px; }
  .search { height: 46px; }
  .search > button { width: 50px; }
  .suggest__add span { display: none; }
  .suggest__add { padding: 0 10px; }
  .suggest { max-height: 60vh; }
  .quote__panel { position: fixed; left: 8px; right: 8px; top: auto; bottom: calc(8px + env(safe-area-inset-bottom)); width: auto; max-width: none; }
  .quote__list { max-height: 45vh; }

  .intro__stage { padding-top: 30px; }
  .intro__title { font-size: clamp(31px, 8.6vw, 38px); }
  .slide--1 .intro__lead { font-size: 16px; }
  .btn-row .btn { flex: 1 1 100%; }
  .sectors li { padding: 4px 8px; }
  .sectors__ic { width: 56px; height: 56px; }
  .sectors strong { font-size: 16px; }
  .sectors span:last-child { font-size: 13px; }
  .milestones strong { font-size: 32px; }
  .intro__controls { margin-top: 18px; padding-bottom: 22px; }
  .facts__in { padding-top: 14px; padding-bottom: 14px; }
  .facts li { flex-direction: column; gap: 8px; padding: 0 6px; text-align: center; }
  .facts__ic { width: 38px; height: 38px; }
  .facts .ic { width: 19px; height: 19px; }
  .facts strong { font-size: 13px; line-height: 1.2; }
  .facts li div span { font-size: 11.5px; }
  .intro__mark--a { width: 220px; height: 182px; }
  .intro__mark--b { width: 260px; height: 215px; }

  .h2 { font-size: clamp(27px, 7.4vw, 34px); }
  .catalog, .steps, .contact { padding-top: 48px; padding-bottom: 56px; }
  .results__bar { margin-bottom: 14px; }
  .results__info { gap: 10px; font-size: 13.5px; }

  /* Pasos en lista vertical con línea guía */
  .steps__list { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 28px; }
  .steps__list::before { display: block; left: 31px; right: auto; top: 20px; bottom: 20px; border-top: 0; border-left: 3px dashed #9DB0A2; }
  .steps__list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; text-align: left; align-items: start; padding: 0; }
  .steps__circle { width: 64px; height: 64px; grid-row: span 2; border-width: 2.5px; }
  .steps__circle .ic, .steps__circle--navy .ic { width: 28px; height: 28px; }
  .steps__circle b { width: 26px; height: 26px; font-size: 13px; top: -6px; right: -8px; }
  .steps__list strong { margin-top: 6px; font-size: 20px; }
  .steps__list li > span:last-child { margin-top: 4px; max-width: none; }
  .steps__note { border-radius: 14px; text-align: left; padding: 14px 16px; font-size: 14.5px; width: auto; }

  .contact__title { font-size: clamp(36px, 10vw, 44px); }
  .contact__lead { font-size: 16.5px; margin: 16px 0 24px; }
  .contact .btn--lg { width: 100%; }
  .contact__list { margin-top: 28px; gap: 4px; font-size: 16px; }
  .form { padding: 22px; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .form .btn { min-height: 52px; }

  .faq summary { font-size: 17px; padding: 16px 0; }

  .footer__cerro { height: 44px; }
  .footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 20px; }
  .footer__cols > :first-child, .footer__cols > :last-child { grid-column: 1 / -1; }
  .footer__links { gap: 0; }
  .footer__links a { display: block; padding: 8px 0; }
  .footer__contact { gap: 2px; }
  .footer__contact li { padding: 8px 0; }
  .footer__legal { margin-top: 36px; padding-bottom: 96px; }
}

@media (max-width: 370px) {
  .header__logo img { height: 34px; }
  .quote__label strong { font-size: 13px; }
  .card__name { font-size: 14px; }
  .facts strong { font-size: 12px; }
}

/* ==========================================================
   Animaciones
   ========================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.55); } 70% { opacity: 1; transform: scale(1.07); } 100% { opacity: 1; transform: scale(1); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.35); } 60% { transform: scale(.92); } 100% { transform: scale(1); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 60% { transform: rotate(9deg); } }
@keyframes ring { 0% { box-shadow: 0 10px 24px rgba(11,63,107,.3), 0 0 0 0 rgba(37,211,102,.55); } 100% { box-shadow: 0 10px 24px rgba(11,63,107,.3), 0 0 0 20px rgba(37,211,102,0); } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drive { 0% { opacity: 0; transform: translateX(-16px); } 60% { opacity: 1; transform: translateX(3px); } 100% { opacity: 1; transform: none; } }
@keyframes shine { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(220%) skewX(-18deg); } }

/* Portada: cada diapositiva entra en cascada */
.slide.is-active .eyebrow,
.slide.is-active .intro__title,
.slide.is-active .intro__h2,
.slide.is-active .intro__lead,
.slide.is-active .btn-row,
.slide.is-active .sectors li,
.slide.is-active .milestones li { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.slide.is-active .intro__title, .slide.is-active .intro__h2 { animation-delay: .08s; }
.slide.is-active .intro__lead { animation-delay: .2s; }
.slide.is-active .btn-row { animation-delay: .3s; }
.slide.is-active .sectors li:nth-child(1) { animation-delay: .18s; }
.slide.is-active .sectors li:nth-child(2) { animation-delay: .28s; }
.slide.is-active .sectors li:nth-child(3) { animation-delay: .38s; }
.slide.is-active .sectors li:nth-child(4) { animation-delay: .48s; }
.slide.is-active .sectors__ic { animation: pop .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: inherit; }
.slide.is-active .milestones li:nth-child(1) { animation-delay: .25s; }
.slide.is-active .milestones li:nth-child(2) { animation-delay: .45s; }
.slide.is-active .hl svg path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s .6s cubic-bezier(.5,0,.2,1) forwards; }

/* Barra de avance en el punto activo del carrusel */
.dots button { position: relative; }
.dots button::after { content: ""; position: absolute; left: 6px; top: 12px; width: 28px; height: 8px; border-radius: 99px; background: var(--menta); transform: scaleX(0); transform-origin: left; opacity: 0; }
.dots.is-running button[aria-current="true"]::before { background: rgba(255,255,255,.3); }
.dots.is-running button[aria-current="true"]::after { opacity: 1; animation: fill var(--dur, 6.5s) linear forwards; }
.intro[data-slide="1"] .dots.is-running button[aria-current="true"]::before { background: rgba(11,63,107,.22); }
.intro[data-slide="1"] .dots button::after { background: var(--azul-cerro); }
.intro[data-slide="2"] .dots.is-running button[aria-current="true"]::before { background: rgba(22,33,28,.16); }
.intro[data-slide="2"] .dots button::after { background: var(--azul); }

/* Datos bajo la portada */
/* Franja de datos: entrada, divisores que crecen, destello y un ícono animado a la vez */
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes drip { 0%, 14%, 100% { transform: none; } 3% { transform: translateY(-7px) scale(.9, 1.1); } 7% { transform: translateY(2px) scale(1.12, .88); } 10% { transform: translateY(-1px); } }
@keyframes ripple { 0%, 5% { transform: scale(.3); opacity: 0; } 7% { opacity: .9; } 16%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes truck-go { 0%, 33%, 100% { transform: none; } 36% { transform: translateX(26px); opacity: 0; } 37% { transform: translateX(-26px); opacity: 0; } 41% { transform: translateX(3px); opacity: 1; } 43% { transform: none; } }
@keyframes card-shine { 0%, 66%, 100% { transform: translateX(-140%) skewX(-20deg); } 76% { transform: translateX(140%) skewX(-20deg); } }
@keyframes card-flip { 0%, 66%, 100% { transform: none; } 70% { transform: rotateY(180deg); } 74% { transform: rotateY(360deg); } }
@keyframes pop-in { 0% { opacity: 0; transform: scale(.4) rotate(-20deg); } 70% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: none; } }

.js-anim .facts li { animation: rise .6s cubic-bezier(.2,.7,.2,1) backwards; }
.js-anim .facts li:nth-child(1) { animation-delay: .35s; }
.js-anim .facts li:nth-child(2) { animation-delay: .5s; }
.js-anim .facts li:nth-child(3) { animation-delay: .65s; }
.js-anim .facts__ic { animation: pop-in .6s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: inherit; }
.js-anim .facts li + li::before { animation: grow-y .7s .9s cubic-bezier(.2,.7,.2,1) both; }
.js-anim .facts::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.09) 50%, transparent 65%); animation: sweep 1.6s 1s ease-in-out both; }

/* Ciclo de 9 s: gota, camión y tarjeta se animan por turnos */
.js-anim .facts__ic--drop .ic { animation: drip 9s 2s ease-in-out infinite; }
.js-anim .facts__ic--drop::after { content: ""; position: absolute; inset: 8px; border-radius: 99px; border: 2px solid var(--menta); opacity: 0; animation: ripple 9s 2s ease-out infinite; }
.js-anim .facts__ic--truck .ic { animation: truck-go 9s 2s cubic-bezier(.5,0,.3,1) infinite; }
.js-anim .facts__ic--card { perspective: 120px; }
.js-anim .facts__ic--card .ic { animation: card-flip 9s 2s ease-in-out infinite; }
.js-anim .facts__ic--card::after { content: ""; position: absolute; top: 0; bottom: 0; width: 45%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: card-shine 9s 2s ease-in-out infinite; }

/* Aparición al bajar */
.js-anim [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rd, 0s); }
.js-anim [data-reveal].is-in { opacity: 1; transform: none; }

/* Tarjetas de producto: entran en cascada (también al filtrar o cambiar de página) */
.js-anim .products:not(.is-in) .card { opacity: 0; }
.js-anim .products.is-in .card { animation: rise .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 60ms); }
.js-anim .products.is-in .card--still { animation: none; }
.card__media img { transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
@media (hover: hover) {
  .card:hover .card__media img { transform: translateY(-3px) scale(1.05); filter: saturate(1.15) contrast(1.05) brightness(1.02); }
  .add-btn { position: relative; overflow: hidden; }
  .add-btn:not(.is-added):hover::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: shine .7s ease; }
}
.add-btn { transition: background .2s, color .2s, border-color .2s, transform .15s; }
.add-btn:active { transform: scale(.96); }
.add-btn.just-added .ic { animation: pop .45s cubic-bezier(.2,.7,.2,1) both; }

/* Punto que vuela al carrito y rebote del contador */
.fly-dot { position: fixed; z-index: 60; width: 18px; height: 18px; border-radius: 99px; background: var(--verde); box-shadow: 0 0 0 4px rgba(85,210,156,.45); pointer-events: none; }
.bump { animation: bump .45s cubic-bezier(.3,.7,.3,1); }
.quote__icon.bump { animation: wiggle .5s ease; }

/* Cómo trabajamos: la línea se dibuja y los círculos aparecen uno por uno */
.js-anim .steps__list::before { transform: scaleX(0); transform-origin: left; transition: transform 1.4s .35s cubic-bezier(.6,0,.2,1); }
.js-anim .steps__list.is-in::before { transform: scaleX(1); }
.js-anim .steps__list li > * { opacity: 0; }
.js-anim .steps__list.is-in .steps__circle { animation: pop .6s cubic-bezier(.2,.7,.2,1) both; }
.js-anim .steps__list.is-in li > strong, .js-anim .steps__list.is-in li > span:last-child { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.js-anim .steps__list.is-in li:nth-child(1) > * { animation-delay: .15s; }
.js-anim .steps__list.is-in li:nth-child(2) > * { animation-delay: .65s; }
.js-anim .steps__list.is-in li:nth-child(3) > * { animation-delay: 1.15s; }
.js-anim .steps__list.is-in li > span:last-child { animation-delay: calc(var(--sd, 0s) + .1s); }
.js-anim .steps__list.is-in li:nth-child(1) { --sd: .15s; }
.js-anim .steps__list.is-in li:nth-child(2) { --sd: .65s; }
.js-anim .steps__list.is-in li:nth-child(3) { --sd: 1.15s; }
.js-anim .steps__list.is-in .steps__circle--navy .ic { animation: drive .9s 1.5s cubic-bezier(.2,.7,.2,1) both; }

/* Preguntas frecuentes */
.faq details[open] p { animation: rise .4s cubic-bezier(.2,.7,.2,1) both; }
.faq summary::after { transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }

/* Botón flotante de WhatsApp: pulso suave al aparecer */
@media (max-width: 960px) {
  body.wa-visible .wa-float { animation: ring 1.8s ease-out .4s 3; }
}

/* Contacto: realce al enfocar campos */
.form label { transition: color .2s; }
.form label:focus-within { color: var(--azul); }

@media (max-width: 600px) {
  .js-anim .steps__list::before { transform: scaleY(0); transform-origin: top; }
  .js-anim .steps__list.is-in::before { transform: scaleY(1); }
}

/* Ventana con el detalle del producto */
.pmodal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: rgba(11,30,48,.55); animation: fadein .2s ease; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.pmodal__box { position: relative; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--blanco); border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(11,30,48,.35); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); animation: rise .25s cubic-bezier(.2,.7,.2,1); }
.pmodal__media { position: relative; min-height: 320px; background: var(--azul-claro); }
.pmodal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 28px; background: var(--blanco); z-index: 1; }
.pmodal__media .card__ph .ic { width: 34%; max-width: 120px; }
.pmodal__body { padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.pmodal__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 99px; border: 0; background: var(--blanco); box-shadow: 0 4px 14px rgba(11,30,48,.18); display: grid; place-items: center; cursor: pointer; }
.pmodal__close .ic { width: 20px; height: 20px; }
.pmodal__line { font-size: 13px; font-weight: 700; color: var(--verde); letter-spacing: .04em; }
.pmodal__name { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.12; font-weight: 800; font-stretch: 106%; }
.pmodal__code { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.pmodal__desc { color: var(--texto-2); line-height: 1.6; font-size: 15.5px; }
.pmodal__actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pmodal__actions .add-btn, .pmodal__actions .card-qty { margin-left: 0; }
.pmodal__wa { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-sm); border: 1.5px solid var(--linea-2); font-weight: 700; font-size: 14px; color: var(--tinta); text-decoration: none; }
.pmodal__wa .ic { color: var(--wa); }
.pmodal__wa:hover { border-color: var(--wa); color: var(--tinta); }
body.modal-open { overflow: hidden; }
@media (max-width: 700px) {
  .pmodal { padding: 0; align-items: end; }
  .pmodal__box { grid-template-columns: minmax(0, 1fr); border-radius: 18px 18px 0 0; max-height: 92vh; }
  .pmodal__media { min-height: 0; aspect-ratio: 16 / 9; }
  .pmodal__body { padding: 20px 18px calc(22px + env(safe-area-inset-bottom)); }
  .pmodal__actions > * { flex: 1 1 100%; justify-content: center; }
  .pmodal__actions .card-qty { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .btn:hover { transform: none; }
}

[hidden] { display: none !important; }

/* Rendimiento: las secciones de abajo se dibujan solo cuando se acercan a la pantalla */
.steps, .contact, .faq, .footer { content-visibility: auto; contain-intrinsic-size: auto 700px; }
picture { display: contents; }

/* Presentación a elegir en tarjetas y detalle */
.pres-pick { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.pres-pick select { width: 100%; min-height: 38px; padding: 0 30px 0 10px; border: 1.5px solid var(--linea-2); border-radius: var(--r-sm); background: var(--blanco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231262A3' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance: none; appearance: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--tinta); cursor: pointer; text-overflow: ellipsis; }
.pres-pick select:focus-visible { outline: 2px solid var(--azul); outline-offset: 1px; border-color: var(--azul); }
.quote__sub strong { color: var(--tinta); font-weight: 700; }
