/* =========================================================
   CEPROSER S.A.C. — Home
   Tipografía: Inter Tight (títulos) + Inter (texto)
   ========================================================= */

:root {
  --primary: #010ED0;
  --primary-600: #0009A6;
  --navy: #0A0D31;
  --navy-2: #141845;
  --ink: #242627;
  --text: #4A4D57;
  --muted: #6E7180;
  --lavender: #DEE0FF;
  --soft: #F3F3F3;
  --cream: #F5F5F1;
  --accent: #FFBA08;
  --white: #FFFFFF;
  --line: rgba(10, 13, 49, .1);

  --f-head: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(10, 13, 49, .25);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1240px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--navy); margin: 0; line-height: 1.1; font-weight: 600; letter-spacing: -.5px; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ico { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.ico--sm { width: .85em; height: .85em; }

/* ---------- Tipos ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--accent); }
.h2 { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -1px; margin-bottom: 20px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-head); font-weight: 600; font-size: 15px; line-height: 1;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--ink); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--primary); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--accent); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--outline-light { border-color: var(--line); color: var(--navy); }
.btn--outline-light:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.75); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar ul { display: flex; gap: 26px; }
.topbar li, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--white); }
.topbar .ico { color: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 10px 30px -15px rgba(10,13,49,.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: 70px; }
.brand { flex-shrink: 0; }
.brand img { height: 44px; width: auto; }

.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; font-family: var(--f-head); font-weight: 500; font-size: 16px; color: var(--navy);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link:hover, .nav__link.is-active { color: var(--primary); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 210px; padding: 10px;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 15px; color: var(--navy); font-weight: 500; }
.dropdown a:hover { background: var(--lavender); color: var(--primary); }

.header__actions { display: flex; align-items: center; gap: 22px; }
.header__support { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.header__support span { font-size: 12px; color: var(--muted); }
.header__support strong { font-family: var(--f-head); color: var(--navy); font-size: 16px; }
.header__support:hover strong { color: var(--primary); }
.nav__mobile-cta { display: none; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - 126px); min-height: calc(100svh - 126px); display: flex; flex-direction: column; justify-content: center; padding: 110px 0 40px; color: var(--white); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: -40px 0; background-size: cover; background-position: center 40%; z-index: -2; transform: scale(1.05); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,13,49,.95) 0%, rgba(10,13,49,.82) 45%, rgba(1,14,208,.35) 100%); }
.hero__content { max-width: var(--container); }
.hero__title { color: var(--white); font-size: clamp(34px, 6.4vw, 80px); letter-spacing: -1.5px; overflow-wrap: break-word; max-width: 17ch; margin-bottom: 26px; }
.hero__title .hl { color: var(--lavender); background: linear-gradient(90deg, #fff, var(--lavender)); -webkit-background-clip: text; background-clip: text; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 600px; color: rgba(255,255,255,.82); margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.stat { padding: 26px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.stat strong { font-family: var(--f-head); font-size: clamp(28px, 3vw, 40px); font-weight: 600; color: var(--white); letter-spacing: -1px; line-height: 1; }
.stat strong small { font-size: .5em; color: var(--accent); margin: 0 4px; vertical-align: middle; }
.stat > span { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.4; }

/* ---------- Brand strip ---------- */
.brandstrip { background: var(--primary); color: var(--white); overflow: hidden; padding: 22px 0; }
.brandstrip__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.brandstrip:hover .brandstrip__track { animation-play-state: paused; }
.brandstrip__group { display: flex; align-items: center; }
.brandstrip span { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: 1px; padding: 0 34px; white-space: nowrap; }
.brandstrip i { width: 12px; height: 12px; background: var(--accent); transform: rotate(45deg); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--soft { background: var(--cream); }
.section__head { margin-bottom: 60px; }
.section__head p { font-size: 18px; color: var(--muted); }
.section__head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section__head--center .eyebrow::after { content: ""; width: 24px; height: 2px; background: currentColor; }
.section__head--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.section__head--split .h2 { margin-bottom: 0; }
.section__head--split p { margin: 0; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute; right: -24px; bottom: 40px; display: flex; gap: 14px; align-items: center;
  background: var(--white); padding: 18px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.about__badge .ico { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--lavender); color: var(--primary); }
.about__badge strong { display: block; font-family: var(--f-head); color: var(--navy); font-size: 17px; }
.about__badge span { font-size: 14px; color: var(--muted); }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 30px 0 38px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.4; }
.checklist .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--primary); color: var(--white); margin-top: -1px; }

