/* ==========================================================================
   AUREON HELIX — indexV2.css
   Hoja única para indexV2.html. Orden de cascada:
     1) hero.css          — Hero, sin cambios
     2) site.css          — sitio, sin cambios
     3) refinamientos     — acabado (grano, luz, filos, superficies)
   El bloque de refinamientos va al final a propósito: sobrescribe por
   cascada, no por !important, así que puede quitarse borrando ese tramo.
   ========================================================================== */

/* ===== 1) HERO (hero.css, intacto) ===================================== */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 68% 105% at 5% 8%, rgba(163, 181, 213, .78) 0%, rgba(196, 211, 233, .38) 45%, transparent 73%),
    radial-gradient(ellipse 52% 70% at 94% 90%, rgba(178, 197, 230, .62) 0%, transparent 75%),
    linear-gradient(112deg, #dce8f3 0%, #e5ebf4 42%, #eeeaf0 72%, #ece9e9 100%);
}

#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(224, 235, 246, .34) 0%, rgba(226, 235, 245, .22) 36%, rgba(238, 234, 240, .02) 67%),
    linear-gradient(180deg, rgba(238, 235, 240, .12), transparent 58%, rgba(199, 214, 237, .22));
  pointer-events: none;
}

.hero .hero-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  padding-right: clamp(24px, 4vw, 72px);
  padding-left: clamp(28px, 4.25vw, 76px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-row: 3;
  align-self: center;
  width: min(47vw, 780px);
  margin-top: 0;
  transform: translateY(-20vh);
}

.hero .hero-title {
  margin: 0;
  color: #032940;
  font-family: "Orbitron", "IBM Plex Sans", sans-serif;
  font-size: clamp(2.7rem, 3.62vw, 4rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.14;
  text-transform: uppercase;
  text-wrap: nowrap;
}

.hero-line {
  display: block;
}

.hero-title em {
  color: #cc9e33;
  font-style: normal;
  font-weight: 600;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 18px);
  margin: 12px 0 0;
  color: rgba(3, 41, 64, .68);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(.68rem, 1.02vw, 1.05rem);
  font-weight: 400;
  letter-spacing: .075em;
  line-height: 1.45;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-proof i {
  width: 1px;
  height: 1.05em;
  flex: 0 0 1px;
  background: rgba(3, 41, 64, .48);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 4.25vw, 76px);
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #284955;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 46px;
  height: 1px;
  background: rgba(3, 41, 64, .28);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
  }

  .hero .hero-layout {
    min-height: 100svh;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-copy {
    grid-row: 3;
    align-self: center;
    width: 100%;
    margin-top: 0;
    transform: translateY(-20vh);
  }

  .hero .hero-title {
    font-size: clamp(1.72rem, 7.15vw, 2.65rem);
    letter-spacing: -.055em;
    line-height: 1.18;
  }

  .hero-proof {
    max-width: 92%;
    flex-wrap: wrap;
    gap: 4px 9px;
    margin-top: 14px;
    font-size: clamp(.54rem, 2.3vw, .7rem);
    letter-spacing: .055em;
    white-space: normal;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(219, 231, 245, .24), rgba(235, 234, 241, .02) 58%, rgba(196, 213, 238, .28)),
      linear-gradient(90deg, rgba(225, 235, 246, .34), transparent 72%);
  }

  .scroll-cue {
    bottom: 22px;
  }
}

