/* ============================================================
   OPTIMUS CMMS — Industrial Precision Design System v3

   Fingerprint:
     - Machine Amber (#F59E0B) como único acento de marca
     - Space Grotesk para títulos (geométrico, industrial)
     - Technical grid CSS en secciones oscuras
     - Hero / Pro card / CTA: oscuro — crea ritmo dramático
   ============================================================ */

:root {
  /* Surfaces */
  --c-ink:         #101828;   /* navy profundo — secciones oscuras */
  --c-ink-mid:     #1D2D44;   /* navy medio — cards oscuras */
  --c-ink-light:   #2A3D5A;   /* navy claro — bordes en oscuro */
  --c-bg:          #FFFFFF;
  --c-bg-alt:      #F8FAFC;

  /* Text */
  --c-text:        #101828;
  --c-text-soft:   #475569;
  --c-text-muted:  #8898AA;

  /* Fingerprint — amber de maquinaria */
  --c-amber:       #F59E0B;
  --c-amber-dim:   rgba(245,158,11,.10);
  --c-amber-glow:  rgba(245,158,11,.28);

  /* Primary actions */
  --c-electric:      #2563EB;
  --c-electric-dark: #1D4ED8;
  --c-electric-soft: rgba(37,99,235,.08);

  /* Functional */
  --c-success:  #059669;
  --c-danger:   #DC2626;
  --c-warning:  #D97706;

  /* Borders */
  --c-border:     #E2E8F4;
  --c-border-mid: #CBD5E1;
  --c-border-dk:  rgba(255,255,255,.10);  /* sobre fondos oscuros */

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(16,24,40,.04);
  --shadow-sm: 0 1px 4px rgba(16,24,40,.06), 0 1px 2px rgba(16,24,40,.04);
  --shadow-md: 0 4px 16px rgba(16,24,40,.08), 0 2px 4px rgba(16,24,40,.04);
  --shadow-lg: 0 12px 40px rgba(16,24,40,.12), 0 4px 8px rgba(16,24,40,.06);
  --shadow-amber: 0 4px 24px rgba(245,158,11,.28);
  --shadow-dark:  0 24px 60px rgba(0,0,0,.40);

  /* Geometry */
  --radius:      10px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-pill: 999px;
  --maxw:        1180px;

  /* Typography */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block }
a { color: var(--c-electric); text-decoration: none }
a:hover { text-decoration: underline }
button { font-family: inherit; cursor: pointer; border: none; background: none }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce-bar {
  background: var(--c-ink);
  color: rgba(255,255,255,.7);
  text-align: center; padding: 9px 24px;
  font-size: .8rem; font-weight: 500;
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.announce-bar strong { color: var(--c-amber) }
.announce-bar a { color: var(--c-amber); font-weight: 700; text-decoration: underline }
.announce-bar .close-bar {
  position: absolute; right: 14px; cursor: pointer;
  opacity: .4; font-size: .95rem;
  border: none; background: none; color: #fff; padding: 4px;
}
.announce-bar .close-bar:hover { opacity: 1 }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

/* ---------- Brand ---------- */
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem;
  color: var(--c-text); letter-spacing: -.2px;
}
.brand img { height: 36px; width: 36px; object-fit: contain }
.brand small {
  display: block; font-weight: 500; font-size: .66rem;
  color: var(--c-text-muted); letter-spacing: .7px;
  text-transform: uppercase; font-family: var(--font-body);
}
.logo-img {
  height: 52px; width: auto; margin-right: 2px;
  transition: transform .3s ease;
}
.brand:hover .logo-img { transform: scale(1.06) }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.5rem; letter-spacing: -.5px;
}
.cmms {
  color: var(--c-amber) !important;
  font-weight: 800; letter-spacing: 1px;
}

/* ---------- Nav ---------- */
.nav { display: flex; gap: 28px; align-items: center }
.nav a {
  color: var(--c-text-soft); font-weight: 500; font-size: .9rem;
  position: relative; padding-bottom: 2px;
}
.nav a::after {
  content: ""; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--c-amber); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover { color: var(--c-text); text-decoration: none }