/* ---------- Solutions ---------- */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 34px 28px; display: flex; flex-direction: column;
  border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__icon { width: 60px; height: 60px; border-radius: 14px; background: var(--lavender); color: var(--primary); display: grid; place-items: center; margin-bottom: 28px; transition: background .4s, color .4s; }
.card__icon .ico { width: 30px; height: 30px; }
.card:hover .card__icon { background: var(--primary); color: var(--white); }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { font-size: 15px; flex: 1; }
.card__tag { align-self: flex-start; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--primary); padding: 6px 12px; border-radius: 999px; background: rgba(1,14,208,.07); }

/* ---------- Brands (tabs) ---------- */
.brands__tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px;
}
.brands__tab {
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font-family: var(--f-head); font-weight: 700; font-size: 16px; letter-spacing: .5px; color: var(--navy); text-transform: uppercase;
  transition: all .3s var(--ease);
}
.brands__tab:hover { border-color: var(--primary); color: var(--primary); }
.brands__tab.is-active { background: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: 0 12px 25px -10px rgba(1,14,208,.6); }

.brands__panels { position: relative; }
.panel {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center;
  background: var(--navy); color: rgba(255,255,255,.78); border-radius: 24px; padding: 60px;
  position: relative; overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  right: -160px; top: -200px; background: radial-gradient(circle, rgba(1,14,208,.55), transparent 65%);
}
.panel[hidden] { display: none; }
.panel.is-active { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.panel__info { position: relative; }
.panel__cat { display: inline-block; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.panel__name { color: var(--white); font-size: clamp(44px, 6vw, 76px); font-weight: 700; letter-spacing: -1px; margin-bottom: 20px; }
.panel__info p { font-size: 17px; margin-bottom: 30px; max-width: 520px; }
.panel__products { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.panel__products li {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 22px;
  display: flex; flex-direction: column; gap: 6px; min-height: 120px; justify-content: flex-end;
  transition: background .3s, transform .3s var(--ease);
}
.panel__products li:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.panel__products span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.5); }
.panel__products strong { font-family: var(--f-head); color: var(--white); font-size: 20px; font-weight: 600; line-height: 1.2; }

/* ---------- Services ---------- */
.services { background: var(--navy); color: rgba(255,255,255,.75); position: relative; overflow: hidden; }
.services::after { content: ""; position: absolute; left: -200px; bottom: -300px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(1,14,208,.4), transparent 65%); pointer-events: none; }
.services .h2 { color: var(--white); }
.services__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; position: relative; z-index: 1; }
.services__intro > p { font-size: 18px; max-width: 480px; }
.services__media { margin-top: 36px; border-radius: var(--radius); overflow: hidden; }
.services__media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.services__media:hover img { transform: scale(1.04); }
.services__list { display: flex; flex-direction: column; gap: 16px; }
.service {
  display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 30px;
  border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: background .3s, border-color .3s;
}
.service:hover { background: var(--primary); border-color: var(--primary); }
.service__num { font-family: var(--f-head); font-weight: 600; font-size: 40px; color: var(--accent); line-height: 1; letter-spacing: -1px; }
.service:hover .service__num { color: var(--white); }
.service h3 { color: var(--white); font-size: 22px; margin-bottom: 10px; }
.service p { margin: 0; font-size: 15px; }
.service:hover p { color: rgba(255,255,255,.9); }

