/* ============================================================================
   CHECKPAR — Capa de marca sobre la plantilla base (main.css).
   Porta el sistema visual del brochure comercial a la landing:
   display condensada gigante (Anton ≈ Impact), acento naranja, navy/ice,
   kickers con tracking + línea de regla, alternancia claro/oscuro, capturas
   reales embebidas en monitor. Cargar DESPUÉS de main.css.
   ============================================================================ */

:root {
  --ck-orange:   #C0532F;
  --ck-orange-d: #D9663F;
  --ck-ink:      #1B2B45;
  --ck-ink-2:    #0F1B2E;
  --ck-ice:      #CADCFC;
  --ck-cyan:     #7FB4E8;
  --ck-body-d:   #5A6B80;   /* texto cuerpo sobre claro */
  --ck-body-l:   #A8B8CC;   /* texto cuerpo sobre oscuro */
  --ck-muted-l:  #8FA0B5;
  --ck-card-bd:  #D8E1EC;
  --ck-rule:     #B9C7D8;
  --ck-rule-d:   #2E4056;

  --ck-display: "Anton", "Arial Narrow", "Helvetica Neue", Impact, sans-serif;
  --ck-sans:    "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ck-cond:    "Barlow Semi Condensed", "Barlow", sans-serif;

  /* remapea las variables de la plantilla base a la paleta CHECKPAR */
  --default-font: var(--ck-sans);
  --heading-font: var(--ck-sans);
  --nav-font: var(--ck-cond);
  --accent-color: var(--ck-orange);
  --heading-color: var(--ck-ink);
  --default-color: var(--ck-body-d);
}

body.index-page {
  font-family: var(--ck-sans);
  color: var(--ck-body-d);
  background: #fff;
}

/* ---------------------------------------------------------------- tipografía */
.index-page h1, .index-page h2, .index-page h3,
.index-page h4, .index-page h5, .index-page h6 {
  font-family: var(--ck-sans);
  color: var(--ck-ink);
}

/* display gigante estilo brochure */
.ck-display,
.hero .carousel-container h2,
.section-title h2 {
  font-family: var(--ck-display) !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: .98;
  color: var(--ck-ink);
}
.section-title h2 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); }
.hero .carousel-container h2 { font-size: clamp(2.4rem, 6vw, 5rem); }

.index-page strong { color: inherit; font-weight: 700; }

/* ------------------------------------------------------------------- navbar */
.index-page .header {
  background: rgba(15, 27, 46, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}
.index-page .header .logo img { max-height: 66px; }
.index-page .navmenu a,
.index-page .navmenu a:focus {
  font-family: var(--ck-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  color: rgba(255,255,255,.82);
}
.index-page .navmenu a:hover,
.index-page .navmenu .active,
.index-page .navmenu .active:focus {
  color: #fff;
}
.index-page .navmenu a:hover::before,
.index-page .navmenu li:hover > a::before,
.index-page .navmenu .active::before {
  background: var(--ck-orange-d) !important;
}
.index-page .navmenu .dropdown ul a { color: var(--ck-ink); }

/* --------------------------------------------------------------------- hero */
.index-page .hero {
  background: var(--ck-ink-2) url("../../img/brand/bg_title.png") center/cover no-repeat;
  position: relative;
}
.index-page .hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,27,46,.55) 0%, rgba(15,27,46,.75) 100%);
  z-index: 0;
}
.index-page .hero .carousel-item { min-height: 100vh; }
.index-page .hero .carousel-item > img { display: none !important; } /* fuera renders IA de fondo */
.index-page .hero .carousel-container { position: relative; z-index: 2; }

.index-page .hero .carousel-container::before {
  content: "SISTEMA INTEGRAL DE CONTROL OPERATIVO";
  display: block;
  font-family: var(--ck-cond);
  font-weight: 700;
  letter-spacing: 4px;
  font-size: clamp(11px, 1.3vw, 14px);
  color: var(--ck-orange-d);
  margin-bottom: 18px;
}
html[lang="en"] .index-page .hero .carousel-container::before { content: "INTEGRATED OPERATIONAL CONTROL SYSTEM"; }

