/* =========================================================
   Grupo Omega Farma Perú S.A.C.
   ========================================================= */
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("../fonts/Jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --navy: #0b2f73;
  --navy-900: #061a42;
  --navy-800: #0a2a66;
  --blue: #1565c8;
  --sky: #1e90e0;
  --green: #4caf1e;
  --green-600: #3c9614;
  --lime: #8fd84a;
  --wa: #25d366;
  --wa-dark: #1ebe5b;
  --ink: #132242;
  --text: #3b4a66;
  --muted: #6b7a93;
  --line: #e2e9f3;
  --soft: #f3f7fc;
  --white: #fff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 4px 14px rgba(11, 47, 115, .06);
  --shadow: 0 18px 40px -18px rgba(11, 47, 115, .28);
  --shadow-lg: 0 30px 60px -24px rgba(11, 47, 115, .38);
  --grad: linear-gradient(120deg, #0b2f73 0%, #1565c8 55%, #1e90e0 100%);
  --grad-brand: linear-gradient(90deg, #1e90e0, #4caf1e);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 84px;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Jakarta", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: pan-x pan-y; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7; 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; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--sky); color: #fff; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; position: relative; z-index: 2; }
.narrow { width: min(900px, 100% - 40px); }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.section { padding: 100px 0; position: relative; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; }

/* Barra de progreso */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 1000; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad-brand); transform-origin: left; transform: scaleX(0); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ico:last-child:not(.ico-wa) { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(21, 101, 200, .7); background-size: 140% 100%; }
.btn-primary:hover { box-shadow: 0 18px 34px -12px rgba(21, 101, 200, .8); background-position: 100% 0; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 26px -12px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: var(--wa-dark); box-shadow: 0 18px 34px -12px rgba(37, 211, 102, .9); }
.btn-wa .ico-wa { width: 22px; height: 22px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: height .35s var(--ease), box-shadow .35s, border-color .35s;
}
.site-header.is-scrolled { height: 70px; box-shadow: 0 10px 30px -18px rgba(11, 47, 115, .35); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 30px; }
.brand img { height: 56px; width: auto; transition: height .35s var(--ease); }
.is-scrolled .brand img { height: 48px; }
.main-nav { margin-left: auto; display: flex; gap: 6px; }
.main-nav a {
  position: relative; padding: 10px 16px; font-weight: 600; font-size: 15px; color: var(--ink); border-radius: 999px; transition: color .3s, background .3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--navy); }
.header-cta { padding: 12px 22px; }
.header-wa-mobile { display: none; }

/* ---------- Slider de portada ---------- */
.hero-slider { position: relative; overflow: hidden; width: 100%; background: var(--soft); transition: height .5s var(--ease); }
.hs-track { display: flex; transition: transform 1s var(--ease); will-change: transform; }
.hs-slide { flex: none; }
.hs-slide img { width: 100%; height: auto; display: block; }

/* ---------- Títulos de sección ---------- */
.sec-title { margin: 0 auto 54px; max-width: 760px; }
.sec-title h2 { font-size: clamp(30px, 4vw, 46px); }
.sec-title p { margin: 18px 0 0; font-size: 17px; color: var(--muted); }
.sec-line { display: block; width: 70px; height: 4px; border-radius: 4px; background: var(--grad-brand); margin-top: 18px; position: relative; overflow: hidden; }
.sec-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); transform: translateX(-100%); animation: shine 3.2s ease-in-out infinite; }
.sec-title--center { text-align: center; }
.sec-title--center .sec-line { margin-inline: auto; }
.sec-title--left { margin-left: 0; margin-bottom: 26px; }
.sec-title--light h2 { color: #fff; }
.sec-title--light p { color: rgba(255,255,255,.82); }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ---------- Animaciones al hacer scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .mq-track { animation: none !important; }
}

/* ---------- Fondos decorativos ---------- */
.bg-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(21, 101, 200, .12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; z-index: 0; animation: float 14s ease-in-out infinite; }
.blob-1 { width: 420px; height: 420px; background: rgba(30, 144, 224, .28); right: -120px; top: 40px; }
.blob-2 { width: 380px; height: 380px; background: rgba(76, 175, 30, .22); left: -140px; top: 120px; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 30px); } }