.process { margin-top: 16px; padding: 28px 30px; border-radius: var(--radius); background: var(--white); color: var(--navy); }
.process h4 { font-size: 18px; margin-bottom: 18px; }
.process ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: step; }
.process li { display: flex; flex-direction: column; gap: 10px; font-family: var(--f-head); font-weight: 500; font-size: 15px; position: relative; }
.process li span { width: 36px; height: 36px; border-radius: 50%; background: var(--lavender); color: var(--primary); display: grid; place-items: center; font-weight: 700; position: relative; z-index: 1; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: 44px; right: 4px; height: 2px; background: repeating-linear-gradient(90deg, var(--lavender) 0 6px, transparent 6px 10px); }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.why__item { padding: 40px 30px; border-right: 1px solid var(--line); transition: background .3s; }
.why__item:last-child { border-right: 0; }
.why__item:hover { background: var(--cream); }
.why__item .ico { width: 44px; height: 44px; color: var(--primary); margin-bottom: 22px; }
.why__item h3 { font-size: 20px; margin-bottom: 10px; }
.why__item p { font-size: 15px; margin: 0; }

/* ---------- Sectors ---------- */
.sectors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector {
  position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; display: flex; align-items: flex-end; isolation: isolate;
}
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(10,13,49,.92)); transition: background .4s; }
.sector:hover::before { background: linear-gradient(180deg, rgba(1,14,208,.25) 0%, rgba(10,13,49,.95)); }
.sector__body { padding: 32px; color: rgba(255,255,255,.8); transform: translateY(12px); transition: transform .4s var(--ease); }
.sector:hover .sector__body { transform: none; }
.sector h3 { color: var(--white); font-size: 28px; margin-bottom: 8px; }
.sector p { margin: 0; font-size: 15px; }