.nav a:hover::after { transform: scaleX(1) }

.nav-cta { display: flex; gap: 10px; align-items: center }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600; font-size: .9rem;
  transition: all .18s ease;
  border: 1.5px solid transparent; cursor: pointer;
  letter-spacing: .1px; white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: .98rem }

.btn-primary {
  background: var(--c-ink); color: #fff;
  border-color: var(--c-ink);
}
.btn-primary:hover {
  background: var(--c-ink-mid); text-decoration: none;
  transform: translateY(-1px); box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: #fff; color: var(--c-text);
  border-color: var(--c-border-mid);
}
.btn-secondary:hover {
  border-color: var(--c-amber); color: var(--c-text);
  text-decoration: none; box-shadow: var(--shadow-xs);
}

.btn-ghost { color: var(--c-text-soft) }
.btn-ghost:hover { color: var(--c-text); text-decoration: none }

.btn-accent {
  background: var(--c-amber); color: var(--c-ink);
  border-color: var(--c-amber); font-weight: 700;
}
.btn-accent:hover {
  background: #E8940A; border-color: #E8940A; text-decoration: none;
  transform: translateY(-1px); box-shadow: var(--shadow-amber);
}

.mobile-toggle { display: none }

/* ============================================================
   HERO — sección oscura signature
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--c-ink);
  padding: 100px 0 120px;
  color: #fff;
}

/* Textura de grid técnico — fingerprint #1 */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
/* Amber glow blob — fingerprint #2 */
.hero::after {
  content: "";
  position: absolute; top: -120px; right: -160px;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.10) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px;
  align-items: center; position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,.10);
  border: 1px solid rgba(245,158,11,.22);
  color: var(--c-amber);
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: .76rem; font-weight: 600; letter-spacing: .3px;
  margin-bottom: 24px;
}
/* Dot pulsante — fingerprint #3 */
.hero-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-amber);
  box-shadow: 0 0 0 4px rgba(245,158,11,.18);
  animation: pulse-amber 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-amber {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245,158,11,.18) }
  50%       { box-shadow: 0 0 0 9px rgba(245,158,11,.06) }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.07; font-weight: 800;
  color: #fff; margin-bottom: 22px; letter-spacing: -.6px;
}
.hero h1 .h-accent { color: var(--c-amber) }

.hero-sub {
  font-size: 1.08rem; color: rgba(255,255,255,.65);
  margin-bottom: 32px; max-width: 510px; line-height: 1.7;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px }
/* Hero CTAs: amber primary, ghost secondary */
.hero-ctas .btn-primary {
  background: var(--c-amber); color: var(--c-ink);
  border-color: var(--c-amber); font-weight: 700;
}
.hero-ctas .btn-primary:hover {
  background: #E8940A; border-color: #E8940A;
  box-shadow: var(--shadow-amber); transform: translateY(-1px);
}
.hero-ctas .btn-secondary {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.18);
}
.hero-ctas .btn-secondary:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.36); color: #fff;
  box-shadow: none;
}

.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.42);
}
.hero-trust span { display: flex; align-items: center; gap: 6px }
.hero-trust span::before { content: "✓"; color: var(--c-amber); font-weight: 700 }

/* ============================================================
   DASHBOARD MOCKUP — dark HUD aesthetic
   ============================================================ */
.mockup {
  background: var(--c-ink-mid);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border-dk);
  overflow: hidden;
  box-shadow: var(--shadow-dark), 0 0 0 1px rgba(255,255,255,.05);
}
.mockup-header {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--c-border-dk);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
}
.mockup-header .dots { display: flex; gap: 6px }
.mockup-header .dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.10); display: block;
}
.mockup-header .url {
  margin-left: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 6px; padding: 3px 12px;
  font-size: .7rem; color: rgba(255,255,255,.3);
  flex: 1; max-width: 220px;
}
.mockup-body { padding: 20px }
.mockup-title {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700; font-size: .88rem;
  color: rgba(255,255,255,.88); margin-bottom: 14px;
}
.mockup-title small {
  font-weight: 500; font-size: .66rem;
  color: var(--c-amber); font-family: var(--font-body);
}