@media (max-width: 420px) {
  .hero .hero-title {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .hero-proof {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero-particles {
    opacity: .82;
  }
}


/* ===== 2) SITIO (site.css, intacto) ==================================== */

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@300;400;500;600&family=IBM+Plex+Serif:ital,wght@0,400;1,400&family=Orbitron:wght@500;600&display=swap");

:root {
  --navy: #032940;
  --slate: #284955;
  --gold: #cc9e33;
  --gold-deep: #9e7a33;
  --ice: #f0f7fa;
  --ink: #151e24;
  --paper: #fbfcfc;
  --white: #fff;
  --line: rgba(3, 41, 64, .16);
  --line-light: rgba(240, 247, 250, .18);
  --muted: #65747c;
  --sans: "IBM Plex Sans", Arial, sans-serif;
  --serif: "IBM Plex Serif", Georgia, serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --hero-display: "Orbitron", "IBM Plex Sans", sans-serif;
  /* Reusable editorial glass baseline. Keep layout rules separate so variants can be evaluated safely. */
  --glass-editorial-border: rgba(255, 255, 255, .58);
  --glass-editorial-canvas: radial-gradient(ellipse at 14% 14%, rgba(160, 203, 218, .86) 0%, rgba(160, 203, 218, 0) 41%), radial-gradient(ellipse at 86% 18%, rgba(147, 168, 193, .55) 0%, rgba(147, 168, 193, 0) 38%), linear-gradient(138deg, #eef8fb 0%, #c7dbe2 38%, #d7e3e4 68%, #d5ddea 100%);
  --glass-editorial-surface: linear-gradient(145deg, rgba(255, 255, 255, .62), rgba(240, 247, 250, .26) 46%, rgba(255, 255, 255, .16));
  --glass-editorial-shadow: 0 30px 78px rgba(3, 41, 64, .16), 0 8px 24px rgba(3, 41, 64, .09), inset 0 1px 0 rgba(255, 255, 255, .94), inset 0 -1px 0 rgba(255, 255, 255, .22);
  --glass-editorial-blur: blur(30px) saturate(175%);
  --glass-editorial-noise-opacity: .38;
  --shell: 1320px;
  --gutter: clamp(22px, 4vw, 64px);
  --section: clamp(88px, 11vw, 168px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  color: var(--navy);
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}

h1, h2 {
  font-family: var(--sans);
  letter-spacing: -.035em;
}

h1 { font-size: clamp(2.55rem, 4.5vw, 4.9rem); }
h2 { font-size: clamp(2.1rem, 3.7vw, 4rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.65rem); }

.hero-title {
  font-family: var(--hero-display);
  font-weight: 500;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

::selection { color: var(--white); background: var(--gold-deep); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.section { padding-block: var(--section); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.eyebrow,
.technical-label,
.footer-label {
  color: var(--gold-deep);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 33px;
  height: 1px;
  background: currentColor;
}

.eyebrow-light { color: var(--gold); }
.lead { font-family: var(--serif); font-size: clamp(1.18rem, 1.7vw, 1.55rem); line-height: 1.55; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 8px;
  color: var(--navy);
  border-bottom: 1px solid currentColor;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: gap .25s ease, color .25s ease;
}

.text-link:hover { gap: 30px; color: var(--gold-deep); }
.text-link-light { color: var(--ice); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: .71rem;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease;
}

.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--navy); }
.button-dark:hover { background: var(--slate); }
.button-gold { color: var(--navy); background: var(--gold); }
.button-gold:hover { background: #ddb14b; }
.button-outline { color: var(--navy); border-color: rgba(3, 41, 64, .4); background: transparent; }
.button-outline:hover { color: var(--white); border-color: var(--navy); background: var(--navy); }
.section-action { margin-top: clamp(42px, 6vw, 78px); }

/* Navigation */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: rgba(3, 41, 64, .1);
  background: rgba(240, 247, 250, .92);
  box-shadow: 0 14px 40px rgba(3, 41, 64, .05);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-shell { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { display: block; width: clamp(144px, 10vw, 168px); height: auto; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.site-nav > a:not(.nav-cta) { position: relative; color: var(--slate); font-size: .78rem; font-weight: 500; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: var(--gold-deep); transform: scaleX(0); transform-origin: right; transition: transform .22s ease; }
.site-nav > a:not(.nav-cta):hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 10px 15px; color: var(--white); background: var(--navy); font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-toggle { display: none; align-items: center; gap: 12px; padding: 8px 0; border: 0; color: var(--navy); background: transparent; cursor: pointer; }
.nav-toggle-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-toggle-lines { position: relative; width: 26px; height: 14px; }
.nav-toggle-lines i { position: absolute; right: 0; width: 100%; height: 1px; background: currentColor; transition: transform .25s ease, top .25s ease; }
.nav-toggle-lines i:first-child { top: 3px; }
.nav-toggle-lines i:last-child { top: 11px; width: 72%; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:first-child { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:last-child { top: 7px; width: 100%; transform: rotate(-45deg); }

/* Product sample */
.product-sample { position: relative; overflow: hidden; overflow-anchor: none; background: var(--paper); }
.sample-grid { display: grid; grid-template-columns: minmax(430px, 1.05fr) minmax(420px, .95fr); align-items: center; gap: clamp(54px, 7vw, 104px); }
.section-copy h1, .section-copy h2 { max-width: 760px; margin-bottom: 30px; }
.product-explorer h2 { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4.2rem); font-weight: 400; }
.product-explorer h2,
.frictions-intro h2,
.portfolio-copy h2,
.access-copy h2,
.knowledge-heading h2,
.resources-heading h2,
.contact-copy h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.05em; }
.product-explorer-heading .lead { max-width: 650px; }
.section-copy .lead { color: var(--slate); }
.section-copy > p:not(.eyebrow) { max-width: 650px; }
.section-copy .text-link { margin-top: 28px; }

.vial-stage { position: relative; min-height: 650px; padding: 54px 12px 68px; overflow: hidden; }
.vial-orbit { display: none; }
.vial-item { position: absolute; left: 50%; bottom: 68px; display: flex; width: 33.333%; min-width: 0; flex-direction: column; align-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; transform-origin: 50% 100%; transition: transform 1.2s ease-in-out; will-change: transform; }
.vial-item[data-position="left"] { transform: translateX(-150%) translateY(-10px); }
.vial-item[data-position="center"] { transform: translateX(-50%) translateY(12px); }
.vial-item[data-position="right"] { transform: translateX(50%) translateY(-10px); }
.vial-item[data-position="hidden"] { transform: translateX(-275%) translateY(-10px); pointer-events: none; }
.vial-item.is-exiting { animation: vial-exit-right 1.2s ease-in-out forwards; pointer-events: none; }
.vial-image-wrap { display: flex; height: 470px; align-items: end; justify-content: center; transform: scale(.9); transform-origin: bottom; transition: transform 1.2s ease-in-out; }
.vial-item[data-position="center"] .vial-image-wrap { transform: scale(1); }
.vial-image-wrap img { width: min(100%, 200px); max-height: 100%; object-fit: contain; }

@keyframes vial-exit-right {
  0% { transform: translateX(50%) translateY(-10px); opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translateX(175%) translateY(-10px); opacity: 0; }
}
.vial-name { display: grid; min-height: 1.1em; margin-top: 30px; color: var(--navy); font-family: var(--sans); font-size: clamp(.97rem, calc(.9vw + .25rem), 1.11rem); font-weight: 500; letter-spacing: .01em; line-height: 1.1; white-space: nowrap; opacity: .42; transition: opacity .3s ease; }
.vial-item.is-active .vial-name { opacity: 1; }
.vial-caption { position: absolute; right: 0; bottom: 0; color: var(--muted); font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.product-explorer .lead { font-size: clamp(.93rem, calc(1.7vw - .25rem), 1.3rem); }

.featured-products { display: flex; height: 500px; flex-direction: column; margin-top: 38px; border-top: 1px solid var(--line); overflow: hidden; }
.featured-products, .featured-products details, .featured-products summary, .featured-product-body { overflow-anchor: none; }
.featured-products details { flex: 0 0 auto; min-height: 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.featured-products details[open] { display: flex; flex: 1 1 auto; flex-direction: column; }
.featured-products summary { display: grid; flex: 0 0 auto; min-height: 76px; grid-template-columns: 38px 1fr 20px; align-items: center; gap: 14px; cursor: pointer; list-style: none; }
.featured-products summary::-webkit-details-marker { display: none; }
.featured-products summary > span:nth-child(2) { display: grid; gap: 2px; }
.featured-products summary strong { color: #0a3850; font-family: var(--sans); font-size: 1.04rem; font-weight: 500; }
.featured-products summary small { color: var(--muted); font-family: var(--mono); font-size: .61rem; letter-spacing: .08em; text-transform: uppercase; }
.product-number { color: var(--gold-deep); font-family: var(--mono); font-size: .66rem; }
.featured-products summary i { position: relative; width: 18px; height: 18px; }
.featured-products summary i::before, .featured-products summary i::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: var(--gold-deep); transition: transform .22s ease; }
.featured-products summary i::after { transform: rotate(90deg); }
.featured-products details[open] summary i::after { transform: rotate(0); }
.featured-product-body { min-height: 0; padding: 0 0 30px 52px; color: var(--slate); overflow-y: auto; overscroll-behavior: contain; will-change: opacity, transform; }
.featured-product-vial { display: none; }
.featured-product-body > p { margin-bottom: 22px; }
.supply-benefits { padding: 18px 20px; border-left: 2px solid var(--gold); background: rgba(240, 247, 250, .72); }
.supply-benefits > span { color: var(--navy); font-family: var(--mono); font-size: .63rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.supply-benefits ul { display: grid; gap: 8px; padding: 0; margin: 13px 0 0; list-style: none; }
.supply-benefits li { position: relative; padding-left: 17px; font-size: .86rem; }
.supply-benefits li::before { content: ""; position: absolute; top: .7em; left: 0; width: 7px; height: 1px; background: var(--gold-deep); }

/* Frictions */
.frictions { color: var(--ice); background: var(--navy); }
.frictions-intro { display: grid; grid-template-columns: .75fr 2.2fr 1fr; gap: clamp(30px, 5vw, 78px); align-items: start; margin-bottom: clamp(62px, 8vw, 112px); }
.frictions-intro .eyebrow { grid-column: 1; }
.frictions-intro h2 { grid-column: 2; margin: 0; color: var(--white); font-size: clamp(2rem, 3.6vw, 4rem); }
.frictions-intro > p:last-child { grid-column: 3; color: rgba(240, 247, 250, .7); }
.frictions .eyebrow, .frictions .technical-label { color: #e3b23c; }
.friction-list { border-top: 1px solid var(--line-light); }
.friction-row { display: grid; grid-template-columns: .55fr 1.2fr 1.6fr; gap: clamp(26px, 5vw, 78px); padding-block: clamp(46px, 6vw, 78px); border-bottom: 1px solid var(--line-light); }
.friction-index { display: flex; align-items: start; gap: 18px; color: var(--gold); font-family: var(--mono); font-size: .7rem; }
.friction-index i { width: min(70px, 7vw); height: 1px; margin-top: 11px; background: currentColor; }
.friction-row h3 { max-width: 420px; margin-bottom: 0; color: var(--white); font-family: var(--sans); font-size: clamp(1.45rem, 2.2vw, 2.2rem); font-weight: 400; }
.friction-body { color: rgba(240, 247, 250, .7); }
.frictions .button-dark { color: var(--navy); background: var(--gold); }
.frictions .button-dark:hover { color: var(--navy); background: #e0b54b; }

/* Portfolio */
.portfolio { color: var(--ink); background: var(--ice); }
.portfolio > .shell { width: min(calc(100% - clamp(40px, 5vw, 96px)), 1560px); }
.portfolio-heading { width: min(80%, 1120px); margin: 0 auto clamp(64px, 8vw, 112px); }
.portfolio-heading .eyebrow { margin-bottom: clamp(24px, 3vw, 42px); }
.portfolio-intro { display: grid; grid-template-columns: minmax(0, 4fr) minmax(176px, 1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.portfolio-copy { display: flex; flex-direction: column; justify-content: center; }
.portfolio-copy h2 { max-width: 100%; margin: 0 0 24px; color: var(--navy); font-family: var(--serif); font-size: clamp(3rem, 4.4vw, 5rem); font-weight: 400; line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.portfolio-copy p { max-width: 660px; margin: 0; color: var(--slate); }
.portfolio-counter { display: flex; min-height: 100%; align-items: center; justify-content: center; gap: clamp(12px, 1.6vw, 22px); }
.portfolio-counter strong { color: var(--gold); font-family: var(--mono); font-size: clamp(5.4rem, 9vw, 9.2rem); font-weight: 400; line-height: .8; letter-spacing: -.09em; }
.portfolio-counter span { max-width: 8.5em; color: var(--slate); font-family: var(--mono); font-size: clamp(.58rem, .75vw, .72rem); letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; }
.portfolio-categories { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(28px, 3vw, 48px); row-gap: clamp(54px, 6vw, 88px); }
.portfolio-category { display: flex; min-width: 0; grid-column: span 6; flex-direction: column; padding: 0 0 clamp(10px, 1.5vw, 24px); border: 0; border-radius: 0; background: none; box-shadow: none; }
.category-metabolic { order: 1; }
.category-longevity { order: 2; }
.category-recovery { grid-column: span 7; order: 3; }
.category-supplies { grid-column: span 5; order: 4; }
.category-cognitive { order: 5; }
.category-vitality { order: 6; }
.portfolio-category > header { display: grid; grid-template-columns: clamp(44px, 4vw, 62px) minmax(0, 1fr); column-gap: 14px; align-items: stretch; margin-bottom: clamp(24px, 3vw, 38px); }
.portfolio-category-no { display: flex; grid-row: 1 / span 2; align-items: center; justify-content: center; align-self: stretch; color: var(--gold-deep); font-family: var(--sans); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 500; line-height: 1; letter-spacing: -.025em; }
.portfolio-category h3 { margin: 0; color: var(--navy); font-family: var(--sans); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
.portfolio-category > header p { max-width: 52ch; margin: 10px 0 0; color: var(--slate); font-size: .78rem; line-height: 1.5; }
.category-products { display: grid; gap: 12px; margin-top: auto; }
.portfolio-product { min-width: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .76); border-radius: 7px; background: linear-gradient(145deg, rgba(245, 250, 251, .98) 0%, rgba(220, 233, 237, .98) 54%, rgba(226, 224, 236, .96) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82); }
.portfolio-product > div { min-width: 0; }
.portfolio-product > div:first-child > span { display: none; }
.portfolio-product h4 { margin: 0; color: var(--navy); font-family: var(--sans); font-size: clamp(.96rem, 1.2vw, 1.16rem); font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; }
.product-dose { display: block; width: 100%; margin-top: 5px; color: var(--gold-deep); font-family: var(--sans); font-size: clamp(.7rem, .95vw, .91rem); font-style: italic; font-weight: 300; letter-spacing: -.025em; line-height: 1.2; text-align: center; text-transform: lowercase; }
.portfolio-product figure { display: flex; min-width: 0; align-items: flex-end; justify-content: center; margin: 0; }
.portfolio-product img { width: auto; max-width: 100%; object-fit: contain; }
.portfolio-product-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; align-self: end; margin-top: 14px; }
.product-action { display: inline-flex; min-width: 0; min-height: 34px; align-items: center; justify-content: center; padding: 8px 2px; border: 1px solid rgba(240, 247, 250, .28); border-radius: 4px; color: var(--ice); background: transparent; cursor: pointer; font-family: var(--mono); font-size: .64rem; font-weight: 500; letter-spacing: 0; line-height: 1.15; text-align: center; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.product-action:hover { border-color: var(--gold); color: var(--white); background: rgba(204, 158, 51, .1); }
.product-action:active { transform: scale(.98); }
.product-action-primary { border-color: rgba(204, 158, 51, .7); color: #f3cf78; }
.product-action[aria-disabled="true"] { cursor: default; }
.portfolio-product .product-action { border-color: rgba(3, 41, 64, .3); color: var(--navy); background: rgba(255, 255, 255, .32); }
.portfolio-product .product-action:hover { border-color: var(--gold-deep); color: var(--navy); background: rgba(255, 255, 255, .56); }
.portfolio-product .product-action-primary { border-color: rgba(158, 122, 51, .72); color: var(--gold-deep); }
.category-four .category-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-two .category-products { grid-template-columns: 1fr; }
.category-four .portfolio-product, .category-two .portfolio-product, .category-wide .portfolio-product { display: grid; min-height: 230px; grid-template-columns: minmax(0, 3fr) minmax(70px, 2fr); grid-template-rows: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; padding: 18px 10px 14px 20px; }
.category-four .portfolio-product > div:first-child, .category-two .portfolio-product > div:first-child, .category-wide .portfolio-product > div:first-child { display: flex; grid-column: 1; grid-row: 1; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.category-four .portfolio-product figure, .category-two .portfolio-product figure, .category-wide .portfolio-product figure { grid-column: 2; grid-row: 1; height: 164px; transform: translateX(-38px); }
.category-four .portfolio-product img, .category-two .portfolio-product img, .category-wide .portfolio-product img { max-height: 158px; }
.category-four .portfolio-product-actions, .category-two .portfolio-product-actions, .category-wide .portfolio-product-actions { width: 68%; grid-column: 1 / -1; grid-row: 2; justify-self: center; }
.category-three .category-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-three .portfolio-product { display: grid; min-height: 310px; grid-template-rows: 164px minmax(56px, 1fr) auto; padding: 10px 12px 14px; text-align: center; }
.category-three .portfolio-product > div:first-child { display: flex; grid-row: 2; flex-direction: column; align-items: center; justify-content: center; padding-block: 8px; }
.category-three .portfolio-product figure { grid-row: 1; width: 100%; height: 164px; margin-bottom: 12px; }
.category-three .portfolio-product img { max-height: 158px; }
.category-three .portfolio-product-actions { width: 100%; grid-row: 3; justify-self: center; }
.category-wide { grid-column: 1 / -1; order: 7; }
.category-wide > header { max-width: 760px; }
.category-wide .category-products { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.category-wide .portfolio-product { grid-column: span 2; }
.category-wide .portfolio-product:nth-child(5) { grid-column: 2 / span 2; }
.category-wide .portfolio-product:nth-child(6) { grid-column: 4 / span 2; }
.category-wide .portfolio-product:nth-child(7) { grid-column: 6 / span 2; }
.portfolio-close { grid-column: 1 / -1; order: 8; display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 34px clamp(18px, 2.4vw, 42px) 0; }
.portfolio-close p { margin: 0; font-family: var(--serif); font-size: 1.25rem; }
.portfolio .text-link-light { color: var(--navy); }

.product-modal[hidden] { display: none; }
body.product-modal-open { overflow: hidden; }
.product-modal { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; padding: clamp(18px, 4vw, 54px); }
.product-modal-backdrop { position: absolute; inset: 0; opacity: 0; background: rgba(2, 22, 34, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .28s ease; }
.product-modal-dialog { position: relative; display: grid; width: min(980px, 94vw); max-height: min(720px, 90vh); grid-template-columns: minmax(300px, .78fr) minmax(420px, 1.22fr); overflow: hidden; border: 1px solid rgba(240, 247, 250, .12); border-radius: 12px; color: var(--ice); background: linear-gradient(145deg, #123d50, #0b3044 58%, #082a3e); box-shadow: 0 32px 90px rgba(0, 12, 20, .4); opacity: 0; transform: scale(.92) translateY(10px); transition: opacity .28s ease, transform .32s cubic-bezier(.2, .75, .2, 1); }
.product-modal-dialog:focus { outline: none; }
.product-modal.is-open .product-modal-backdrop { opacity: 1; }
.product-modal.is-open .product-modal-dialog { opacity: 1; transform: scale(1) translateY(0); }
.product-modal-x { position: absolute; z-index: 2; top: 22px; right: 22px; width: 38px; height: 38px; border: 1px solid rgba(240, 247, 250, .22); border-radius: 50%; background: rgba(3, 41, 64, .22); cursor: pointer; }
.product-modal-x span::before, .product-modal-x span::after { content: ""; position: absolute; top: 50%; left: 10px; width: 17px; height: 1px; background: var(--ice); }
.product-modal-x span::before { transform: rotate(45deg); }
.product-modal-x span::after { transform: rotate(-45deg); }
.product-modal-media { position: relative; display: flex; min-height: 560px; flex-direction: column; overflow: hidden; padding: 36px 30px 0; background: linear-gradient(165deg, rgba(240, 247, 250, .08), rgba(240, 247, 250, .025)); }
.product-modal-media .technical-label { color: rgba(240, 247, 250, .56); }
.product-modal-media figure { display: flex; min-height: 0; flex: 1; align-items: flex-end; justify-content: center; margin: 0; }
.product-modal-media img { width: auto; max-height: 440px; object-fit: contain; }
.product-modal-content { display: flex; min-width: 0; flex-direction: column; padding: clamp(44px, 5vw, 72px); }
.product-modal-content .eyebrow { margin-bottom: 20px; }
.product-modal-content h3 { margin: 0 48px 22px 0; color: var(--white); font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.product-modal-lead { max-width: 47ch; margin: 0 0 30px; color: rgba(240, 247, 250, .72); }
.product-modal-info { display: grid; grid-template-columns: 1fr; gap: 12px; }
.product-modal-info > div { min-height: 0; padding: 16px; border-radius: 6px; background: rgba(240, 247, 250, .055); }
.product-modal-info span { display: block; margin-bottom: 11px; color: var(--gold); font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.product-modal-info p { color: rgba(240, 247, 250, .68); font-size: .75rem; line-height: 1.45; }
.product-modal-note { margin: 22px 0 0; color: rgba(240, 247, 250, .42); font-size: .7rem; }
.product-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: auto; padding-top: 30px; }
.product-modal-actions .product-action { min-width: 128px; }

/* Access */
.access { position: relative; overflow: hidden; color: var(--ice); background: var(--slate); }
.access::before,
.access::after { content: ""; position: absolute; pointer-events: none; }
.access::before { top: -28%; right: -11%; width: min(86vw, 1340px); height: 170%; background: linear-gradient(to bottom right, transparent 41%, rgba(240, 247, 250, .04) 45%, rgba(3, 41, 64, .14) 50%, rgba(240, 247, 250, .04) 55%, transparent 60%) left bottom / 50.1% 100% no-repeat, linear-gradient(to bottom left, transparent 41%, rgba(240, 247, 250, .04) 45%, rgba(3, 41, 64, .14) 50%, rgba(240, 247, 250, .04) 55%, transparent 60%) right bottom / 50.1% 100% no-repeat; opacity: .94; filter: blur(36px); }
.access::after { top: -40%; right: -6%; width: min(94vw, 1480px); height: 198%; background: linear-gradient(to bottom right, transparent 35%, rgba(3, 41, 64, .08) 43%, rgba(240, 247, 250, .034) 50%, rgba(40, 73, 85, .11) 58%, transparent 66%) left bottom / 50.1% 100% no-repeat, linear-gradient(to bottom left, transparent 35%, rgba(3, 41, 64, .08) 43%, rgba(240, 247, 250, .034) 50%, rgba(40, 73, 85, .11) 58%, transparent 66%) right bottom / 50.1% 100% no-repeat; opacity: .76; filter: blur(72px); }
.access .shell { position: relative; z-index: 1; }
.access-eyebrow { margin-bottom: clamp(38px, 5vw, 72px); }
.access-layout { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(58px, 8vw, 132px); align-items: start; }
.access-left, .access-copy { min-width: 0; }
.access-copy { padding-top: clamp(8px, 1.8vw, 26px); }
.access-copy h2 { max-width: 13ch; margin: 0 0 clamp(26px, 3vw, 42px); color: var(--white); font-size: clamp(2.4rem, 4vw, 4.5rem); }
.access-copy p { max-width: 58ch; margin: 0; color: rgba(240, 247, 250, .72); }
.access-copy p + p { margin-top: 18px; }
.access-steps { display: grid; gap: 0; padding: 0; margin: 0; border-top: 1px solid var(--line-light); list-style: none; }
.access-steps li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: clamp(26px, 3vw, 38px) 0; border-bottom: 1px solid var(--line-light); }
.access-steps li > span { padding-top: 3px; color: var(--gold); font-family: var(--mono); font-size: .7rem; }
.access-steps li > div { display: grid; grid-template-columns: minmax(156px, .82fr) minmax(0, 1.18fr); gap: clamp(20px, 3vw, 38px); align-items: start; }
.access-steps h3 { margin: 0; color: var(--white); font-family: var(--sans); font-size: clamp(1.08rem, 1.35vw, 1.38rem); font-weight: 500; line-height: 1.18; }
.access-steps p { margin: 0; color: rgba(240, 247, 250, .67); font-size: .9rem; }
.access-action { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: clamp(38px, 5vw, 58px); text-align: center; }
.access-action .button { width: min(100%, 340px); }
.access-action p { max-width: 340px; margin: 0; color: rgba(240, 247, 250, .55); font-size: .82rem; }

/* Knowledge */
.knowledge { position: relative; isolation: isolate; overflow: hidden; background: var(--glass-editorial-canvas); }
.knowledge::before, .blog-library::before { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: url("../imagenes/noise-gray.svg?v=3") 0 0 / 44px 44px repeat; opacity: var(--glass-editorial-noise-opacity); filter: brightness(1.72); mix-blend-mode: normal; }
.knowledge > .shell, .blog-library > .shell { position: relative; z-index: 1; }
.knowledge-grid { display: grid; grid-template-columns: 1.5fr .75fr; gap: clamp(58px, 10vw, 150px); align-items: end; }
.knowledge-heading h2 { max-width: 850px; margin-bottom: 0; font-family: var(--serif); font-weight: 400; }
.knowledge-intro { padding-bottom: 6px; color: var(--slate); }
.knowledge-intro .text-link { margin-top: 24px; }
.knowledge-feed { margin-top: clamp(64px, 8vw, 110px); }
.blog-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 34px); }
.blog-card { position: relative; display: flex; min-width: 0; min-height: 560px; flex-direction: column; overflow: hidden; border: 1px solid var(--glass-editorial-border); border-radius: 18px; background: var(--glass-editorial-surface); box-shadow: var(--glass-editorial-shadow); -webkit-backdrop-filter: var(--glass-editorial-blur); backdrop-filter: var(--glass-editorial-blur); transition: transform .3s cubic-bezier(.2,.75,.2,1), box-shadow .3s ease; }
.blog-card::after { content: ""; position: absolute; pointer-events: none; inset: 0; border-radius: inherit; background: radial-gradient(circle at 12% 7%, rgba(255, 255, 255, .72), transparent 31%), linear-gradient(115deg, rgba(255, 255, 255, .2), transparent 36%); opacity: .72; }
.blog-card:hover { transform: translateY(-7px); box-shadow: 0 38px 92px rgba(3, 41, 64, .2), 0 12px 30px rgba(3, 41, 64, .11), inset 0 1px 0 rgba(255, 255, 255, 1); }
.blog-card-media { position: relative; z-index: 1; aspect-ratio: 16 / 9.5; overflow: hidden; margin: 10px 10px 0; border: 1px solid rgba(255, 255, 255, .5); border-radius: 12px 12px 7px 7px; background: linear-gradient(145deg, rgba(3, 41, 64, .18), rgba(204, 158, 51, .12)); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.75,.2,1); }
.blog-card:hover .blog-card-media img { transform: scale(1.035); }
.blog-card-content { position: relative; z-index: 1; display: flex; min-height: 0; flex: 1; flex-direction: column; padding: clamp(24px, 2.5vw, 36px); }
.blog-card-label { margin: 0 0 18px; color: var(--gold-deep); font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.blog-card h3 { margin: 0 0 18px; color: var(--navy); font-family: var(--serif); font-size: clamp(1.55rem, 2vw, 2.05rem); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
.blog-card-excerpt { display: -webkit-box; margin: 0 0 28px; overflow: hidden; color: var(--slate); font-size: .92rem; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.blog-card-link { display: inline-flex; width: max-content; align-items: center; justify-content: center; margin-top: auto; padding: 12px 19px; border: 1px solid rgba(3, 41, 64, .24); border-radius: 5px; color: var(--navy); background: rgba(255, 255, 255, .28); font-family: var(--mono); font-size: .64rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.blog-card-link:hover { border-color: var(--navy); color: var(--white); background: var(--navy); }
.blog-feed-empty { max-width: 820px; padding: clamp(34px, 5vw, 68px); border: 1px solid rgba(240, 247, 250, .16); border-radius: 18px; background: linear-gradient(145deg, rgba(255, 255, 255, .58), rgba(240, 247, 250, .22)); box-shadow: 0 28px 72px rgba(3, 41, 64, .13), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%); }
.blog-feed-empty[hidden] { display: none; }
.blog-feed-empty h3 { max-width: 18ch; margin: 24px 0 18px; color: var(--navy); font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.7rem); font-weight: 400; line-height: 1.03; }
.blog-feed-empty > p { max-width: 58ch; color: var(--slate); }
.blog-feed-empty .text-link { margin-top: 26px; }

/* Knowledge preview cards */
.knowledge-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 574px));
  gap: clamp(20px, 2.4vw, 34px);
  align-items: stretch;
}
.knowledge-card {
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 280px;
  flex-direction: column;
  padding: 28px 32px;
}
.knowledge-card .technical-label {
  flex: 0 0 auto;
  font-size: .58rem;
}
.knowledge-card h3 {
  max-width: none;
  margin: 14px 0 10px;
  font-size: clamp(1.18rem, 1.55vw, 1.75rem);
  line-height: 1.06;
  text-wrap: balance;
}
.knowledge-card > p {
  margin: 0;
  color: var(--slate);
  font-size: .76rem;
  line-height: 1.42;
}
.knowledge-card .text-link {
  margin-top: auto;
  padding-top: 14px;
  font-size: .64rem;
}

@media (max-width: 1024px) {
  .knowledge-card-grid {
    grid-template-columns: 1fr;
  }
  .knowledge-card {
    width: min(410px, 100%);
    min-height: 220px;
    padding: 20px 22px;
  }
  .knowledge-card .technical-label { font-size: .52rem; }
  .knowledge-card h3 {
    margin: 9px 0 7px;
    font-size: clamp(1rem, 2.7vw, 1.28rem);
    line-height: 1.05;
  }
  .knowledge-card > p {
    font-size: .68rem;
    line-height: 1.38;
  }
  .knowledge-card .text-link {
    padding-top: 8px;
    font-size: .55rem;
  }
}

@media (max-width: 520px) {
  .knowledge-card {
    width: 100%;
    min-height: 0;
    padding: 16px 18px;
  }
  .knowledge-card .technical-label { font-size: .48rem; }
  .knowledge-card h3 {
    margin: 8px 0 6px;
    font-size: .96rem;
    line-height: 1.04;
  }
  .knowledge-card > p {
    font-size: .64rem;
    line-height: 1.34;
  }
  .knowledge-card .text-link {
    padding-top: 7px;
    font-size: .52rem;
  }
}

/* Resources */
.resources { background: #e7eff2; }
.resources-heading { display: grid; grid-template-columns: .65fr 1.5fr .85fr; gap: clamp(30px, 5vw, 78px); align-items: start; }
.resources-heading h2 { font-size: clamp(2rem, 3.8vw, 4.25rem); }
.resources-heading > p:last-child { color: var(--slate); }
.resource-list { margin-top: clamp(68px, 9vw, 118px); border-top: 1px solid var(--line); }
.resource-list article { display: grid; min-height: 170px; grid-template-columns: .3fr 1fr 1.25fr; gap: clamp(26px, 5vw, 72px); align-items: center; border-bottom: 1px solid var(--line); }
.resource-no { color: var(--gold-deep); font-family: var(--mono); font-size: 2.2rem; }
.resource-list h3 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.8rem); font-weight: 400; }
.resource-list article > p { color: var(--slate); }

/* Contact */
.contact { color: var(--ice); background: radial-gradient(ellipse at 12% 6%, rgba(196, 219, 226, .14) 0%, rgba(196, 219, 226, 0) 34%), radial-gradient(ellipse at 86% 38%, rgba(204, 158, 51, .1) 0%, rgba(204, 158, 51, 0) 32%), linear-gradient(180deg, #3d616d 0%, #2e5361 22%, #173f52 50%, #082f45 73%, #021e2f 100%); }
.contact-grid { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(520px, 1.15fr); gap: clamp(60px, 10vw, 148px); align-items: start; }
.contact-copy { position: sticky; top: 132px; }
.contact-copy h2 { color: var(--white); font-size: clamp(2rem, 3.5vw, 3.9rem); }
.contact-copy > p:not(.eyebrow):not(.contact-note) { color: rgba(240, 247, 250, .7); }
.contact-rule { width: 100%; height: 1px; margin: 44px 0 24px; background: var(--line-light); }
.contact-note { color: var(--gold); font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.form-panel { position: relative; min-height: 760px; padding: clamp(28px, 4.5vw, 64px); color: var(--ice); border: 1px solid rgba(255, 255, 255, .3); background: linear-gradient(145deg, rgba(255, 255, 255, .14) 0%, rgba(240, 247, 250, .07) 42%, rgba(3, 41, 64, .13) 100%); box-shadow: 0 32px 84px rgba(2, 30, 47, .24), inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(20px) saturate(125%); backdrop-filter: blur(20px) saturate(125%); }
.form-panel form { display: grid; gap: 21px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-panel label { display: grid; gap: 8px; color: rgba(240, 247, 250, .72); font-size: .78rem; font-weight: 500; }
.form-panel label > span { color: var(--gold); }
.form-panel input:not([type="checkbox"]), .form-panel select, .form-panel textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(240, 247, 250, .26); border-radius: 0; padding: 10px 0 12px; color: var(--white); outline: none; background: transparent; }
.form-panel input::placeholder, .form-panel textarea::placeholder { color: rgba(240, 247, 250, .42); }
.form-panel select option, .form-panel select optgroup { color: var(--ice); background: var(--navy); }
.form-panel textarea { min-height: 116px; resize: vertical; }
.form-panel select { cursor: pointer; }
.form-panel input:focus, .form-panel select:focus, .form-panel textarea:focus { border-color: var(--gold-deep); box-shadow: 0 1px 0 var(--gold-deep); }
.form-panel input[aria-invalid="true"], .form-panel select[aria-invalid="true"], .form-panel textarea[aria-invalid="true"] { border-color: #9b2c2c; }
.privacy-check { grid-template-columns: 20px 1fr; align-items: start; gap: 11px !important; font-weight: 400 !important; line-height: 1.5; }
.privacy-check input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--gold-deep); }
.privacy-check span { color: rgba(240, 247, 250, .66) !important; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-required { color: rgba(240, 247, 250, .48); font-size: .7rem; }
.form-status { min-height: 26px; margin: 0; color: #f0c56c; font-size: .8rem; }
.form-status.is-progress { color: rgba(240, 247, 250, .66); }
.form-success { position: absolute; inset: 0; display: grid; align-content: center; padding: clamp(32px, 7vw, 90px); color: var(--ice); background: var(--navy); }
.form-success[hidden] { display: none; }
.form-success > span { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 38px; border: 1px solid var(--gold-deep); border-radius: 50%; color: var(--gold-deep); font-size: 1.5rem; }
.form-success h3 { color: var(--white); font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.2rem); font-weight: 400; }
.form-success > p:not(.eyebrow) { max-width: 500px; color: rgba(240, 247, 250, .7); }
.form-success .text-link { color: var(--ice); }
.form-success .text-link { justify-self: start; margin-top: 28px; border-top: 0; border-right: 0; border-left: 0; background: transparent; cursor: pointer; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Footer */
.site-footer { padding: 78px 0 24px; color: rgba(240, 247, 250, .68); background: #021e2f; }
.footer-main { display: grid; grid-template-columns: 1.2fr .75fr .9fr 1fr; gap: clamp(40px, 6vw, 86px); }
.footer-brand img { width: 112px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { max-width: 300px; margin-top: 24px; font-family: var(--serif); font-size: 1.05rem; }
.footer-label { margin-bottom: 22px; color: var(--gold); }
.site-footer nav { display: grid; align-content: start; gap: 9px; }
.site-footer nav a { font-size: .84rem; transition: color .2s ease; }
.site-footer nav a:hover { color: var(--white); }
.site-footer > .footer-main > div:not(.footer-brand) p:not(.footer-label) { margin: 0 0 9px; font-size: .82rem; }
.footer-pending { opacity: .58; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 72px; padding-top: 22px; border-top: 1px solid var(--line-light); font-family: var(--mono); font-size: .63rem; letter-spacing: .07em; text-transform: uppercase; }

/* Blog */
.blog-page { background: var(--paper); }
.blog-hero { padding: clamp(170px, 18vw, 250px) 0 clamp(86px, 10vw, 140px); background: var(--ice); }
.blog-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(50px, 9vw, 130px); align-items: end; }
.blog-hero h1 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 5.4rem); font-weight: 400; }
.blog-hero .lead { color: var(--slate); }
.blog-library { position: relative; isolation: isolate; overflow: hidden; background: var(--glass-editorial-canvas); }
.blog-library-heading { display: grid; grid-template-columns: .55fr 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.blog-library-heading h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); }
.blog-library-heading p { color: var(--slate); }
.blog-library .knowledge-feed { margin-top: clamp(54px, 7vw, 96px); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .site-nav { gap: 17px; }
  .site-nav > a:not(.nav-cta) { display: none; }
  .sample-grid { grid-template-columns: .95fr 1.05fr; gap: 40px; }
  .vial-stage { min-height: 630px; }
  .vial-image-wrap { height: 410px; }
  .vial-item { width: 36%; }
  .vial-image-wrap { height: 430px; }
  .frictions-intro, .resources-heading { grid-template-columns: .65fr 1.6fr; }
  .frictions-intro > p:last-child, .resources-heading > p:last-child { grid-column: 2; }
  .portfolio-heading { width: 90%; }
  .portfolio-copy h2 { font-size: clamp(2.9rem, 5vw, 4.4rem); }
  .portfolio-category { padding: 28px; }
  .category-three .portfolio-product { min-height: 300px; grid-template-rows: 164px minmax(56px, 1fr) auto; }
  .category-three .portfolio-product figure { height: 164px; }
  .category-three .portfolio-product img { max-height: 158px; }
  .category-four .portfolio-product, .category-two .portfolio-product, .category-wide .portfolio-product { grid-template-columns: minmax(0, 3fr) minmax(62px, 2fr); padding-left: 16px; }
  .contact-grid { gap: 68px; }
  .access-layout { gap: 54px; }
  .access-steps li > div { grid-template-columns: minmax(138px, .8fr) minmax(0, 1.2fr); gap: 24px; }
}

@media (max-width: 820px) {
  :root { --section: clamp(76px, 16vw, 118px); }
  h1 { font-size: clamp(2.45rem, 10vw, 4.2rem); }
  h2 { font-size: clamp(2rem, 8vw, 3.6rem); }
  .nav-shell { min-height: 72px; }
  .site-header { border-color: rgba(3, 41, 64, .1); background: rgba(240, 247, 250, .92); box-shadow: 0 14px 40px rgba(3, 41, 64, .05); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; inset: 72px 0 auto; display: grid; max-height: calc(100svh - 72px); align-content: start; gap: 0; padding: 24px var(--gutter) 38px; border-top: 1px solid var(--line); background: rgba(240, 247, 250, .98); overflow: auto; transform: translateY(-120%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.75,.2,1), visibility .3s; }
  .site-nav.is-open { transform: translateY(0); visibility: visible; }
  .site-nav > a:not(.nav-cta) { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: .9rem; font-weight: 500; }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 22px; padding: 15px; text-align: center; }
  .product-sample { height: 100vh; height: 100svh; min-height: 100vh; min-height: 100svh; padding: 72px 0 0; }
  .sample-grid { display: grid; width: min(calc(100% - var(--gutter) * 2), var(--shell)); height: calc(100vh - 72px); height: calc(100svh - 72px); grid-template-columns: 1fr; grid-template-rows: 15% 25% 60%; gap: 0; align-items: stretch; }
  .contact-grid, .knowledge-grid, .blog-hero-grid { grid-template-columns: 1fr; }
  .product-explorer { display: contents; }
  .product-explorer.reveal { opacity: 1; transform: none; }
  .product-explorer-heading { grid-row: 1; display: flex; min-height: 0; flex-direction: column; justify-content: end; overflow: hidden; padding-bottom: 8px; }
  .product-explorer-heading .eyebrow { margin-bottom: 6px; }
  .product-explorer h2 { margin-bottom: 5px; font-size: clamp(1.45rem, 5.7vw, 2.15rem); line-height: 1; }
  .product-explorer .lead { font-size: clamp(.72rem, 2.8vw, .9rem); line-height: 1.3; }
  .vial-stage { display: block; grid-row: 2; min-height: 0; height: 100%; padding: 0; }
  .vial-item { top: 0; bottom: 22px; width: 33.333%; justify-content: flex-end; }
  .vial-image-wrap { height: calc(100% - 38px); }
  .vial-image-wrap img { width: min(100%, 126px); }
  .vial-name { margin-top: 5px; font-size: clamp(.72rem, 2.7vw, .88rem); line-height: 1.1; }
  .vial-caption { display: none; }
  .featured-products { grid-row: 3; min-height: 0; height: 100%; margin-top: 0; overflow: hidden; }
  .featured-products summary { min-height: 58px; }
  .featured-products.is-awaiting-selection [data-feature-detail="0"] summary i { animation: first-feature-cue 1.9s ease-in-out infinite; }
  .featured-products.is-awaiting-selection [data-feature-detail="0"] summary i::before,
  .featured-products.is-awaiting-selection [data-feature-detail="0"] summary i::after { animation: first-feature-line 1.9s ease-in-out infinite; }
  .product-explorer > .text-link { display: none; }
  .featured-product-body { display: block; padding-left: 52px; }
  .featured-product-vial { display: flex; grid-row: 1 / span 2; align-items: end; justify-content: center; min-height: 240px; margin: 0; padding: 15px 4px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(240, 247, 250, .85), rgba(231, 239, 242, .45)); }
  .featured-product-vial img { width: auto; max-height: 220px; object-fit: contain; filter: drop-shadow(0 16px 12px rgba(3, 41, 64, .14)); }
  .featured-product-body > p { margin-bottom: 22px; }
  .supply-benefits { grid-column: auto; }
  .frictions-intro, .resources-heading { grid-template-columns: 1fr; }
  .frictions-intro .eyebrow, .frictions-intro h2, .frictions-intro > p:last-child, .resources-heading > p:last-child { grid-column: 1; }
  .friction-row { grid-template-columns: .25fr .75fr; }
  .friction-body { grid-column: 2; }
  .contact-copy { position: static; }
  .portfolio-heading { width: 100%; margin-bottom: 64px; }
  .portfolio-intro { grid-template-columns: minmax(0, 3.4fr) minmax(132px, 1fr); gap: 24px; }
  .portfolio-copy h2 { font-size: clamp(2.5rem, 8vw, 4rem); }
  .portfolio-counter { justify-content: flex-end; }
  .portfolio-counter strong { font-size: clamp(4.8rem, 14vw, 7rem); }
  .portfolio-categories { grid-template-columns: 1fr; }
  .portfolio-category, .category-wide { grid-column: 1; }
  .category-three .category-products, .category-four .category-products, .category-two .category-products, .category-wide .category-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-three .portfolio-product, .category-four .portfolio-product, .category-two .portfolio-product, .category-wide .portfolio-product { display: grid; min-height: 218px; grid-column: auto; grid-template-columns: minmax(0, 3fr) minmax(64px, 2fr); grid-template-rows: minmax(0, 1fr) auto; align-items: center; padding: 14px 7px 12px 14px; text-align: left; }
  .category-three .portfolio-product > div:first-child, .category-four .portfolio-product > div:first-child, .category-two .portfolio-product > div:first-child, .category-wide .portfolio-product > div:first-child { grid-column: 1; grid-row: 1; }
  .category-three .portfolio-product figure, .category-four .portfolio-product figure, .category-two .portfolio-product figure, .category-wide .portfolio-product figure { grid-column: 2; grid-row: 1; width: auto; height: 148px; margin: 0; transform: translateX(-24px); }
  .category-three .portfolio-product img, .category-four .portfolio-product img, .category-two .portfolio-product img, .category-wide .portfolio-product img { max-height: 142px; }
  .category-three .portfolio-product-actions, .category-four .portfolio-product-actions, .category-two .portfolio-product-actions, .category-wide .portfolio-product-actions { width: 68%; grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .category-wide .portfolio-product:nth-child(5), .category-wide .portfolio-product:nth-child(6), .category-wide .portfolio-product:nth-child(7) { grid-column: auto; }
  .category-wide .portfolio-product:nth-child(7) { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
  .product-modal { padding: 14px; }
  .product-modal-dialog { width: min(620px, 100%); max-height: calc(100svh - 28px); grid-template-columns: 1fr; grid-template-rows: minmax(190px, 31svh) auto; overflow-y: auto; }
  .product-modal-media { min-height: 0; padding: 24px 24px 0; }
  .product-modal-media figure { position: absolute; top: 14px; right: 60px; bottom: 0; left: 42%; }
  .product-modal-media img { max-height: 100%; }
  .product-modal-content { padding: 30px 24px 24px; }
  .product-modal-content h3 { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .product-modal-info { grid-template-columns: 1fr; }
  .product-modal-actions { margin-top: 6px; }
  .access-layout { grid-template-columns: 1fr; gap: 56px; }
  .access::before { top: -22%; right: -48%; width: 172vw; height: 155%; opacity: .82; filter: blur(30px); }
  .access::after { top: -30%; right: -40%; width: 186vw; height: 180%; opacity: .68; filter: blur(60px); }
  .access-copy { order: -1; padding-top: 0; }
  .access-copy h2 { max-width: 14ch; }
  .access-steps { grid-template-columns: 1fr; }
  .blog-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-card { min-height: 520px; }
  .resource-list article { grid-template-columns: .24fr .76fr; padding-block: 34px; }
  .resource-list article > p { grid-column: 2; }
  .contact-grid { gap: 64px; }
  .form-panel { min-height: 720px; }
  .footer-main { grid-template-columns: 1.2fr .8fr; }
  .blog-library-heading { grid-template-columns: 1fr 1fr; }
  .blog-library-heading p { grid-column: 2; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .button { width: 100%; }
  .section-action .button { width: 100%; }
  .vial-stage { min-height: 0; padding-inline: 0; }
  .vial-image-wrap { height: calc(100% - 36px); }
  .vial-name { font-family: var(--mono); font-size: clamp(.7rem, 2.8vw, .8rem); }
  .friction-row { grid-template-columns: 1fr; }
  .friction-body { grid-column: 1; }
  .friction-index i { width: 64px; }
  .portfolio-heading .eyebrow { margin-bottom: 22px; }
  .portfolio-intro { grid-template-columns: 1fr; }
  .portfolio-copy h2 { max-width: 12ch; font-size: clamp(2.35rem, 11vw, 3.55rem); }
  .portfolio-counter { justify-content: flex-start; gap: 14px; }
  .portfolio-counter strong { font-size: 4.8rem; }
  .portfolio-category { padding: 0 0 28px; }
  .portfolio-category > header { grid-template-columns: 44px minmax(0, 1fr); column-gap: 10px; }
  .category-three .category-products, .category-four .category-products, .category-two .category-products, .category-wide .category-products { grid-template-columns: 1fr; gap: 10px; }
  .category-three .portfolio-product, .category-four .portfolio-product, .category-two .portfolio-product, .category-wide .portfolio-product { min-height: 214px; grid-template-columns: minmax(0, 1fr) minmax(112px, .72fr); padding: 16px 12px 12px 20px; }
  .category-three .portfolio-product figure, .category-four .portfolio-product figure, .category-two .portfolio-product figure, .category-wide .portfolio-product figure { height: 158px; }
  .category-three .portfolio-product img, .category-four .portfolio-product img, .category-two .portfolio-product img, .category-wide .portfolio-product img { max-height: 152px; }
  .category-wide .portfolio-product:nth-child(7) { grid-column: auto; width: auto; justify-self: stretch; }
  .portfolio-product h4 { font-size: 1rem; }
  .portfolio-product-actions { gap: 5px; margin-top: 9px; }
  .product-action { min-height: 34px; padding-inline: 3px; font-size: .62rem; letter-spacing: 0; }
  .product-modal-dialog { grid-template-rows: minmax(170px, 27svh) auto; border-radius: 9px; }
  .product-modal-media { padding: 20px 18px 0; }
  .product-modal-media figure { right: 40px; left: 36%; }
  .product-modal-content { padding: 24px 18px 18px; }
  .product-modal-content .eyebrow { margin-bottom: 14px; }
  .product-modal-content h3 { margin-bottom: 16px; font-size: clamp(2rem, 10vw, 3rem); }
  .product-modal-lead { margin-bottom: 18px; font-size: .86rem; }
  .product-modal-info { grid-template-columns: 1fr; gap: 7px; }
  .product-modal-info > div { min-height: 0; padding: 12px; }
  .product-modal-info span { margin-bottom: 5px; }
  .product-modal-note { margin-top: 14px; }
  .product-modal-actions { padding-top: 18px; }
  .product-modal-actions .product-action { min-width: 0; flex: 1; }
  .portfolio-close { align-items: start; flex-direction: column; }
  .brand img { width: 136px; }
  .access-steps li { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  .access-steps li > div { grid-template-columns: 1fr; gap: 12px; }
  .access-action { align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .form-panel { min-height: 940px; padding: 26px 20px; }
  .featured-product-body { grid-template-columns: 78px 1fr; gap: 15px; padding-left: 0; }
  .featured-product-vial { min-height: 200px; }
  .featured-product-vial img { max-height: 180px; }
  .product-list { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { align-items: start; flex-direction: column; }
  .blog-card-grid { grid-template-columns: 1fr; }
  .blog-card { min-height: 0; }
  .blog-library-heading { grid-template-columns: 1fr; }
  .blog-library-heading p { grid-column: 1; }
}

/* Escala común de viales en escritorio; tablet y móvil conservan su medida compacta. */
@media (min-width: 821px) {
  .portfolio > .shell { width: min(calc(100% - clamp(28px, 3vw, 60px)), 1720px); }
  .category-three .product-action { padding-inline: 0; font-size: .62rem; }
  .category-metabolic .category-products, .category-recovery .category-products, .category-cognitive .category-products { width: 94%; }
  .category-longevity .category-products, .category-supplies .category-products, .category-vitality .category-products { width: 94%; margin-left: auto; }
  .category-wide .category-products { width: 96%; margin-inline: auto; }
  .category-three .portfolio-product { min-height: 401px; grid-template-rows: 256px minmax(56px, 1fr) auto; }
  .category-three .portfolio-product figure { height: 256px; }
  .category-three .portfolio-product img { max-height: 247px; }
  .category-four .portfolio-product, .category-two .portfolio-product, .category-wide .portfolio-product { min-height: 322px; padding-left: 30px; }
  .category-four .portfolio-product figure, .category-two .portfolio-product figure, .category-wide .portfolio-product figure { height: 256px; }
  .category-four .portfolio-product img, .category-two .portfolio-product img, .category-wide .portfolio-product img { width: auto; max-width: none; max-height: 247px; }
}

/* Evita tarjetas comprimidas entre tablet y escritorio amplio sin alterar
   la composición principal de categorías ni la versión móvil. */
@media (min-width: 821px) and (max-width: 1360px) {
  .portfolio-category { padding: 0; }
  .category-metabolic .category-products,
  .category-recovery .category-products,
  .category-cognitive .category-products,
  .category-longevity .category-products,
  .category-supplies .category-products,
  .category-vitality .category-products,
  .category-wide .category-products { width: 100%; margin-inline: 0; }

  .category-three .category-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-three .portfolio-product:nth-child(3) { width: calc(50% - 6px); grid-column: 1 / -1; justify-self: center; }

  .category-four .portfolio-product,
  .category-two .portfolio-product,
  .category-wide .portfolio-product {
    grid-template-columns: minmax(0, 1.35fr) minmax(92px, .65fr);
    column-gap: 0;
    padding: 18px 12px 14px 18px;
  }
  .category-four .portfolio-product figure,
  .category-two .portfolio-product figure,
  .category-wide .portfolio-product figure { transform: translateX(-10px); }
  .category-four .portfolio-product-actions,
  .category-two .portfolio-product-actions,
  .category-wide .portfolio-product-actions { width: 76%; }

  .category-wide .category-products { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .category-wide .portfolio-product,
  .category-wide .portfolio-product:nth-child(5),
  .category-wide .portfolio-product:nth-child(6) { grid-column: span 2; }
  .category-wide .portfolio-product:nth-child(7) { grid-column: 3 / span 2; }
}

@keyframes first-feature-cue {
  0%, 58%, 100% { transform: scale(1); }
  24% { transform: scale(1.12); }
}

@keyframes first-feature-line {
  0%, 58%, 100% { height: 1px; }
  24% { height: 2px; }
}

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


/* ===== 3) REFINAMIENTOS ================================================ */

/* ==========================================================================
   AUREON HELIX — Refinamientos de acabado (v2, landing completa)
   Pegar al final de css/site.css, o cargar después de site.css:
     <link href="css/site-refinements.css?v=1" rel="stylesheet" />
   El Hero queda intacto. No cambia contenido, colores de marca ni imágenes.

   SISTEMA — cuatro reglas aplicadas de forma idéntica en cada sección:
     A. Grano: la textura de Conocimiento se extiende a todas las secciones,
        calibrada según el fondo (claro .22–.38 · oscuro .10–.14).
     B. Luz: un realce radial arriba-izquierda y una caída fría abajo-derecha
        dan volumen a los fondos planos.
     C. Hairline de transición: filo de 1px con acento dorado al centro en
        cada cambio de sección, en vez de un corte de color seco.
     D. Superficie: toda caja tiene doble filo interior claro + sombra
        proyectada; todo vial tiene sombra de contacto elíptica.
   ========================================================================== */

:root {
  --fin-grain: url("../imagenes/noise-gray.svg?v=3");
  --fin-rule-light: linear-gradient(90deg,
    rgba(3, 41, 64, 0) 0%, rgba(3, 41, 64, .16) 22%,
    rgba(158, 122, 51, .42) 50%, rgba(3, 41, 64, .16) 78%, rgba(3, 41, 64, 0) 100%);
  --fin-rule-dark: linear-gradient(90deg,
    rgba(240, 247, 250, 0) 0%, rgba(240, 247, 250, .14) 22%,
    rgba(204, 158, 51, .5) 50%, rgba(240, 247, 250, .14) 78%, rgba(240, 247, 250, 0) 100%);
  --fin-lift: 0 16px 38px rgba(3, 41, 64, .10), 0 2px 6px rgba(3, 41, 64, .05),
              inset 0 1px 0 rgba(255, 255, 255, .88), inset 0 0 0 1px rgba(255, 255, 255, .28);
  --fin-lift-hover: 0 26px 54px rgba(3, 41, 64, .14), 0 4px 10px rgba(3, 41, 64, .06),
                    inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .45);
  --fin-ease: cubic-bezier(.2, .75, .2, 1);
}

/* Sombra de contacto reutilizable para cualquier vial. */
.portfolio-product figure::after,
.vial-image-wrap::after,
.featured-product-vial::after,
.product-modal-media figure::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 76%;
  height: 22px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 50%,
    rgba(3, 41, 64, .20) 0%, rgba(3, 41, 64, .07) 46%, rgba(3, 41, 64, 0) 72%);
  filter: blur(3px);
  pointer-events: none;
}

.product-modal-media figure::after {
  background: radial-gradient(ellipse at 50% 50%,
    rgba(0, 12, 20, .5) 0%, rgba(0, 12, 20, .18) 46%, rgba(0, 12, 20, 0) 72%);
}


/* --------------------------------------------------------------------------
   1. HEADER — el filo aparece antes de que el fondo se opaque
   -------------------------------------------------------------------------- */

.site-header.is-scrolled,
.site-header.is-open {
  border-color: transparent;
  box-shadow:
    0 1px 0 rgba(3, 41, 64, .10),
    0 14px 40px rgba(3, 41, 64, .06);
}

.site-header.is-scrolled::after,
.site-header.is-open::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--fin-rule-light);
}

.nav-cta {
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(3, 41, 64, .18), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: background .22s ease, box-shadow .22s ease, transform .22s ease;
}

.nav-cta:hover {
  background: #0a3850;
  box-shadow: 0 10px 24px rgba(3, 41, 64, .24), inset 0 1px 0 rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}


/* --------------------------------------------------------------------------
   2. MUESTRA DEL PORTAFOLIO — el vial se apoya en una superficie
   -------------------------------------------------------------------------- */

.product-sample {
  background-image: var(--fin-rule-light);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 1px;
  isolation: isolate;
}

.product-sample::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: var(--fin-grain) 0 0 / 44px 44px repeat;
  opacity: .22;
  filter: brightness(1.72);
}

.product-sample::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 64% 44% at 10% -2%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(ellipse 50% 40% at 92% 96%, rgba(196, 219, 226, .3) 0%, rgba(196, 219, 226, 0) 72%);
}

.product-sample > .shell { position: relative; z-index: 1; }

.vial-image-wrap { position: relative; }
.vial-image-wrap::after { width: 60%; height: 18px; bottom: 0; }

.vial-image-wrap img { filter: drop-shadow(0 18px 20px rgba(3, 41, 64, .17)); }

.vial-item[data-position="center"] .vial-image-wrap::after {
  width: 66%;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(3, 41, 64, .26) 0%, rgba(3, 41, 64, .09) 46%, rgba(3, 41, 64, 0) 72%);
}

/* Acordeón: la fila abierta recibe una keyline dorada y una base clara,
   para que se distinga de las cerradas sin añadir bordes nuevos. */
.featured-products details {
  position: relative;
  transition: background .3s ease;
}

.featured-products details::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg,
    rgba(158, 122, 51, 0), rgba(158, 122, 51, .55), rgba(158, 122, 51, 0));
  opacity: 0;
  transition: opacity .3s ease;
}

.featured-products details[open]::before { opacity: 1; }

.featured-products details[open] {
  background: linear-gradient(90deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 72%);
}

.featured-products summary { padding-left: 14px; }
.featured-product-body { padding-left: 66px; }

.supply-benefits {
  border-radius: 0 4px 4px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 20px rgba(3, 41, 64, .06);
}

.featured-product-vial { position: relative; border-radius: 4px; }


/* --------------------------------------------------------------------------
   3. CONTROL DE LA CADENA (navy) — grano y filo en fondo oscuro
   -------------------------------------------------------------------------- */

.frictions {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: var(--fin-rule-dark);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 1px;
}

.frictions::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 6% 0%, rgba(240, 247, 250, .07) 0%, rgba(240, 247, 250, 0) 66%),
    radial-gradient(ellipse 54% 44% at 96% 92%, rgba(204, 158, 51, .06) 0%, rgba(204, 158, 51, 0) 70%),
    var(--fin-grain) 0 0 / 44px 44px repeat;
  opacity: .5;
}

.frictions > .shell { position: relative; z-index: 1; }

/* La fila se aclara al pasar el cursor: la lista deja de ser inerte. */
.friction-row { transition: background .3s ease; }

.friction-row:hover {
  background: linear-gradient(90deg,
    rgba(240, 247, 250, .045), rgba(240, 247, 250, .012) 62%, rgba(240, 247, 250, 0));
}

.friction-index i { transition: width .3s var(--fin-ease); }
.friction-row:hover .friction-index i { width: min(92px, 9vw); }

.frictions .button-dark {
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
}


/* --------------------------------------------------------------------------
   4. PORTAFOLIO — materialidad y peso
   -------------------------------------------------------------------------- */

.portfolio {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: var(--fin-rule-light);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 1px;
}

.portfolio::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: var(--fin-grain) 0 0 / 44px 44px repeat;
  opacity: .30;
  filter: brightness(1.72);
}

.portfolio::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 46% at 12% -4%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(ellipse 52% 40% at 88% 6%, rgba(196, 219, 226, .35) 0%, rgba(196, 219, 226, 0) 72%);
}

.portfolio > .shell { position: relative; z-index: 1; }

/* Cabecera de categoría: regla de cierre y más aire antes de las tarjetas. */
.portfolio-category > header {
  padding-bottom: clamp(16px, 2vw, 26px);
  margin-bottom: clamp(20px, 2.6vw, 32px);
  border-bottom: 1px solid rgba(3, 41, 64, .14);
}

.portfolio-product {
  position: relative;
  border-radius: 10px;
  box-shadow: var(--fin-lift);
  transition: transform .3s var(--fin-ease), box-shadow .3s ease;
}

.portfolio-product:hover {
  transform: translateY(-4px);
  box-shadow: var(--fin-lift-hover);
}

.portfolio-product figure { position: relative; }
.portfolio-product img { position: relative; filter: drop-shadow(0 14px 16px rgba(3, 41, 64, .16)); }

/* Más separación entre categorías que entre tarjetas: cada categoría se lee
   como un grupo y no como una retícula continua. */
.portfolio-categories { row-gap: clamp(46px, 6vw, 92px); }
.portfolio-close { border-top: 1px solid rgba(3, 41, 64, .14); }


/* --------------------------------------------------------------------------
   5. ACCESO PROFESIONAL — mismo trato en la diagonal existente
   (usa ::before y ::after para su luz diagonal, así que el grano va en el
   background-image de la sección, debajo de esa luz.)
   -------------------------------------------------------------------------- */

.access {
  background-image: var(--fin-rule-dark), var(--fin-grain);
  background-repeat: no-repeat, repeat;
  background-position: top center, 0 0;
  background-size: 100% 1px, 44px 44px;
  background-blend-mode: normal, soft-light;
}

.access-steps li { transition: background .3s ease; }

.access-steps li:hover {
  background: linear-gradient(90deg,
    rgba(240, 247, 250, .05), rgba(240, 247, 250, .014) 62%, rgba(240, 247, 250, 0));
}

.access-steps li > span { position: relative; }

.access-steps li > span::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(204, 158, 51, .5);
  transition: width .3s var(--fin-ease);
}

.access-steps li:hover > span::after { width: 26px; }

.access-action .button-gold {
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .4);
}


/* --------------------------------------------------------------------------
   6. CONOCIMIENTO — tarjetas que dejan de verse vacías
   Cada tarjeta medía 280px de alto con un solo título: 60% del área era aire
   sin función. Se ajusta la caja al contenido real y se añade índice numerado.
   -------------------------------------------------------------------------- */

.knowledge {
  background-image: var(--fin-rule-light);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 1px;
}

.knowledge-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  counter-reset: knowledge;
}

.knowledge-card {
  min-height: 214px;
  padding: 22px 24px 24px;
  border-radius: 14px;
  counter-increment: knowledge;
  transition: transform .3s var(--fin-ease), box-shadow .3s ease;
}

.knowledge-card::before {
  content: counter(knowledge, decimal-leading-zero);
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 18px;
  padding-bottom: 9px;
  color: var(--gold-deep);
  border-bottom: 1px solid rgba(158, 122, 51, .38);
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
}

.knowledge-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.2rem, 1.55vw, 1.62rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: pretty;
}

/* Estas tarjetas reutilizan .blog-feed-empty, que trae un max-width de 820px
   pensado para el estado vacío del blog. */
.knowledge-card.blog-feed-empty { max-width: none; }

.knowledge-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 38px 92px rgba(3, 41, 64, .2),
    0 12px 30px rgba(3, 41, 64, .11),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

@media (max-width: 1360px) {
  .knowledge-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .knowledge-card-grid { grid-template-columns: 1fr; }
  .knowledge-card { min-height: 0; padding: 18px 20px 20px; }
  .knowledge-card h3 { font-size: 1.18rem; }
}


/* --------------------------------------------------------------------------
   7. DOCUMENTACIÓN TÉCNICA — profundidad en una sección plana
   -------------------------------------------------------------------------- */

.resources {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: var(--fin-rule-light);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 1px;
}

.resources::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: var(--fin-grain) 0 0 / 44px 44px repeat;
  opacity: .26;
  filter: brightness(1.72);
}

.resources::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 52% at 8% 0%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(ellipse 46% 40% at 96% 84%, rgba(3, 41, 64, .06) 0%, rgba(3, 41, 64, 0) 70%);
}

.resources > .shell { position: relative; z-index: 1; }

.resource-list article {
  position: relative;
  min-height: 186px;
  padding-inline: clamp(10px, 1.6vw, 26px);
  transition: background .3s ease;
}

.resource-list article::before {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg,
    rgba(158, 122, 51, 0), rgba(158, 122, 51, .55), rgba(158, 122, 51, 0));
}

.resource-list article:hover {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, .62), rgba(255, 255, 255, .14) 62%, rgba(255, 255, 255, 0));
}

.resource-no {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.resource-list h3 { letter-spacing: -.03em; }


/* --------------------------------------------------------------------------
   8. CONTACTO — el panel se apoya y el filo dorado lo remata
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.contact::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  pointer-events: none;
  background: var(--fin-rule-dark);
}

.contact::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: var(--fin-grain) 0 0 / 44px 44px repeat;
  opacity: .14;
}

.contact > .shell { position: relative; z-index: 1; }

.form-panel {
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(204, 158, 51, .28),
    0 32px 84px rgba(2, 30, 47, .3),
    inset 0 1px 0 rgba(255, 255, 255, .3),
    inset 0 -1px 0 rgba(255, 255, 255, .08);
}

.form-panel label { transition: color .2s ease; }
.form-panel label:focus-within { color: rgba(240, 247, 250, .95); }

.form-panel input:not([type="checkbox"]),
.form-panel select,
.form-panel textarea { transition: border-color .2s ease, box-shadow .2s ease; }

.form-panel .button-gold {
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.form-success { border-radius: 4px; box-shadow: inset 0 1px 0 rgba(204, 158, 51, .3); }


/* --------------------------------------------------------------------------
   9. FOOTER — cierre con el mismo filo
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: var(--fin-rule-dark);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 1px;
}

.site-footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: var(--fin-grain) 0 0 / 44px 44px repeat;
  opacity: .12;
}

.site-footer > .shell { position: relative; z-index: 1; }

.footer-bottom {
  border-top: 0;
  background: var(--fin-rule-dark) no-repeat top center / 100% 1px;
}


/* -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .portfolio-product:hover,
  .knowledge-card:hover,
  .nav-cta:hover { transform: none; }
}