/* ---------- Clients ---------- */
.clients { padding: 60px 0; border-bottom: 1px solid var(--line); }
.clients__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.clients__label { margin: 0; font-family: var(--f-head); font-weight: 600; color: var(--navy); font-size: 18px; max-width: 220px; line-height: 1.3; }
.clients__list { display: flex; gap: clamp(30px, 7vw, 100px); flex-wrap: wrap; }
.clients__list li { font-family: var(--f-head); font-weight: 700; font-size: clamp(26px, 3vw, 38px); letter-spacing: 2px; color: #B4B7C6; transition: color .3s; }
.clients__list li:hover { color: var(--primary); }

/* ---------- CTA ---------- */
.cta { padding: 90px 0 0; }
.cta__inner {
  background: var(--primary); color: rgba(255,255,255,.85); border-radius: 24px; padding: 56px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden;
}
.cta__inner.container { width: calc(100% - 32px); }
.cta__inner::before { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255,255,255,.07); }
.cta h2 { color: var(--white); font-size: clamp(26px, 3vw, 38px); margin-bottom: 10px; max-width: 560px; }
.cta p { margin: 0; font-size: 17px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact__info > p { font-size: 18px; color: var(--muted); }
.contact__list { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.contact__list small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.contact__list a:hover { color: var(--primary); }
.contact__ico { width: 48px; height: 48px; border-radius: 50%; background: var(--lavender); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.contact__ico .ico { width: 20px; height: 20px; }

.form { background: var(--cream); border-radius: 24px; padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.form h3 { font-size: 26px; margin-bottom: 6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--navy); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--white);
  border: 1.5px solid rgba(0,0,0,.08); border-radius: var(--radius-sm); padding: 14px 16px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(1,14,208,.12); }
.form .is-invalid { border-color: #D33; }
.form__msg { margin: 0; font-size: 14px; min-height: 1em; color: #D33; }
.form__msg.is-ok { color: #138A43; }
.form__actions { display: flex; gap: 12px 18px; flex-wrap: wrap; align-items: center; }
.form__note { margin: 0; font-size: 13px; color: var(--muted); }
.btn--whatsapp { background: #25D366; color: var(--white); }
.btn--whatsapp:hover { background: #1DA851; }

.map { margin-top: 80px; border-radius: 24px; overflow: hidden; height: 380px; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.65); padding-top: 90px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 50px; padding-bottom: 70px; }
.footer__brand img { height: 40px; width: auto; margin-bottom: 24px; }
.footer__brand p { max-width: 340px; }
.footer h4 { color: var(--white); font-size: 18px; margin-bottom: 22px; }
.footer ul { display: flex; flex-direction: column; gap: 12px; }
.footer a:hover { color: var(--white); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .ico { color: var(--accent); margin-top: 4px; }
.footer__social { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); transition: background .3s; }
.footer__social:hover { background: var(--primary); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: 14px; }
.footer__bottom p { margin: 0; }

/* ---------- Floating ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: var(--white); display: grid; place-items: center;
  box-shadow: 0 10px 25px -5px rgba(37,211,102,.6); transition: transform .3s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 30px; height: 30px; }
.to-top {
  position: fixed; right: 30px; bottom: 96px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--primary); color: var(--white); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top .ico { transform: rotate(180deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top { box-shadow: 0 0 0 2px var(--white), 0 8px 20px -6px rgba(10,13,49,.45); }
.to-top:hover { background: var(--ink); }

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

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

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .header__support { display: none; }
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(2) { border-right: 0; }
  .why__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 991px) {
  :root { --header-h: 72px; }
  .section { padding: 90px 0; }
  .topbar .topbar__info { display: none; }
  .topbar__inner { justify-content: center; }

  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; inset: var(--nav-top, 114px) 0 0 0; background: var(--white);
    padding: 20px 24px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; z-index: 99;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 18px 0; font-size: 20px; width: 100%; justify-content: space-between; }
  .nav__link::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; }
  .dropdown a { padding: 10px 0; color: var(--muted); }
  .nav__mobile-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
  body.nav-open { overflow: hidden; }

  .hero { min-height: auto; padding: 90px 0 30px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); margin-top: 24px; }

  .about__grid, .services__grid, .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__media { max-width: 560px; }
  .about__media img { aspect-ratio: 4/3; }
  .about__badge { right: 16px; bottom: 16px; }
  .section__head--split { grid-template-columns: 1fr; gap: 16px; }
  .panel { grid-template-columns: minmax(0, 1fr); padding: 44px; gap: 34px; }
  .sectors__grid { grid-template-columns: 1fr 1fr; }
  .sectors__grid .sector:last-child { grid-column: span 2; }
  .cta__inner { flex-direction: column; align-items: flex-start; padding: 44px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .topbar ul { gap: 16px; }
  .topbar__contact li:last-child { display: none; }
  .brand img { height: 36px; }
  .eyebrow { font-size: 11px; letter-spacing: 1px; }
  .hero .eyebrow::before { display: none; }

  .hero__actions .btn { flex: 1 1 100%; }
  .stat, .stat + .stat { padding: 20px 12px 0 0; }
  .stat:nth-child(2n) { padding-left: 14px; }

  .checklist { grid-template-columns: 1fr; }
  .cards4 { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 30px 4px; }
  .why__item:hover { background: none; }

  .brands__tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px 28px; padding: 4px 16px 10px; scrollbar-width: none; }
  .brands__tabs::-webkit-scrollbar { display: none; }
  .brands__tab { flex-shrink: 0; padding: 12px 20px; font-size: 14px; }
  .panel { padding: 32px 22px; border-radius: 18px; }
  .panel__products { gap: 10px; }
  .panel__products li { padding: 16px; min-height: 100px; }
  .panel__products strong { font-size: 16px; hyphens: auto; }
  .panel__products span { font-size: 10px; letter-spacing: .5px; }

  .service { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .process ol { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .process li:nth-child(2)::after { display: none; }

  .sectors__grid { grid-template-columns: 1fr; }
  .sectors__grid .sector:last-child { grid-column: auto; }
  .sector { min-height: 320px; }

  .clients__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta { padding-top: 60px; }
  .cta__inner { padding: 36px 24px; border-radius: 18px; }
  .cta__actions, .cta__actions .btn { width: 100%; }

  .form { padding: 28px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .form__actions .btn { flex: 1 1 100%; }
  .map { height: 300px; margin-top: 60px; border-radius: 18px; }

  .footer { padding-top: 64px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 50px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .to-top { right: 21px; bottom: 82px; }
}

/* =========================================================
   PÁGINAS INTERIORES (Nosotros, Misión, Visión, …)
   ========================================================= */

/* ---------- Cabecera de página ---------- */
.page-hero { position: relative; padding: 110px 0 100px; color: rgba(255,255,255,.82); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,13,49,.95) 0%, rgba(10,13,49,.85) 50%, rgba(1,14,208,.4) 100%); }
.page-hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 64px); letter-spacing: -1px; max-width: 18ch; margin-bottom: 22px; }
.page-hero__lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 640px; margin: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 26px; color: rgba(255,255,255,.6); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,.35); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--accent); }