.index-page .hero .carousel-container { padding-top: 120px; padding-bottom: 40px; min-height: 100vh; justify-content: center; }
.index-page .hero .carousel-container h2 { color: #fff; margin-bottom: 22px; text-decoration: none; }
.index-page .hero .carousel-container h2 span { color: var(--ck-ice); text-decoration: none; }
.index-page .hero .carousel-container p {
  font-family: var(--ck-sans);
  color: var(--ck-body-l);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 760px; margin-left: auto; margin-right: auto;
  line-height: 1.6;
}
.index-page .hero .btn-get-started {
  font-family: var(--ck-cond);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 700;
  background: var(--ck-orange);
  border: 0;
  border-radius: 999px;
  padding: 15px 44px;
  color: #fff;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 10px 30px rgba(192,83,47,.35);
}
.index-page .hero .btn-get-started:hover {
  background: var(--ck-orange-d);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(192,83,47,.45);
}
.index-page .hero-waves { display: none; }   /* fuera las olas: no encajan con la marca */

.index-page .hero .carousel-control-prev,
.index-page .hero .carousel-control-next { z-index: 3; opacity: .5; }
.index-page .hero .carousel-control-prev:hover,
.index-page .hero .carousel-control-next:hover { opacity: 1; }

/* --------------------------------------------------- cabecera de sección */
.index-page .section-title { padding-bottom: 34px; position: relative; }
.index-page .section-title .section-kicker {
  font-family: var(--ck-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  font-size: 13px;
  color: var(--ck-orange);
  margin-bottom: 10px;
}
.index-page .section-title h2 { position: relative; display: inline-block; padding: 0; }
.index-page .section-title h2::after {
  content: "";
  position: absolute;
  left: calc(100% + 26px);
  top: 50%;
  width: 42vw; max-width: 340px; height: 2px;
  background: var(--ck-rule);
  transform: translateY(-50%);
}
.index-page .section-title p { color: var(--ck-body-d); font-size: 1.05rem; }

/* ----------------------------------------------- alternancia claro / oscuro */
.index-page section.about,
.index-page section#summary {
  background: #eef2f7 url("../../img/brand/bg_light.png") center/cover no-repeat;
}
.index-page section.features {
  background: var(--ck-ink-2) url("../../img/brand/bg_main.png") center/cover no-repeat;
}
/* sección oscura: invertir colores de texto */
.index-page section.features .section-title .section-kicker { color: var(--ck-orange-d); }
.index-page section.features .section-title h2 { color: #fff; }
.index-page section.features .section-title h2::after { background: var(--ck-rule-d); }
.index-page section.features h3 { color: #fff; }
.index-page section.features p { color: var(--ck-body-l); }
.index-page section.features .domain-lead { color: #fff; }
.index-page section.features .domain-proof { color: var(--ck-ice); border-left-color: var(--ck-orange-d); }
.index-page section.features ul li span { color: var(--ck-body-l); }
.index-page section.features ul li i { color: var(--ck-orange-d); }

/* servicios (gobernanza) — oscuro protagonista */
.index-page section.services {
  background: var(--ck-ink-2) url("../../img/brand/bg_main.png") center/cover no-repeat;
}
.index-page section.services .section-title .section-kicker { color: var(--ck-orange-d); }
.index-page section.services .section-title h2 { color: #fff; }
.index-page section.services .section-title h2::after { background: var(--ck-rule-d); }
.index-page section.services .service-item {
  background: rgba(21, 32, 48, .72);
  border: 1px solid var(--ck-rule-d);
  border-radius: 16px;
}
.index-page section.services .service-item h3 { color: #fff; }
.index-page section.services .service-item p { color: var(--ck-body-l); }
.index-page section.services .service-item .domain-lead { color: #fff; }
.index-page section.services .service-item .domain-proof { color: var(--ck-ice); border-left-color: var(--ck-orange-d); }
.index-page section.services .icon i { color: var(--ck-orange-d) !important; }

/* ------------------------------------------------------- copy de dominio */
.index-page .domain-copy h3,
.index-page .narrative-copy h3 {
  font-family: var(--ck-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.02;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  color: var(--ck-ink);
  margin-bottom: 18px;
}
.index-page section.features .domain-copy h3,
.index-page section.features .narrative-copy h3,
.index-page section.services .service-item h3 { color: #fff; }

.index-page .domain-lead {
  font-family: var(--ck-cond);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.4;
  color: var(--ck-ink);
}
.index-page .domain-proof {
  border-left: 3px solid var(--ck-orange);
  padding-left: 18px;
  font-style: normal;
  color: var(--ck-ink);
  font-weight: 500;
}
.index-page .domain-copy ul,
.index-page .narrative-copy ul { list-style: none; padding-left: 0; }
.index-page .domain-copy ul li,
.index-page .narrative-copy ul li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.index-page .domain-copy ul li i,
.index-page .narrative-copy ul li i { color: var(--ck-orange); font-size: 1.15rem; line-height: 1.4; }

/* --------------------------------------------------- capturas en monitor */
.index-page .ck-monitor { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 44px rgba(11,18,32,.28)); }
.index-page .domain-visual, .index-page .domain-copy img { border-radius: 14px; }

/* -------------------------------------------------------- botones pill */
.index-page .cta-btn,
.index-page .php-email-form button[type="submit"] {
  font-family: var(--ck-cond);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 700;
  background: var(--ck-orange);
  border: 0;
  border-radius: 999px;
  padding: 15px 46px;
  color: #fff;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 10px 30px rgba(192,83,47,.35);
}
.index-page .cta-btn:hover,
.index-page .php-email-form button[type="submit"]:hover {
  background: var(--ck-orange-d);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(192,83,47,.45);
}

/* ------------------------------------------------------- sección CIFRAS */
.ck-stats {
  background: var(--ck-ink-2) url("../../img/brand/bg_stats.png") center/cover no-repeat;
  padding: 84px 0;
  color: #fff;
}
.ck-stats .ck-stats-kicker {
  font-family: var(--ck-cond);
  font-weight: 700; text-transform: uppercase; letter-spacing: 4px;
  font-size: 13px; color: var(--ck-orange-d); margin-bottom: 10px;
}
.ck-stats h2 {
  font-family: var(--ck-display); font-weight: 400; text-transform: uppercase;
  color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.9rem); letter-spacing: .5px;
  margin-bottom: 42px;
}
.ck-stats .ck-stat-num {
  font-family: var(--ck-display); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem); color: #fff; line-height: 1; letter-spacing: 1px;
}
.ck-stats .ck-stat-lbl {
  font-family: var(--ck-cond); text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 12.5px; color: var(--ck-cyan); margin-top: 8px;
}
.ck-stats .ck-stat { padding: 14px 6px; }
.ck-stats .ck-stats-foot {
  margin-top: 40px; padding-top: 24px; border-top: 2px solid var(--ck-orange-d);
}
.ck-stats .ck-stats-foot strong { color: #fff; font-weight: 700; }
.ck-stats .ck-stats-foot span { color: var(--ck-muted-l); font-style: italic; }

/* --------------------------------------------------------------- CTA final */
.index-page .call-to-action {
  background: var(--ck-ink-2) url("../../img/brand/bg_title.png") center/cover no-repeat;
  position: relative;
}
.index-page .call-to-action::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(15,27,46,.7);
}
.index-page .call-to-action .container { position: relative; z-index: 2; }
.index-page .call-to-action h3 {
  font-family: var(--ck-display); font-weight: 400; text-transform: uppercase;
  color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: .5px;
}
.index-page .call-to-action p { color: var(--ck-body-l); }
.index-page .call-to-action strong { color: var(--ck-ice); }

/* --------------------------------------------------- swiper de capturas */
.index-page .screenshots-swiper .swiper-slide img {
  border-radius: 12px; box-shadow: 0 16px 40px rgba(11,18,32,.45);
}
.index-page .swiper-pagination .swiper-pagination-bullet-active { background: var(--ck-orange-d); }

/* ----------------------------------------------------------------- contacto */
.index-page .contact { background: #eef2f7 url("../../img/brand/bg_light.png") center/cover no-repeat; }
.index-page .info-item {
  background: #fff; border: 1px solid var(--ck-card-bd); border-radius: 14px;
  box-shadow: 0 8px 24px rgba(27,43,69,.06);
}
.index-page .info-item i { color: var(--ck-orange); background: rgba(192,83,47,.08); }
.index-page .info-item h3 { font-family: var(--ck-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; font-size: 1.05rem; }
.index-page .php-email-form { background: #fff; border: 1px solid var(--ck-card-bd); border-radius: 16px; padding: 28px; box-shadow: 0 8px 24px rgba(27,43,69,.06); }
.index-page .php-email-form .form-control { border-radius: 10px; border-color: #dfe6ef; }
.index-page .php-email-form .form-control:focus { border-color: var(--ck-orange); box-shadow: 0 0 0 .2rem rgba(192,83,47,.12); }

/* ------------------------------------------------------------------ footer */
.index-page .footer {
  background: var(--ck-ink-2) url("../../img/brand/bg_main.png") center/cover no-repeat;
}
.index-page .footer p { color: var(--ck-body-l); }

/* -------------------------------------------------------------- responsive */
@media (max-width: 991px) {
  .index-page .section-title h2::after { display: none; }
  .index-page .hero .carousel-item { min-height: 92vh; }
}