.kpi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px }
.kpi-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; padding: 12px;
  transition: border-color .2s;
}
.kpi-card:hover { border-color: rgba(245,158,11,.28) }
.kpi-card .lbl {
  font-size: .6rem; color: rgba(255,255,255,.38);
  text-transform: uppercase; letter-spacing: .7px; font-weight: 600;
}
.kpi-card .val {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 800;
  color: #fff; line-height: 1.1; margin-top: 4px;
}
.kpi-card .val .u { font-size: .7rem; color: rgba(255,255,255,.35); font-weight: 500; margin-left: 1px }
.kpi-card .trend { font-size: .65rem; font-weight: 600; margin-top: 4px }
.kpi-card .trend.up   { color: #34D399 }
.kpi-card .trend.down { color: #F87171 }

.kpi-bar {
  height: 3px; background: rgba(255,255,255,.07);
  border-radius: 2px; overflow: hidden; margin-top: 8px;
}
.kpi-bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--c-electric), #60A5FA);
  border-radius: 2px; width: 0;
  transition: width 1.4s cubic-bezier(.2,.7,.2,1);
}
.kpi-card.warn .kpi-bar i { background: linear-gradient(90deg, var(--c-amber), #FCD34D) }
.kpi-card.ok   .kpi-bar i { background: linear-gradient(90deg, #059669, #34D399) }

.mockup-chart {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px; padding: 14px; height: 150px; position: relative;
}
.mockup-chart h4 {
  font-size: .64rem; color: rgba(255,255,255,.3);
  text-transform: uppercase; letter-spacing: .7px;
  margin-bottom: 8px; font-weight: 600;
}
.mockup-chart svg { width: 100%; height: 100px }

/* Overrides de colores del SVG inline → amber */
#linePath { stroke: var(--c-amber) !important; stroke-width: 2px !important }
#areaPath { fill: rgba(245,158,11,.07) !important }
#g1 stop        { stop-color: var(--c-amber) }
#g1 stop:last-child { stop-opacity: 0 }

/* ============================================================
   SECTIONS — base
   ============================================================ */
section { padding: 96px 0 }
.bg-alt { background: var(--c-bg-alt) }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px }

/* Eyebrow con cuadrado ámbar — fingerprint #4 */
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-text-muted); font-weight: 700; font-size: .73rem;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px;
}
.section-head .eyebrow::before {
  content: ""; display: inline-block;
  width: 8px; height: 8px;
  background: var(--c-amber); border-radius: 2px; flex-shrink: 0;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; margin-bottom: 16px;
  letter-spacing: -.4px; line-height: 1.14;
}
.section-head p { color: var(--c-text-soft); font-size: 1.03rem; line-height: 1.65 }

/* ============================================================
   STATS STRIP — dark with grid texture
   ============================================================ */
.stats-strip {
  background: var(--c-ink);
  padding: 0; position: relative;
}
.stats-strip::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 32px 32px;
}
.stats-inner {
  display: flex; justify-content: space-around; align-items: stretch;
  flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto;
  position: relative; z-index: 1;
}
.stat-item {
  text-align: center; color: #fff;
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,.06);
  flex: 1; min-width: 140px;
}
.stat-item:last-child { border-right: none }
.stat-item .sval {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800; line-height: 1;
  color: var(--c-amber);
}
.stat-item .slbl {
  font-size: .7rem; color: rgba(255,255,255,.42);
  margin-top: 6px; text-transform: uppercase; letter-spacing: .6px;
}

/* ============================================================
   SIN INTERNET — dark section with grid
   ============================================================ */