/* ---------- Sub-navegación de sección ---------- */
.subnav { background: var(--white); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 14px 0; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex; padding: 10px 20px; border-radius: 999px; white-space: nowrap;
  font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--navy); border: 1.5px solid var(--line);
  transition: all .3s var(--ease);
}
.subnav a:hover { border-color: var(--primary); color: var(--primary); }
.subnav a[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ---------- Texto + imagen ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); width: 100%; height: auto; aspect-ratio: 5/4; object-fit: cover; }
.prose p { font-size: 17px; }
.prose strong { color: var(--ink); }
.prose a:not(.btn):not(.card__link) { color: var(--primary); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.fact { padding: 20px; border-radius: var(--radius-sm); background: var(--cream); }
.fact strong { display: block; font-family: var(--f-head); font-size: 26px; color: var(--primary); letter-spacing: -.5px; line-height: 1.1; margin-bottom: 4px; }
.fact span { font-size: 14px; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- Tarjetas de 3 columnas ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card__link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; color: var(--primary); font-size: 15px; }
.card__link .ico { transition: transform .3s var(--ease); }
.card__link:hover .ico { transform: translateX(4px); }

/* ---------- Misión / Visión (avance) ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv__card {
  position: relative; overflow: hidden; border-radius: 24px; padding: 50px 46px; color: rgba(255,255,255,.8);
  display: flex; flex-direction: column; min-height: 380px; transition: transform .4s var(--ease);
}
.mv__card:hover { transform: translateY(-6px); }
.mv__card--navy { background: var(--navy); }
.mv__card--blue { background: var(--primary); }
.mv__card::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 50px solid rgba(255,255,255,.06); }
.mv__card .eyebrow { color: var(--accent); }
.mv__card h3 { color: var(--white); font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 16px; }
.mv__card p { font-size: 17px; flex: 1; }
.mv__card .card__link { color: var(--white); }

/* ---------- Declaración destacada ---------- */
.statement {
  position: relative; background: var(--navy); color: var(--white); border-radius: 28px; margin: 0;
  padding: clamp(40px, 6vw, 80px); overflow: hidden;
}
.statement::before { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(1,14,208,.6), transparent 65%); }
.statement__mark { position: relative; font-family: Georgia, serif; font-size: 120px; line-height: .6; color: var(--accent); display: block; height: 50px; }
.statement blockquote { position: relative; margin: 0; font-family: var(--f-head); font-weight: 500; font-size: clamp(22px, 2.8vw, 36px); line-height: 1.3; letter-spacing: -.5px; max-width: 32ch; }
.statement blockquote p { margin: 0; }
.statement mark { background: none; color: var(--lavender); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.statement figcaption { position: relative; margin-top: 30px; font-size: 15px; color: rgba(255,255,255,.6); }

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pillar { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); transition: box-shadow .3s, transform .3s var(--ease); }
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.pillar__icon { width: 64px; height: 64px; border-radius: 16px; background: var(--lavender); color: var(--primary); display: grid; place-items: center; }
.pillar__icon .ico { width: 30px; height: 30px; }
.pillar h3 { font-size: 22px; margin-bottom: 10px; }
.pillar p { margin: 0; font-size: 15.5px; }
.pillar a { color: var(--primary); font-weight: 500; }
.pillar a:hover { text-decoration: underline; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 70px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--f-head); font-weight: 600; font-size: 44px; color: var(--primary); letter-spacing: -1px; line-height: 1; }
.step::after { content: ""; position: absolute; top: 22px; left: 76px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--lavender) 0 8px, transparent 8px 14px); }
.step:last-child::after { display: none; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15px; margin: 0; }

