﻿/* ============================================================
   CDT Big Data â€” Hoja de estilos global
   Secciones:
   1. Fuente
   2. Base (html, body, tipografÃ­a)
   3. Utilidades
   4. Navbar
   5. Secciones y fondos
   6. Componentes (btn, carousel, flip-card)
   7. Media queries
   8. Animaciones
   9. LINE â€” Sistema de diseÃ±o (prefijo .li-)
   ============================================================ */

/* ============================================================
   1. FUENTE
   ============================================================ */

/* Google Fonts loaded via <link> in HTML for better performance */

/* ============================================================
   2. BASE
   ============================================================ */

html,
body {
  overflow-x: clip;
}

body {
  display: block;
  position: relative;
}

body,
html {
  font-family:
    "Roboto",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  height: 100%;
  scroll-behavior: smooth;
  background: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
p {
  font-weight: 400;
}

h1,
h2,
h3,
h4,
a {
  color: #1b5da9;
}

.container-fluid {
  padding: 0;
}

#start {
  margin-top: 0;
  padding-top: 0;
}

/* ============================================================
   3. UTILIDADES
   ============================================================ */

.w-40 {
  width: 40%;
}
.bg_dark {
  background-color: #2d2d2d !important;
}
.bg_blue {
  background-color: #1b5da9;
}
.light_blue {
  background-color: #f6fbfd;
}
.gray {
  color: #211915;
}
.h2-detail {
  width: 100%;
}
.h3_blue {
  color: #ffffff;
}
.p_blue {
  color: #ffffff;
}
.h3_big_size {
  font-size: 300%;
}
.p_big_size {
  font-size: 150%;
}
.section {
  align-items: center;
  bottom: 0;
  display: flex;
}

.border_categorize {
  border: 1px solid #211915;
  border-radius: 40px;
}
.border_categorize:hover {
  box-shadow: 1px 1px 16px 0 rgba(0, 0, 0, 0.75);
}

.pos_icons h5 {
  color: #8acdea;
}
.pos_icons svg {
  fill: #8acdea;
}

#start-bg {
  position: relative;
  overflow-x: clip;
  background: rgb(254, 254, 254);
  background: linear-gradient(90deg, rgba(254, 254, 254, 1) 0%, rgba(235, 234, 234, 1) 100%);
}

#start-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25%;
  background: linear-gradient(to bottom, transparent, #ffffff);
  z-index: 2;
  pointer-events: none;
}

#start-bg > .container-fluid {
  position: relative;
  z-index: 1;
}

#contact-bottom {
  background-color: #595959;
  color: #c1c1c1;
}
#contact-bottom a {
  color: #c1c1c1;
}
#contact-bottom a:hover {
  color: #ffffff;
}
#contact iframe {
  width: 100%;
}

@media (max-width: 767px) {
  .pt-sm-10 {
    padding-top: 3rem !important;
  }
  .pt-sm-8 {
    padding-top: 2.5rem !important;
  }
  .pt-sm-7 {
    padding-top: 0.4rem !important;
  }

  /* Fix: flex-wrap con vh-100 estira cada línea al 50% sin esto */
  #start-bg .container-fluid > .row {
    align-content: center;
  }

  /* Hero mobile */
  .img_bg1 {
    top: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
  }

  /* Sin overlay de pantalla completa */
  #start-bg::before,
  #start-bg::after {
    display: none;
  }

  /* Único contenedor frosted glass */
  .hero-glass-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    padding: 30px 0;
  }

  /* Desktop: transparente, hijos actúan como cols directas del row */
  .hero-top,
  .hero-bottom {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
  }

  .hero-top {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-top > .row {
    margin-bottom: 0 !important;
  }

  .hero-top > .row > [class*="col-"] {
    padding-bottom: 0 !important;
  }

  .hero-top svg {
    display: block;
    margin-bottom: 0;
  }

  .hero-bottom {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 30px;
  }

  .hero-bottom > .row > [class*="col-"] {
    padding-top: 0 !important;
  }

  /* Texto negro */
  .hero-top h1,
  .hero-top h3,
  .hero-bottom h1,
  .hero-bottom h3 {
    color: #1a1a1a !important;
  }

  #start-bg .h1_big {
    font-size: 1.6rem !important;
    font-weight: 700;
    line-height: 1.2;
  }

  #start-bg h3.h3_big {
    font-size: 0.95rem !important;
  }
}

