﻿/*
 * Landing del portal (Views/Home/Index.cshtml).
 * Estilos tomados del diseño cytrum_final.html (ticket D26-854). Los ajustes propios de la
 * implementación (enlaces, formulario, avisos y responsive) están al final del archivo.
 */

/* ─── TOKENS ─── */
:root {
  --navy:    #0C1B33;
  --green:   #E06800;
  --green-m: #F47920;
  --green-l: #FEF3E8;
  --green-b: #FBCFA0;
  --accent:  #8DC63F;
  --white:   #FFFFFF;
  --off:     #F7F6F2;
  --gray:    #E8E7E2;
  --text:    #1A1A18;
  --muted:   #6B6B65;
  --amber:   #FAEEDA;
  --amber-b: #EF9F27;
  --blue-l:  #E6F1FB;
  --blue:    #185FA5;
  --red-l:   #FCEBEB;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --shadow: 0 2px 16px rgba(12,27,51,0.10);
  --shadow-lg: 0 8px 40px rgba(12,27,51,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

/* ─── PAGE SYSTEM ─── */
.page { display: none; }
.page.active { display: block; }

/* ─── NAV ─── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,27,51,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 48px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; font-weight: 400; transition: color 0.2s; cursor: pointer; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--green-m); color: var(--white);
  font-size: 13px; font-weight: 500; padding: 10px 22px;
  border-radius: var(--r-sm); border: none; cursor: pointer;
  transition: background 0.2s; font-family: 'Inter', sans-serif;
}
.nav-cta:hover { background: var(--green); }

/* ─── HERO ─── */
.hero {
  background: var(--navy);
  padding: 96px 48px 80px;
  display: grid; grid-template-columns: 1fr 380px; gap: 64px;
  align-items: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(29,158,117,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(29,158,117,0.15); border: 1px solid rgba(93,202,165,0.35);
  color: var(--accent); font-size: 11px; font-weight: 500;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.hero-badge::before { content: '●'; font-size: 8px; color: var(--green-m); }
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 52px; line-height: 1.1; color: var(--white);
  margin-bottom: 20px; letter-spacing: -0.5px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.btn-primary {
  background: var(--green-m); color: var(--white);
  font-size: 14px; font-weight: 500; padding: 13px 26px;
  border-radius: var(--r-sm); border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; transition: background 0.2s;
}
.btn-primary:hover { background: var(--green); }
.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.7);
  font-size: 14px; font-weight: 400; padding: 13px 22px;
  border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }
.hero-fine { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.3px; }
.hero-stats { display: flex; gap: 0; margin-top: 44px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; }
.stat { flex: 1; padding-right: 24px; border-right: 1px solid rgba(255,255,255,0.08); margin-right: 24px; }
.stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: 34px; color: var(--white); line-height: 1; }
.stat-label { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 4px; line-height: 1.4; }

/* Hero card */
.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl); padding: 24px;
  backdrop-filter: blur(10px);
}
.hero-card-label { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 16px; }
.hero-svc {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-svc:last-child { border-bottom: none; }
.hero-svc-link { cursor: pointer; border-radius: var(--r-sm); transition: background 0.18s; }
.hero-svc-link:hover { background: rgba(255,255,255,0.08); padding-left: 8px; padding-right: 8px; margin-left: -8px; margin-right: -8px; }
.hero-svc-link:hover .svc-name { color: #fff; }
.hero-svc-link:hover .svc-arrow { opacity: 1; transform: translateX(3px); }
.svc-arrow { margin-left: auto; font-size: 14px; color: rgba(255,255,255,0.4); opacity: 0; transition: all 0.18s; }
.svc-ico {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(29,158,117,0.15); display: flex; align-items: center;
  justify-content: center; font-size: 17px; flex-shrink: 0;
}
.svc-name { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); }
.svc-tag {
  margin-left: auto; font-size: 10px; font-weight: 500;
  background: rgba(29,158,117,0.2); color: var(--accent);
  padding: 2px 9px; border-radius: 20px;
}

/* ─── SECTIONS ─── */
.section { padding: 88px 48px; }
.section-off { background: var(--off); }
.section-navy { background: var(--navy); }
.section-green { background: var(--green-l); }

.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green-m); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::after { content: ''; flex: 0 0 32px; height: 2px; background: var(--green-m); border-radius: 2px; }
.section-title { font-family: 'DM Serif Display', serif; font-size: 38px; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.3px; }
.section-title.light { color: var(--white); }
.section-sub { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 560px; margin-bottom: 48px; }
.section-sub.light { color: rgba(255,255,255,0.55); }