/* ---------- Tarjetas de marca ---------- */
.brandgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brandcard {
  display: flex; flex-direction: column; gap: 8px; padding: 30px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); transition: all .35s var(--ease);
}
.brandcard strong { font-family: var(--f-head); font-weight: 700; font-size: 28px; color: var(--navy); letter-spacing: .5px; transition: color .3s; }
.brandcard span { font-size: 15px; color: var(--muted); flex: 1; transition: color .3s; }
.brandcard em { font-style: normal; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--primary); margin-top: 8px; }
.brandcard:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-6px); }
.brandcard:hover strong { color: var(--white); }
.brandcard:hover span { color: rgba(255,255,255,.7); }
.brandcard:hover em { color: var(--accent); }

/* ---------- Preguntas frecuentes ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--f-head); font-weight: 600; font-size: 18px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--lavender); color: var(--primary); transition: transform .3s var(--ease), background .3s, color .3s; }
.faq details[open] summary .ico { transform: rotate(180deg); background: var(--primary); color: var(--white); }
.faq details > div { padding: 0 26px 24px; font-size: 16px; }
.faq details > div p { margin: 0; }
.faq details a { color: var(--primary); font-weight: 500; }

/* ---------- Páginas relacionadas ---------- */
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.related a {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 34px; border-radius: var(--radius);
  background: var(--cream); transition: background .3s;
}
.related small { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; color: var(--primary); margin-bottom: 6px; transition: color .3s; }
.related strong { font-family: var(--f-head); font-size: 24px; color: var(--navy); font-weight: 600; transition: color .3s; }
.related .ico { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--white); color: var(--primary); transition: transform .3s var(--ease); }
.related a:hover { background: var(--primary); }
.related a:hover strong, .related a:hover small { color: var(--white); }
.related a:hover .ico { transform: translateX(4px); }

.section--tight { padding: 80px 0; }
.cta--page { padding-bottom: 110px; }

