*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --deep-slate: #1A3035;
  --slate-mid:  #1e3a40;
  --lime:       #8ED33D;
  --cyan:       #00A9CE;
  --white:      #ffffff;
  --gray-50:    #f7f8f6;
  --gray-100:   #eef0ec;
  --gray-200:   #dde1dc;
  --gray-400:   #8a9490;
  --gray-700:   #3d4a47;
  --gray-900:   #1a2421;
  --font-title: 'Montserrat', sans-serif;
  --font-body:  'Open Sans', sans-serif;
  --grad: linear-gradient(90deg, #8ED33D 0%, #00A9CE 100%);
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-900); background: var(--white); line-height: 1.7; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--deep-slate);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 82px;
}
.nav-border { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--grad); }
/* ── LOGOS NAV ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
  height: 82px;
  text-decoration: none;
  overflow: visible;
}
.nav-logo img {
  display: block;
  width: auto;
  object-fit: contain;
}
.nav-logo .site-logo {
  height: 68px;
  max-height: 68px;
  flex-shrink: 0;
}
.logo-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.28);
  flex-shrink: 0;
}
.partner-logo-wrap {
  height: 82px;
  display: flex;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo .principal-logo {
  height: 145px;
  max-height: none;
  width: auto;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.78); text-decoration: none;
  font-family: var(--font-title); font-size: 13px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover { color: var(--lime); }
.nav-cta {
  background: var(--lime) !important; color: var(--deep-slate) !important;
  padding: 9px 22px; border-radius: 4px;
}
.nav-cta:hover { background: #a0e04a !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh; background: var(--deep-slate);
  display: flex; align-items: center; padding-top: 82px;
  position: relative; overflow: hidden;
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(142,211,61,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero-glow {
  position: absolute; top: 50%; right: -100px; transform: translateY(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,169,206,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 96px 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(142,211,61,0.35); background: rgba(142,211,61,0.08);
  color: var(--lime); font-family: var(--font-title);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 2px; margin-bottom: 28px;
}
.hero-pill span { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
.hero h1 {
  font-family: var(--font-title); font-weight: 800;
  font-size: clamp(34px, 4vw, 54px); line-height: 1.12;
  color: #fff; margin-bottom: 24px;
}
.grad-text {
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-lead {
  font-size: 17px; color: rgba(255,255,255,0.65);
  line-height: 1.8; margin-bottom: 40px; font-weight: 300;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-lime {
  background: var(--lime); color: var(--deep-slate);
  padding: 14px 34px; border-radius: 4px; text-decoration: none;
  font-family: var(--font-title); font-weight: 700; font-size: 14px;
  letter-spacing: 0.5px; text-transform: uppercase; transition: all 0.2s;
}
.btn-lime:hover { background: #a0e04a; transform: translateY(-1px); }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.85);
  padding: 14px 34px; border-radius: 4px; text-decoration: none;
  font-family: var(--font-title); font-weight: 600; font-size: 14px;
  letter-spacing: 0.5px; text-transform: uppercase; transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-box {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px; padding: 22px 20px;
}
.stat-box .num {
  font-family: var(--font-title); font-size: 38px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; line-height: 1;
}
.stat-box .lbl { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 8px; line-height: 1.5; }
.hero-molecule {
  margin-top: 14px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,169,206,0.2); border-radius: 8px; padding: 18px 22px;
  display: flex; align-items: flex-start; gap: 16px;
}
.molecule-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: rgba(0,169,206,0.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.molecule-icon svg { width: 24px; height: 24px; }
.hero-molecule p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.hero-molecule strong { color: var(--lime); }

/* ── SECTIONS ── */
section { padding: 96px 56px; }
.container { max-width: 1200px; margin: 0 auto; }
.grad-bar { display: inline-block; width: 36px; height: 3px; background: var(--grad); margin-bottom: 16px; border-radius: 2px; }
.sec-tag { font-family: var(--font-title); font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
h2.sec-title {
  font-family: var(--font-title); font-weight: 800;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.18;
  color: var(--gray-900); margin-bottom: 18px;
}
h2.sec-title .lime { color: var(--lime); }
h2.sec-title .cyan { color: var(--cyan); }
.sec-lead { font-size: 17px; color: var(--gray-400); line-height: 1.8; font-weight: 300; max-width: 640px; }

/* ── EMPRESA ── */
.empresa { background: var(--gray-50); }
.empresa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.empresa-text p { font-size: 16px; color: var(--gray-700); line-height: 1.85; margin-bottom: 20px; }
.empresa-icons { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.eicon { display: flex; gap: 16px; align-items: flex-start; }
.eicon-dot {
  width: 38px; height: 38px; border-radius: 6px; flex-shrink: 0;
  background: var(--deep-slate); display: flex; align-items: center; justify-content: center;
}
.eicon-dot svg { width: 18px; height: 18px; }
.eicon h4 { font-family: var(--font-title); font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.eicon p { font-size: 13px; color: var(--gray-400); line-height: 1.6; }

/* ── CIENCIA ── */
.ciencia { background: var(--white); }
.ciencia-header { text-align: center; margin-bottom: 64px; }
.ciencia-header .grad-bar { display: block; margin: 0 auto 16px; }
.ciencia-header .sec-lead { margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 27px; left: 12.5%; right: 12.5%;
  height: 1px; background: linear-gradient(90deg, #8ED33D, #00A9CE); z-index: 0;
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 14px; z-index: 1; }
.step-circle {
  width: 54px; height: 54px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-weight: 800; font-size: 20px; color: var(--deep-slate);
  margin-bottom: 20px;
}
.step h4 { font-family: var(--font-title); font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--gray-400); line-height: 1.65; }
.science-dark {
  margin-top: 72px; background: var(--deep-slate); border-radius: 12px; padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; position: relative;
}
.science-dark::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); border-radius: 12px 12px 0 0;
}
.science-dark h3 { font-family: var(--font-title); font-weight: 700; font-size: 24px; color: #fff; margin-bottom: 20px; line-height: 1.3; }
.science-dark h3 .lime { color: var(--lime); }
.science-dark h3 .cyan { color: var(--cyan); }
.science-dark p { color: rgba(255,255,255,0.6); line-height: 1.85; margin-bottom: 14px; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  background: rgba(142,211,61,0.12); border: 1px solid rgba(142,211,61,0.25);
  color: var(--lime); font-family: var(--font-title); font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 2px; letter-spacing: 0.5px; text-transform: uppercase;
}
.tag.cy {
  background: rgba(0,169,206,0.12); border-color: rgba(0,169,206,0.25); color: var(--cyan);
}

/* ── PRODUCTOS ── */
.productos { background: var(--gray-50); }
.productos-header { margin-bottom: 52px; }
.prod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.prod-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  border: 1px solid var(--gray-200); transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.prod-top {
  background: var(--deep-slate); padding: 30px 26px 26px; position: relative; overflow: hidden;
}
.prod-top::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--grad);
}
.prod-code {
  font-family: var(--font-title); font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--lime); font-weight: 700; display: block; margin-bottom: 8px;
}
.prod-top h3 { font-family: var(--font-title); color: #fff; font-size: 20px; font-weight: 700; }
.prod-body { padding: 26px; flex: 1; }
.prod-body p { font-size: 14px; color: var(--gray-700); line-height: 1.8; margin-bottom: 18px; }
.prod-list { display: flex; flex-direction: column; gap: 8px; }
.prod-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--gray-700); }
.prod-item::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: linear-gradient(135deg, #8ED33D, #00A9CE);
  flex-shrink: 0; margin-top: 7px;
}