/* ─── PAIN CARDS ─── */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pain-card {
  background: var(--white); border: 1px solid var(--gray);
  border-radius: var(--r-lg); padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pain-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pain-ico { font-size: 24px; margin-bottom: 14px; }
.pain-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.pain-text { font-size: 13px; color: var(--muted); line-height: 1.65; }
.pain-card.amber { background: var(--amber); border-color: var(--amber-b); }
.pain-card.amber .pain-title { color: #633806; }
.pain-card.amber .pain-text { color: #854F0B; }

/* ─── SERVICES GRID ─── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.services-grid .svc-card:first-child { grid-column: span 2; }
.svc-card {
  background: var(--white); border: 1px solid var(--gray);
  border-radius: var(--r-lg); padding: 28px; cursor: pointer;
  transition: all 0.2s; position: relative; overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--green-m); transform: scaleX(0);
  transition: transform 0.25s; transform-origin: left;
}
.svc-card:hover { box-shadow: var(--shadow); border-color: var(--green-b); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card.featured { background: var(--navy); border-color: transparent; }
.svc-card.featured .svc-card-title { color: var(--white); }
.svc-card.featured .svc-card-text { color: rgba(255,255,255,0.55); }
.svc-card.featured .svc-card-link { color: var(--accent); }
.svc-card.featured::before { background: var(--accent); }
.svc-card-ico {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
  background: var(--green-l);
}
.svc-card.featured .svc-card-ico { background: rgba(29,158,117,0.2); }
.svc-card-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.svc-card-text { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.svc-card-link { font-size: 13px; font-weight: 500; color: var(--green-m); display: flex; align-items: center; gap: 6px; }

/* ─── CLIENTS BAND ─── */
.clients-band {
  background: var(--off); border-top: 1px solid var(--gray); border-bottom: 1px solid var(--gray);
  padding: 28px 48px; display: flex; align-items: center; gap: 48px;
}
.clients-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.clients-items { display: flex; gap: 40px; align-items: center; flex: 1; }
.client-item { font-size: 14px; font-weight: 600; color: var(--muted); opacity: 0.5; letter-spacing: 0.5px; }

/* ─── VS TABLE ─── */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-card { border-radius: var(--r-lg); padding: 28px; border: 1px solid; }
.vs-card.before { background: var(--red-l); border-color: #FAC3C3; }
.vs-card.after { background: var(--green-l); border-color: var(--green-b); }
.vs-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; }
.vs-card.before .vs-label { color: #A32D2D; }
.vs-card.after .vs-label { color: var(--green); }
.vs-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid; font-size: 13px; line-height: 1.55; }
.vs-item:last-child { border-bottom: none; }
.vs-card.before .vs-item { color: #7A2020; border-color: rgba(163,45,45,0.12); }
.vs-card.after .vs-item { color: var(--green); border-color: rgba(15,110,86,0.12); }
.vs-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* ─── STEPS ─── */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 680px; }
.step {
  display: flex; gap: 20px; padding: 24px 0;
  border-bottom: 1px solid var(--gray);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-m); color: var(--white);
  font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.step-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.step-text { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ─── FEATURES GRID ─── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-card {
  background: var(--white); border: 1px solid var(--gray);
  border-radius: var(--r-lg); padding: 24px; transition: all 0.2s;
}
.feat-card:hover { box-shadow: var(--shadow); border-color: var(--green-b); }
.feat-ico { font-size: 22px; margin-bottom: 12px; }
.feat-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.feat-text { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ─── FOR WHO ─── */
.for-who { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.for-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; background: var(--white);
  border: 1px solid var(--gray); border-radius: var(--r-lg);
  transition: all 0.2s;
}
.for-item:hover { border-color: var(--green-b); box-shadow: var(--shadow); }
.for-ico {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--green-l); display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.for-title { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.for-text { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ─── RISK BANNER ─── */
.risk-banner {
  background: var(--amber); border: 1px solid var(--amber-b);
  border-radius: var(--r-lg); padding: 24px 28px;
  display: flex; gap: 18px; align-items: flex-start;
  margin-bottom: 48px;
}
.risk-icon { font-size: 28px; flex-shrink: 0; }
.risk-title { font-size: 15px; font-weight: 600; color: #412402; margin-bottom: 6px; }
.risk-text { font-size: 13px; color: #633806; line-height: 1.65; }

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--navy); padding: 80px 48px;
  text-align: center;
}
.cta-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 38px; color: var(--white); margin-bottom: 16px;
  max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.2;
}
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.55); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-fine-text { font-size: 12px; color: rgba(255,255,255,0.25); margin-top: 16px; }

/* ─── PROOF SECTION ─── */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray); border-radius: var(--r-lg); overflow: hidden; }
.proof-item { background: var(--white); padding: 32px 24px; text-align: center; }
.proof-num { font-family: 'DM Serif Display', serif; font-size: 44px; color: var(--green-m); line-height: 1; margin-bottom: 8px; }
.proof-text { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─── FOOTER ─── */
.site-footer {
  background: #080F1C; padding: 48px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px;
}
.footer-logo { display: flex; align-items: center; margin-bottom: 10px; }
.footer-logo span { color: var(--accent); }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.6; }
.footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; cursor: pointer; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  background: #050B14; padding: 18px 48px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }

/* ─── PAGE HEADER (service pages) ─── */
.page-hero {
  background: var(--navy); padding: 72px 48px 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; bottom: -80px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(29,158,117,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.page-hero h1 {
  font-family: 'DM Serif Display', serif; font-size: 44px;
  color: var(--white); line-height: 1.15; margin-bottom: 18px;
  max-width: 780px; letter-spacing: -0.3px;
}
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero-sub { font-size: 16px; color: rgba(255,255,255,0.58); line-height: 1.75; max-width: 620px; margin-bottom: 32px; }
.page-hero-fine { font-size: 11px; color: rgba(255,255,255,0.25); margin-top: 10px; letter-spacing: 0.3px; }
.page-hero-actions { display: flex; gap: 12px; align-items: center; }

/* ─── UTILITY ─── */
.container { max-width: 1200px; margin: 0 auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.divider-green { height: 3px; width: 48px; background: var(--green-m); border-radius: 2px; margin-bottom: 40px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .svc-card:first-child { grid-column: span 1; }
  .vs-grid, .two-col { grid-template-columns: 1fr; }
  .section { padding: 56px 24px; }
  .site-nav { padding: 0 24px; }
  .hero { padding: 64px 24px 56px; }
}

/* ─── DROPDOWNS ─── */
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 5px; cursor: pointer; padding-bottom: 8px; margin-bottom: -8px; }
.nav-item > a::after { content: '▾'; font-size: 9px; opacity: 0.5; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  background: rgba(10,20,40,0.98); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.10); border-radius: var(--r-lg);
  padding: 8px; min-width: 220px; z-index: 200;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  margin-top: 0;
}
.nav-item:hover .dropdown { display: block; }
/* Bridge to prevent gap between trigger and panel */
.nav-item > .dropdown::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm);
  color: rgba(255,255,255,0.75); font-size: 13px; cursor: pointer;
  transition: background 0.15s;
}
.dropdown-item:hover { background: rgba(255,255,255,0.07); color: #fff; }
.dropdown-item-ico {
  width: 30px; height: 30px; border-radius: 7px;
  background: rgba(255,255,255,0.06); display: flex;
  align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0;
}
.dropdown-section-label {
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  padding: 6px 12px 4px;
}


/* ─── NOSOTROS MEGA PANELS ─── */
.nav-item { position: static; }
.site-nav { overflow: visible; position: sticky; }

.mega-trigger { position: relative; }
.mega-panel {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: rgba(8,16,32,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 500;
  padding: 40px 64px 48px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.mega-trigger:hover .mega-panel { display: block; }
.mega-panel:hover { display: block; }
.mega-trigger > a { padding-bottom: 28px; margin-bottom: -28px; }

.mega-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; max-width: 1000px; }
.mega-col-title {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  margin-bottom: 18px; display: flex; align-items: center; gap: 8px;
}
.mega-col-title::after { content:''; flex:1; height:1px; background:rgba(255,255,255,0.08); }

/* Quiénes somos */
.quienes-text {
  font-size: 13px; color: rgba(255,255,255,0.6);
  line-height: 1.85; margin-bottom: 16px;
}
.quienes-highlight {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 14px 16px;
  font-size: 12px; color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.quienes-highlight strong { color: rgba(255,255,255,0.75); font-weight: 500; }

/* AMITI */
.amiti-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(141,198,63,0.12);
  border: 1px solid rgba(141,198,63,0.25);
  border-radius: 10px; padding: 12px 16px;
  margin-bottom: 16px; width: 100%;
}
.amiti-dot {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(141,198,63,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.amiti-badge-title { font-size: 13px; font-weight: 600; color: #8DC63F; }
.amiti-badge-sub { font-size: 11px; color: rgba(141,198,63,0.6); margin-top: 1px; }
.amiti-benefit {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.6;
}
.amiti-benefit:last-child { border-bottom: none; padding-bottom: 0; }
.amiti-benefit-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }

/* Contacto */
.contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; margin-bottom: 10px;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer; text-decoration: none;
}
.contact-item:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.15); }
.contact-ico {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(244,121,32,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-label { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 3px; }
.contact-value { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8); }
.contact-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F47920; color: #fff;
  font-size: 13px; font-weight: 500; padding: 11px 20px;
  border-radius: 8px; border: none; cursor: pointer;
  margin-top: 8px; width: 100%; justify-content: center;
  font-family: 'Inter', sans-serif; transition: background 0.2s;
}
.contact-cta:hover { background: #E06800; }


/* ─── DEMO MODAL ─── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(5,10,20,0.80); backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #0E1C33; border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px; padding: 40px 44px; width: 100%; max-width: 480px;
  position: relative; box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  animation: modalIn 0.22s ease;
}
@keyframes modalIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: rgba(255,255,255,0.07); border: none; color: rgba(255,255,255,0.5);
  width: 30px; height: 30px; border-radius: 50%; font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,0.14); color: #fff; }
.modal-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #F47920; margin-bottom: 10px; }
.modal-title { font-family: 'DM Serif Display', serif; font-size: 26px; color: #fff; line-height: 1.25; margin-bottom: 6px; }
.modal-sub { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 28px; line-height: 1.6; }
.modal-field { margin-bottom: 14px; }
.modal-label { font-size: 11px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 6px; display: block; }
.modal-input {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10); border-radius: 8px;
  padding: 11px 14px; font-size: 14px; color: #fff;
  font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s;
}
.modal-input:focus { border-color: #F47920; background: rgba(244,121,32,0.06); }
.modal-input::placeholder { color: rgba(255,255,255,0.2); }
.modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-textarea { resize: vertical; min-height: 80px; }
.modal-submit {
  width: 100%; background: #F47920; color: #fff;
  font-size: 14px; font-weight: 600; padding: 13px;
  border-radius: 8px; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; margin-top: 8px;
  transition: background 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.modal-submit:hover { background: #E06800; }
.modal-fine { font-size: 11px; color: rgba(255,255,255,0.2); text-align: center; margin-top: 10px; }
.modal-success { display: none; text-align: center; padding: 20px 0; }
.modal-success-icon { font-size: 48px; margin-bottom: 16px; }
.modal-success-title { font-family: 'DM Serif Display', serif; font-size: 22px; color: #fff; margin-bottom: 8px; }
.modal-success-text { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ─── MVV SECTION ─── */
.mvv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.mvv-card {
  border-radius: var(--r-xl); padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s, transform 0.2s;
}
.mvv-card:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-3px); }
.mvv-card.mision { background: linear-gradient(135deg, rgba(244,121,32,0.08) 0%, rgba(12,27,51,0.6) 100%); }
.mvv-card.vision { background: linear-gradient(135deg, rgba(141,198,63,0.08) 0%, rgba(12,27,51,0.6) 100%); }
.mvv-card.valores { background: linear-gradient(135deg, rgba(24,95,165,0.10) 0%, rgba(12,27,51,0.6) 100%); }
.mvv-ico { font-size: 32px; margin-bottom: 16px; }
.mvv-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.mision .mvv-label { color: #F47920; }
.vision .mvv-label { color: #8DC63F; }
.valores .mvv-label { color: #5B9FD4; }
.mvv-title { font-family: 'DM Serif Display', serif; font-size: 22px; color: #fff; margin-bottom: 14px; line-height: 1.25; }
.mvv-text { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.8; }
.mvv-values-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mvv-values-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.mvv-values-list li::before { content: '→'; color: #5B9FD4; flex-shrink: 0; font-weight: 600; }

/* ─── TESTIMONIALS ─── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi-card {
  background: var(--white); border: 1px solid var(--gray);
  border-radius: var(--r-xl); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testi-stars { color: #F47920; font-size: 14px; letter-spacing: 2px; }
.testi-quote { font-size: 13px; color: var(--muted); line-height: 1.75; flex: 1; font-style: italic; }
.testi-quote::before { content: '"'; font-size: 40px; color: var(--gray); line-height: 0.5; display: block; margin-bottom: 8px; font-style: normal; }
.testi-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--gray); padding-top: 16px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--off); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.testi-name { font-size: 13px; font-weight: 600; color: var(--text); }
.testi-role { font-size: 11px; color: var(--muted); margin-top: 1px; }

/* ═══════════════════════════════════════════════
   AJUSTES DE IMPLEMENTACIÓN
═══════════════════════════════════════════════ */

[hidden] { display: none !important; }

.nav-logo img, .footer-logo img { height: 38px; width: auto; display: block; }

/* Lo navegable del diseño ahora son enlaces reales (<a href="#pagina">) */
a.svc-card, a.hero-svc, .nav-logo { color: inherit; text-decoration: none; }
a.svc-card { display: block; }
.nav-links a.dropdown-item { color: rgba(255,255,255,0.75); }
.nav-links a.dropdown-item:hover { color: #fff; }

/* La barra es sticky: que no tape el inicio de las secciones a las que se salta */
.section[id] { scroll-margin-top: 80px; }

/* Menús de la barra también con teclado */
.nav-item:focus-within .dropdown,
.mega-trigger:focus-within .mega-panel { display: block; }

/* Formulario de demostración */
.modal-overlay { overflow-y: auto; padding: 16px; }
.modal-box { margin: auto; }
/* La lista del select la pinta el navegador: sin esto sale letra blanca sobre fondo claro */
select.modal-input { color-scheme: dark; }
.modal-input option { color: #fff; background: #0E1C33; }
.modal-error {
  background: rgba(226,75,74,0.12); border: 1px solid rgba(226,75,74,0.35);
  color: #F7C1C1; font-size: 13px; line-height: 1.5;
  padding: 10px 12px; border-radius: 8px; margin-bottom: 14px;
}
.modal-submit:disabled { opacity: 0.6; cursor: wait; }
.modal-row { align-items: end; }
/* Teléfono: lada del país + número */
.campo-telefono { display: flex; gap: 8px; }
.campo-telefono select { flex: 0 0 178px; min-width: 0; }
.campo-telefono input { flex: 1 1 auto; min-width: 0; }
.campo-trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Avisos del portal que llegan al landing (p. ej. "El cliente no se encuentra disponible") */
.avisos-ui {
  position: fixed; top: 84px; right: 24px; z-index: 9500;
  display: flex; flex-direction: column; gap: 10px;
  width: 360px; max-width: calc(100% - 32px);
}
.aviso-ui {
  position: relative; background: #0E1C33; color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.12); border-left: 4px solid #5B9FD4;
  border-radius: 10px; padding: 14px 40px 14px 16px;
  font-size: 13px; line-height: 1.55; box-shadow: var(--shadow-lg);
  animation: modalIn 0.22s ease;
}
.aviso-ui.success { border-left-color: var(--accent); }
.aviso-ui.warning { border-left-color: var(--amber-b); }
.aviso-ui.danger { border-left-color: #E24B4A; }
.aviso-ui-cerrar {
  position: absolute; top: 8px; right: 8px; width: 24px; height: 24px;
  border: none; border-radius: 50%; background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6); font-size: 12px; cursor: pointer;
}
.aviso-ui-cerrar:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Responsive: el diseño es de escritorio; en tablet y móvil se apilan las rejillas */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .clients-band { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .clients-items { flex-wrap: wrap; gap: 12px 28px; }
  .hero-stats { flex-wrap: wrap; row-gap: 20px; }
  .stat { flex: 1 1 40%; }
  .stat:nth-child(2n) { border-right: none; margin-right: 0; padding-right: 0; }
  .mvv-grid, .testi-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 24px 48px; }
  .page-hero h1 { font-size: 34px; }
  .cta-section { padding: 56px 24px; }
  .site-footer { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; padding: 18px 24px; text-align: center; }
  .avisos-ui { top: 80px; right: 16px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 36px; }
  .section-title, .cta-section h2 { font-size: 28px; }
  .features-grid, .proof-grid { grid-template-columns: 1fr; }
  .hero-actions, .page-hero-actions { flex-wrap: wrap; }
  .site-nav { padding: 0 16px; gap: 12px; }
  .nav-logo img { height: 28px; }
  .nav-cta { padding: 9px 12px; font-size: 12px; white-space: nowrap; }
  .risk-banner { flex-direction: column; }
  .modal-box { padding: 32px 20px 24px; }
  .modal-row { grid-template-columns: 1fr; gap: 0; }
  .campo-telefono select { flex-basis: 140px; }
}