.sin-internet {
  background: var(--c-ink);
  color: #fff; border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px;
  align-items: center;
  position: relative; overflow: hidden;
}
.sin-internet::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 36px 36px;
}
.sin-internet > * { position: relative; z-index: 1 }
.sin-internet h2 {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 800; margin-bottom: 16px; color: #fff;
}
.sin-internet p { color: rgba(255,255,255,.68); font-size: 1rem; line-height: 1.65 }

.sin-pills { display: flex; flex-direction: column; gap: 12px; margin-top: 28px }
.sin-pill {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px; padding: 16px 18px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: border-color .2s;
}
.sin-pill:hover { border-color: rgba(245,158,11,.30) }
.sin-pill .ico { font-size: 1.4rem; flex-shrink: 0 }
.sin-pill strong { display: block; color: #fff; font-size: .9rem; margin-bottom: 2px }
.sin-pill span { color: rgba(255,255,255,.55); font-size: .82rem }

.sin-right { display: flex; flex-direction: column; gap: 8px }
.vs-row {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px; padding: 12px 16px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px;
  align-items: center; font-size: .83rem;
  transition: border-color .2s;
}
.vs-row.header {
  background: rgba(255,255,255,.09);
  font-weight: 700; font-size: .7rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .5px;
}
.vs-row:not(.header):hover { border-color: rgba(245,158,11,.22) }
.vs-row .c-yes  { color: #34D399; font-weight: 700; text-align: center }
.vs-row .c-no   { color: rgba(255,255,255,.28); text-align: center; font-size: .79rem }
.vs-row .c-name { color: rgba(255,255,255,.82); font-weight: 600 }

/* ============================================================
   SECTORES
   ============================================================ */
.sectores-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px }
.sector-card {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 24px 20px;
  text-align: center;
  transition: all .22s ease;
  position: relative;
}
/* Línea ámbar lateral — fingerprint #5 */
.sector-card::before {
  content: ""; position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px; background: var(--c-amber);
  border-radius: 0 2px 2px 0;
  opacity: 0; transition: opacity .22s ease;
}
.sector-card:hover {
  border-color: var(--c-border-mid);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.sector-card:hover::before { opacity: 1 }
.sector-card .sico { font-size: 1.8rem; margin-bottom: 12px }
.sector-card h4 { font-family: var(--font-display); font-size: .93rem; font-weight: 700; margin-bottom: 4px }
.sector-card p { font-size: .77rem; color: var(--c-text-muted) }

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px }
.feature {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 28px 26px;
  transition: all .22s ease; position: relative; overflow: hidden;
}
/* Línea ámbar sweep en hover — fingerprint #6 */
.feature::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-amber), rgba(245,158,11,.15));
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-border-mid);
}
.feature:hover::after { transform: scaleX(1) }
/* Iconos: navy con emoji blanco — limpio, coherente */
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--c-ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 1.25rem;
  flex-shrink: 0;
}
.feature h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; font-weight: 700 }
.feature p { color: var(--c-text-soft); font-size: .91rem; line-height: 1.57 }

/* ============================================================
   STEPS (3 pasos)
   ============================================================ */
.steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: ""; position: absolute;
  top: 33px; left: calc(16.66% + 24px); right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--c-amber), rgba(245,158,11,.15));
  z-index: 0;
}
.step {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-xl); padding: 32px 24px;
  text-align: center; position: relative; z-index: 1;
  transition: box-shadow .2s, border-color .2s;
}
.step:hover { box-shadow: var(--shadow-md); border-color: var(--c-amber) }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-ink); color: var(--c-amber);
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid var(--c-bg-alt);
  box-shadow: 0 0 0 2px var(--c-ink);
}
.step h3 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; margin-bottom: 8px }
.step p  { color: var(--c-text-soft); font-size: .9rem; line-height: 1.55 }
.step .step-time {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-amber-dim); color: #78590B;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: .74rem; font-weight: 700;
}

/* ============================================================
   TESTIMONIAL / CASO DE EXITO — dark
   ============================================================ */