/* ── SECTORES ── */
.sectores { background: var(--white); }
.sec-tabs { display: flex; gap: 4px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 22px; border: 1px solid var(--gray-200); border-radius: 3px;
  background: transparent; font-family: var(--font-title); font-size: 13px;
  font-weight: 700; letter-spacing: 0.3px; color: var(--gray-400);
  cursor: pointer; transition: all 0.2s; text-transform: uppercase;
}
.tab-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.tab-btn.active { background: var(--deep-slate); border-color: var(--deep-slate); color: #fff; }
.tab-content { display: none; }
.tab-content.active { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.sector-h3 { font-family: var(--font-title); font-size: 26px; font-weight: 800; color: var(--gray-900); margin-bottom: 14px; }
.sector-desc { font-size: 16px; color: var(--gray-700); line-height: 1.85; margin-bottom: 28px; }
.benefits { display: flex; flex-direction: column; gap: 10px; }
.benefit {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 16px; border-radius: 6px; background: var(--gray-50);
  border-left: 3px solid var(--lime); font-size: 14px; color: var(--gray-700); line-height: 1.65;
}
.info-box { background: var(--gray-50); border-radius: 8px; padding: 26px; border: 1px solid var(--gray-200); }
.info-box h4 {
  font-family: var(--font-title); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gray-400); margin-bottom: 16px;
}
.model-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--gray-200); font-size: 14px;
}
.model-row:last-child { border-bottom: none; }
.model-name { font-family: var(--font-title); font-weight: 700; color: var(--deep-slate); }
.model-spec { color: var(--gray-400); font-size: 13px; }