/* ============================================================
   4. NAVBAR
   ============================================================ */

.navbar-light {
  background: none;
  position: fixed;
  z-index: 9999;
  width: 100%;
  transition:
    background 1.5s ease-in-out,
    padding 1.5s ease-in-out,
    height 1.5s ease-in-out,
    color 1.5s ease-in-out,
    font-size 1.5s ease-in-out;
}

.navbar-light svg {
  width: 30px;
  transition:
    height 0.4s ease-in-out,
    width 0.4s ease-in-out,
    padding 0.4s ease-in-out;
}

.navbar-light .navbar-brand svg {
  width: 0;
  transition:
    height 0.4s ease-in-out,
    width 0.4s ease-in-out,
    padding 0.4s ease-in-out;
}

.navbar-light .navbar-brand {
  transition:
    background 0.4s ease-in-out,
    padding 0.4s ease-in-out,
    height 0.4s ease-in-out,
    color 0.4s ease-in-out,
    font-size 0.4s ease-in-out;
}

.navbar-light .navbar-brand img {
  width: 90%;
}
.navbar-light .hidden-md-up img {
  width: 100%;
}

.navbar-light .navbar-nav .nav-link {
  color: #ffffff;
  transition:
    background 0.4s ease-in-out,
    padding 0.4s ease-in-out,
    height 0.4s ease-in-out,
    color 0.4s ease-in-out,
    font-size 0.4s ease-in-out;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.open,
.navbar-light .navbar-nav .open > .nav-link {
  border-bottom: 2px solid #ffffff;
  border-radius: 0 !important;
  color: #ffffff;
}

.dropdown-menu {
  background: #ffffff;
  border: none;
  transition:
    background 0.4s ease-in-out,
    padding 0.4s ease-in-out,
    height 0.4s ease-in-out,
    color 0.4s ease-in-out,
    font-size 0.4s ease-in-out;
}

.dropdown-item.active,
.dropdown-item:active {
  background: none;
  color: #c86b35 !important;
}

.collapse ul {
  background: #ffffff;
}
.collapse ul li a {
  transition:
    background 0.4s ease-in-out,
    padding 0.4s ease-in-out,
    height 0.4s ease-in-out,
    color 0.4s ease-in-out,
    font-size 0.4s ease-in-out;
}

.nav-item a:hover {
  border-bottom: 2px solid #ffffff;
  background: none;
  border-radius: 0 !important;
}
.nav-item a:visited {
  color: inherit;
  background: none;
}

.nav-pills .nav-item.show .nav-link,
.nav-pills .nav-link.active {
  background: none;
  color: #ffffff;
}

.navbar .nav-pills .nav-link.active {
  background: none;
}
.navbar-top-fade .nav-pills .nav-link.active {
  background: none;
}

/* Navbar â€” scrolled (top-fade) */
.navbar-top-fade {
  background-color: #ffffff !important;
  padding: 0;
  transition:
    background 0.4s ease-in-out,
    padding 0.4s ease-in-out,
    height 0.4s ease-in-out,
    color 0.4s ease-in-out,
    font-size 0.4s ease-in-out;
}

.navbar-top-fade svg {
  width: 30px;
  transition:
    height 0.4s ease-in-out,
    width 0.4s ease-in-out,
    padding 0.4s ease-in-out;
}

.navbar-top-fade .navbar-brand svg {
  width: 70px;
  margin-left: 15px;
  transition:
    height 0.4s ease-in-out,
    width 0.4s ease-in-out,
    padding 0.4s ease-in-out;
}

.navbar-top-fade .collapse ul li a {
  color: #000000;
}

.navbar-top-fade .dropdown-menu {
  background: #fefefe;
  font-size: 0.8em;
}

.navbar-top-fade .navbar-nav .nav-link {
  font-size: 0.8em;
  color: #000000;
}

.navbar-top-fade .navbar-nav .active > .nav-link,
.navbar-top-fade .navbar-nav .nav-link.active,
.navbar-top-fade .navbar-nav .nav-link.open,
.navbar-top-fade .navbar-nav .open > .nav-link {
  border-bottom: 2px solid #000000;
  border-radius: 0 !important;
  color: #000000;
}

/* Submenu: abrir al hover en desktop */
@media (min-width: 992px) {
  .navbar .nav-item.dropdown:hover > .dropdown-menu,
  .navbar .nav-item.dropdown:focus-within > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* neutraliza el .collapse ul { background: #ffffff } global para el bd-navbar */
.bd-navbar .navbar-collapse ul {
  background: transparent !important;
}

/* Ãconos sociales: blanco en desktop, oscuro en mobile */
.nav-social svg circle,
.nav-social svg path {
  fill: #fff;
}
.nav-social svg .li-in {
  fill: #333;
}

/* Navbar mobile (hamburger) */
@media (max-width: 767.98px) {
  .bd-navbar .navbar-nav-scroll {
    max-width: 100%;
    height: auto;
    overflow: visible;
  }
  .bd-navbar .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.97);
    padding: 0.75rem 1rem 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }
  /* texto oscuro, sin animaciÃ³n de 3s */
  .bd-navbar .navbar-collapse ul li a,
  .bd-navbar .navbar-collapse .nav-link {
    color: #222 !important;
    transition: color 0s !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
  }
  .bd-navbar .navbar-collapse .nav-item:last-child > .nav-link {
    border-bottom: none !important;
  }
  .nav-social svg circle,
  .nav-social svg path {
    fill: #333;
  }
  .nav-social svg .li-in {
    fill: #fff;
  }
  .bd-navbar .navbar-collapse .dropdown-menu {
    position: static;
    float: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
  }
}

/* ============================================================
   5. SECCIONES Y FONDOS
   ============================================================ */

.img_bg1 {
  position: fixed;
  margin-top: 0;
  left: 0;
  width: 120%;
  transform: skewX(0deg);
  overflow: hidden;
  will-change: transform;
  transition:
    transform 1.5s ease-in-out,
    margin 1.5s ease-in-out,
    opacity 1s ease;
}

.move {
  margin-top: -60px;
  transform: skewX(20deg);
  transform: skewy(4deg);
  transition:
    transform 1.5s ease-in-out,
    margin 1.5s ease-in-out;
}

.whitebackground {
  position: absolute;
  left: 0;
  width: 110%;
  overflow: hidden;
}

.worldgif {
  position: absolute;
  width: 55%;
  margin-top: -250px;
  opacity: 0.1;
}

.lazy-3 {
  background-color: white;
  min-height: 100%;
}
.lazy-3 div {
  white-space: nowrap;
}
.lazy-bi1 {
  min-height: 100%;
}
.lazy-gis1 {
  min-height: 100%;
}

.lazy-4 {
  background-image: url("../images/shared/backgrounds/all_bg.webp");
}
.lazy-1-1 {
  background-image: url("../images/shared/backgrounds/image_bg3.webp");
  min-height: 60%;
}
.lazy-2-1 {
  background-image: url("../images/shared/backgrounds/image_bg2.webp");
  min-height: 60%;
}

.lazy-3,
#services,
#bi-start,
#gis-start {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100%;
}