.testimonial-wrap {
  background: var(--c-ink);
  border-radius: var(--radius-xl); padding: 52px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px;
  align-items: center;
  position: relative; overflow: hidden;
}
.testimonial-wrap::before {
  content: "";
  position: absolute; top: -80px; right: -80px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.07) 0%, transparent 65%);
}
.testimonial-quote {
  font-size: 1.1rem; font-style: italic;
  color: rgba(255,255,255,.82);
  line-height: 1.75; margin-bottom: 28px;
  padding-left: 20px;
  border-left: 3px solid var(--c-amber);  /* fingerprint */
}
.testimonial-meta { display: flex; align-items: center; gap: 14px }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-amber); color: var(--c-ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 800; flex-shrink: 0;
}
.testimonial-meta strong { display: block; font-size: .9rem; color: #fff; font-weight: 700 }
.testimonial-meta span  { font-size: .8rem; color: rgba(255,255,255,.45) }

.testimonial-kpis { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px }
.t-kpi {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg); padding: 22px;
  text-align: center; transition: border-color .2s;
}
.t-kpi:hover { border-color: rgba(245,158,11,.28) }
.t-kpi .tv {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800; color: var(--c-amber); line-height: 1;
}
.t-kpi .tl { font-size: .74rem; color: rgba(255,255,255,.42); margin-top: 6px }

/* ============================================================
   NORMAS
   ============================================================ */
.normas {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-xl); padding: 40px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px;
  align-items: center;
}
.normas-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px }
/* Left amber border en normas — fingerprint */
.norma {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 14px;
  transition: box-shadow .2s;
}
.norma:hover { box-shadow: var(--shadow-sm) }
.norma .code { font-family: var(--font-display); font-weight: 700; color: var(--c-ink); font-size: .9rem }
.norma .desc { font-size: .76rem; color: var(--c-text-muted); margin-top: 2px }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comp-table { width: 100%; border-collapse: collapse; font-size: .87rem }
.comp-table th {
  background: var(--c-ink); color: rgba(255,255,255,.6);
  padding: 14px 16px; text-align: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .5px;
}
.comp-table th:first-child { text-align: left; border-radius: var(--radius) 0 0 0 }
/* Columna OPTIMUS destacada en amber */
.comp-table th:last-child {
  background: var(--c-amber); color: var(--c-ink);
  border-radius: 0 var(--radius) 0 0;
}
.comp-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--c-border);
  text-align: center; color: var(--c-text-soft);
}
.comp-table td:first-child  { text-align: left; font-weight: 600; color: var(--c-text) }
.comp-table tr:last-child td { border-bottom: none }
.comp-table tr:hover td     { background: var(--c-bg-alt) }
.comp-table .yes     { color: var(--c-success); font-weight: 700 }
.comp-table .no      { color: var(--c-text-muted) }
.comp-table .partial { color: var(--c-warning); font-weight: 600 }
.comp-table td:last-child   { font-weight: 700; color: var(--c-ink) }
.comp-wrap {
  overflow-x: auto; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); border: 1px solid var(--c-border);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch }
.price {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-xl); padding: 36px 28px;
  display: flex; flex-direction: column; position: relative;
  transition: box-shadow .22s, border-color .22s;
}
.price:hover { box-shadow: var(--shadow-md) }

