/* ============================================================
   TQI CHILE — styles.css
   Versión consolidada: sin bloques duplicados
   ============================================================ */

/* ── Variables ── */
:root {
  --purple:      #2D1B69;
  --purple-dark: #1E1147;
  --purple-soft: #F4F1FF;
  --orange:      #E8511A;
  --orange-dark: #C93F0E;
  --green:       #1D9E75;
  --green-dark:  #04342C;
  --text:        #17172B;
  --muted:       #4F506D;
  --light:       #777A95;
  --line:        #E5E2EF;
  --bg:          #FAFAFC;
  --white:       #fff;
  --shadow:      0 12px 34px rgba(30,17,71,.10);
  --radius:      18px;
  --font:        'Montserrat', Arial, sans-serif;
  /* PhageGuard */
  --pg-blue:        #0068A9;
  --pg-blue-dark:   #005082;
  --pg-green:       #48B749;
  --pg-green-dark:  #278B3B;
  --pg-green-soft:  #E9F7EC;
  --pg-blue-soft:   #EAF4FB;
}

/* ── Reset base ── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

/* ── Topbar ── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  height: 34px; min-height: 34px; max-height: 34px;
  overflow: hidden;
  background: rgba(30,17,71,0.70);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-family: var(--font);
}
.topbar .container {
  width: min(1320px, calc(100% - 48px));
  height: 34px; min-height: 34px; max-height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar span, .topbar a { line-height: 1; white-space: nowrap; }
.topbar a { color: rgba(255,255,255,.86); }

/* ── Site header ── */
.site-header {
  position: fixed;
  top: 34px; left: 0; right: 0;
  z-index: 1000;
  height: 84px; min-height: 84px; max-height: 84px;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(45,27,105,0.08);
  box-shadow: 0 6px 24px rgba(30,17,71,0.06);
  font-family: var(--font);
  transition: background .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.90);
  box-shadow: 0 8px 28px rgba(30,17,71,0.10);
}

/* ── Nav ── */
.nav,
.site-header .nav,
.nav.container {
  width: min(1320px, calc(100% - 48px));
  height: 84px; min-height: 84px; max-height: 84px;
  padding: 0;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  flex: 0 0 286px; width: 286px; min-width: 286px; max-width: 286px;
  height: 58px; min-height: 58px; max-height: 58px;
  display: inline-flex; align-items: center; gap: 12px;
  overflow: visible;
}
.brand-mark {
  flex: 0 0 68px; width: 68px; min-width: 68px; max-width: 68px;
  font-size: 28px; font-weight: 900; font-style: italic;
  color: var(--purple); letter-spacing: -1px; line-height: 1;
  font-family: var(--font);
}
.brand-mark span { color: var(--orange); }
.brand-sub {
  flex: 0 0 132px; width: 132px;
  font-size: 9px; color: var(--muted); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1; white-space: nowrap;
}
.brand-divider { flex: 0 0 1px; width: 1px; height: 30px; background: rgba(0,0,0,.15); }
.brand-country {
  flex: 0 0 54px; width: 54px;
  font-size: 11px; font-weight: 900; color: var(--purple);
  letter-spacing: .06em; text-transform: uppercase; line-height: 1;
}
.brand-country small { display: block; font-size: 9px; color: var(--light); font-weight: 700; line-height: 1; }
.nav-links {
  flex: 1 1 auto; min-width: 0;
  height: 42px; min-height: 42px; max-height: 42px;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 5px; overflow: visible;
}
.nav-link {
  flex: 0 1 auto;
  height: 42px; min-height: 42px; max-height: 42px;
  padding: 0 8px; border-radius: 9px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .045em;
  text-transform: uppercase; color: var(--muted);
  line-height: 1; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover, .nav-link.active { color: var(--purple); background: var(--purple-soft); }
.nav-cta {
  flex: 0 0 auto; min-width: 162px;
  height: 42px; min-height: 42px; max-height: 42px;
  padding: 0 14px; border-radius: 9px;
  background: var(--orange); color: #fff;
  font-size: 10.5px; font-weight: 900; letter-spacing: .045em;
  text-transform: uppercase; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(232,81,26,.28); }
.menu-btn {
  display: none; flex: 0 0 42px;
  border: 0; background: var(--purple); color: #fff;
  border-radius: 10px; width: 42px; height: 42px;
  font-size: 22px; line-height: 1; cursor: pointer;
}

/* ── Skip link ── */
.skip-link { position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 12px; top: 12px; width: auto; height: auto; background: #fff; color: var(--purple); padding: 10px; z-index: 2000; }

/* ── Hero (index) ── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: #1E1147;
  color: #fff;
}
.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 44px; align-items: center;
  min-height: 530px; padding: 72px 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 82% 20%, rgba(232,81,26,.34), transparent 28%),
              linear-gradient(90deg, rgba(0,0,0,.20), transparent);
}

/* Hero simple (index) */
.hero.hero-simple .container {
  display: block;
  grid-template-columns: unset;
  min-height: 460px;
  padding: 76px 0 68px;
}
.hero.hero-simple h1 { max-width: 1120px; }
.hero.hero-simple p  { max-width: 980px; }
.hero.hero-simple .hero-actions { max-width: 980px; }

/* Hero dinámico (slides) */
.index-page .hero.hero-seafood-bg,
.hero.hero-seafood-bg {
  background: #1E1147 !important;
}
.hero.hero-seafood-bg::before {
  background:
    linear-gradient(90deg, rgba(30,17,71,.96) 0%, rgba(30,17,71,.90) 32%, rgba(30,17,71,.62) 58%, rgba(30,17,71,.28) 100%),
    radial-gradient(circle at 82% 18%, rgba(232,81,26,.18), transparent 32%) !important;
  z-index: 1;
}
.hero-dynamic-media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #1E1147;
}
.hero-dynamic-media .hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
  opacity: 0; transform: scale(1.01);
  transition: opacity 900ms ease;
}
.hero-dynamic-media .hero-slide.is-active { opacity: 1; }
.hero-slide--balanza { object-position: 62% center; }

/* ── Page hero (páginas internas) ── */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: #fff;
  padding: 66px 0;
  min-height: 380px;
  display: flex; align-items: center;
}
.page-hero.green { background: linear-gradient(135deg, var(--green-dark), #0A604C); }
.page-hero .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px; align-items: end;
  width: 100%;
}

/* Hero ancho completo en páginas específicas */
.asesoria-hero .container,
.empresa-hero .container,
.contacto-hero .container,
.resultados-hero .container,
.products-hero .container,
.phage-hero .container,
.phageguard-hero .container {
  grid-template-columns: minmax(0, 1080px);
  justify-content: start;
}
.asesoria-hero p, .empresa-hero p, .contacto-hero p,
.resultados-hero p, .products-hero p, .phage-hero p { max-width: 1040px; }
.asesoria-hero .hero-actions,
.empresa-hero .hero-actions,
.contacto-hero .hero-actions,
.resultados-hero .hero-actions,
.products-hero .hero-actions { margin-top: 30px; }

/* Imagen de fondo en page-heroes con foto */
.page-hero img[style*="object-fit"] {
  display: block;
}

/* ── Kicker, headings, lead ── */
.kicker {
  font-size: 11px; font-weight: 900; letter-spacing: .16em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.hero h1, .page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03; letter-spacing: -1.3px;
  margin: 0 0 18px; font-weight: 900;
}
.hero p, .page-hero p {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65; color: rgba(255,255,255,.82);
  max-width: 660px; margin: 0 0 26px;
}
.section h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1; color: var(--purple);
  letter-spacing: -.7px; margin: 0 0 10px; font-weight: 900;
}
.section-lead { max-width: 760px; color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }

/* ── Buttons ── */
.hero-actions, .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; padding: 14px 20px;
  font-size: 12px; font-weight: 900; text-transform: uppercase;
  letter-spacing: .08em; cursor: pointer; font-family: var(--font);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(232,81,26,.25); }
.btn-secondary { background: #fff; color: var(--purple); }
.btn-secondary:hover { background: var(--purple-soft); }
.btn-outline { border: 2px solid rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-outline:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.62); font-weight: 800; margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.85); transition: color .15s ease; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current="page"] { color: rgba(255,255,255,.62); }

/* ── Sections ── */
.section { padding: 70px 0; }
.section.alt { background: var(--bg); }
.section-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin-bottom: 34px; }
.chevron { width: 56px; height: 50px; background: var(--orange); clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%); flex-shrink: 0; }

/* ── Cards ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 6px 24px rgba(30,17,71,.04);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: #D6D0EB; }
.card .label { font-size: 10px; color: var(--orange); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 9px; }
.card h3 { font-size: 21px; line-height: 1.2; color: var(--purple); margin: 0 0 10px; font-weight: 900; }
.card p, .card li { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0 0 12px; }
.card ul { padding-left: 18px; margin: 12px 0 0; }
.card-link { display: inline-flex; margin-top: 8px; color: var(--orange); font-weight: 900; text-transform: uppercase; letter-spacing: .07em; font-size: 11px; }

/* Decision cards (index) */
.decision-cards .card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #F0EEF8 0%, #E7E3F2 100%);
  border: 1.5px solid #D2CAE8;
  box-shadow: 0 14px 34px rgba(30,17,71,.08);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.decision-cards .card::before {
  content: ''; position: absolute; inset: 0 0 auto 0;
  height: 5px; background: var(--orange);
}
.decision-cards .card .label {
  display: inline-block; background: #fff;
  border: 1px solid #E1DCEF; border-radius: 999px; padding: 6px 10px; margin-bottom: 14px;
}
.decision-cards .card:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F3FB 100%);
  border-color: #BFB4DF; transform: translateY(-2px);
}

/* ── Split / Panel ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel.dark { background: var(--purple); color: #fff; border: 0; }
.panel.dark p, .panel.dark li { color: rgba(255,255,255,.76); }
.panel h3 { color: var(--purple); font-size: 24px; margin: 0 0 12px; }
.panel.dark h3 { color: #fff; }
.panel p, .panel li { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ── Tags ── */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.tag { background: var(--purple-soft); color: var(--purple); font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }

/* ── Image slots / placeholders ── */
.image-slot {
  border: 2px dashed #D4D0E5; border-radius: var(--radius);
  min-height: 260px;
  background: linear-gradient(135deg, #FBFBFD, #F1F0F8);
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--light); padding: 24px;
}
.image-slot strong { display: block; color: var(--purple); font-size: 18px; margin-bottom: 7px; }
.image-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.image-slot-wide { min-height: 360px; width: 100%; }

/* ── Process steps ── */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #F0EEF8 0%, #E7E3F2 100%);
  border: 1.5px solid #D2CAE8; border-radius: 16px;
  padding: 20px; box-shadow: 0 12px 28px rgba(30,17,71,.075);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.step::before {
  content: ''; position: absolute; inset: 0 0 auto 0;
  height: 4px; background: var(--orange);
}
.step-num {
  display: inline-block; background: #fff; border: 1px solid #E1DCEF;
  border-radius: 999px; padding: 5px 9px; color: var(--orange);
  font-size: 12px; font-weight: 900; margin-bottom: 8px;
}
.step h3 { font-size: 16px; margin: 0 0 8px; color: var(--purple); }
.step p  { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0; }
.step:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F3FB 100%);
  border-color: #BFB4DF; box-shadow: 0 16px 34px rgba(30,17,71,.105);
  transform: translateY(-2px);
}

/* ── Metrics / Evidence ── */
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric { background: rgba(255,255,255,.92); color: var(--text); border-radius: 14px; padding: 18px; }
.metric strong { display: block; color: var(--orange); font-size: 28px; line-height: 1; font-weight: 900; margin-bottom: 6px; }
.metric span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; line-height: 1.35; }
.evidence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.evidence .ev { background: var(--purple-soft); border-radius: 12px; padding: 15px; }
.ev strong { font-size: 24px; color: var(--orange); display: block; }
.ev span   { font-size: 11px; line-height: 1.45; color: var(--muted); font-weight: 700; }

/* ── Trust row ── */
.trust-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.trust-row span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 13px; font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .06em; color: var(--purple);
  box-shadow: 0 4px 16px rgba(30,17,71,.04);
}
.trust-row.compact span { background: var(--purple-soft); }