#suite,
#clients,
#own-services,
#partners,
#contact {
  position: relative;
  z-index: 1;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#suite {
  background-color: transparent;
}

#contact {
  background-color: #fff;
}

#clients,
#partners {
  background-color: #f6fbfd;
}

#own-services {
  background-color: #fff;
}

/* ============================================================
   6. COMPONENTES
   ============================================================ */

/* BotÃ³n global */
.btn,
.btn.btn-lg {
  background-color: #1b5da9;
  color: white;
  font-size: 1rem;
  padding: 0.45rem 1.1rem;
}
.btn:hover,
.btn.btn-lg:hover {
  background-color: white;
  color: #1b5da9;
}

/* Tarjeta */
.card {
  border: none;
}

/* Product grid â€” logo height lock */
.product-logo-wrap {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-logo-wrap img {
  max-height: 100%;
  width: auto;
  max-width: 80%;
  object-fit: contain;
}

/* Flip card */
.flip-card {
  background-color: transparent;
  height: 300px;
  perspective: 1000px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.flip-card-front {
  color: black;
}
.flip-card-back {
  background-color: #ed6e29;
  color: #ffffff;
  transform: rotateY(180deg);
}
.flip-card-back h3 {
  color: #ffffff;
}

/* Carousel */
.carousel-logo-col {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-logo-col img {
  max-height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.carousel {
  background-color: transparent;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.carousel-indicators li {
  background-color: rgba(0, 0, 0, 0.3);
}
.carousel-indicators .active {
  background-color: rgba(0, 0, 0, 1);
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: block;
}

.carousel-control-prev {
  left: 0;
  background-color: transparent;
  width: 5%;
}
.carousel-control-next {
  right: 0;
  background-color: transparent;
  width: 5%;
}

.separator-own,
.separator-own:hover,
.separator-own.active {
  border: none !important;
}

/* ============================================================
   7. MEDIA QUERIES
   ============================================================ */

@media (min-width: 768px) {
  .hero-glass-wrapper {
    display: contents;
  }
}

@media (max-width: 768px) {
  .h3_big_size {
    font-size: 175%;
  }
  .p_big_size {
    font-size: 100%;
  }
  .h1_big {
    font-size: 2.5rem !important;
    font-weight: 600;
  }
  .worldgif {
    width: 155%;
    margin-top: -250px;
    margin-left: -150px;
  }
  .lazy-3 {
    background-attachment: inherit;
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

/* ============================================================
   8. ANIMACIONES
   ============================================================ */

@keyframes inner_move {
  from {
    left: 100%;
  }
  to {
    left: 0%;
  }
}

@keyframes outer_move {
  from {
    left: 0%;
  }
  to {
    left: 100%;
  }
}

/* ============================================================
   9. LINE â€” Sistema de diseÃ±o (prefijo .li-)
   ============================================================ */

/* ============================================================
   CDT Design System â€” Tokens globales
   ============================================================ */

:root {
  /* === Paleta CDT â€” Libro de Marca === */
  --cdt-blue: #1b5da9; /* Azul CDT â€” color principal */
  --cdt-orange: #ed6e29; /* Anaranjado CDT â€” color secundario */
  --cdt-comp-1: #8acdea; /* Complementario 01 */
  --cdt-comp-2: #76aadb; /* Complementario 02 */
  --cdt-gray: #575756; /* Gris neutro compartido */
  --cdt-gray-2: #c6c6c5; /* Gris claro compartido */
  /* === Paleta por producto === */
  --bi-orange: #f49b1b; /* Naranja BI */
  --bi-green: #6cb649; /* Verde BI */
  --bi-yellow: #ebe31f; /* Amarillo BI */
  --pos-purple: #814795; /* Morado POS */
  --pos-red: #e8423b; /* Rojo POS */
  --gis-teal: #39ad9b; /* Verde GIS */
  --line-orange: #ed6e2b; /* Naranja Line */
  --line-dark: #1d1d1b; /* Gris oscuro Line */
  /* === Sistema UI â€” neutros compartidos === */
  --cdt-ink: #1d1d1b; /* Texto oscuro / headings */
  --cdt-muted: #6b7480; /* Texto secundario */
  --cdt-muted-2: #93a1ad; /* Texto terciario */
  --cdt-bg: #f4f5f3; /* Fondo claro */
  --cdt-surface: #ffffff; /* Superficie / tarjeta */
  --cdt-border: #dfe3df; /* Bordes */
  --cdt-live: #34c759; /* Estado activo */
  /* === TipografÃ­a === */
  --cdt-font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cdt-font-mono: "Roboto Mono", "Consolas", "Courier New", monospace;
}

/* ============================================================
   CDT Design System â€” Componentes compartidos
   Reutilizables en todas las pÃ¡ginas de producto (Line, BI, POS, GIS)
   ============================================================ */

/* Reveal al scroll */
.cdt-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.cdt-reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .cdt-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hover sutil para imÃ¡genes de features en pÃ¡ginas legacy */
.cdt-img-hover {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform;
  display: block;
}
.cdt-img-hover:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 36px -10px rgba(0, 0, 0, 0.18);
}

/* Eyebrow â€” etiqueta de secciÃ³n */
.cdt-eyebrow {
  font-family: var(--cdt-font-mono);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cdt-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin-bottom: 0;
}
.cdt-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cdt-orange);
  flex-shrink: 0;
}

/* TÃ­tulo de secciÃ³n */
.cdt-section-title {
  font-family: var(--cdt-font-body);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--cdt-ink);
  margin-top: 1.6rem;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Display heading â€” para hero de producto */
.cdt-display {
  font-family: var(--cdt-font-body);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--cdt-ink);
  max-width: 14ch;
  margin-top: 0;
  margin-bottom: 1.4rem;
}

/* SubtÃ­tulo de hero */
.cdt-subtitle {
  font-family: var(--cdt-font-body);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: var(--cdt-muted);
  max-width: 44ch;
  margin-bottom: 2.4rem;
  line-height: 1.55;
}

/* Lead de secciÃ³n â€” pÃ¡rrafo previo a CTA dentro de una secciÃ³n */
.cdt-section-sub {
  font-family: var(--cdt-font-body);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--cdt-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Fila de CTAs */
.cdt-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

/* BotÃ³n primario */
.cdt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--cdt-font-mono);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  background: var(--cdt-orange);
  color: var(--cdt-ink) !important;
  padding: 1.1rem 2rem;
  border: none;
  border-radius: 2px;
  text-decoration: none !important;
  cursor: pointer;
  line-height: 1;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.cdt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(237, 110, 41, 0.5);
  text-decoration: none !important;
}

/* BotÃ³n secundario / ghost */
.cdt-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--cdt-font-mono);
  font-size: 1.15rem;
  color: var(--cdt-muted);
  background: none;
  border: none;
  text-decoration: none !important;
  cursor: pointer;
  transition: color 0.15s ease;
}
.cdt-btn-ghost:hover {
  color: var(--cdt-ink) !important;
  text-decoration: none !important;
}