/* Plan Pro: card oscuro — el contraste hace que destaque sin artificio */
.price.featured {
  background: var(--c-ink);
  border: 2px solid rgba(245,158,11,.30);
  box-shadow: 0 14px 44px rgba(16,24,40,.22), 0 0 0 1px rgba(245,158,11,.10);
}
.price.featured:hover {
  border-color: rgba(245,158,11,.55);
  box-shadow: 0 18px 52px rgba(16,24,40,.28), var(--shadow-amber);
}
.price.featured h3,
.price.featured .amount strong { color: #fff }
.price.featured .tagline,
.price.featured .currency { color: rgba(255,255,255,.5) }
.price.featured ul li { color: rgba(255,255,255,.72); border-bottom-color: rgba(255,255,255,.07) }
.price.featured ul li::before { color: #34D399 }
.price.featured ul li.no::before { color: rgba(255,255,255,.22) }
.price.featured .btn-primary {
  background: var(--c-amber); color: var(--c-ink);
  border-color: var(--c-amber); font-weight: 700;
}
.price.featured .btn-primary:hover {
  background: #E8940A; border-color: #E8940A; box-shadow: var(--shadow-amber);
  transform: translateY(-1px);
}

.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--c-amber); color: var(--c-ink);
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 700;
  padding: 5px 14px; border-radius: var(--radius-pill);
  letter-spacing: .5px; text-transform: uppercase; white-space: nowrap;
}
.price h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; margin-bottom: 6px }
.price .tagline { color: var(--c-text-muted); font-size: .85rem; margin-bottom: 24px; min-height: 2.6em }
.price .amount  { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px }
.price .amount strong {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800; color: var(--c-text); letter-spacing: -.6px;
}
.price .amount span  { color: var(--c-text-muted); font-size: .88rem }
.price .currency     { color: var(--c-text-muted); font-size: .74rem; margin-bottom: 24px }
.price ul { list-style: none; margin-bottom: 28px; flex: 1 }
.price ul li {
  padding: 8px 0; font-size: .9rem; color: var(--c-text-soft);
  display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px solid var(--c-border);
}
.price ul li:last-child { border-bottom: none }
.price ul li::before { content: "✓"; color: var(--c-success); font-weight: 700; flex-shrink: 0 }
.price ul li.no::before { content: "–"; color: var(--c-text-muted) }
.price .btn { width: 100% }

/* ============================================================
   CTA BANNER — dark con grid
   ============================================================ */
.cta-banner {
  background: var(--c-ink);
  border-radius: var(--radius-xl); padding: 56px 52px; color: #fff;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px;
  align-items: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-banner > * { position: relative; z-index: 1 }
.cta-banner h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-bottom: 10px; color: #fff }
.cta-banner p  { color: rgba(255,255,255,.68); font-size: 1rem }
.cta-banner .ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end }
.cta-banner .btn-accent {
  background: var(--c-amber); color: var(--c-ink);
  border-color: var(--c-amber);
}
.cta-banner .btn-secondary {
  background: transparent; color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.22);
}
.cta-banner .btn-secondary:hover {
  background: rgba(255,255,255,.08); color: #fff;
  border-color: rgba(255,255,255,.45); box-shadow: none;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 52px }
.contact-info h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin-bottom: 8px }
.contact-info > p { color: var(--c-text-soft); margin-bottom: 28px }
.contact-channel {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); margin-bottom: 10px; transition: all .2s;
}
.contact-channel:hover {
  border-color: var(--c-amber);
  transform: translateX(4px); text-decoration: none; box-shadow: var(--shadow-xs);
}
.contact-channel .ico {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--c-ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
.contact-channel.whatsapp .ico { background: #059669 }
.contact-channel .txt strong { display: block; color: var(--c-text); font-size: .9rem }
.contact-channel .txt span   { color: var(--c-text-muted); font-size: .82rem }

.contact-form {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-xl); padding: 36px;
}
.contact-form h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin-bottom: 6px }
.contact-form > p { color: var(--c-text-soft); font-size: .9rem; margin-bottom: 24px }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.form-field { margin-bottom: 14px }
.form-field label {
  display: block; font-size: .76rem; font-weight: 600;
  color: var(--c-text); margin-bottom: 6px; letter-spacing: .2px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--c-border-mid);
  border-radius: var(--radius);
  font-family: inherit; font-size: .92rem; color: var(--c-text);
  background: #fff; transition: border-color .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,.10);
}
.form-field textarea { resize: vertical; min-height: 100px }
.form-status { margin-top: 14px; padding: 10px 14px; border-radius: var(--radius); font-size: .85rem; display: none }
.form-status.ok  { display: block; background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0 }
.form-status.err { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto }
.faq-item {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); margin-bottom: 10px; overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--c-border-mid) }
.faq-item.open  { border-color: var(--c-amber) }
.faq-q {
  width: 100%; padding: 20px 24px; text-align: left;
  font-family: var(--font-display);
  font-weight: 600; font-size: .96rem; color: var(--c-text);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q::after {
  content: "+"; color: var(--c-amber);
  font-weight: 300; font-size: 1.4rem; flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg) }