/* ---------- Responsive interiores ---------- */
@media (max-width: 991px) {
  .page-hero { padding: 80px 0 70px; }
  .split, .faq { grid-template-columns: 1fr; gap: 44px; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 16/10; }
  .cards3, .brandgrid { grid-template-columns: 1fr 1fr; }
  .mv, .pillars, .related { grid-template-columns: 1fr; }
  .mv__card { min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 640px) {
  .page-hero { padding: 60px 0 56px; }
  .facts { grid-template-columns: 1fr; }
  .cards3, .brandgrid { grid-template-columns: 1fr; }
  .mv__card { padding: 36px 26px; }
  .pillar { grid-template-columns: 1fr; padding: 26px; gap: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .faq summary { padding: 18px 20px; font-size: 16px; }
  .faq details > div { padding: 0 20px 20px; }
  .related a { padding: 24px; }
  .related strong { font-size: 20px; }
  .statement__mark { font-size: 90px; height: 36px; }
  .cta--page { padding-bottom: 72px; }
}

/* =========================================================
   PRODUCTOS (categorías por marca y fichas de producto)
   ========================================================= */

/* ---------- Barra de marcas (fija bajo la cabecera) ---------- */
.brandbar { position: sticky; top: 70px; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.brandbar__inner { display: flex; align-items: center; gap: 14px; }
.brandbar__label { flex-shrink: 0; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.brandbar ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 12px 0; }
.brandbar ul::-webkit-scrollbar { display: none; }
.brandbar a {
  display: inline-flex; padding: 8px 16px; border-radius: 999px; white-space: nowrap; border: 1.5px solid var(--line);
  font-family: var(--f-head); font-weight: 700; font-size: 13.5px; letter-spacing: .5px; text-transform: uppercase; color: var(--navy);
  transition: all .25s var(--ease);
}
.brandbar a:hover { border-color: var(--primary); color: var(--primary); }
.brandbar a[aria-current] { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ---------- Servicios / Soporte / Contacto ---------- */
/* Banners del sitio anterior (870×370): se respetan su proporción y tamaño máximo */
.split__media--natural img { aspect-ratio: auto; max-width: 870px; }
.split__media--natural { align-self: center; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-family: var(--f-head); font-weight: 500; font-size: 15px; color: var(--navy);
}
.tags--brands li { font-weight: 700; letter-spacing: .5px; text-transform: uppercase; font-size: 14px; }
.tags a:hover { color: var(--primary); }
.section--soft .related a { background: var(--white); }
.section--soft .related a:hover { background: var(--primary); }
.card p a { color: var(--primary); font-weight: 500; }
.equip { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.equip h3 { font-size: 20px; margin-bottom: 18px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
a.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card .contact__ico { margin-bottom: 12px; }
.contact-card strong { font-family: var(--f-head); font-size: 20px; color: var(--navy); }
.contact-card span { color: var(--muted); font-size: 15px; }
.contact-card em { font-style: normal; margin-top: 8px; font-family: var(--f-head); font-weight: 600; color: var(--primary); font-size: 15px; }
@media (max-width: 991px) {
  .equip { grid-template-columns: 1fr; gap: 36px; }
  .contact-cards { grid-template-columns: 1fr; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Botón WhatsApp ---------- */
.btn--wa { background: #25D366; color: var(--white); }
.btn--wa:hover { background: #1DA851; }

/* ---------- Introducción de marca ---------- */
.brand-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
.brand-intro .prose p:last-of-type { margin-bottom: 0; }
.brand-intro__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.brand-box { background: var(--navy); color: rgba(255,255,255,.78); border-radius: 22px; padding: 38px; position: relative; overflow: hidden; }
.brand-box::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; border: 40px solid rgba(255,255,255,.05); }
.brand-box h2 { color: var(--white); font-size: 24px; margin-bottom: 20px; }
.brand-box ul { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.brand-box li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.45; }
.brand-box li .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent); color: var(--navy); margin-top: 1px; }
.brand-banner { display: block; max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 0 0 24px; }

/* ---------- Catálogo: buscador y filtros ---------- */
.catalog__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.catalog__search { position: relative; flex: 1 1 280px; max-width: 420px; }
.catalog__search input {
  width: 100%; font: inherit; font-size: 15px; padding: 14px 18px 14px 46px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.catalog__search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(1,14,208,.12); }
.catalog__search .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--navy); transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip small { font-weight: 500; opacity: .6; margin-left: 4px; }
.catalog__count { font-size: 14px; color: var(--muted); margin: -12px 0 24px; }
.catalog__empty { display: none; text-align: center; padding: 50px 20px; border-radius: var(--radius); background: var(--cream); }
.catalog__empty.is-visible { display: block; }
.catalog__empty p { margin-bottom: 18px; }
.catalog__group { margin-top: 70px; }
.catalog__group:first-child { margin-top: 0; }
.catalog__group > h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.catalog__group > p { max-width: 820px; margin-bottom: 26px; }

/* ---------- Tarjetas de producto ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pcard {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s;
}
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.pcard[hidden] { display: none; }
.pcard__media { display: grid; place-items: center; aspect-ratio: 1; padding: 18px; background: #fff; border-bottom: 1px solid var(--line); }
/* Las fotos se muestran a su tamaño natural o menor: nunca se amplían */
.pcard__media img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.pcard__cat { font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--primary); }
.pcard__name { font-family: var(--f-head); font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--navy); margin: 0; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.pcard__more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--primary); }
.pcard__more .ico { transition: transform .3s var(--ease); }
.pcard:hover .pcard__more .ico { transform: translateX(3px); }
.pcard__wa {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: #25D366; color: var(--white); font-family: var(--f-head); font-weight: 600; font-size: 13px; transition: background .25s;
}
.pcard__wa:hover { background: #1DA851; }
.pcard__wa .ico { width: 16px; height: 16px; }
.pcard--static .pcard__actions { justify-content: flex-end; }

/* ---------- Ficha de producto ---------- */
.ptop { background: var(--cream); padding: 26px 0 0; }
.ptop .breadcrumb { color: var(--muted); margin: 0; }
.ptop .breadcrumb li + li::before { color: #B4B7C6; }
.ptop .breadcrumb a:hover { color: var(--primary); }
.ptop .breadcrumb [aria-current] { color: var(--navy); font-weight: 500; }

.product { background: var(--cream); padding: 34px 0 90px; }
.product__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 60px; align-items: start; }
.product__media {
  position: sticky; top: 140px; display: grid; place-items: center; min-height: 420px; padding: 40px;
  background: var(--white); border-radius: 24px; border: 1px solid var(--line);
}
.product__media img { width: auto; height: auto; max-width: 100%; max-height: 520px; object-fit: contain; }
.product__brand {
  position: absolute; top: 20px; left: 20px; padding: 6px 14px; border-radius: 999px; background: var(--lavender); color: var(--primary);
  font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
}
.product__info h1 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -1px; margin-bottom: 20px; }
.product__cat { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--primary); }
.product__cat a:hover { text-decoration: underline; }
.product__desc { font-size: 17px; color: var(--text); }
.product__desc p { margin: 0 0 14px; }
.product__desc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; }
.product__desc li { position: relative; padding-left: 22px; }
.product__desc li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 2px; background: var(--primary); transform: rotate(45deg); }
.product__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.product__cta .btn { padding: 16px 26px; }
.product__help { font-size: 14px; color: var(--muted); margin: 0 0 26px; }
.product__help a { color: var(--navy); font-weight: 600; }
.product__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.product__trust div { display: flex; gap: 10px; align-items: center; font-size: 14px; line-height: 1.3; color: var(--ink); font-weight: 500; }
.product__trust .ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--white); color: var(--primary); }

.pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.pnav a { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); transition: border-color .25s, color .25s; }
.pnav a:hover { border-color: var(--primary); }
.pnav small { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.pnav strong { font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--navy); line-height: 1.3; }
.pnav a:hover strong { color: var(--primary); }
.pnav__next { text-align: right; align-items: flex-end; }
.pnav__prev .ico { transform: rotate(180deg); }

.pdetail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: start; }
.pdetail .prose h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.pdetail .prose h3 { font-size: 20px; margin: 30px 0 12px; }
.pside { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 18px; }
.pside__box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.pside__box h2 { font-size: 18px; margin-bottom: 14px; }
.pside__list { display: flex; flex-direction: column; max-height: 360px; overflow-y: auto; margin: 0 -8px; scrollbar-width: thin; }
.pside__list a { display: block; padding: 9px 8px; border-radius: 8px; font-size: 14.5px; line-height: 1.35; color: var(--text); transition: background .2s, color .2s; }
.pside__list a:hover { background: var(--cream); color: var(--primary); }
.pside__list a[aria-current] { background: var(--lavender); color: var(--primary); font-weight: 600; }
.pside__brands { display: flex; flex-wrap: wrap; gap: 6px; }
.pside__brands a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--navy); }
.pside__brands a:hover { border-color: var(--primary); color: var(--primary); }
.pside__cta { background: var(--navy); color: rgba(255,255,255,.75); border: 0; }
.pside__cta h2 { color: var(--white); }
.pside__cta p { font-size: 14.5px; }
.pside__cta .btn { width: 100%; }

/* ---------- Responsive productos ---------- */
@media (max-width: 1180px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdetail { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}
@media (max-width: 991px) {
  .brandbar { top: 72px; }
  .brand-intro, .product__grid, .pdetail { grid-template-columns: 1fr; gap: 36px; }
  .pside { position: static; }
  .product__media { position: relative; top: auto; }
  .product__media { min-height: 0; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .brandbar__label { display: none; }
  .brand-box { padding: 28px 22px; }
  .catalog__search { max-width: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .pgrid { gap: 12px; }
  .pcard__media { padding: 12px; }
  .pcard__body { padding: 14px; }
  .pcard__name { font-size: 15px; }
  .pcard__actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .pcard__wa { justify-content: center; }
  .pcard--static .pcard__actions { align-items: stretch; }
  .product { padding: 24px 0 60px; }
  .product__media { padding: 28px 20px; border-radius: 18px; }
  .product__cta .btn { flex: 1 1 100%; }
  .product__trust { grid-template-columns: 1fr; }
  .pnav { grid-template-columns: 1fr; }
  .pnav__next { text-align: left; align-items: flex-start; }
}