/* ============================================================
   LINE â€” Secciones especÃ­ficas del producto (prefijo .line-)
   ============================================================ */

/* Hero */
.line-hero {
  background:
    linear-gradient(to right, rgba(29, 29, 27, 0.93) 0%, rgba(29, 29, 27, 0.72) 50%, rgba(29, 29, 27, 0.3) 100%),
    url("../images/line/hero/robotic-arms-sorting-packages-conveyor-belt.webp") center / cover no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(64px + clamp(32px, 6vw, 64px));
  padding-bottom: clamp(48px, 7vw, 80px);
}
.line-hero .cdt-display {
  color: #ffffff;
}
.line-hero .cdt-subtitle {
  color: rgba(255, 255, 255, 0.68);
}
.line-hero .cdt-btn-ghost {
  color: rgba(255, 255, 255, 0.7) !important;
}
.line-hero .cdt-btn-ghost:hover {
  color: #ffffff !important;
}
.line-hero .line-track {
  background: rgba(255, 255, 255, 0.18);
}
.line-hero .line-track-labels {
  color: rgba(255, 255, 255, 0.4);
}

.line-hero-logo {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.line-hero-meta {
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.8rem;
}

/* Pista animada */
.line-track {
  position: relative;
  height: 2px;
  background: var(--cdt-border);
  margin-top: clamp(44px, 8vw, 88px);
}
.line-track::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-orange);
  animation: line-run 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
