/* =========================================================
   PROVEDENT · Estilos principales
   Paleta tomada del logo: azul / turquesa / azul marino / blanco
   ========================================================= */

:root {
  --primary: #15539C;      /* azul del logo (PROVE) */
  --primary-600: #0F4079;
  --primary-100: #EAF2FA;
  --accent: #0C98AD;       /* turquesa del logo (DENT) – botones y ofertas */
  --accent-600: #0A7F91;
  --accent-100: #E2F6F8;
  --teal: #16B4BE;         /* turquesa claro (cruz del logo) */
  --navy: #0C2B52;         /* textos y fondos oscuros */
  --navy-800: #16396A;
  --navy-900: #081F3D;
  --ink: #16233F;
  --gray-700: #4A5570;
  --gray-500: #7B849A;
  --gray-200: #E4E8F0;
  --gray-100: #F4F6FA;
  --white: #FFFFFF;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(12, 43, 82, .18);
  --shadow-lg: 0 30px 60px -20px rgba(12, 43, 82, .25);
  --container: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button, input, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Iconos SVG en línea: estilo trazo */
svg path, svg circle, svg rect { vector-effect: non-scaling-stroke; }
.tooth-art path { vector-effect: none; } /* el grosor de la P debe escalar con el dibujo */

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--white); box-shadow: 0 10px 24px -10px rgba(12, 152, 173, .8); }
.btn--primary:hover { background: var(--accent-600); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-800); }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--block { width: 100%; }
.btn--light { background: var(--white); color: var(--accent-600); }
.btn--light:hover { background: var(--navy); color: var(--white); }

.hl {
  background: linear-gradient(transparent 64%, rgba(12, 152, 173, .3) 64%, rgba(12, 152, 173, .3) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em;
}

.kicker {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.kicker--light { color: #d4f6f9; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #c9d3ea; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar p { margin: 0; }
.topbar strong { color: var(--accent); }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a:hover { color: var(--accent); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .35); }
.header__inner { display: flex; align-items: center; gap: 32px; min-height: 80px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__img { display: block; height: 54px; width: auto; transition: transform .4s var(--ease); }
.logo:hover .logo__img { transform: scale(1.03); }
.footer .logo__img { height: 58px; }

.search { flex: 1; display: flex; align-items: center; background: var(--gray-100); border: 2px solid transparent; border-radius: 999px; padding: 4px 4px 4px 22px; transition: border-color .2s, background .2s; }
.search:focus-within { border-color: var(--primary); background: var(--white); }
.search input { flex: 1; border: 0; background: none; outline: none; padding: 10px 0; font-size: 15px; min-width: 0; }
.search button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--primary); cursor: pointer; display: grid; place-items: center; }
.search button svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; }

.header__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.icon-btn:hover { background: var(--gray-100); }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: 11px; font-weight: 800; display: grid; place-items: center; transition: transform .3s var(--ease); }
.badge.bump { transform: scale(1.35); }