/* ── DARK BAND ── */
.dark-band { background: var(--deep-slate); padding: 96px 56px; position: relative; overflow: hidden; }
.dark-band::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.dark-band-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.dark-band .sec-tag { color: var(--lime); }
.dark-band h2 { font-family: var(--font-title); font-weight: 800; font-size: clamp(26px,3vw,38px); color: #fff; margin-bottom: 16px; line-height: 1.18; }
.dark-band .sec-lead { color: rgba(255,255,255,0.55); }
.chain { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.chain-item {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px; padding: 15px 20px;
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; color: rgba(255,255,255,0.8); transition: background 0.2s;
}
.chain-item:hover { background: rgba(255,255,255,0.1); }
.chain-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg,#8ED33D,#00A9CE); flex-shrink: 0; }

/* ── KEEPFRESH HISTORIA ── */
.historia { background: var(--gray-50); }
.historia-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; align-items: start; }
.historia-aside {
  background: var(--deep-slate); border-radius: 10px; padding: 40px 34px;
  position: sticky; top: 100px; position: relative;
}
.historia-aside::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); border-radius: 10px 10px 0 0; }
.big-num {
  font-family: var(--font-title); font-size: 68px; font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.historia-aside p { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 12px; line-height: 1.75; }
.historia-body p { font-size: 16px; color: var(--gray-700); line-height: 1.9; margin-bottom: 22px; }
.comp-box { background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px; padding: 28px; margin-top: 8px; }
.comp-box h4 { font-family: var(--font-title); font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 18px; }
.comp-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.comp-badge {
  background: linear-gradient(135deg, rgba(142,211,61,0.15), rgba(0,169,206,0.15));
  border: 1px solid rgba(142,211,61,0.3); color: var(--deep-slate);
  font-family: var(--font-title); font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px; flex-shrink: 0; margin-top: 2px;
}
.comp-row p { font-size: 14px; color: var(--gray-700); line-height: 1.7; }

/* ── CONTACTO ── */
.contacto { background: var(--white); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
.citem { display: flex; gap: 16px; align-items: flex-start; }
.cicon {
  width: 42px; height: 42px; border-radius: 6px;
  background: linear-gradient(135deg, rgba(142,211,61,0.15), rgba(0,169,206,0.15));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cicon svg { width: 20px; height: 20px; }
.citem h4 { font-family: var(--font-title); font-size: 11px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.citem p, .citem a { font-size: 16px; color: var(--gray-900); text-decoration: none; }
.citem a:hover { color: var(--cyan); }
.contact-logo-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 10px;
  padding: 44px; min-height: 430px; align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 18px 54px rgba(26,48,53,0.08);
}
.contact-logo-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
}
.contact-logo-card::after {
  content: ''; position: absolute; inset: 12% 6%;
  background: radial-gradient(circle, rgba(142,211,61,0.10) 0%, rgba(0,169,206,0.08) 42%, transparent 72%);
  pointer-events: none;
}
.contact-logo-card img {
  position: relative; z-index: 1;
  width: min(100%, 390px); height: auto; display: block;
}
.form-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 10px; padding: 40px; }
.form-card h3 { font-family: var(--font-title); font-size: 22px; font-weight: 700; color: var(--gray-900); margin-bottom: 28px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-family: var(--font-title); font-size: 12px; font-weight: 700; color: var(--gray-700); margin-bottom: 7px; letter-spacing: 0.5px; text-transform: uppercase; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: 5px;
  font-family: var(--font-body); font-size: 15px; color: var(--gray-900);
  background: var(--white); outline: none; transition: border-color 0.2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--cyan); }
.form-row textarea { min-height: 100px; resize: vertical; }
.form-submit {
  width: 100%; padding: 14px; border: none; border-radius: 5px;
  background: linear-gradient(90deg, #8ED33D, #00A9CE);
  color: var(--deep-slate); font-family: var(--font-title); font-size: 14px;
  font-weight: 800; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.88; }

/* ── FOOTER ── */
.footer-top-bar { height: 3px; background: linear-gradient(90deg, #8ED33D, #00A9CE); }
footer { background: var(--gray-900); padding: 64px 56px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.8; max-width: 260px; }
.footer-col h4 { font-family: var(--font-title); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--lime); }
.eco-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(142,211,61,0.08); border: 1px solid rgba(142,211,61,0.2);
  border-radius: 3px; padding: 6px 14px;
}
.eco-badge span { font-family: var(--font-title); font-size: 11px; font-weight: 700; color: var(--lime); letter-spacing: 0.5px; text-transform: uppercase; }

@media(max-width:900px){
  nav { padding: 0 20px; height: 78px; }
  .nav-logo { height: 78px; gap: 16px; }
  .nav-logo .site-logo { height: 60px; max-height: 60px; }
  .logo-divider { height: 38px; }
  .partner-logo-wrap { height: 78px; }
  .nav-logo .principal-logo { height: 130px; max-height: none; }
  .hero { padding-top: 78px; }
  .nav-links { display: none; }
  section, .dark-band { padding: 64px 20px; }
  .hero-inner, .empresa-grid, .science-dark, .dark-band-inner,
  .historia-grid, .contacto-grid, .tab-content.active { grid-template-columns: 1fr; gap: 40px; }
  .prod-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-logo-card { min-height: 320px; padding: 32px 22px; }
  .contact-logo-card img { width: min(100%, 310px); }
}