@keyframes line-run {
  0% {
    left: 0;
  }
  50% {
    left: calc(100% - 8px);
  }
  100% {
    left: 0;
  }
}

.line-track-labels {
  margin-top: 0.9rem;
  font-family: var(--cdt-font-mono);
  font-size: 0.9rem;
  color: var(--cdt-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 575.98px) {
  .line-track-labels {
    font-size: 0.6rem;
  }
}
@media (max-width: 480px) {
  .line-track-labels {
    font-size: 0.5rem;
  }
}

/* Problema */
.line-problem {
  background: var(--line-dark);
  padding: clamp(72px, 11vw, 128px) 0;
}
.line-problem .cdt-eyebrow {
  margin-bottom: 0.75rem;
}

.line-problem-qs {
  gap: 2.8rem;
  margin-bottom: 4rem;
}

.line-problem-q {
  gap: 1.6rem;
}

.line-problem-num {
  font-family: var(--cdt-font-mono);
  font-size: 1.4rem;
  letter-spacing: 0.14em;
  color: var(--line-orange);
  flex-shrink: 0;
  margin-top: 0.6rem;
}

.line-problem-q p {
  font-family: var(--cdt-font-body);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}
.line-problem-q p em {
  font-style: normal;
  color: var(--line-orange);
}

.line-problem-divider {
  width: 40px;
  height: 1px;
  background: var(--line-orange);
  margin-bottom: 2rem;
  opacity: 0.6;
}

.line-problem-answer {
  font-family: var(--cdt-font-body);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--cdt-muted-2);
  border-left: 2px solid var(--line-orange);
  padding-left: 1.4rem;
  margin: 0;
  line-height: 1.65;
  max-width: 52ch;
}

/* CÃ³mo funciona */
.line-how {
  background: var(--cdt-surface);
  padding: clamp(72px, 11vw, 128px) 0;
}

.line-step {
}

