/* ==========================================================
   FARMEDIX — Hoja de estilos principal (2026)
   ========================================================== */

:root {
  --navy-900: #0a1a33;
  --navy-800: #12284a;
  --navy-700: #1b3b66;
  --brand: #1E73BE;
  --brand-600: #1E73BE;
  --brand-50: #EEF8FE;
  --mint: #00A4EF;
  --ink: #0f1f2e;
  --text: #3f5163;
  --muted: #6b7c8d;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(7, 26, 46, .06), 0 2px 8px rgba(7, 26, 46, .04);
  --shadow: 0 10px 30px -12px rgba(7, 26, 46, .18);
  --shadow-lg: 0 30px 60px -20px rgba(7, 26, 46, .28);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Encabezados de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 .95rem/1 var(--font); letter-spacing: .01em; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(30, 115, 190, .7); }
.btn--primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-800); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-600); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .72); font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; gap: 22px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.topbar__list li { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; color: var(--brand); }

/* ---------- Encabezado / navegación ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  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: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px; background: none; border: 0; cursor: pointer;
  font: 600 .95rem/1 var(--font); color: var(--ink);
}
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--brand-600); }
.nav__item.is-active > .nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand);
}
.nav__link svg { width: 14px; height: 14px; transition: transform .25s; }
.nav__item--drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 280px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; list-style: none; margin: 0;
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item--drop:hover .dropdown, .nav__item--drop.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--drop:hover .nav__link svg, .nav__item--drop.is-open .nav__link svg { transform: rotate(180deg); }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: .92rem;
}
.dropdown a:hover, .dropdown a.is-active { background: var(--brand-50); color: var(--brand-600); }
.dropdown img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand-600); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }

/* ---------- Búsqueda ---------- */
.search {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: 12vh 20px 20px;
  background: rgba(7, 26, 46, .55); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.search.is-open { opacity: 1; visibility: visible; }
.search__box {
  width: 100%; max-width: 680px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; transform: translateY(-12px); transition: transform .3s var(--ease);
}
.search.is-open .search__box { transform: none; }
.search__field { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.search__field svg { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }
.search__field input { flex: 1; border: 0; outline: 0; font: 500 1.1rem var(--font); color: var(--ink); min-width: 0; background: none; }
.search__results { max-height: 52vh; overflow: auto; padding: 8px; margin: 0; list-style: none; }
.search__results a { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
.search__results a:hover, .search__results a.is-focus { background: var(--bg-soft); }
.search__results img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--bg-soft); }
.search__results strong { display: block; font-size: .93rem; }
.search__results span { font-size: .8rem; color: var(--muted); }
.search__empty { padding: 26px; text-align: center; color: var(--muted); }

/* ---------- Héroe portada ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: min(86vh, 760px); display: flex; align-items: center; padding: 96px 0;
  background: var(--navy-900);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; animation: heroZoom 18s ease-out both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7, 26, 46, .96) 0%, rgba(7, 26, 46, .82) 42%, rgba(0, 120, 150, .35) 100%);
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__content { max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { background: linear-gradient(90deg, #C7E9FC, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.18rem; color: rgba(255, 255, 255, .8); max-width: 560px; margin-bottom: 34px; }
.hero .eyebrow { color: #C7E9FC; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, auto); gap: 40px; margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .14); width: fit-content;
}
.hero__stats strong { display: block; font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hero__stats span { font-size: .85rem; color: rgba(255, 255, 255, .65); }

/* ---------- Encabezado de página interior ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 88px);
  background: var(--navy-900);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 26, 46, .95), rgba(7, 26, 46, .6)); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, .78); max-width: 640px; font-size: 1.08rem; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .85rem; }
.breadcrumb li { color: rgba(255, 255, 255, .6); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Tarjetas de categoría ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px;
  border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; color: #fff; padding: 26px;
  box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 46, 0) 30%, rgba(7, 26, 46, .92) 100%); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.cat-card span { font-size: .88rem; color: rgba(255, 255, 255, .75); display: inline-flex; align-items: center; gap: 8px; }
.cat-card span svg { width: 16px; height: 16px; transition: transform .3s; }
.cat-card:hover span svg { transform: translateX(4px); }
.cat-card .count {
  position: absolute; top: 18px; right: 18px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .25); padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700;
}

/* ---------- Productos ---------- */
.cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-tabs a {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: .88rem; font-weight: 600; color: var(--text); transition: all .2s;
}
.cat-tabs a:hover { border-color: var(--brand); color: var(--brand-600); }
.cat-tabs a.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.toolbar p { margin: 0; color: var(--muted); font-size: .92rem; }
.filter {
  display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 46px; min-width: min(320px, 100%);
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.filter svg { width: 18px; height: 18px; color: var(--muted); }
.filter input { border: 0; outline: 0; font: 500 .95rem var(--font); flex: 1; min-width: 0; background: none; color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.product {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); cursor: zoom-in; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product:hover .product__media img { transform: scale(1.06); }
.product__num {
  position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .92); color: var(--navy-800);
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px;
}
.product__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.product__body h3 { font-size: 1rem; letter-spacing: .01em; margin-bottom: 10px; }
.product__body p { font-size: .92rem; color: var(--text); flex: 1; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px dashed var(--line); }
.product__foot a { font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.product__foot a svg { width: 16px; height: 16px; transition: transform .25s; }
.product__foot a:hover svg { transform: translateX(3px); }
.tag { font-size: .74rem; font-weight: 700; color: var(--brand-600); background: var(--brand-50); padding: 4px 10px; border-radius: 999px; }
.swatches { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.no-results { display: none; text-align: center; padding: 50px; color: var(--muted); }

/* ---------- Visor de imagen ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px;
  background: rgba(7, 26, 46, .88); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #fff; margin-top: 14px; font-weight: 600; }
.lightbox .icon-btn { position: absolute; top: 20px; right: 20px; background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .2); }

/* ---------- Bloques nosotros ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.media-frame { position: relative; }
.media-frame img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.media-frame::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; z-index: -1; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-50), #C7E9FC);
}
.badge-float {
  position: absolute; left: -24px; bottom: 36px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px 22px; display: flex; align-items: center; gap: 14px;
}
.badge-float strong { display: block; font-size: 1.7rem; color: var(--navy-800); line-height: 1; }
.badge-float span { font-size: .82rem; color: var(--muted); }
.badge-float .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.badge-float .ico svg { width: 24px; height: 24px; }

.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checklist svg { width: 22px; height: 22px; color: var(--mint); flex-shrink: 0; margin-top: 1px; }

.accordion { display: grid; gap: 14px; }
.accordion details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.accordion details[open] { box-shadow: var(--shadow); border-color: transparent; }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  font-weight: 800; color: var(--ink); letter-spacing: .04em;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); flex-shrink: 0; }
.accordion summary .ico svg { width: 20px; height: 20px; }
.accordion summary .chev { margin-left: auto; width: 20px; height: 20px; color: var(--muted); transition: transform .3s; }
.accordion details[open] summary .chev { transform: rotate(180deg); }
.accordion .acc-body { padding: 0 22px 22px 80px; }
.accordion .acc-body p { margin: 0; }
.values { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.values li { background: var(--bg-soft); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink); }

/* ---------- Características ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--mint)); color: #fff; margin-bottom: 18px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.05rem; }
.feature p { font-size: .93rem; margin: 0; color: var(--muted); }

/* ---------- Marcas ---------- */
.brands { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brands__track { display: flex; gap: 18px; width: max-content; animation: marquee 32s linear infinite; }
.brands:hover .brands__track { animation-play-state: paused; }
.brand {
  display: grid; place-items: center; min-width: 190px; height: 92px; padding: 0 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 800; font-size: 1.25rem; letter-spacing: .06em; color: var(--navy-700); white-space: nowrap;
  filter: grayscale(1); opacity: .75; transition: opacity .3s, filter .3s, color .3s;
}
.brand:hover { opacity: 1; filter: none; color: var(--brand-600); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Promociones ---------- */
.promo-list { display: grid; gap: 28px; }
.promo {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .35s;
}
.promo:hover { box-shadow: var(--shadow-lg); }
.promo:nth-child(even) .promo__media { order: 2; }
.promo__media { position: relative; min-height: 320px; background: var(--bg-soft); }
.promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo__ribbon {
  position: absolute; top: 20px; left: 20px; background: #ff5a5f; color: #fff; font-weight: 800; font-size: .75rem;
  letter-spacing: .12em; padding: 6px 14px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(255, 90, 95, .8);
}
.promo__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.promo__body p { color: var(--ink); font-weight: 600; font-size: 1.02rem; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 26px; color: var(--navy-800); }
.price strong { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; }
.price span { font-size: .9rem; font-weight: 700; color: var(--muted); }

/* ---------- Catálogo / descargas ---------- */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.download {
  display: flex; align-items: center; gap: 20px; padding: 26px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #fff;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.download:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.download .ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); flex-shrink: 0; }
.download .ico svg { width: 28px; height: 28px; color: #C7E9FC; }
.download strong { display: block; font-size: 1.05rem; letter-spacing: .04em; }
.download span { font-size: .85rem; color: rgba(255, 255, 255, .65); }
.download .arrow { margin-left: auto; width: 22px; height: 22px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: rgba(255, 255, 255, .8);
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden;
}
.contact-card::after { content: ""; position: absolute; width: 280px; height: 280px; right: -120px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(30, 115, 190, .45), transparent 70%); }
.contact-card h2 { color: #fff; font-size: 1.8rem; display: flex; align-items: center; gap: 14px; }
.contact-card h2 .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); flex-shrink: 0; }
.contact-card h2 .ico svg { width: 22px; height: 22px; color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; position: relative; z-index: 1; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); flex-shrink: 0; }
.contact-list .ico svg { width: 20px; height: 20px; color: #C7E9FC; }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 2px; }
.contact-list a, .contact-list b { color: #fff; font-weight: 600; }
.contact-list a:hover { color: #C7E9FC; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form h2 { font-size: 1.6rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.form__full { grid-column: 1 / -1; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  font: 500 .97rem var(--font); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(30, 115, 190, .12); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form__foot small { color: var(--muted); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.alert { position: relative; padding: 18px 48px 18px 20px; border-radius: 14px; margin-bottom: 20px; border: 1px solid; }
.alert h3, .alert h4 { margin: 0 0 4px; font-size: 1.05rem; }
.alert p { margin: 0; }
.alert-success { background: #e8f8f2; border-color: #b6ead7; color: #11634a; }
.alert-success h3, .alert-success h4 { color: #11634a; }
.alert-danger { background: #fdeeee; border-color: #f5c6c6; color: #9b2c2c; }
.alert .close { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 1.4rem; cursor: pointer; color: inherit; opacity: .6; }
.text-center { text-align: center; }

/* ---------- Llamado a la acción ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px);
  background: linear-gradient(120deg, var(--brand-600), var(--navy-800)); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; top: -200px; right: -100px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 560px; }
.cta > * { position: relative; }

/* ---------- Pie de página ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .65); padding: 80px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer .logo img { height: 42px; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: #C7E9FC; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .84rem; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; background: var(--navy-800); color: #fff; border: 0; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Créditos ---------- */
.credits { columns: 2 320px; column-gap: 32px; font-size: .88rem; padding-left: 18px; }
.credits li { margin-bottom: 6px; break-inside: avoid; word-break: break-word; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .badge-float { left: 16px; }
  .media-frame::before { inset: 18px -14px -18px 14px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 90; margin: 0;
    background: #fff; box-shadow: var(--shadow-lg); padding: 88px 20px 24px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.02rem; }
  .nav__item.is-active > .nav__link::after { display: none; }
  .nav__item.is-active > .nav__link { background: var(--brand-50); }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 8px; min-width: 0; display: none; }
  .nav__item--drop:hover .dropdown { transform: none; }
  .nav__item--drop.is-open .dropdown { display: block; transform: none; }
  .nav-close { position: absolute; top: 18px; right: 18px; }
  .backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(7, 26, 46, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .backdrop.is-open { opacity: 1; visibility: visible; }
  .promo { grid-template-columns: 1fr; }
  .promo:nth-child(even) .promo__media { order: 0; }
  .promo__media { min-height: 260px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero__stats { gap: 24px; }
}
@media (min-width: 901px) { .nav-close, .backdrop { display: none; } }
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar__list li:nth-child(3) { display: none; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero__stats strong { font-size: 1.5rem; }
  .accordion .acc-body { padding-left: 22px; }
  .gallery { grid-template-columns: 1fr; }
  .logo img { height: 34px; }
}
@media (max-width: 480px) { .hide-sm { display: none; } }

/* ---------- Portada sencilla ---------- */
.hero--simple { min-height: min(72vh, 620px); }
.home-lines { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lines a {
  display: flex; align-items: center; gap: 20px; padding: 20px 6px; border-bottom: 1px solid var(--line);
  color: var(--ink); transition: padding .3s var(--ease), color .2s;
}
.lines a:hover { padding-left: 16px; color: var(--brand-600); }
.lines__num { font-size: .8rem; font-weight: 800; color: var(--brand-600); letter-spacing: .08em; width: 28px; }
.lines__name { font-size: 1.15rem; font-weight: 700; flex: 1; }
.lines__count { font-size: .85rem; color: var(--muted); }
.lines svg { width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.lines a:hover svg { transform: translateX(4px); color: var(--brand-600); }
.quick-contact { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 36px 0; }
.quick-contact .container { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.quick-contact a, .quick-contact .container > div { display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 700; }
.quick-contact a:hover { color: var(--brand-600); }
.quick-contact svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }
.quick-contact small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .home-lines { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .lines__count { display: none; } }

/* ---------- Portada: confianza, sectores y pasos ---------- */
.trust { background: var(--bg-soft); }
.trust__intro { max-width: 760px; margin-bottom: 48px; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.trust__item { padding: 32px 28px 8px 0; }
.trust__item + .trust__item { padding-left: 28px; border-left: 1px solid var(--line); }
.trust__item strong {
  display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; margin-bottom: 14px;
  background: linear-gradient(90deg, var(--brand-600), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust__item h3 { font-size: 1rem; margin-bottom: 6px; }
.trust__item p { font-size: .92rem; color: var(--muted); margin: 0; }

.sectors__head { text-align: center; margin-bottom: 36px; }
.sectors__list { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sectors__list li {
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 700; color: var(--ink); transition: border-color .2s, color .2s, transform .2s;
}
.sectors__list li:hover { border-color: var(--brand); color: var(--brand-600); transform: translateY(-2px); }

.steps { background: var(--navy-800); color: rgba(255, 255, 255, .72); }
.steps h2, .steps h3 { color: #fff; }
.steps .eyebrow { color: #C7E9FC; }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.steps__list li { position: relative; padding-top: 8px; }
.steps__list span {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 20px;
  border: 2px solid var(--brand); color: #fff; font-weight: 800; font-size: 1.1rem; background: var(--navy-800); position: relative; z-index: 1;
}
.steps__list li:not(:last-child)::after {
  content: ""; position: absolute; top: 34px; left: 64px; right: -20px; height: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(30, 115, 190, 0));
}
.steps__list h3 { font-size: 1.1rem; }
.steps__list p { margin: 0; font-size: .95rem; }
.steps__cta { text-align: center; margin-top: 48px; }

@media (max-width: 900px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps__list { grid-template-columns: 1fr; }
  .steps__list li::after { display: none; }
}
@media (max-width: 520px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item, .trust__item + .trust__item { padding-left: 0; border-left: 0; }
  .trust__item + .trust__item { border-top: 1px solid var(--line); }
}

/* ---------- Imágenes del catálogo (fondo blanco) ---------- */
.product__media--contain, .promo__media--contain { background: #fff; border-bottom: 1px solid var(--line); }
.product__media--contain img { object-fit: contain; padding: 18px; }
.product:hover .product__media--contain img { transform: scale(1.04); }
.promo__media--contain img { object-fit: contain; padding: 28px; }
.product__extra { max-width: 100%; height: auto; margin: -4px 0 16px; border-radius: 8px; }

/* ---------- Lista de productos (tablas) ---------- */
.list-sec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.list-sec[open] { box-shadow: var(--shadow); border-color: transparent; }
.list-sec summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  font-weight: 800; color: var(--ink); letter-spacing: .04em;
}
.list-sec summary::-webkit-details-marker { display: none; }
.list-sec summary small { font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: auto; }
.list-sec summary .chev { width: 20px; height: 20px; color: var(--muted); transition: transform .3s; }
.list-sec[open] summary .chev { transform: rotate(180deg); }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.list-table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 620px; }
.list-table thead th {
  position: sticky; top: 0; background: var(--navy-800); color: #fff; text-align: left;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 12px 16px;
}
.list-table th[scope="row"] { text-align: left; font-weight: 600; color: var(--ink); width: 52%; }
.list-table th[scope="row"], .list-table td { padding: 10px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.list-table td { color: var(--text); }
.list-table td:last-child { white-space: nowrap; }
.list-table tbody:nth-of-type(even) { background: var(--bg-soft); }
.list-table tbody:hover { background: var(--brand-50); }

/* Logo FARMEDIX */
.header .logo img { height: 50px; width: auto; }
.footer .logo img { height: 56px; width: auto; }
@media (max-width: 640px) { .header .logo img { height: 40px; } }

/* ==========================================================
   TEMA CLARO — paleta FARMEDIX: #1E73BE, #00A4EF, #C7E9FC
   ========================================================== */
:root {
  --brand: #1E73BE;
  --brand-600: #1E73BE;
  --brand-50: #EEF8FE;
  --mint: #00A4EF;
  --sky-50: #F5FBFE;
  --sky-100: #E6F5FD;
  --sky-200: #C7E9FC;
  --sky-300: #9FD9F8;
  --grad-light: linear-gradient(135deg, #FFFFFF 0%, #EEF8FE 45%, #C7E9FC 100%);
  --grad-brand: linear-gradient(135deg, #1E73BE 0%, #00A4EF 100%);
  --ink: #1d2b3a;
}
a:hover { color: var(--brand-600); }

/* Botones */
.btn--primary { background: var(--grad-brand); box-shadow: 0 10px 24px -10px rgba(30, 115, 190, .45); }
.btn--primary:hover { background: linear-gradient(135deg, #00A4EF 0%, #1E73BE 100%); }
.btn--dark { background: var(--grad-brand); color: #fff; }
.btn--dark:hover { background: linear-gradient(135deg, #00A4EF 0%, #1E73BE 100%); color: #fff; }
.btn--ghost { border-color: var(--sky-300); color: var(--brand-600); background: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: #fff; border-color: var(--brand); color: var(--brand-600); }

/* Barra superior */
.topbar { background: linear-gradient(90deg, var(--sky-100), var(--sky-200)); color: var(--text); }
.topbar a { color: var(--ink); }
.topbar a:hover { color: var(--brand-600); }
.topbar svg { color: var(--brand); }

/* Portada principal */
.hero { background: var(--sky-100); color: var(--ink); }
.hero::before { background: linear-gradient(100deg, rgba(245, 251, 254, .97) 0%, rgba(230, 245, 253, .9) 45%, rgba(199, 233, 252, .5) 100%); }
.hero__bg img { opacity: .75; }
.hero h1 { color: var(--ink); }
.hero h1 span { background: linear-gradient(90deg, #1E73BE, #00A4EF); -webkit-background-clip: text; background-clip: text; }
.hero p { color: var(--text); }
.hero .eyebrow { color: var(--brand-600); }

/* Encabezado de páginas interiores */
.page-hero { background: var(--grad-light); color: var(--ink); }
.page-hero::before { background: linear-gradient(90deg, rgba(245, 251, 254, .97) 0%, rgba(230, 245, 253, .88) 55%, rgba(199, 233, 252, .4) 100%); }
.page-hero__bg img { opacity: .7; }
.page-hero h1 { color: var(--ink); }
.page-hero p { color: var(--text); }
.breadcrumb li { color: var(--muted); }
.breadcrumb a { color: var(--brand-600); }
.breadcrumb a:hover { color: var(--ink); }

/* Tarjetas de categoría con producto del catálogo */
.cat-card { background: var(--grad-light); color: var(--ink); justify-content: flex-start; padding: 0; min-height: 0; border: 1px solid var(--sky-200); }
.cat-card::before { display: none; }
.cat-card img { position: static; height: 220px; object-fit: contain; padding: 22px; background: #fff; border-bottom: 1px solid var(--sky-200); z-index: 0; }
.cat-card:hover { color: var(--ink); }
.cat-card:hover img { transform: scale(1.04); }
.cat-card h3 { color: var(--ink); padding: 18px 22px 0; }
.cat-card span { color: var(--brand-600); padding: 0 22px 20px; }
.cat-card .count { background: var(--grad-brand); border: 0; color: #fff; padding: 4px 12px; }
.dropdown img { object-fit: contain; background: #fff; border: 1px solid var(--line); }

.cat-tabs a.is-active { background: var(--grad-brand); border-color: transparent; color: #fff; }
.product__num { color: var(--brand-600); background: var(--brand-50); }
.badge-float strong, .price { color: var(--ink); }
.brand { color: var(--brand-600); }
.lightbox { background: rgba(199, 233, 252, .92); }
.lightbox figcaption { color: var(--ink); }
.lightbox .icon-btn { background: #fff; color: var(--ink); border-color: var(--line); }
.search, .backdrop { background: rgba(199, 233, 252, .55); }

/* Descargas */
.download { background: var(--grad-light); color: var(--ink); border: 1px solid var(--sky-200); }
.download:hover { color: var(--ink); }
.download .ico { background: var(--grad-brand); }
.download .ico svg { color: #fff; }
.download span { color: var(--muted); }
.download .arrow { color: var(--brand-600); }

/* Contacto */
.contact-card { background: var(--grad-light); color: var(--text); border: 1px solid var(--sky-200); }
.contact-card::after { background: radial-gradient(circle, rgba(0, 164, 239, .25), transparent 70%); }
.contact-card h2 { color: var(--ink); }
.contact-card h2 .ico { background: var(--grad-brand); }
.contact-list .ico { background: #fff; box-shadow: var(--shadow-sm); }
.contact-list .ico svg { color: var(--brand); }
.contact-list small { color: var(--muted); }
.contact-list a, .contact-list b { color: var(--ink); }
.contact-list a:hover { color: var(--brand-600); }

/* Llamado a la acción */
.cta { background: var(--grad-light); color: var(--ink); border: 1px solid var(--sky-200); }
.cta::before { background: rgba(0, 164, 239, .12); }
.cta h2 { color: var(--ink); }
.cta p { color: var(--text); }

/* Pasos (portada) */
.steps { background: var(--grad-light); color: var(--text); }
.steps h2, .steps h3 { color: var(--ink); }
.steps .eyebrow { color: var(--brand-600); }
.steps__list span { background: #fff; color: var(--brand-600); border-color: var(--sky-300); }

/* Tablas de la lista */
.list-table thead th { background: linear-gradient(90deg, var(--sky-200), var(--sky-100)); color: var(--ink); }

/* Pie de página */
.footer { background: linear-gradient(180deg, var(--sky-50) 0%, var(--sky-200) 100%); color: var(--text); border-top: 1px solid var(--sky-200); }
.footer h4 { color: var(--ink); }
.footer a { color: var(--text); }
.footer a:hover { color: var(--brand-600); }
.social a { background: #fff; border-color: var(--sky-200); color: var(--brand-600); }
.social a:hover { background: var(--grad-brand); color: #fff; }
.footer__bottom { border-top-color: var(--sky-300); }
.to-top { background: var(--grad-brand); }

/* Encabezado de categoría con foto del producto */
.page-hero__split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.page-hero__product {
  justify-self: end; width: min(300px, 100%); aspect-ratio: 1; display: grid; place-items: center;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--sky-200); padding: 24px;
}
.page-hero__product img { max-height: 100%; object-fit: contain; }
@media (max-width: 760px) { .page-hero__split { grid-template-columns: 1fr; } .page-hero__product { display: none; } }

/* ==========================================================
   TONO MÁS INTENSO — menos blanco, más color de marca
   ========================================================== */
:root {
  --bg-soft: #E3F4FE;
  --grad-light: linear-gradient(135deg, #DDF1FD 0%, #C7E9FC 55%, #A9DDFA 100%);
  --grad-strong: linear-gradient(120deg, #1E73BE 0%, #0A8FD8 55%, #00A4EF 100%);
  --line: #cfe6f5;
}
.section--soft, .trust { background: var(--bg-soft); }

/* Franjas con el degradado de marca y texto blanco */
.topbar, .footer, .steps, .cta { background: var(--grad-strong); color: rgba(255, 255, 255, .88); border: 0; }
.topbar a, .topbar svg, .footer a, .footer h4 { color: #fff; }
.topbar a:hover, .footer a:hover { color: #C7E9FC; }
.footer .footer__contact svg { color: #C7E9FC; }
.footer__bottom { border-top-color: rgba(255, 255, 255, .25); }
.social a { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .3); color: #fff; }
.social a:hover { background: #fff; color: #1E73BE; }
.steps h2, .steps h3, .cta h2 { color: #fff; }
.steps .eyebrow { color: #C7E9FC; }
.steps__list p, .cta p { color: rgba(255, 255, 255, .88); }
.steps__list span { background: #fff; color: #1E73BE; border-color: #fff; }
.steps__list li:not(:last-child)::after { background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.steps .btn--primary, .cta .btn--primary { background: #fff; color: #1E73BE; }
.steps .btn--primary:hover, .cta .btn--primary:hover { background: #C7E9FC; color: #1E73BE; }
.cta .btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; background: transparent; }
.cta .btn--ghost:hover { background: #fff; color: #1E73BE; }
.cta::before { background: rgba(255, 255, 255, .1); }

/* Portada y encabezados con más color */
.hero { background: #C7E9FC; }
.hero::before { background: linear-gradient(100deg, rgba(199, 233, 252, .97) 0%, rgba(169, 221, 250, .88) 45%, rgba(0, 164, 239, .35) 100%); }
.page-hero { background: var(--grad-light); }
.page-hero::before { background: linear-gradient(90deg, rgba(199, 233, 252, .96) 0%, rgba(169, 221, 250, .85) 55%, rgba(0, 164, 239, .3) 100%); }

/* Bloques y tarjetas */
.quick-contact { background: #C7E9FC; border-top: 0; }
.download, .contact-card, .cat-card { background: var(--grad-light); border-color: #A9DDFA; }
.list-table thead th { background: var(--grad-strong); color: #fff; }
.list-table tbody:nth-of-type(even) { background: #EEF8FE; }
.list-table tbody:hover { background: #C7E9FC; }
.sectors__list li { border-color: #A9DDFA; background: #EEF8FE; }
.trust__grid, .trust__item + .trust__item { border-color: #A9DDFA; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 20px 0 16px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 700; font-size: .92rem;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(37, 211, 102, .8); }
.wa-float svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366;
  animation: waPulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes waPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.35); opacity: 0; } }
.to-top { bottom: 92px; }
@media (max-width: 640px) {
  .wa-float { width: 58px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
}
.contact-list .ico--wa svg { color: #25D366; }
.btn svg[fill="currentColor"] { width: 18px; height: 18px; }

/* ---------- Nosotros: currículum empresarial ---------- */
.giro { margin: 4px 0 28px; padding: 18px 20px; border-left: 4px solid var(--brand); background: var(--brand-50); border-radius: 0 12px 12px 0; }
.giro small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 4px; }
.giro p { margin: 0; font-weight: 600; color: var(--ink); }
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.mvv__card { background: #fff; border: 1px solid #A9DDFA; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.mvv__card img { width: 100%; height: 190px; object-fit: cover; }
.mvv__card > div { padding: 24px 26px 28px; }
.mvv__card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-strong); color: #fff; margin-bottom: 14px; }
.mvv__card .ico svg { width: 22px; height: 22px; }
.mvv__card h3 { letter-spacing: .04em; }
.mvv__card p { margin: 0; font-size: .95rem; }
.mvv__card--values { background: var(--grad-light); justify-content: center; }
.mvv__card--values .checklist { margin: 8px 0 0; }
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.partner { height: 120px; display: grid; place-items: center; padding: 18px; background: #fff; border: 1px solid #A9DDFA; border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s; }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner img { max-height: 84px; max-width: 100%; object-fit: contain; }
.clients { max-width: 1000px; }
.clients__more { text-align: center; font-size: 1.6rem; font-weight: 800; color: var(--brand-600); margin: 28px 0 0; }
.brand--logo { filter: none; opacity: 1; padding: 12px 24px; }
.brand--logo img { max-height: 64px; max-width: 170px; object-fit: contain; }
@media (max-width: 900px) { .mvv { grid-template-columns: 1fr; } }
.media-frame--wide img { aspect-ratio: auto; }
.media-frame--wide .badge-float { bottom: -24px; }