/* ---------- Tarjetas de producto ---------- */
.p-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.p-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(30, 144, 224, .12), transparent 45%);
}
.p-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(21, 101, 200, .35); }
.p-card:hover::after { opacity: 1; }
.p-card-link { display: flex; flex-direction: column; height: 100%; }
.p-card-media { aspect-ratio: 1; overflow: hidden; background: var(--soft); position: relative; }
.p-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.p-card:hover .p-card-media img { transform: scale(1.08); }
.p-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.p-card-body h3 { font-size: 19px; margin-bottom: 6px; transition: color .3s; }
.p-card:hover h3 { color: var(--blue); }
.p-card-meta { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.p-card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--navy); }
.p-card-more .ico { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.p-card:hover .p-card-more { color: var(--green-600); }
.p-card:hover .p-card-more .ico { transform: translateX(5px); }

/* ---------- Carrusel continuo ---------- */
.marquee {
  overflow: hidden; padding: 20px 0 34px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.mq-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .mq-track, .marquee.is-paused .mq-track { animation-play-state: paused; }
.mq-item { width: 290px; padding: 0 13px; flex: none; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

.section-products { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }

/* ---------- Bloques texto + imagen ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.split--reverse { grid-template-columns: 1fr 1.05fr; }
.split-text .rich { font-size: 16.5px; }
.media-frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.media-frame:hover img { transform: scale(1.05); }
.checks { list-style: none; padding: 0; margin: 6px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks .ico { color: var(--green); width: 22px; height: 22px; margin-top: 2px; }
.checks--grid { grid-template-columns: 1fr 1fr; gap: 14px 26px; margin-bottom: 0; }

/* ---------- Categorías ---------- */
.section-cats { background: #fff; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-card { position: relative; display: block; aspect-ratio: 3 / 4.2; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.cat-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 26, 66, 0) 30%, rgba(6, 26, 66, .55) 60%, rgba(6, 26, 66, .95) 100%); transition: opacity .5s; }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(30, 144, 224, .0), rgba(76, 175, 30, .35)); opacity: 0; transition: opacity .5s; }
.cat-card:hover img { transform: scale(1.1); }
.cat-card:hover::before { opacity: 1; }
.cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; display: flex; flex-direction: column; gap: 4px; }
.cat-body strong { font-family: var(--font-head); font-size: 20px; line-height: 1.2; }
.cat-body small { font-size: 13.5px; opacity: .85; }
.cat-go { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); display: grid; place-items: center; margin-top: 12px; transition: background .35s, border-color .35s, transform .45s var(--ease); }
.cat-go .ico { width: 18px; height: 18px; }
.cat-card:hover .cat-go { background: var(--green); border-color: var(--green); transform: translateX(6px); }

/* ---------- Sección oscura con imagen y degradado ---------- */
.section-dark { color: #fff; padding: 110px 0; }
.dark-bg { position: absolute; inset: -80px 0; background-size: cover; background-position: center; z-index: 0; }
.dark-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(125deg, rgba(6, 26, 66, .95) 0%, rgba(11, 47, 115, .9) 45%, rgba(21, 101, 200, .78) 80%, rgba(60, 150, 20, .7) 100%); }

/* ---------- Recuadros con ícono ---------- */
.icards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.icards--two { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin-inline: auto; }
.icard {
  position: relative; text-align: center; padding: 40px 28px 36px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; overflow: hidden; display: block;
}
.icard::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(30, 144, 224, .12), transparent 50%); }
.icard:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(21, 101, 200, .35); }
.icard:hover::after { opacity: 1; }
.icard-icon { display: flex; justify-content: center; margin-bottom: 18px; color: var(--blue); }
.icard-icon .ico { width: 46px; height: 46px; stroke-width: 1.4; transition: transform .6s var(--ease), color .4s; }
.icard:hover .icard-icon .ico { transform: translateY(-4px) scale(1.08); color: var(--green); }
.icard h3 { font-size: 21px; margin-bottom: 10px; }
.icard p { margin: 0; color: var(--muted); font-size: 15px; }
.icards--two .icard { padding: 48px 40px; }
.icards--two .icard p { font-size: 16px; }
.icards--light .icard { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.icards--light .icard::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .14), transparent 50%); }
.icards--light .icard:hover { border-color: rgba(143, 216, 74, .7); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.icards--light .icard h3 { color: #fff; }
.icards--light .icard p { color: rgba(255, 255, 255, .8); }
.icards--light .icard-icon { color: var(--lime); }
.icards--light .icard:hover .icard-icon .ico { color: #fff; }

/* ---------- Sección destacada ---------- */
.section-combo { background: var(--soft); }
.section-soft { background: var(--soft); }

/* ---------- Llamado a la acción ---------- */
.cta { position: relative; overflow: hidden; padding: 120px 0; color: #fff; text-align: center; }
.cta-bg { position: absolute; inset: -90px 0; background-size: cover; background-position: center; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(6, 26, 66, .93) 0%, rgba(11, 47, 115, .82) 50%, rgba(37, 120, 40, .7) 100%); }
.cta-inner { max-width: 760px; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.2vw, 48px); }
.cta p { font-size: 18px; color: rgba(255, 255, 255, .86); margin: 20px auto 34px; }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; padding: 120px 0 110px; color: #fff; text-align: center; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: kenburns 22s ease-in-out infinite alternate; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6, 26, 66, .94) 0%, rgba(11, 47, 115, .84) 45%, rgba(21, 101, 200, .7) 75%, rgba(76, 175, 30, .55) 100%); }
.page-hero-shapes span { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); z-index: 1; animation: float 12s ease-in-out infinite; }
.page-hero-shapes span:nth-child(1) { width: 380px; height: 380px; right: -110px; top: -120px; }
.page-hero-shapes span:nth-child(2) { width: 220px; height: 220px; left: 6%; bottom: -120px; animation-delay: -4s; }
.page-hero-shapes span:nth-child(3) { width: 90px; height: 90px; right: 22%; bottom: 30px; background: rgba(143, 216, 74, .12); border: 0; animation-delay: -8s; }
.page-hero-inner { z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 58px); }
.page-hero p { max-width: 680px; margin: 18px auto 0; font-size: 18px; color: rgba(255, 255, 255, .86); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 26px; font-size: 14px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.crumbs a { opacity: .85; transition: opacity .3s; }
.crumbs a:hover { opacity: 1; }
.crumbs .ico { width: 14px; height: 14px; opacity: .7; }
.crumbs span { font-weight: 600; }
.crumbs--dark { background: #fff; border-color: var(--line); color: var(--muted); margin: 0 0 34px; }
.crumbs--dark span { color: var(--ink); }
.crumbs--dark a:hover { color: var(--blue); }

/* ---------- Catálogo ---------- */
.catalog-bar { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink); transition: all .3s var(--ease); }
.chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.chip.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -12px rgba(21, 101, 200, .8); }
.search { position: relative; display: flex; align-items: center; min-width: 280px; }
.search .ico { position: absolute; left: 16px; color: var(--muted); width: 18px; height: 18px; }
.search input { width: 100%; padding: 13px 18px 13px 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 16px; outline: none; transition: border-color .3s, box-shadow .3s; }
.search input:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(30, 144, 224, .14); }
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Producto ---------- */
.product-top { position: relative; padding: 46px 0 90px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); overflow: hidden; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pg { position: sticky; top: calc(var(--header-h) + 20px); }
.pg-main { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); aspect-ratio: 1; cursor: zoom-in; }
.pg-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease), opacity .2s; }
.pg-main img.is-zoom { transform: scale(1.6); }
.pg-main img.is-swap { opacity: 0; }
.pg-thumbs { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.pg-thumb { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); padding: 0; background: #fff; cursor: pointer; transition: border-color .3s, transform .3s; }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumb.is-active, .pg-thumb:hover { border-color: var(--blue); transform: translateY(-2px); }
.product-info h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.product-lead { font-size: 18px; color: var(--text); margin-bottom: 28px; }
.specs { margin: 0 0 32px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.specs div { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid var(--line); }
.specs div:last-child { border-bottom: 0; }
.specs dt { padding: 14px 18px; background: var(--soft); font-weight: 700; color: var(--ink); font-size: 14.5px; }
.specs dd { margin: 0; padding: 14px 18px; font-size: 15px; }
.specs dd a { color: var(--blue); font-weight: 600; }
.product-note { text-align: center; color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.product-details { padding-top: 40px; }
.pd-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; align-items: start; }
.pd-block { margin-bottom: 50px; }
.pd-block h2 { font-size: 30px; }
.pd-block .sec-line { margin-bottom: 24px; }
.pd-side { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; transition: box-shadow .4s, transform .4s var(--ease), border-color .4s; }
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(21, 101, 200, .3); }
.info-card h3 { font-size: 21px; margin-bottom: 12px; }
.info-card p { font-size: 15px; margin: 0 0 .7em; }
.info-card p:last-child { margin: 0; }
.notice { border: 1px solid var(--line); background: var(--soft); border-radius: var(--radius-sm); padding: 20px 24px; font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.section-related { background: var(--soft); padding-bottom: 80px; }

/* ---------- Marcas ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1000px; margin-inline: auto; }
.brand-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 42px 38px; text-align: center; background: #fff; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.brand-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(76, 175, 30, .12), transparent 50%); }
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(76, 175, 30, .45); }
.brand-card:hover::after { opacity: 1; }
.brand-card h3 { font-size: 26px; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-card p { margin: 0; color: var(--muted); }

/* ---------- Contacto y formularios ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 70px; }
.contact-cards--1 { grid-template-columns: minmax(0, 380px); justify-content: center; }
.contact-cards--2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.contact-cards--4 { grid-template-columns: repeat(4, 1fr); }
.icard--contact p { color: var(--ink); font-weight: 600; word-break: break-word; }
.icard-icon.is-wa { color: var(--wa); }
.form-wrap { max-width: 860px; margin-inline: auto; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 50px; box-shadow: var(--shadow); position: relative; }
.form-card h2 { font-size: 32px; text-align: center; }
.form-card > .sec-line { margin-inline: auto; }
.form-sub { text-align: center; color: var(--muted); margin: 16px 0 30px; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-weight: 600; font-size: 14px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); color: var(--ink);
  font-size: 16px; outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(30, 144, 224, .14); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.check a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 22px; font-size: 15px; border: 1px solid; }
.alert p { margin: 0; }
.alert .ico { margin-top: 2px; }
.alert-ok { background: #effaf1; border-color: #bfe8c6; color: #1d6b2d; }
.alert-error { background: #fff3f2; border-color: #f6c9c4; color: #a3271b; }
.map { margin-top: 60px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }

fieldset { border: 1px solid var(--line); border-radius: 18px; padding: 26px; margin: 0; display: grid; gap: 18px; }
legend { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 19px; padding: 0 10px; display: flex; align-items: center; gap: 10px; }
legend span { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 15px; }
.radios { display: flex; gap: 12px; flex-wrap: wrap; }
.radio { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; }
.radio input { accent-color: var(--blue); }
.radios--cards { display: grid; grid-template-columns: 1fr 1fr; }
.radio-card { display: flex; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .3s, background .3s; }
.radio-card input { accent-color: var(--blue); margin-top: 5px; }
.radio-card strong { display: block; color: var(--ink); }
.radio-card small { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.radio-card:has(input:checked) { border-color: var(--blue); background: #f2f8ff; }
.provider { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 10px; }
.provider div { background: var(--soft); padding: 14px 18px; display: grid; }
.provider span { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.provider strong { color: var(--ink); font-size: 15px; }
.legal-note { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Páginas legales ---------- */
.legal-card { border: 1px solid var(--line); border-radius: 28px; padding: 54px; background: #fff; box-shadow: var(--shadow-sm); }
.rich h2 { font-size: 24px; margin: 34px 0 12px; }
.rich h2:first-child { margin-top: 0; }
.rich ul { padding-left: 22px; margin: 0 0 1em; }
.rich li { margin-bottom: 6px; }
.rich li::marker { color: var(--green); }
.rich strong { color: var(--ink); }

/* ---------- 404 ---------- */
.nf-code { font-family: var(--font-head); font-size: clamp(90px, 16vw, 170px); font-weight: 800; line-height: 1; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: 36px; margin: 10px 0 14px; }
.nf-text { color: var(--muted); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(160deg, #061a42 0%, #0a2a66 60%, #0b3a8a 100%); color: rgba(255, 255, 255, .78); padding: 90px 0 0; }
.footer-glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(76, 175, 30, .22), transparent 65%); right: -160px; top: -220px; pointer-events: none; }
.footer-glow::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(30, 144, 224, .25), transparent 65%); left: -900px; top: 380px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.3fr; gap: 50px; }
.footer-logo img { height: 64px; width: auto; margin-bottom: 22px; }
.footer-about p { font-size: 15px; max-width: 360px; }
.site-footer h3 { color: #fff; font-size: 18px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--grad-brand); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer ul a { font-size: 15px; transition: color .3s, padding .3s; }
.site-footer ul a:hover { color: #fff; padding-left: 5px; }
.footer-contact a, .footer-contact .fc-item { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ico { width: 19px; height: 19px; color: var(--lime); margin-top: 4px; }
.footer-contact a:hover { padding-left: 0 !important; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center; color: #fff; transition: background .35s, border-color .35s, transform .35s var(--ease); }
.social a:hover { background: var(--green); border-color: var(--green); transform: translateY(-3px); }
.social .ico { width: 18px; height: 18px; }
.libro-link { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 600; font-size: 14.5px; transition: background .35s, border-color .35s; }
.libro-link:hover { background: rgba(255, 255, 255, .1); border-color: var(--lime); }
.footer-notice { margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-notice p { font-size: 13px; color: rgba(255, 255, 255, .55); margin: 0; }
.footer-bottom { margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; position: relative; z-index: 2; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-bottom p { margin: 0; font-size: 14px; }
.legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.legal-links a { font-size: 14px; transition: color .3s; }
.legal-links a:hover { color: #fff; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 950; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8);
  transition: transform .4s var(--ease), background .3s;
}
.wa-float .ico { width: 32px; height: 32px; position: relative; z-index: 2; }
.wa-float:hover { transform: scale(1.08); background: var(--wa-dark); }
.wa-float-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
.wa-float-tip { position: absolute; right: 76px; white-space: nowrap; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; transform: translateX(10px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float-tip { opacity: 1; transform: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Menú inferior tipo app ---------- */
.app-nav { display: none; }

/* ---------- Aviso de cookies ---------- */
.cookie-bar {
  position: fixed; left: 24px; bottom: 24px; z-index: 960; max-width: 420px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow-lg); display: flex; gap: 16px; align-items: center;
  opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s var(--ease);
}
.cookie-bar.is-visible { opacity: 1; transform: none; }
.cookie-bar p { margin: 0; font-size: 13.5px; line-height: 1.55; }
.cookie-bar a { color: var(--blue); font-weight: 600; text-decoration: underline; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .icards { grid-template-columns: repeat(2, 1fr); }
  .contact-cards--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .section { padding: 76px 0; }
  .main-nav, .header-cta { display: none; }
  .header-inner { justify-content: space-between; }
  .brand img, .is-scrolled .brand img { height: 46px; }
  .site-header.is-scrolled { height: 64px; }
  .header-wa-mobile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 8px 18px -8px rgba(37, 211, 102, .9); }
  .header-wa-mobile .ico { width: 24px; height: 24px; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 44px; }
  .split--reverse .split-media { order: 2; }
  .product-layout, .pd-grid { grid-template-columns: 1fr; gap: 40px; }
  .pg, .pd-side { position: static; }
  .contact-cards, .contact-cards--2 { grid-template-columns: 1fr 1fr; }

  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .app-nav {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 940;
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 40px -14px rgba(11, 47, 115, .4); padding: 7px;
  }
  .app-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-radius: 16px; font-size: 11.5px; font-weight: 600; color: var(--muted); transition: color .3s, background .3s; }
  .app-nav .ico { width: 22px; height: 22px; transition: transform .35s var(--ease); }
  .app-nav a.is-active { color: var(--navy); background: linear-gradient(135deg, rgba(30, 144, 224, .14), rgba(76, 175, 30, .14)); }
  .app-nav a.is-active .ico { color: var(--blue); transform: translateY(-1px); }
  .wa-float { bottom: calc(96px + env(safe-area-inset-bottom)); right: 16px; width: 56px; height: 56px; }
  .wa-float .ico { width: 29px; height: 29px; }
  .wa-float-tip { display: none; }
  .cookie-bar { left: 12px; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom)); max-width: none; }
}

@media (max-width: 720px) {
  .container, .narrow { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .sec-title { margin-bottom: 38px; }
  .sec-title p { font-size: 16px; }
  .p-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .p-card-body { padding: 14px 14px 16px; }
  .p-card-body h3 { font-size: 15.5px; }
  .p-card-meta { font-size: 12.5px; margin-bottom: 10px; line-height: 1.45; }
  .p-card-more { font-size: 13px; }
  .mq-item { width: 220px; padding: 0 8px; }
  .cat-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-card { flex: 0 0 62%; scroll-snap-align: start; }
  .icards, .icards--two { grid-template-columns: 1fr; }
  .icard { padding: 32px 22px; }
  .contact-cards, .contact-cards--2, .contact-cards--4 { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr; }
  .checks--grid { grid-template-columns: 1fr; }
  .form-card { padding: 30px 20px; border-radius: 22px; }
  .form-row, .radios--cards { grid-template-columns: 1fr; }
  fieldset { padding: 20px 16px; }
  .legal-card { padding: 30px 22px; }
  .page-hero { padding: 80px 0 74px; }
  .page-hero p { font-size: 16px; }
  .catalog-bar { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .search { min-width: 0; }
  .specs div { grid-template-columns: 120px 1fr; }
  .cta { padding: 84px 0; }
  .cta p { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer { padding-top: 64px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .legal-links { gap: 10px 18px; }
  .media-frame { border-radius: 22px; }
}