.faq-a {
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: all .25s ease;
  color: var(--c-text-soft); font-size: .92rem; line-height: 1.62;
}
.faq-item.open .faq-a { padding: 0 24px 20px; max-height: 300px }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--c-ink); color: rgba(255,255,255,.45); padding: 64px 0 28px }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 48px }
.footer-brand .brand { color: #fff; margin-bottom: 14px }
.footer-brand p { color: rgba(255,255,255,.4); font-size: .87rem; max-width: 280px; line-height: 1.62 }
.footer-col h4 {
  font-family: var(--font-display);
  color: #fff; font-size: .78rem; font-weight: 700;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1.1px;
}
.footer-col a { display: block; color: rgba(255,255,255,.42); padding: 5px 0; font-size: .87rem; transition: color .15s }
.footer-col a:hover { color: var(--c-amber); text-decoration: none }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .8rem; color: rgba(255,255,255,.28);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: all .2s; font-size: 1.5rem;
}
.wa-float:hover { transform: scale(1.08); text-decoration: none; color: #fff }

/* ============================================================
   LOGIN / PORTAL PAGE
   ============================================================ */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--c-ink); padding: 24px;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 40px 40px;
}
.login-card {
  background: #fff; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 440px; padding: 44px 36px;
}
.login-card .brand { justify-content: center; margin-bottom: 6px }
.login-card .brand img { height: 48px; width: 48px }
.login-card h1 { text-align: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin-bottom: 6px }
.login-card .sub { text-align: center; color: var(--c-text-muted); font-size: .9rem; margin-bottom: 30px }
.login-card .btn { width: 100%; margin-top: 10px }
.login-card .form-foot { text-align: center; margin-top: 18px; font-size: .86rem; color: var(--c-text-muted) }
.login-card .form-foot a { font-weight: 600; color: var(--c-ink) }
.login-back { text-align: center; margin-top: 20px; font-size: .86rem }
.login-info {
  background: var(--c-amber-dim); color: #78590B;
  padding: 12px 14px; border-radius: var(--radius);
  font-size: .84rem; margin-bottom: 22px; text-align: center;
  border: 1px solid rgba(245,158,11,.22);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width: 960px) {
  .hero-grid, .sin-internet, .testimonial-wrap, .normas,
  .contact-grid, .cta-banner { grid-template-columns: 1fr }
  .cta-banner .ctas { justify-content: flex-start }
  .features-grid { grid-template-columns: repeat(2,1fr) }
  .pricing-grid  { grid-template-columns: 1fr }
  .steps-grid::before { display: none }
  .steps-grid { grid-template-columns: 1fr }
  .sectores-grid { grid-template-columns: repeat(2,1fr) }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px }
  section { padding: 72px 0 }
  .sin-internet { padding: 40px 32px }
  .testimonial-wrap { padding: 40px 32px }
  .cta-banner { padding: 44px 36px }
}
@media(max-width: 700px) {
  .nav, .nav-cta .btn-ghost { display: none }
  .mobile-toggle {
    display: flex; font-size: 1.4rem;
    color: var(--c-text); padding: 6px;
  }
  .mobile-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--c-border);
    padding: 16px 24px; flex-direction: column; gap: 12px;
  }
  .mobile-nav.open { display: flex }
  .mobile-nav a { padding: 8px 0; color: var(--c-text-soft) }
  .form-row { grid-template-columns: 1fr }
  .footer-grid { grid-template-columns: 1fr }
  .hero { padding: 72px 0 88px }
  .sectores-grid { grid-template-columns: repeat(2,1fr) }
  .announce-bar { font-size: .75rem; padding: 9px 18px }
  section { padding: 56px 0 }
  .stats-inner { flex-wrap: wrap }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); min-width: 45% }
}