.line-step-num {
  font-family: var(--cdt-font-mono);
  font-size: 1.4rem;
  letter-spacing: 0.14em;
  color: var(--line-orange);
  margin-bottom: 1.2rem;
}

.line-step-bar {
  width: 100%;
  height: 2px;
  background: var(--cdt-border);
  margin-bottom: 1.8rem;
  position: relative;
}
.line-step-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  background: var(--line-orange);
  transition: width 0.6s ease;
}
.line-step:nth-of-type(1) .line-step-bar::before {
  width: 28px;
}
.line-step:nth-of-type(2) .line-step-bar::before {
  width: 50%;
}
.line-step:nth-of-type(3) .line-step-bar::before {
  width: 100%;
}

.line-step-role {
  font-family: var(--cdt-font-body);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--cdt-ink);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.line-step-desc {
  font-family: var(--cdt-font-body);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--cdt-muted);
  line-height: 1.65;
  margin: 0;
}

.line-step-img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 1.4rem;
  margin-bottom: 1.8rem;
  border-radius: 4px;
  box-shadow: 0 4px 24px -6px rgba(0, 0, 0, 0.14);
  cursor: zoom-in;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.line-step-img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px -6px rgba(0, 0, 0, 0.22);
}

/* Bootstrap Modal â€” lightbox de imÃ¡genes */
.modal-backdrop.show {
  opacity: 0.88;
}
body.modal-open {
  position: fixed;
  width: 100%;
}
#lineImgModal .modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
}
#lineImgModal .modal-body {
  padding: 0.5rem;
  text-align: center;
}
#lineImgModal .modal-body img {
  max-height: 85vh;
  width: auto;
  border-radius: 4px;
}
#lineImgModal .close {
  color: rgba(255, 255, 255, 0.75);
  text-shadow: none;
  opacity: 1;
  font-size: 2.2rem;
  position: absolute;
  top: -2.8rem;
  right: 0;
  transition: color 0.15s ease;
}
#lineImgModal .close:hover {
  color: #ffffff;
}

/* Roles */
.line-roles {
  background: var(--cdt-bg);
  padding: clamp(72px, 11vw, 128px) 0;
}

.line-role-card {
  background: var(--cdt-surface);
  border: 1px solid var(--cdt-border);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.line-role-card:hover {
  border-color: var(--line-orange);
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.08);
}

.line-role-tag {
  font-family: var(--cdt-font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--line-orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.2rem;
}

.line-role-name {
  font-family: var(--cdt-font-body);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--cdt-ink);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.line-role-desc {
  font-family: var(--cdt-font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--cdt-muted);
  line-height: 1.65;
  margin: 0;
}

/* Por quÃ© Line */
.line-why {
  background: var(--cdt-surface);
  padding: clamp(48px, 7vw, 80px) 0;
  border-top: 1px solid var(--cdt-border);
  border-bottom: 1px solid var(--cdt-border);
}

.line-why-item {
  border-top: 2px solid var(--cdt-border);
  padding-top: 1.4rem;
  height: 100%;
  position: relative;
}
.line-why-item::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  height: 2px;
  background: var(--line-orange);
  transition: width 0.6s ease;
}
.line-why .row > div:nth-child(1) .line-why-item::before {
  width: 22px;
}
.line-why .row > div:nth-child(2) .line-why-item::before {
  width: 33%;
}
.line-why .row > div:nth-child(3) .line-why-item::before {
  width: 66%;
}
.line-why .row > div:nth-child(4) .line-why-item::before {
  width: 100%;
}

.line-why-item-title {
  font-family: var(--cdt-font-body);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: var(--cdt-ink);
  display: block;
  margin-bottom: 0.5rem;
}

.line-why-item-desc {
  font-family: var(--cdt-font-body);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--cdt-muted);
  line-height: 1.65;
  margin: 0;
}

/* Cierre */
.line-close {
  background: var(--line-dark);
  color: #ffffff;
  padding: clamp(72px, 11vw, 128px) 0;
}

.line-close .cdt-eyebrow {
  color: var(--line-orange);
}
.line-close .cdt-eyebrow::before {
  background: var(--line-orange);
}

.line-close .cdt-section-title {
  color: #ffffff;
  margin-bottom: 0;
}

.line-close-hl {
  color: var(--line-orange);
}

.line-close-sub {
  font-family: var(--cdt-font-body);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--cdt-muted-2);
  max-width: 44ch;
  margin: 1.8rem auto 2.6rem;
  line-height: 1.65;
}