/* ── TEQUISA band ── */
.tequisa-band {
  background: linear-gradient(135deg, #fff 0%, #F8F6FF 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.tequisa-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; }
.tequisa-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.tequisa-card h3 { font-size: 22px; color: var(--purple); margin: 0 0 10px; }
.tequisa-card ul { margin: 0 0 12px; padding-left: 18px; }
.tequisa-card li { font-size: 14px; line-height: 1.65; color: var(--muted); margin-bottom: 8px; }

/* ── Quick CTA ── */
.quick-cta { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20); padding: 18px; border-radius: 16px; min-width: 250px; }
.quick-cta p { font-size: 13px; line-height: 1.55; margin: 0 0 12px; }

/* ── Product list ── */
.product-list { display: grid; gap: 24px; }
.product-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px;
  background: #FBFAFE; border: 1.5px solid #D9D4EA;
  border-radius: var(--radius); padding: 26px;
  box-shadow: 0 14px 42px rgba(30,17,71,.08);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.product-card::before {
  content: ""; position: absolute;
  left: 24px; right: 24px; top: 0;
  height: 5px; border-radius: 0 0 999px 999px;
  background: var(--orange); opacity: .95;
}
.product-card:hover { border-color: #C7BFE2; box-shadow: 0 20px 58px rgba(30,17,71,.12); }
.product-card h2 { font-size: 30px; margin: 0 0 8px; color: var(--purple); }
.product-card p  { font-size: 14px; line-height: 1.68; color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.spec { background: #F2F0F8; border: 1.5px solid #D8D2EA; border-radius: 12px; padding: 13px; box-shadow: inset 0 1px 0 rgba(255,255,255,.72); }
.spec small  { display: block; color: #6F6A88; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.spec strong { font-size: 13px; color: #1E1A2F; }
.product-card .evidence .ev {
  background: linear-gradient(135deg, #EEE9FA, #F7F3FF);
  border: 1px solid #DDD5F0; box-shadow: 0 7px 18px rgba(30,17,71,.055);
}

/* ── Specs / scores ── */
.spec small  { display: block; color: var(--light); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.spec strong { font-size: 13px; color: var(--text); }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; }
.contact-methods { display: grid; gap: 12px; }
.contact-method {
  display: flex; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-method:hover { border-color: #C7BFE2; box-shadow: 0 8px 20px rgba(30,17,71,.07); }
.contact-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: #fff; font-size: 20px; flex: 0 0 auto; }
.contact-method.wa .contact-icon { background: #25D366; }
.contact-method small { display: block; font-size: 10px; color: var(--light); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.contact-method strong { font-size: 15px; color: var(--text); }

/* Forms */
form { display: grid; gap: 14px; }
label { font-size: 11px; color: var(--purple); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
input, select, textarea {
  width: 100%; border: 2px solid #E0DFF0; border-radius: 11px;
  padding: 13px 14px; font: inherit; font-size: 14px; color: var(--text);
  outline: 0; transition: border-color .15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--orange); }
textarea { min-height: 132px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.note { font-size: 12px; color: var(--light); line-height: 1.55; }

/* ── CTA band ── */
.cta-band { background: var(--purple-dark); color: #fff; padding: 54px 0; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.5vw, 40px); margin: 0 0 12px; }
.cta-band p  { max-width: 660px; margin: 0 auto 22px; color: rgba(255,255,255,.72); line-height: 1.65; }
.cta-band .cta-actions { justify-content: center; align-items: center; }

/* ── Footer ── */
.footer { background: #130B33; color: rgba(255,255,255,.62); padding: 28px 0; font-size: 12px; }
.footer .container { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer a { color: rgba(255,255,255,.82); font-weight: 800; }
.footer a:hover { color: #fff; }

/* ── WhatsApp float ── */
.wa-float {
  position: fixed; right: 20px; bottom: 20px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.25); z-index: 999;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover { background: #1FB857; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,.30); }
.wa-icon { width: 27px; height: 27px; display: block; fill: currentColor; }
.contact-icon .wa-icon { width: 24px; height: 24px; }

/* ── Carrusel ── */
.media-carousel {
  border: 1.5px solid #D8D2EA; border-radius: var(--radius); overflow: hidden;
  background: #F7F5FC; box-shadow: 0 16px 42px rgba(30,17,71,.10);
}
.carousel-track { position: relative; min-height: 302px; }
.carousel-slide { display: none; margin: 0; }
.carousel-slide.is-active { display: grid; grid-template-rows: 230px auto; min-height: 302px; }
.carousel-placeholder {
  display: grid; place-items: center; text-align: center; padding: 28px;
  border-bottom: 1px dashed #D4D0E5;
  background: linear-gradient(135deg, rgba(45,27,105,.075), rgba(232,81,26,.055)), #F3F1F8;
  color: var(--light);
}
.carousel-placeholder strong { display: block; color: var(--purple); font-size: 19px; line-height: 1.15; }
.carousel-placeholder span   { display: block; margin-top: 7px; font-size: 14px; line-height: 1.4; }
.carousel-slide figcaption {
  min-height: 72px; padding: 16px 18px;
  color: var(--muted); font-size: 13px; line-height: 1.55;
  background: #FCFBFF; border-top: none;
  outline: none; display: flex; align-items: flex-start; box-sizing: border-box;
}
.carousel-slide figcaption:focus { box-shadow: inset 0 0 0 2px rgba(232,81,26,.28); }
.carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 12px 14px;
  border-top: 1px solid var(--line); background: #fff;
}
.carousel-btn {
  width: 34px; height: 34px; border: 0; border-radius: 999px;
  background: var(--purple); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .15s ease;
}
.carousel-btn:hover { background: var(--orange); }
.carousel-dots { display: flex; gap: 7px; align-items: center; }
.carousel-dot { width: 8px; height: 8px; border: 0; border-radius: 999px; background: #D4D0E5; padding: 0; transition: width .2s ease, background .2s ease; }
.carousel-dot.is-active { width: 22px; background: var(--orange); }
.carousel-image-frame { width: 100%; height: 230px; min-height: 230px; overflow: hidden; background: #fff; }
.carousel-image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center center; }

/* ── Products hero ── */
.products-hero {
  position: relative; overflow: hidden; isolation: isolate; background: #1E1147 !important;
}
.products-hero-media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #1E1147;
}
.products-hero-media img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center right;
  opacity: .78; filter: brightness(.72) saturate(.82) contrast(.96); transform: scale(1.01);
}
.products-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(30,17,71,.87) 0%, rgba(30,17,71,.82) 34%, rgba(30,17,71,.62) 60%, rgba(30,17,71,.36) 100%),
    radial-gradient(circle at 82% 18%, rgba(232,81,26,.12), transparent 34%);
}
.products-hero .container { position: relative; z-index: 2; }

/* ── PhageGuard hero ── */
.phageguard-hero {
  position: relative; overflow: hidden; isolation: isolate; background: #076891;
}
.phageguard-hero-media { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.phageguard-hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
  opacity: .78; filter: saturate(.9) contrast(.95) brightness(.86);
}
.phageguard-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,104,145,.64) 0%, rgba(7,104,145,.74) 38%, rgba(7,104,145,.54) 64%, rgba(7,104,145,.36) 100%),
    radial-gradient(circle at 80% 18%, rgba(255,255,255,.10), transparent 34%);
}
.phageguard-hero .container { position: relative; z-index: 1; }

/* ── PhageGuard paleta ── */
.page-hero.green, .phage-hero { background: linear-gradient(135deg, var(--pg-blue-dark), var(--pg-blue)); }
.phage-hero .btn-primary, .phageguard-page .btn-primary { background: var(--pg-green); }
.phage-hero .btn-primary:hover, .phageguard-page .btn-primary:hover { background: var(--pg-green-dark); }
.phage-hero .btn-outline { border-color: rgba(255,255,255,.6); }
.phage-kicker, .phageguard-page .kicker { color: var(--pg-green); }
.phage-chevron, .phageguard-page .chevron { background: var(--pg-green); }
.phageguard-page .cta-band { background: linear-gradient(135deg, var(--pg-blue-dark), var(--pg-blue)); }
.phageguard-page .cta-band .btn-secondary { color: var(--pg-blue-dark); }
.phage-comparison-section { background: linear-gradient(180deg, #FFFFFF 0%, #F4FAFD 100%); }
.phage-comparison-section h2 { color: var(--pg-blue-dark); }

/* PhageGuard cards */
.phage-products { grid-template-columns: repeat(3, 1fr); }
.application-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.app-card {
  background: linear-gradient(135deg, #FFFFFF, var(--pg-blue-soft));
  border: 1.5px solid rgba(0,104,169,.22); border-radius: 16px; padding: 20px;
  box-shadow: 0 14px 42px rgba(0,104,169,.10);
  position: relative; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.app-card::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0;
  height: 5px; border-radius: 0 0 999px 999px; background: var(--pg-green); opacity: .95;
}
.app-card:hover { border-color: rgba(72,183,73,.45); box-shadow: 0 20px 58px rgba(0,104,169,.14); transform: translateY(-2px); }
.app-card span {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--pg-green); color: #fff;
  font-size: 12px; font-weight: 900; margin-bottom: 12px;
}
.app-card h3 { margin: 0 0 8px; color: var(--pg-blue-dark); font-size: 17px; line-height: 1.25; }
.app-card p  { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.phage-products .card {
  background: linear-gradient(135deg, #FFFFFF, var(--pg-blue-soft));
  border: 1.5px solid rgba(0,104,169,.22);
  box-shadow: 0 14px 42px rgba(0,104,169,.10);
  position: relative; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.phage-products .card::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0;
  height: 5px; border-radius: 0 0 999px 999px; background: var(--pg-green); opacity: .95; z-index: 0;
}
.phage-products .card:hover { border-color: rgba(72,183,73,.45); box-shadow: 0 20px 58px rgba(0,104,169,.14); transform: translateY(-2px); }
.phage-products .card .label { color: var(--pg-green-dark); }
.phage-products .card h3 { color: var(--pg-blue-dark); }

/* Proof list / Evidence panels */
.proof-list { display: grid; gap: 12px; }
.proof-list div {
  background: linear-gradient(135deg, #FFFFFF, var(--pg-blue-soft));
  border: 1.5px solid rgba(0,104,169,.22);
  border-left: 4px solid var(--pg-green); border-radius: 14px; padding: 18px;
  position: relative; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.proof-list div:hover { border-color: rgba(72,183,73,.45); box-shadow: 0 14px 38px rgba(0,104,169,.10); }
.proof-list strong { display: block; color: var(--pg-blue-dark); font-size: 18px; margin-bottom: 5px; }
.proof-list span   { display: block; color: var(--muted); font-size: 14px; line-height: 1.6; }

.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.evidence-panel {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,244,252,.98));
  border: 1.5px solid rgba(0,104,169,.22); border-radius: var(--radius);
  padding: 24px; position: relative; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.evidence-panel::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0;
  height: 5px; border-radius: 0 0 999px 999px; background: var(--pg-green); opacity: .95; z-index: 0;
}
.evidence-panel:hover { border-color: rgba(72,183,73,.45); box-shadow: 0 20px 58px rgba(0,104,169,.14); transform: translateY(-2px); }
.evidence-panel h3 { position: relative; margin: 0 0 10px; font-size: 20px; color: var(--pg-blue-dark); z-index: 1; }
.evidence-panel p  { position: relative; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; z-index: 1; }

/* Comparison table */
.comparison-table-wrap {
  overflow-x: auto; border: 1.5px solid rgba(0,104,169,.22);
  border-radius: var(--radius); box-shadow: 0 16px 44px rgba(0,104,169,.10); background: #fff;
}
.comparison-table { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 14px; line-height: 1.55; }
.comparison-table th {
  background: var(--pg-blue); color: #fff; text-align: left;
  padding: 16px 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
}
.comparison-table th:nth-child(3) { background: var(--pg-green-dark); }
.comparison-table td { padding: 16px 18px; border-bottom: 1px solid #E1EEF5; color: var(--muted); vertical-align: top; }
.comparison-table td:first-child { color: var(--pg-blue-dark); font-weight: 900; width: 20%; }
.comparison-table tr:nth-child(even) td { background: #F7FBFD; }
.comparison-table tr:last-child td { border-bottom: 0; }

/* Comparison mobile cards */
.comparison-cards-mobile { display: none; }
@media (max-width: 720px) {
  .comparison-table-wrap { display: none; }
  .comparison-cards-mobile { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
  .cmc-header { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 4px; }
  .cmc-col-label { font-size: .70rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 6px 8px; border-radius: 6px; }
  .cmc-col-label.cmc-lsmon { background: rgba(45,27,105,.10); color: #2D1B69; }
  .cmc-col-label.cmc-phage  { background: rgba(22,120,90,.12); color: #16785A; }
  .cmc-card { border: 1px solid rgba(45,27,105,.12); border-radius: 10px; overflow: hidden; background: #fff; }
  .cmc-criterio { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: #2D1B69; padding: 8px 12px; }
  .cmc-row { display: grid; grid-template-columns: 1fr 1fr; }
  .cmc-cell { font-size: .80rem; line-height: 1.5; padding: 10px 12px; color: #2a2a3a; }
  .cmc-cell.cmc-lsmon { border-right: 1px solid rgba(45,27,105,.10); background: rgba(45,27,105,.03); }
  .cmc-cell.cmc-phage  { background: rgba(22,120,90,.04); }
}

/* PhageGuard carrusel visual */
.phage-visual-carousel { max-width: 620px; width: 100%; justify-self: end; }
.phage-visual-carousel .carousel-track { min-height: 420px; }
.phage-visual-carousel .carousel-slide.is-active { min-height: 420px; grid-template-rows: minmax(310px, 1fr) auto; }
.phage-visual-carousel .carousel-btn { background: var(--pg-blue); }
.phage-visual-carousel .carousel-btn:hover { background: var(--pg-green-dark); }
.phage-visual-carousel .carousel-dot.is-active { background: var(--pg-green); }

/* ── Asesoría ── */
.timeline-section { background: #fff; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.timeline::before {
  content: ""; position: absolute; top: 42px; left: 7%; right: 7%;
  height: 3px; background: linear-gradient(90deg, rgba(232,81,26,.95), rgba(232,81,26,.28));
  border-radius: 999px; z-index: 0;
}
.timeline-step {
  position: relative; z-index: 1;
  background: #FBFAFE; border: 1.5px solid #D9D4EA;
  box-shadow: 0 14px 42px rgba(30,17,71,.08); border-radius: var(--radius);
  padding: 28px 22px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.timeline-step::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0;
  height: 5px; border-radius: 0 0 999px 999px; background: var(--orange); opacity: .95;
}
.timeline-step .step-num { display: inline-grid; place-items: center; min-width: 40px; min-height: 30px; padding: 4px 11px; margin-bottom: 18px; border-radius: 999px; background: #fff; border: 1px solid #D9D4EA; color: var(--orange); font-weight: 900; }
.timeline-step h3 { color: var(--purple); }
.timeline-step p  { color: var(--muted); }
.timeline-step:hover { transform: translateY(-2px); box-shadow: 0 20px 54px rgba(30,17,71,.12); }

.capability-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.capability-copy { max-width: 660px; }
.capability-proof { display: grid; gap: 18px; }
.capability-proof article {
  position: relative; display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-areas: "num title" "num text";
  column-gap: 20px; align-items: start;
  background: #FBFAFE; border: 1.5px solid #D9D4EA;
  border-left: 6px solid var(--orange);
  box-shadow: 0 14px 42px rgba(30,17,71,.075);
  border-radius: 24px; padding: 24px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.capability-proof article:hover { transform: translateY(-2px); box-shadow: 0 20px 54px rgba(30,17,71,.12); }
.capability-proof article span { grid-area: num; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--purple); color: #fff; font-weight: 900; font-size: 13px; }
.capability-proof article h3 { grid-area: title; margin: 0 0 6px; color: var(--purple); font-size: 22px; }
.capability-proof article p  { grid-area: text; margin: 0; color: var(--muted); line-height: 1.55; max-width: 100%; }

.service-scope-section { background: #F7F6FB; }
.service-scope { display: grid; grid-template-columns: .95fr 1.1fr .95fr; gap: 24px; align-items: stretch; margin-top: 34px; }
.scope-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1.5px solid #D9D4EA;
  box-shadow: 0 14px 42px rgba(30,17,71,.075);
  border-radius: var(--radius); padding: 30px 28px; overflow: hidden;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}
.scope-card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px;
  height: 5px; border-radius: 0 0 999px 999px; background: var(--orange);
  transition: background .22s ease, opacity .22s ease;
}
.scope-tag { display: inline-block; margin-bottom: 18px; color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.scope-card h3 { color: var(--purple); font-size: 26px; margin-bottom: 12px; }
.scope-card p, .scope-card li { color: var(--muted); line-height: 1.55; }
.scope-card ul { margin: 18px 0 0; padding-left: 20px; }
.scope-card:hover, .scope-card:focus-within {
  background: linear-gradient(135deg, var(--purple), #3B247A);
  border-color: rgba(59,36,122,.55); box-shadow: 0 22px 64px rgba(30,17,71,.18);
  transform: translateY(-8px);
}
.scope-card:hover::before, .scope-card:focus-within::before { background: #fff; opacity: .92; }
.scope-card:hover .scope-tag, .scope-card:focus-within .scope-tag,
.scope-card:hover h3, .scope-card:focus-within h3 { color: #fff; }
.scope-card:hover p, .scope-card:hover li,
.scope-card:focus-within p, .scope-card:focus-within li { color: rgba(255,255,255,.84); }

/* ── Empresa ── */
.sector-experience { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 58px; align-items: center; }
.sector-copy { max-width: 680px; }
.sector-proof { display: grid; gap: 18px; }
.sector-proof article {
  position: relative; display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-areas: "num title" "num text";
  column-gap: 20px; align-items: start;
  background: #FBFAFE; border: 1.5px solid #D9D4EA;
  border-left: 6px solid var(--orange);
  box-shadow: 0 14px 42px rgba(30,17,71,.075);
  border-radius: 24px; padding: 24px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sector-proof article:hover { transform: translateY(-2px); box-shadow: 0 20px 54px rgba(30,17,71,.12); }
.sector-proof article span { grid-area: num; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--purple); color: #fff; font-weight: 900; font-size: 13px; }
.sector-proof article h3 { grid-area: title; margin: 0 0 6px; color: var(--purple); font-size: 22px; }
.sector-proof article p  { grid-area: text; margin: 0; color: var(--muted); line-height: 1.55; max-width: 100%; }

.local-support-section { background: #fff; }
.local-support-card {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 42px; align-items: center;
  background: linear-gradient(135deg, #FBFAFE, #FFFFFF);
  border: 1.5px solid #D9D4EA; box-shadow: 0 18px 54px rgba(30,17,71,.09);
  border-radius: var(--radius); padding: 44px; overflow: hidden;
}
.local-support-card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0;
  height: 5px; border-radius: 0 0 999px 999px; background: var(--orange); opacity: .95;
}
.local-support-copy h2 { color: var(--purple); }
.local-support-copy p  { color: var(--muted); max-width: 880px; }
.local-proof-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.local-proof-row span { display: inline-flex; align-items: center; border-radius: 999px; background: #F1ECFA; border: 1px solid #DDD5F0; color: var(--purple); padding: 10px 16px; font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.local-support-aside { display: grid; gap: 14px; }
.profile-placeholder { min-height: 260px; border-radius: 26px; border: 2px dashed #CFC8E6; background: linear-gradient(135deg, rgba(45,27,105,.05), rgba(232,81,26,.04)), #F4F2FA; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); }
.profile-placeholder strong { display: block; color: var(--purple); font-size: 18px; line-height: 1.2; }
.profile-placeholder span   { display: block; margin-top: 8px; font-size: 14px; }
.profile-caption { background: var(--purple); color: #fff; border-radius: 22px; padding: 18px 20px; }
.profile-caption strong { display: block; font-size: 17px; }
.profile-caption span   { display: block; margin-top: 5px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.45; }

.empresa-page .cards .card {
  position: relative; overflow: hidden;
  background: #FBFAFE; border: 1.5px solid #D9D4EA;
  box-shadow: 0 14px 42px rgba(30,17,71,.085);
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.empresa-page .cards .card::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0;
  height: 5px; border-radius: 0 0 999px 999px; background: var(--orange); opacity: .95;
}
.empresa-page .cards .card:hover, .empresa-page .cards .card:focus-within {
  background: linear-gradient(135deg, var(--purple), #3B247A);
  border-color: rgba(59,36,122,.55); box-shadow: 0 22px 64px rgba(30,17,71,.18); transform: translateY(-6px);
}
.empresa-page .cards .card:hover::before, .empresa-page .cards .card:focus-within::before { background: #fff; opacity: .92; }
.empresa-page .cards .card:hover .label,  .empresa-page .cards .card:focus-within .label,
.empresa-page .cards .card:hover h3, .empresa-page .cards .card:focus-within h3 { color: #fff; }
.empresa-page .cards .card:hover p,  .empresa-page .cards .card:focus-within p  { color: rgba(255,255,255,.84); }

/* ── Resultados ── */
.result-list { display: grid; gap: 34px; }
.result-card {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 34px; align-items: center;
  background: #FBFAFE; border: 1.5px solid #D9D4EA;
  box-shadow: 0 18px 54px rgba(30,17,71,.09);
  border-radius: var(--radius); padding: 34px; overflow: hidden;
}
.result-card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0;
  height: 5px; border-radius: 0 0 999px 999px; background: var(--orange); opacity: .95;
}
.result-copy h2 { color: var(--purple); margin-bottom: 8px; }
.result-copy h3 { color: var(--text); font-size: clamp(22px, 2vw, 30px); margin: 0 0 18px; }
.result-copy p  { color: var(--muted); line-height: 1.65; max-width: 820px; }
.result-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.result-metrics div { background: #F1ECFA; border: 1px solid #DDD5F0; border-radius: 18px; padding: 15px 14px; min-width: 0; }
.result-metrics strong { display: block; color: var(--orange); font-size: clamp(18px, 1.35vw, 24px); line-height: 1.08; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.02em; }
.result-metrics span   { color: var(--muted); font-size: 12px; line-height: 1.35; font-weight: 700; }
.result-media { width: 100%; justify-self: end; }
.result-media .carousel-track, .result-media .carousel-slide.is-active { min-height: 390px; }
.result-media .carousel-slide.is-active { grid-template-rows: 318px auto; }
.result-media .carousel-image-frame { height: 318px; min-height: 318px; max-height: 318px; }
.result-media .carousel-image-frame img { object-position: center 40%; }

/* TEQUISA rep credential */
.tequisa-rep { margin: 14px 0 16px; font-size: 13px; line-height: 1.55; color: var(--text-muted, #6B6480); border-left: 3px solid var(--orange, #E8511A); padding-left: 10px; }

/* Index visual carousel */
.visual-comparison { align-items: center; }
.index-visual-carousel { width: 100%; max-width: 720px; justify-self: center; }
.index-visual-carousel .carousel-track { min-height: 0; }
.index-visual-carousel .carousel-slide.is-active { min-height: 0; grid-template-rows: auto auto; }
.index-visual-carousel .carousel-image-frame { height: 310px; min-height: 310px; max-height: 310px; }

/* ── MailerLite form ── */
.mailerlite-panel { padding: 0; overflow: hidden; }
.tqi-ml-form, .tqi-ml-form * { box-sizing: border-box; }
.tqi-ml-form { width: 100% !important; }
.tqi-ml-form .ml-form-align-center, .tqi-ml-form .ml-form-embedWrapper, .tqi-ml-form .embedForm { width: 100% !important; max-width: none !important; display: block !important; background: transparent !important; }
.tqi-ml-form .ml-form-embedBody, .tqi-ml-form .ml-form-successBody { padding: 34px 34px 12px !important; }
.tqi-ml-form .ml-form-embedContent { margin-bottom: 24px !important; }
.tqi-ml-form .ml-form-embedContent h3, .tqi-ml-form .ml-form-successContent h3 { margin: 0 0 10px; color: var(--purple); font-family: inherit; font-size: 30px; line-height: 1.12; font-weight: 900; letter-spacing: -0.03em; }
.tqi-ml-form .ml-form-embedContent p, .tqi-ml-form .ml-form-successContent p { margin: 0; color: var(--muted); font-family: inherit; font-size: 15px; line-height: 1.55; }
.tqi-ml-form .ml-form-formContent { margin: 0 0 20px !important; }
.tqi-ml-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tqi-ml-form .ml-form-fieldRow { margin: 0 0 14px !important; width: 100%; }
.tqi-ml-form label { display: inline-block; margin-bottom: 7px; color: var(--purple); font-family: inherit; font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.tqi-ml-form input, .tqi-ml-form select {
  width: 100% !important; min-height: 48px;
  border: 1.5px solid #D9D4EA !important; border-radius: 14px !important;
  background: #fff !important; color: var(--text) !important;
  font-family: inherit !important; font-size: 15px !important; line-height: 1.4 !important;
  padding: 12px 14px !important; outline: none; box-shadow: none !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tqi-ml-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--purple) 50%), linear-gradient(135deg, var(--purple) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 38px !important; }
.tqi-ml-form input:focus, .tqi-ml-form select:focus { border-color: var(--orange) !important; box-shadow: 0 0 0 4px rgba(232,81,26,.12) !important; }
.tqi-ml-form textarea { width: 100% !important; min-height: 128px; resize: vertical; border: 1.5px solid #D9D4EA !important; border-radius: 14px !important; background: #fff !important; color: var(--text) !important; font-family: inherit !important; font-size: 15px !important; line-height: 1.45 !important; padding: 12px 14px !important; outline: none; box-shadow: none !important; transition: border-color .15s ease, box-shadow .15s ease; }
.tqi-ml-form textarea:focus { border-color: var(--orange) !important; box-shadow: 0 0 0 4px rgba(232,81,26,.12) !important; }
.tqi-ml-form .ml-form-embedSubmit { margin: 0 0 16px !important; width: 100%; }
.tqi-ml-form .ml-form-embedSubmit button.primary { width: 100% !important; min-height: 52px; border: 0 !important; border-radius: 14px !important; background: var(--orange) !important; color: #fff !important; font-family: inherit !important; font-size: 14px !important; font-weight: 900 !important; letter-spacing: .06em; text-transform: uppercase !important; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.tqi-ml-form .ml-form-embedSubmit button.primary:hover { background: #D84514 !important; box-shadow: 0 14px 34px rgba(232,81,26,.22); transform: translateY(-2px); }
.tqi-ml-form .ml-form-successBody { min-height: 280px; display: grid; align-items: center; }
.tqi-ml-form .ml-form-successContent { background: #F1ECFA; border: 1.5px solid #D9D4EA; border-radius: 22px; padding: 26px; }
.ml-form-embedSubmitLoad { display: inline-block; width: 20px; height: 20px; }
.ml-form-embedSubmitLoad:after { content: " "; display: block; width: 11px; height: 11px; margin: 1px; border-radius: 50%; border: 4px solid #fff; border-color: #ffffff #ffffff #ffffff transparent; animation: ml-form-embedSubmitLoad 1.2s linear infinite; }
@keyframes ml-form-embedSubmitLoad { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.mailerlite-panel .note { padding: 0 34px 30px; }

/* ── Hero padding offset for fixed header ── */
.hero .container,
.hero.hero-simple .container { padding-top: 208px !important; }
.page-hero { padding-top: 218px !important; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Desktop intermedio 1020–1180 */
@media (max-width: 1180px) and (min-width: 1021px) {
  .topbar .container, .site-header .nav, .nav.container { width: min(1240px, calc(100% - 32px)); }
  .site-header .nav, .nav.container { gap: 12px; }
  .brand { flex-basis: 250px; width: 250px; min-width: 250px; max-width: 250px; }
  .brand-mark { flex-basis: 60px; width: 60px; min-width: 60px; max-width: 60px; }
  .brand-sub { flex-basis: 106px; width: 106px; min-width: 106px; max-width: 106px; font-size: 8.5px; }
  .brand-country { flex-basis: 48px; width: 48px; min-width: 48px; max-width: 48px; }
  .nav-links { gap: 3px; }
  .nav-link { padding: 0 5px; font-size: 9.7px; letter-spacing: .025em; }
  .nav-cta  { min-width: 148px; padding: 0 10px; font-size: 9.7px; letter-spacing: .025em; }
  .empresa-page .tequisa-block .container.split { grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 36px; }
}

/* Tablet ≤ 1020 */
@media (max-width: 1020px) {
  .topbar { height: 34px; min-height: 34px; max-height: 34px; }
  .topbar .container { width: min(1160px, calc(100% - 40px)); height: 34px; }
  .site-header { top: 0 !important; height: 78px; min-height: 78px; max-height: 78px; }
  .site-header .nav, .nav.container { width: min(1160px, calc(100% - 40px)); height: 78px; min-height: 78px; max-height: 78px; gap: 18px; }
  .brand { flex: 0 0 250px; width: 250px; min-width: 250px; max-width: 250px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; }
  .nav-links { position: absolute; left: 0; right: 0; top: 78px; width: 100%; height: auto; min-height: 0; max-height: none; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 12px 20px 18px; background: #fff; border-bottom: 2px solid var(--orange); box-shadow: 0 18px 30px rgba(0,0,0,.10); }
  .nav-links.open { display: flex; }
  .nav-link, .nav-cta { width: 100%; height: 46px; min-height: 46px; max-height: 46px; justify-content: flex-start; padding: 0 12px; font-size: 11px; letter-spacing: .045em; }
  .nav-cta { justify-content: center; margin-top: 8px; }
  .hero .container { grid-template-columns: 1fr; min-height: auto; padding: 64px 0; }
  .hero .container, .hero.hero-simple .container { padding-top: 180px !important; }
  .page-hero { padding-top: 188px !important; }
  .hero.hero-simple .container { padding: 64px 0 56px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .page-hero .container, .product-card, .contact-grid, .split { grid-template-columns: 1fr; }
  .quick-cta { min-width: 0; }
  .evidence { grid-template-columns: repeat(3, 1fr); }
  .tequisa-grid { grid-template-columns: 1fr; }
  .phage-products, .application-grid, .evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { display: none; }
  .capability-layout { grid-template-columns: 1fr; gap: 34px; }
  .service-scope { grid-template-columns: 1fr; }
  .scope-card:hover, .scope-card:focus-within { transform: none; }
  .sector-experience { grid-template-columns: 1fr; gap: 34px; }
  .local-support-card { grid-template-columns: 1fr; padding: 36px 28px; }
  .result-card { grid-template-columns: 1fr; }
  .result-media { justify-self: stretch; }
  .phage-visual-carousel { max-width: 100%; justify-self: stretch; }
  html { scroll-padding-top: 90px; }
}

/* Mobile ≤ 720 */
@media (max-width: 720px) {
  .hero.hero-simple .container { padding-top: 168px !important; }
  .page-hero { padding-top: 176px !important; }
}

/* Mobile ≤ 680 */
@media (max-width: 680px) {
  .topbar { display: none; }
  .site-header { height: 76px; min-height: 76px; max-height: 76px; }
  .site-header .nav, .nav.container { width: min(100% - 32px, 1160px); height: 76px; min-height: 76px; max-height: 76px; }
  .container { width: min(100% - 32px, 1160px); }
  .brand { flex: 0 0 190px; width: 190px; min-width: 190px; max-width: 190px; height: 54px; }
  .brand-mark { flex-basis: 54px; width: 54px; min-width: 54px; max-width: 54px; font-size: 25px; }
  .brand-sub, .brand-divider, .brand-country small { display: none; }
  .brand-country { flex-basis: 42px; width: 42px; min-width: 42px; max-width: 42px; font-size: 10px; }
  .hero h1, .page-hero h1 { letter-spacing: -.7px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .metric-grid, .cards, .process, .image-grid, .specs, .evidence, .form-row { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .chevron { width: 44px; height: 40px; }
  .product-card { padding: 20px; }
  .product-card h2 { font-size: 25px; }
  .product-card::before { left: 18px; right: 18px; }
  .image-slot { min-height: 210px; }
  .image-slot-wide { min-height: 260px; }
  .image-slot-wide, .visual-comparison .image-slot-wide { width: min(100%, 420px); margin-inline: auto; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .footer .container { display: block; }
  .footer p { margin: 0 0 10px; }
  .hero.hero-simple .container { padding: 48px 0 44px; min-height: auto; }
  .trust-row span { width: 100%; text-align: center; }
  .tequisa-card { padding: 20px; }
  .phage-products, .application-grid, .evidence-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 16px; }
  .timeline-step { padding: 26px 20px 20px; }
  .capability-proof article { grid-template-columns: 1fr; grid-template-areas: "num" "title" "text"; gap: 14px; padding: 24px 20px; }
  .service-scope { gap: 18px; }
  .scope-card { padding: 28px 22px; }
  .sector-proof article { grid-template-columns: 1fr; grid-template-areas: "num" "title" "text"; gap: 14px; padding: 24px 20px; }
  .local-support-card { padding: 30px 20px; }
  .local-support-card::before { left: 16px; right: 16px; }
  .local-proof-row span { width: 100%; justify-content: center; }
  .profile-placeholder { min-height: 220px; }
  .empresa-page .cards .card:hover, .empresa-page .cards .card:focus-within { transform: none; }
  .result-card { padding: 28px 20px; }
  .result-card::before { left: 16px; right: 16px; }
  .result-metrics { grid-template-columns: 1fr; }
  .result-media .carousel-track, .result-media .carousel-slide.is-active { min-height: 330px; }
  .result-media .carousel-slide.is-active { grid-template-rows: 258px auto; }
  .result-media .carousel-image-frame { height: 258px; min-height: 258px; max-height: 258px; }
  .index-visual-carousel .carousel-track, .index-visual-carousel .carousel-slide.is-active { min-height: 0; }
  .index-visual-carousel .carousel-slide.is-active { grid-template-rows: auto auto; }
  .index-visual-carousel .carousel-image-frame { height: 220px; min-height: 220px; max-height: 220px; }
  .phage-visual-carousel .carousel-track, .phage-visual-carousel .carousel-slide.is-active { min-height: 340px; }
  .phage-visual-carousel .carousel-slide.is-active { grid-template-rows: minmax(220px, 1fr) auto; }
  .comparison-table th, .comparison-table td { padding: 13px 14px; }
  .tqi-ml-form .ml-form-embedBody, .tqi-ml-form .ml-form-successBody { padding: 26px 20px 10px !important; }
  .tqi-ml-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .mailerlite-panel .note { padding: 0 20px 24px; }
  .asesoria-hero .hero-actions .btn,
  .empresa-hero .hero-actions .btn,
  .contacto-hero .hero-actions .btn,
  .resultados-hero .hero-actions .btn,
  .products-hero .hero-actions .btn,
  .phage-hero .hero-actions .btn { width: 100%; }
  .hero-slide--balanza { object-position: 55% center; }
  .resultados-hero img { object-position: 55% center !important; }
  .asesoria-hero img  { object-position: 58% center !important; }
  .empresa-hero img   { object-position: 60% center !important; }
  .contacto-hero img  { object-position: 60% center !important; }
  .products-hero-media img { object-position: 72% center; opacity: .70; }
  .phageguard-hero-media img { opacity: .64; object-position: 72% center; }
  .app-card::before, .phage-products .card::before, .evidence-panel::before, .proof-list > div::before { left: 16px; right: 16px; }
}

/* ── Hero responsive media ── */
@media (max-width: 980px) {
  .hero-slide--balanza { object-position: 58% center; }
  .hero-dynamic-media .hero-slide { object-position: 72% center; }
  .hero.hero-seafood-bg::before {
    background: linear-gradient(90deg, rgba(30,17,71,.97) 0%, rgba(30,17,71,.91) 56%, rgba(30,17,71,.58) 100%), radial-gradient(circle at 78% 20%, rgba(232,81,26,.14), transparent 34%) !important;
  }
  .products-hero-media img { object-position: 72% center; opacity: .54; }
  .products-hero::before { background: linear-gradient(90deg, rgba(30,17,71,.88) 0%, rgba(30,17,71,.84) 56%, rgba(30,17,71,.65) 100%), radial-gradient(circle at 78% 20%, rgba(232,81,26,.08), transparent 34%) !important; }
  .phageguard-hero::before { background: linear-gradient(90deg, rgba(7,104,145,.84) 0%, rgba(7,104,145,.78) 58%, rgba(7,104,145,.58) 100%), radial-gradient(circle at 76% 20%, rgba(255,255,255,.08), transparent 34%); }
  .phageguard-hero-media img { opacity: .70; object-position: 62% center; }
  .index-visual-carousel { max-width: 100%; }
  .empresa-page .tequisa-block .container.split, .empresa-page .section.alt .container.split { grid-template-columns: 1fr; }
  .empresa-page .tequisa-block .image-slot, .empresa-page .section.alt .image-slot { width: 100%; min-height: 280px; }
}

/* ============================================================
   FIX 2026-05-28 — Heroes internos + paleta PhageGuard
   Motivo: igualar layout de heroes internos al index y evitar
   que componentes globales .process/.step contaminen PhageGuard.
   ============================================================ */

/* Heroes internos: mismo criterio visual que el index */
.page-hero {
  min-height: 530px !important;
  padding: 0 !important;
  align-items: stretch !important;
}

.page-hero .container {
  width: min(1160px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
  min-height: 530px !important;
  padding: 208px 0 68px !important;
  display: grid;
  grid-template-columns: minmax(0, 1080px) !important;
  justify-content: start !important;
  align-items: center !important;
}

.page-hero h1,
.page-hero p,
.page-hero .hero-actions,
.page-hero .breadcrumb {
  max-width: 980px;
}

.page-hero p {
  margin-bottom: 26px;
}

/* Evita que el texto quede contra el borde en páginas con estilos inline */
.asesoria-hero .container,
.empresa-hero .container,
.contacto-hero .container,
.resultados-hero .container,
.products-hero .container,
.phage-hero .container,
.phageguard-hero .container {
  width: min(1160px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
}

/* PhageGuard: tarjetas de proceso en paleta propia */
.phageguard-page .process .step,
.phageguard-page .step {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--pg-blue-soft) 100%) !important;
  border: 1.5px solid rgba(0,104,169,.22) !important;
  box-shadow: 0 14px 42px rgba(0,104,169,.10) !important;
}

.phageguard-page .process .step::before,
.phageguard-page .step::before {
  background: var(--pg-green) !important;
}

.phageguard-page .process .step-num,
.phageguard-page .step-num {
  color: var(--pg-green-dark) !important;
  border-color: rgba(0,104,169,.18) !important;
  background: #fff !important;
}

.phageguard-page .process .step h3,
.phageguard-page .step h3 {
  color: var(--pg-blue-dark) !important;
}

.phageguard-page .process .step p,
.phageguard-page .step p {
  color: var(--muted) !important;
}

.phageguard-page .process .step:hover,
.phageguard-page .step:hover {
  border-color: rgba(72,183,73,.45) !important;
  box-shadow: 0 20px 58px rgba(0,104,169,.14) !important;
}

@media (max-width: 1020px) {
  .page-hero {
    min-height: 500px !important;
  }
  .page-hero .container {
    min-height: 500px !important;
    padding: 180px 0 58px !important;
    width: min(1160px, calc(100% - 40px)) !important;
  }
}

@media (max-width: 680px) {
  .page-hero {
    min-height: 470px !important;
  }
  .page-hero .container {
    min-height: 470px !important;
    padding: 156px 0 48px !important;
    width: min(100% - 32px, 1160px) !important;
  }
}


/* ── Utility / legal pages ── */
.utility-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #1E1147;
  min-height: 460px;
  padding-bottom: 72px !important;
}
.utility-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #1E1147;
}
.utility-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: .68;
  filter: brightness(.74) saturate(.9) contrast(.96);
}
.utility-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(30,17,71,.96) 0%, rgba(30,17,71,.90) 38%, rgba(30,17,71,.64) 68%, rgba(30,17,71,.34) 100%),
    radial-gradient(circle at 82% 18%, rgba(232,81,26,.15), transparent 34%);
}
.utility-hero .container {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1080px);
  justify-content: start;
  width: min(1160px, calc(100% - 40px));
}
.utility-hero p { max-width: 980px; }
.utility-panel { display: grid; gap: 28px; }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(260px, .34fr) minmax(0, .66fr);
  gap: 30px;
  align-items: start;
}
.legal-aside { position: sticky; top: 145px; }
.legal-content {
  background: #fff;
  border: 1.5px solid #D9D4EA;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 16px 44px rgba(30,17,71,.075);
}
.legal-content h2 {
  color: var(--purple);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.16;
  margin: 0 0 12px;
}
.legal-content h2:not(:first-child) { margin-top: 34px; }
.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.legal-content p { margin: 0 0 15px; }
.legal-content ol { margin: 0 0 18px; padding-left: 22px; }
.legal-content a { color: var(--orange); font-weight: 800; }
.legal-date {
  margin-top: 18px !important;
  font-size: 12px !important;
  color: var(--light) !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.error-page .utility-hero,
.construction-page .utility-hero { min-height: 520px; }
@media (max-width: 1020px) {
  .utility-hero { min-height: 420px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
}
@media (max-width: 680px) {
  .utility-hero .container { width: min(100% - 32px, 1160px); }
  .utility-hero-media img { object-position: 68% center; }
  .legal-content { padding: 26px 20px; }
}

/* ============================================================
   Footer profesional — TQI Chile
   ============================================================ */
.footer.footer-pro {
  background: linear-gradient(135deg, #130B33 0%, #1E1147 58%, #2D1B69 100%);
  color: rgba(255,255,255,.72);
  padding: 0;
  font-size: 13px;
  border-top: 4px solid var(--orange);
}
.footer-pro .footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr .85fr .95fr;
  gap: 34px;
  align-items: start;
  padding: 44px 0 34px;
}
.footer-brand-block p {
  margin: 14px 0 16px;
  max-width: 430px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.footer-brand-mark {
  display: inline-flex;
  align-items: baseline;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1.2px;
}
.footer-brand-mark span { color: var(--orange); }
.footer-brand-country {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-proof {
  display: inline-flex;
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.35;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.footer-col a,
.footer-col span {
  color: rgba(255,255,255,.70);
  line-height: 1.4;
}
.footer-col a {
  transition: color .15s ease, transform .15s ease;
}
.footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}
.footer-contact a[href^="mailto"],
.footer-contact a[href^="https://wa.me"] {
  color: rgba(255,255,255,.86);
  font-weight: 800;
}
.footer-cta {
  margin-top: 8px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--orange);
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.footer-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-1px) !important;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0 20px;
}
.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1020px) {
  .footer-pro .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 26px;
  }
}

@media (max-width: 680px) {
  .footer-pro .footer-grid {
    grid-template-columns: 1fr;
    padding: 36px 0 28px;
  }
  .footer-proof {
    border-radius: 14px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom p {
    margin-bottom: 0;
  }
  .footer-cta {
    width: 100%;
  }
}