.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--navy); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav { border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.nav__inner { display: flex; align-items: center; gap: 6px; min-height: 54px; overflow-x: auto; scrollbar-width: none; }
.nav__item { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--gray-700); transition: background .2s, color .2s; }
.nav__item:hover { background: var(--gray-100); color: var(--navy); }
.nav__item--all { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: var(--white); margin-right: 8px; }
.nav__item--all:hover { background: var(--navy-800); color: var(--white); }
.nav__item--all svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }
.nav__item--hl { margin-left: auto; color: var(--accent-600); background: var(--accent-100); }
.nav__item--hl:hover { background: var(--accent); color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background:
  radial-gradient(circle at 85% 20%, var(--primary-100) 0, transparent 45%),
  linear-gradient(180deg, #fff 0%, #f7f9fd 100%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 700; margin-bottom: 26px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(12, 152, 173, .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(12, 152, 173, 0); } }

.hero h1 { font-size: clamp(40px, 5.4vw, 70px); font-weight: 800; letter-spacing: -.035em; color: var(--navy); }
.hero__lead { font-size: 19px; color: var(--gray-700); max-width: 520px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero__stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 44px; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.hero__stats strong::before { content: "+"; color: var(--primary); }
.hero__stats span { font-size: 14px; color: var(--gray-500); font-weight: 600; }

.hero__visual { position: relative; height: 520px; }
.hero__blob { position: absolute; inset: 6% 4% 6% 10%; background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%); border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; animation: morph 12s ease-in-out infinite; }
@keyframes morph {
  50% { border-radius: 58% 42% 40% 60% / 40% 58% 42% 60%; transform: rotate(6deg); }
}
.hero__card { position: absolute; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero__card--main { inset: 16% 16% 16% 22%; display: grid; place-items: center; border-radius: 32px; background:
  repeating-linear-gradient(45deg, #fbfcff 0 12px, #f1f4fb 12px 24px); }
.tooth-art { width: 50%; filter: drop-shadow(0 18px 24px rgba(12, 43, 82, .22)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }

.hero__card--float { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; animation: float 7s ease-in-out infinite; }
.hero__card--float strong { display: block; font-size: 15px; color: var(--navy); }
.hero__card--float small { font-size: 13px; color: var(--gray-500); }
.hero__card--a { top: 8%; left: 0; }
.hero__card--b { bottom: 8%; right: 0; animation-delay: -3s; }
.chip-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; }
.chip-icon--dark { background: var(--navy); }
.chip-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-icon--dark svg { stroke: var(--accent); }

/* ---------- Perks ---------- */
.perks { background: var(--navy); color: var(--white); }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; align-items: center; gap: 16px; padding: 30px 24px; border-right: 1px solid var(--navy-800); }
.perk:last-child { border-right: 0; }
.perk svg { width: 34px; height: 34px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perk strong { display: block; font-size: 16px; }
.perk span { font-size: 13px; color: #9fb0d3; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section--gray { background: var(--gray-100); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; margin: 0; color: var(--navy); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 20px; }
.cat { position: relative; overflow: hidden; background: var(--gray-100); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .35s var(--ease), box-shadow .35s, background .35s; }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--primary-100); }
.cat h3 { font-size: 21px; font-weight: 800; margin: 0 0 4px; color: var(--navy); }
.cat__count { font-size: 13px; font-weight: 700; color: var(--gray-500); }
.cat__icon { position: absolute; top: 26px; left: 26px; width: 54px; height: 54px; padding: 12px; border-radius: 14px; background: var(--white); fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: background .3s, transform .35s var(--ease); }
.cat:hover .cat__icon { background: var(--primary); stroke: var(--white); transform: rotate(-8deg); }

.cat--big { grid-column: span 2; grid-row: span 2; background: linear-gradient(140deg, var(--primary) 0%, var(--primary-600) 100%); color: var(--white); justify-content: space-between; padding: 40px; }
.cat--big:hover { background: linear-gradient(140deg, var(--primary) 0%, var(--primary-600) 100%); }
.cat--big h3 { color: var(--white); font-size: 38px; max-width: 320px; margin: 12px 0; }
.cat--big p { max-width: 300px; color: #dbe5ff; }
.cat--big .cat__count { color: var(--white); background: rgba(255, 255, 255, .18); padding: 6px 12px; border-radius: 999px; }
.cat__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; background: var(--accent); color: var(--white); padding: 12px 22px; border-radius: 999px; margin-top: 14px; }
.cat__go svg { width: 18px; height: 18px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cat__art { position: absolute; right: -20px; bottom: -20px; width: 300px; height: 300px; fill: rgba(255, 255, 255, .12); stroke: rgba(255, 255, 255, .85); stroke-width: 3; stroke-linejoin: round; transform: rotate(14deg); transition: transform .5s var(--ease); }
.cat--big:hover .cat__art { transform: rotate(4deg) scale(1.04); }

.cat--wide { grid-column: span 2; }
.cat--dark { background: var(--navy); }
.cat--dark:hover { background: var(--navy-800); }
.cat--dark h3 { color: var(--white); }
.cat--dark .cat__icon { background: var(--accent); stroke: var(--white); }
.cat--dark .cat__count { color: #9fb0d3; }

/* ---------- Productos ---------- */
.tabs { display: flex; gap: 6px; background: var(--white); padding: 6px; border-radius: 999px; box-shadow: var(--shadow); }
.tab { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--gray-700); cursor: pointer; transition: background .2s, color .2s; }
.tab:hover { color: var(--navy); }
.tab.is-active { background: var(--primary); color: var(--white); }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; animation: fadeUp .5s var(--ease) both; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

.product__media { position: relative; aspect-ratio: 1 / .85; display: grid; place-items: center; background: #f6f8fc; margin: 10px; border-radius: 14px; }
.product__media svg { width: 46%; fill: var(--primary-100); stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.product:hover .product__media svg { transform: scale(1.08) rotate(-4deg); }
.product__tag { position: absolute; top: 12px; left: 12px; background: var(--primary); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.product__tag--sale { background: var(--accent); color: var(--white); }

.product__body { padding: 8px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product__brand { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); }
.product__name { font-size: 16px; font-weight: 700; margin: 4px 0 14px; color: var(--navy); line-height: 1.35; }
.product__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.product__price { display: flex; flex-direction: column; }
.product__price del { font-size: 13px; color: var(--gray-500); }
.product__price strong { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.add-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; transition: background .2s, transform .25s var(--ease); }
.add-btn:hover { background: var(--primary); transform: rotate(90deg); }
.add-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; }
.add-btn:hover svg { stroke: var(--white); }
.add-btn.added { background: #16A34A; }
.add-btn.added svg { stroke: var(--white); }

/* ---------- Promos ---------- */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.promo { position: relative; overflow: hidden; border-radius: 24px; padding: 48px; min-height: 300px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.promo h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; max-width: 380px; position: relative; z-index: 1; }
.promo p { max-width: 360px; position: relative; z-index: 1; }
.promo .btn { position: relative; z-index: 1; margin-top: 8px; }
.promo--teal { background: linear-gradient(135deg, #16B4BE 0%, var(--accent) 60%, var(--accent-600) 100%); color: var(--white); }
.promo--teal p { color: #e3fbfd; }
.promo--dark { background: var(--navy); color: var(--white); }
.promo--dark p { color: #b3c1e0; }
.promo__ring { position: absolute; right: -80px; bottom: -80px; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .16); transition: transform .6s var(--ease); }
.promo--dark .promo__ring { border-color: var(--primary); }
.promo:hover .promo__ring { transform: scale(1.15); }

/* ---------- Marcas ---------- */
.brands { padding: 56px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.brands__title { text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 28px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: scroll 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: #b9c2d6; white-space: nowrap; transition: color .2s; }
.marquee__track span:hover { color: var(--navy); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Instituciones ---------- */
.inst { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.inst h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; color: var(--navy); }
.inst__content > p { font-size: 18px; color: var(--gray-700); max-width: 500px; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.checklist li::before { content: ""; width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat; }

.quote { background: var(--navy); color: var(--white); border-radius: 28px; padding: 40px; box-shadow: var(--shadow-lg); position: relative; }
.quote::before { content: ""; position: absolute; top: -14px; right: 40px; width: 90px; height: 28px; background: var(--accent); border-radius: 999px; }
.quote h3 { font-size: 26px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; flex: 1; }
.field-row { display: flex; gap: 14px; }
.field label { font-size: 13px; font-weight: 700; color: #b3c1e0; }
.field input, .field textarea { background: var(--navy-900); border: 2px solid var(--navy-800); border-radius: 12px; padding: 13px 16px; color: var(--white); outline: none; transition: border-color .2s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--primary); }
.field input::placeholder, .field textarea::placeholder { color: #5d6d92; }
.quote__ok { margin: 14px 0 0; text-align: center; color: #7CF0A9; font-weight: 700; }

/* ---------- Newsletter ---------- */
.newsletter { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-600) 100%); color: var(--white); padding: 64px 0; }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.newsletter h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: var(--white); margin-bottom: 6px; }
.newsletter p { margin: 0; color: #dbe5ff; }
.newsletter__form { display: flex; gap: 10px; background: var(--white); padding: 6px; border-radius: 999px; flex: 0 1 520px; }
.newsletter__form input { flex: 1; border: 0; outline: none; padding: 0 20px; background: none; min-width: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #b3c1e0; padding: 80px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; }
.footer__grid > div > a { display: block; padding: 5px 0; transition: color .2s; }
.footer__grid > div > a:hover { color: var(--accent); }
.footer__grid p { margin: 0 0 8px; }
.footer__brand p { margin: 20px 0 24px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--accent); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.socials a:hover svg { stroke: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--navy-800); padding: 24px; font-size: 13px; color: #7f8fb3; }
.footer__bottom p { margin: 0; }

/* ---------- WhatsApp ---------- */
.wsp { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .3s var(--ease); }
.wsp:hover { transform: scale(1.1); }
.wsp svg { width: 32px; height: 32px; fill: var(--white); }

/* ---------- Animación al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cat--big { grid-column: span 3; grid-row: auto; min-height: 260px; }
  .cat--big .cat__art { width: 220px; height: 220px; }
  .cat--wide { grid-column: span 1; }
  .cat--dark.cat--wide { grid-column: span 2; }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(2) { border-right: 0; }
  .perk:nth-child(-n+2) { border-bottom: 1px solid var(--navy-800); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .topbar__links { display: none; }
  .topbar__inner { justify-content: center; text-align: center; }
  .header__inner { flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .search { order: 3; flex-basis: 100%; }
  .header__actions { margin-left: auto; }
  .menu-toggle { display: flex; }
  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav__inner { flex-direction: column; align-items: stretch; padding-top: 12px; padding-bottom: 16px; }
  .nav__item, .nav__item--all { margin: 0; }
  .nav__item--hl { margin-left: 0; }

  .hero { padding: 48px 0 64px; }
  .hero__inner, .inst { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: 380px; }
  .promo-grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .logo__img { height: 42px; }
  .hero__stats { gap: 24px; }
  .hero__stats strong { font-size: 26px; }
  .hero__card--float { padding: 10px 14px 10px 10px; }
  .hero__card--float strong { font-size: 13px; }
  .chip-icon { width: 38px; height: 38px; }
  .cats { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(170px, auto); gap: 14px; }
  .cat--big { grid-column: span 2; padding: 28px; }
  .cat--wide, .cat--dark.cat--wide { grid-column: span 1; }
  .cat--big h3 { font-size: 28px; }
  .cat { padding: 20px; }
  .cat__icon { top: 18px; left: 18px; }
  .cat h3 { font-size: 17px; }
  .products { gap: 14px; }
  .product__body { padding: 6px 14px 16px; }
  .product__name { font-size: 14px; }
  .product__price strong { font-size: 17px; }
  .add-btn { width: 38px; height: 38px; }
  .perks__grid { grid-template-columns: 1fr; }
  .perk { border-right: 0 !important; border-bottom: 1px solid var(--navy-800); padding: 20px 8px; }
  .perk:last-child { border-bottom: 0; }
  .promo, .quote { padding: 32px 24px; }
  .field-row { flex-direction: column; gap: 0; }
  .tabs { width: 100%; overflow-x: auto; }
  .newsletter__form { flex-basis: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

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

/* =========================================================
   Catálogo, ficha de producto y cotización
   ========================================================= */
button.nav__item { border: 0; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }

/* Carrito en el encabezado */
.cart-link { display: inline-flex; align-items: center; gap: 4px; padding-right: 14px; border-radius: 999px; transition: background .2s; }
.cart-link:hover { background: var(--gray-100); }
.cart-link__txt { font-size: 14px; font-weight: 700; color: var(--navy); white-space: nowrap; }

/* Menú de categorías */
.nav { position: relative; }
.megamenu { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--gray-200); box-shadow: 0 24px 40px -24px rgba(12, 43, 82, .35); z-index: 40; }
.megamenu__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding-top: 18px; padding-bottom: 22px; }
.megamenu__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--navy); transition: background .2s; }
.megamenu__item:hover { background: var(--primary-100); }
.megamenu__item svg { width: 40px; height: 40px; padding: 8px; flex-shrink: 0; border-radius: 10px; background: var(--gray-100); fill: none; stroke: var(--primary); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.megamenu__item small { display: block; font-size: 12px; font-weight: 600; color: var(--gray-500); }

/* Aviso flotante */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; display: flex; flex-direction: column; gap: 2px; min-width: 280px; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 16px; background: var(--navy); color: var(--white); font-size: 14px; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease), visibility .35s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast span { color: #b3c1e0; }
.toast a { color: #7fe3e8; font-weight: 700; margin-top: 4px; }

/* Tarjetas de producto con foto real */
.product__media img { width: 86%; height: 92%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__media .product__ph { width: 40%; fill: var(--primary-100); stroke: var(--primary); stroke-width: 2.4; opacity: .55; }
.product__name { margin-bottom: 4px; }
.product__name a:hover { color: var(--primary); }
.product__name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product__fmt { font-size: 13px; color: var(--gray-500); margin-bottom: 14px; }
.product__price small { font-size: 11px; font-weight: 600; color: var(--gray-500); }
.product__tag { z-index: 1; }

/* Migas de pan */
.crumbs { font-size: 13px; color: var(--gray-500); padding: 18px 0 0; }
.crumbs a:hover { color: var(--primary); }
.crumbs__sep { margin: 0 8px; color: var(--gray-200); }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }

.section--tight { padding: 56px 0; }

/* Ficha de producto */
.pdp { padding: 28px 0 40px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pdp__media { position: sticky; top: 150px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 28px; background: var(--white); border: 1px solid var(--gray-200); overflow: hidden; }
.pdp__media img { width: 100%; height: 100%; object-fit: contain; }
.pdp__ph { width: 40%; fill: var(--primary-100); stroke: var(--primary); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .5; }
.pdp__brand { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pdp__brand:hover { text-decoration: underline; }
.pdp__title { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--navy); margin: 8px 0 12px; }
.pdp__lead { color: var(--gray-700); font-size: 16px; }
.pdp__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--accent-100); color: var(--accent-600); }
.pill--soft { background: var(--gray-100); color: var(--gray-700); }
.pill--ok { background: #E3F7EA; color: #157A3A; }
.pdp__price { display: flex; flex-direction: column; padding: 20px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); margin-bottom: 20px; }
.pdp__price strong { font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.pdp__price span { font-size: 13px; color: var(--gray-500); font-weight: 600; }
.pdp__buy { display: flex; gap: 12px; margin-bottom: 12px; }
.pdp__add { flex: 1; }
.pdp__wsp { margin-bottom: 20px; }
.pdp__perks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 14px; color: var(--gray-700); }
.pdp__perks li { display: flex; align-items: center; gap: 10px; }
.pdp__perks li::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: var(--accent-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7F91' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pdp__doc { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--gray-200); transition: border-color .2s, background .2s; }
.pdp__doc:hover { border-color: var(--primary); background: var(--primary-100); }
.pdp__doc svg { width: 28px; height: 28px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pdp__doc strong { display: block; font-size: 14px; color: var(--navy); }
.pdp__doc small { font-size: 12px; color: var(--gray-500); }
.pdp__details { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
.pdp__details h2 { font-size: 22px; font-weight: 800; color: var(--navy); }
.pdp__details p { color: var(--gray-700); }
.specs { display: grid; grid-template-columns: auto 1fr; margin: 0; border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden; font-size: 14px; }
.specs dt, .specs dd { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--gray-200); }
.specs dt { font-weight: 700; color: var(--gray-700); background: var(--gray-100); }
.specs dd { color: var(--navy); font-weight: 600; }
.specs dd a { color: var(--primary); }
.specs dt:nth-last-of-type(1), .specs dd:last-of-type { border-bottom: 0; }

/* Selector de cantidad */
.qty { display: inline-flex; align-items: center; border: 2px solid var(--gray-200); border-radius: 999px; overflow: hidden; background: var(--white); }
.qty button { width: 44px; height: 50px; border: 0; background: none; font-size: 20px; font-weight: 700; color: var(--navy); cursor: pointer; }
.qty button:hover { background: var(--gray-100); }
.qty input { width: 48px; border: 0; text-align: center; font-weight: 800; font-size: 16px; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm button { width: 34px; height: 38px; font-size: 17px; }
.qty--sm input { width: 38px; font-size: 14px; }

/* Catálogo */
.catalog { padding: 24px 0 96px; }
.catalog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.catalog__head h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.catalog__head p { color: var(--gray-700); margin: 0; }
.catalog__filters-btn { display: none; }
.catalog__filters-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.catalog__layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; align-items: start; }
.filters { position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow-y: auto; display: grid; gap: 22px; padding: 22px; border-radius: 20px; background: var(--gray-100); scrollbar-width: thin; }
.filters__label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.filters__input { width: 100%; padding: 11px 14px; border-radius: 12px; border: 2px solid var(--gray-200); background: var(--white); outline: none; font-size: 14px; }
.filters__input:focus { border-color: var(--primary); }
.filters__input--sm { padding: 8px 12px; margin-bottom: 8px; }
.filters__range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters__list { display: grid; gap: 2px; }
.filters__list--scroll { max-height: 240px; overflow-y: auto; scrollbar-width: thin; }
.filters__link { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--gray-700); }
.filters__link:hover { background: var(--white); color: var(--navy); }
.filters__link.is-on { background: var(--primary); color: var(--white); }
.filters__link span, .check span { color: var(--gray-500); font-size: 12px; font-weight: 700; margin-left: auto; }
.filters__link.is-on span { color: #cfe0f5; }
.filters__none { font-size: 13px; color: var(--gray-500); margin: 0; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 4px; font-size: 14px; font-weight: 600; color: var(--gray-700); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; }
.catalog__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.catalog__bar > p { margin: 0; font-weight: 800; color: var(--navy); }
.catalog__chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.chip { border: 0; padding: 6px 12px; border-radius: 999px; background: var(--primary-100); color: var(--primary); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.chip:hover { background: var(--primary); color: var(--white); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gray-700); margin-left: auto; }
.sort select { padding: 9px 12px; border-radius: 12px; border: 2px solid var(--gray-200); background: var(--white); font: inherit; font-weight: 700; color: var(--navy); outline: none; }
.products--catalog { grid-template-columns: repeat(3, 1fr); }
.products--catalog .product { animation: none; box-shadow: 0 1px 0 var(--gray-200), 0 0 0 1px var(--gray-200); }
.catalog__empty { padding: 48px 24px; text-align: center; color: var(--gray-700); background: var(--gray-100); border-radius: 20px; }
.catalog__empty a { color: var(--primary); font-weight: 700; }
.catalog__more { display: flex; justify-content: center; margin-top: 32px; }

/* Cotización */
.quote-page__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.quote--page { position: sticky; top: 150px; }
.quote--page .btn { margin-top: 10px; }
.quote__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; margin: 4px 0 6px; border-top: 1px solid var(--navy-800); }
.quote__total span { color: #b3c1e0; font-size: 14px; }
.quote__total strong { font-size: 26px; }
.quote__note { font-size: 12px; color: #8fa0c4; margin: 14px 0 0; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.cart { display: grid; gap: 12px; }
.cart__row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto auto; align-items: center; gap: 16px; padding: 14px; border-radius: 18px; border: 1px solid var(--gray-200); background: var(--white); }
.cart__img { width: 76px; height: 76px; border-radius: 12px; background: var(--gray-100); display: grid; place-items: center; overflow: hidden; }
.cart__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart__info { display: flex; flex-direction: column; min-width: 0; }
.cart__name { font-weight: 700; color: var(--navy); line-height: 1.3; }
.cart__name:hover { color: var(--primary); }
.cart__unit { font-size: 13px; color: var(--gray-500); }
.cart__sub { min-width: 90px; text-align: right; color: var(--navy); }
.cart__del { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; }
.cart__del:hover { background: #FDECEC; }
.cart__del svg { width: 18px; height: 18px; fill: none; stroke: var(--gray-500); stroke-width: 2.2; stroke-linecap: round; }
.cart__del:hover svg { stroke: #C0392B; }
.cart__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 4px; }
.cart__empty { padding: 56px 24px; text-align: center; border-radius: 20px; background: var(--gray-100); }
.cart__empty p { font-size: 18px; font-weight: 700; color: var(--navy); }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--gray-500); cursor: pointer; }
.link-btn:hover { color: #C0392B; }

@media (max-width: 1080px) {
  .megamenu__grid { grid-template-columns: repeat(3, 1fr); }
  .products--catalog { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .cart-link__txt { display: none; }
  .cart-link { padding-right: 0; }
  .megamenu { position: static; box-shadow: none; border: 0; }
  .megamenu__grid { grid-template-columns: 1fr; padding-top: 0; }
  .pdp__grid, .pdp__details, .quote-page__grid { grid-template-columns: 1fr; gap: 28px; }
  .pdp__media, .quote--page { position: static; }
  .catalog__layout { grid-template-columns: 1fr; }
  .catalog__filters-btn { display: inline-flex; }
  .filters { display: none; position: static; max-height: none; }
  .filters.is-open { display: grid; }
}
@media (max-width: 560px) {
  .pdp__price strong { font-size: 32px; }
  .pdp__buy { flex-direction: column; }
  .pdp__buy .qty { align-self: flex-start; }
  .cart__row { grid-template-columns: 60px minmax(0, 1fr) auto; }
  .cart__img { width: 60px; height: 60px; }
  .cart__row .qty { grid-column: 2; justify-self: start; }
  .cart__sub { grid-column: 3; grid-row: 2; }
  .cart__del { grid-column: 3; grid-row: 1; }
  .sort { margin-left: 0; }
}
