/* ════════════════════════════════════════════
   TGLN – Hoja de Estilos
   Terminales y Gestiones Logísticas del Norte
   ════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --tgln-orange:     #e87520;
  --tgln-navy:       #1a2e4a;
  --tgln-navy-dark:  #152340;
  --tgln-navy-deep:  #0f1e32;
  --tgln-blue-light: #eaf3f9;
  --tgln-blue-mid:   #d0e6f0;
  --tgln-white:      #ffffff;
  --tgln-radius:     12px;
  --tgln-max:        1100px;
}

/* ── Reset ── */
.tgln,
.tgln * {
  box-sizing: border-box;
}

.tgln {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--tgln-navy);
  line-height: 1.6;
}


/* ════════════════════════════════════════════
   UTILIDADES GENERALES
   ════════════════════════════════════════════ */

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

.tgln .t-section {
  padding: 80px 0;
}

.tgln .t-section--dark {
  background: var(--tgln-navy-dark);
  color: var(--tgln-white);
}

.tgln .t-section--light {
  background: var(--tgln-blue-light);
}

/* Etiqueta de sección */
.tgln .t-tag {
  display: inline-block;
  background: var(--tgln-orange);
  color: var(--tgln-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* Títulos */
.tgln .t-title {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  color: var(--tgln-orange);
  margin-bottom: 8px;
}

.tgln .t-title--white {
  color: var(--tgln-white);
}

/* Separador decorativo */
.tgln .t-divider {
  width: 60px;
  height: 3px;
  background: var(--tgln-orange);
  border: none;
  margin: 16px 0 32px;
}

.tgln .t-divider--white {
  background: var(--tgln-white);
  opacity: 0.4;
}

/* Texto destacado */
.tgln .t-lead {
  font-size: 17px;
  max-width: 720px;
  color: #4a6080;
  margin-bottom: 16px;
}

.tgln .t-lead--white {
  color: rgba(255, 255, 255, 0.80);
}

/* Botones */
.tgln .t-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.tgln .t-btn-primary {
  background: var(--tgln-orange);
  color: var(--tgln-white);
}

.tgln .t-btn-primary:hover {
  background: #c96518;
  transform: translateY(-2px);
  color: var(--tgln-white);
}

.tgln .t-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--tgln-white);
  margin-left: 12px;
}

.tgln .t-btn-outline:hover {
  border-color: var(--tgln-white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--tgln-white);
}


/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */

.tgln .t-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      160deg,
      rgba(26, 46, 74, 0.90) 0%,
      rgba(26, 46, 74, 0.75) 60%,
      rgba(232, 117, 32, 0.25) 100%
    ),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80')
    center / cover no-repeat;
}

.tgln .t-hero-content {
  max-width: var(--tgln-max);
  margin: 0 auto;
  padding: 80px 24px;
}

.tgln .t-hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tgln-orange);
  margin-bottom: 20px;
}

.tgln .t-hero-title {
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--tgln-white);
  max-width: 780px;
  margin-bottom: 24px;
}

.tgln .t-hero-title em {
  color: var(--tgln-orange);
  font-style: normal;
}

.tgln .t-hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.80);
  max-width: 600px;
  margin-bottom: 40px;
}

/* Estadísticas del hero */
.tgln .t-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.tgln .t-stat {
  border-left: 3px solid var(--tgln-orange);
  padding-left: 16px;
}

.tgln .t-stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--tgln-white);
  line-height: 1;
}

.tgln .t-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.60);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}


/* ════════════════════════════════════════════
   QUIÉNES SOMOS
   ════════════════════════════════════════════ */

.tgln .t-quienes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tgln .t-highlight {
  background: var(--tgln-blue-light);
  border-left: 4px solid var(--tgln-orange);
  padding: 20px 24px;
  border-radius: 0 var(--tgln-radius) var(--tgln-radius) 0;
  font-size: 16px;
  color: var(--tgln-navy);
  font-style: italic;
  margin-bottom: 24px;
}

.tgln .t-quienes-text p {
  color: #4a6080;
  margin-bottom: 16px;
}

.tgln .t-quienes-text strong {
  color: var(--tgln-navy);
}

/* Card oscura */
.tgln .t-card-dark {
  background: var(--tgln-navy);
  border-radius: var(--tgln-radius);
  padding: 40px;
  color: var(--tgln-white);
  position: relative;
  overflow: hidden;
}

.tgln .t-card-dark::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: var(--tgln-orange);
  opacity: 0.08;
  border-radius: 50%;
  transform: translate(60px, -60px);
}

.tgln .t-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--tgln-orange);
  margin-bottom: 20px;
}

.tgln .t-diff-list {
  list-style: none;
  padding: 0;
}

.tgln .t-diff-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.tgln .t-diff-list li:last-child {
  border-bottom: none;
}

.tgln .t-diff-icon {
  color: var(--tgln-orange);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}


/* ════════════════════════════════════════════
   EL PROBLEMA
   ════════════════════════════════════════════ */

.tgln .t-problema-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.tgln .t-problema-intro p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
}

.tgln .t-problema-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--tgln-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tgln .t-col-header {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}

.tgln .t-col-p .t-col-header {
  background: rgba(255, 255, 255, 0.08);
}

.tgln .t-col-c .t-col-header {
  background: var(--tgln-orange);
}

.tgln .t-pi {
  padding: 18px 24px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tgln .t-col-p .t-pi {
  background: rgba(255, 255, 255, 0.03);
}

.tgln .t-col-c .t-pi {
  background: rgba(232, 117, 32, 0.10);
}

.tgln .t-pi:last-child {
  border-bottom: none;
}

.tgln .t-pi-icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 16px;
}

.tgln .t-col-p .t-pi-icon { color: #7090b0; }
.tgln .t-col-c .t-pi-icon { color: var(--tgln-orange); }

.tgln .t-problema-cta {
  text-align: center;
  margin-top: 40px;
  background: var(--tgln-orange);
  padding: 24px 32px;
  border-radius: var(--tgln-radius);
  font-size: 20px;
  font-weight: 800;
  color: var(--tgln-white);
}


/* ════════════════════════════════════════════
   PROPUESTA DE VALOR
   ════════════════════════════════════════════ */

.tgln .t-pv-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.tgln .t-pv-units {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.tgln .t-unit-card {
  border-radius: var(--tgln-radius);
  padding: 36px;
  border: 2px solid var(--tgln-blue-mid);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tgln .t-unit-card:hover {
  border-color: var(--tgln-orange);
  box-shadow: 0 8px 32px rgba(232, 117, 32, 0.12);
}

.tgln .t-unit-badge {
  display: inline-block;
  font-size: 28px;
  font-weight: 900;
  color: var(--tgln-orange);
  margin-bottom: 4px;
}

.tgln .t-unit-name {
  font-size: 16px;
  color: #6080a0;
  margin-bottom: 16px;
}

.tgln .t-unit-desc {
  color: #4a6080;
  font-size: 15px;
}

/* Cards de clientes */
.tgln .t-clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tgln .t-client-card {
  background: var(--tgln-navy);
  border-radius: var(--tgln-radius);
  padding: 32px;
  color: var(--tgln-white);
}

.tgln .t-client-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--tgln-white);
  margin-bottom: 4px;
}

.tgln .t-client-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.50);
  margin-bottom: 20px;
}

.tgln .t-client-card hr {
  border: none;
  border-top: 2px solid var(--tgln-orange);
  width: 40px;
  margin-bottom: 20px;
}

.tgln .t-client-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tgln .t-client-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.80);
}

.tgln .t-client-list li::before {
  content: '›';
  color: var(--tgln-orange);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.4;
}


/* ════════════════════════════════════════════
   UNIDADES DE NEGOCIO (REI / SCI)
   ════════════════════════════════════════════ */

.tgln .t-unit-section {
  padding: 80px 0;
}

.tgln .t-unit-section--light {
  background: var(--tgln-blue-light);
}

.tgln .t-unit-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.tgln .t-unit-icon {
  width: 56px;
  height: 56px;
  background: var(--tgln-orange);
  border-radius: var(--tgln-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.tgln .t-unit-h2 {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 900;
  margin-bottom: 4px;
}

.tgln .t-unit-h2 span {
  color: var(--tgln-orange);
}

.tgln .t-unit-sub {
  font-size: 15px;
  color: #7090b0;
  font-weight: 400;
}

.tgln .t-unit-intro {
  color: #4a6080;
  max-width: 680px;
  margin-bottom: 8px;
}

.tgln .t-unit-intro em {
  color: var(--tgln-orange);
  font-style: normal;
  font-weight: 600;
}

/* Grilla de capacidades */
.tgln .t-caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.tgln .t-cap {
  background: var(--tgln-white);
  border-radius: var(--tgln-radius);
  padding: 24px;
  border-top: 3px solid var(--tgln-orange);
  box-shadow: 0 2px 12px rgba(26, 46, 74, 0.06);
}

.tgln .t-cap-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--tgln-navy);
  margin-bottom: 12px;
}

.tgln .t-cap-desc {
  font-size: 13px;
  color: #6080a0;
  line-height: 1.5;
}


/* ════════════════════════════════════════════
   DELTA ARENAS – SOCIO FUNDADOR
   ════════════════════════════════════════════ */

.tgln .t-delta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Tabla de specs */
.tgln .t-spec {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tgln .t-spec:last-child {
  border-bottom: none;
}

.tgln .t-spec-key {
  padding: 16px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--tgln-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tgln .t-spec-val {
  padding: 16px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.80);
}

/* Cadena de valor */
.tgln .t-chain-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: flex-start;
}

.tgln .t-chain-step:last-child {
  border-bottom: none;
}

.tgln .t-chain-num {
  width: 36px;
  height: 36px;
  background: var(--tgln-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--tgln-white);
  flex-shrink: 0;
}

.tgln .t-chain-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tgln-white);
}

.tgln .t-chain-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.60);
  margin-top: 2px;
}


/* ════════════════════════════════════════════
   CONTACTO
   ════════════════════════════════════════════ */

.tgln .t-contacto {
  background: var(--tgln-navy-dark);
  padding: 80px 0;
}

.tgln .t-contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tgln .t-contacto-headline {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  color: var(--tgln-white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.tgln .t-contacto-headline em {
  color: var(--tgln-orange);
  font-style: normal;
}

.tgln .t-contacto-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.60);
}

.tgln .t-contact-card {
  background: var(--tgln-white);
  border-radius: var(--tgln-radius);
  padding: 40px;
}

.tgln .t-contact-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--tgln-navy);
  margin-bottom: 8px;
}

.tgln .t-contact-divider {
  width: 40px;
  height: 3px;
  background: var(--tgln-orange);
  border: none;
  margin-bottom: 28px;
}

.tgln .t-contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tgln .t-contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: #3a5070;
}

.tgln .t-contact-list a {
  color: #3a5070;
  text-decoration: none;
}

.tgln .t-contact-list a:hover {
  color: var(--tgln-orange);
}

.tgln .t-c-icon {
  width: 40px;
  height: 40px;
  background: var(--tgln-blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}


/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */

.tgln .t-footer {
  background: var(--tgln-navy-deep);
  padding: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.30);
}


/* ════════════════════════════════════════════
   RESPONSIVE – mobile ≤ 768px
   ════════════════════════════════════════════ */

@media (max-width: 768px) {

  .tgln .t-quienes-grid,
  .tgln .t-pv-units,
  .tgln .t-clients-grid,
  .tgln .t-problema-grid,
  .tgln .t-delta-grid,
  .tgln .t-contacto-inner {
    grid-template-columns: 1fr;
  }

  .tgln .t-caps-grid {
    grid-template-columns: 1fr;
  }

  .tgln .t-hero-stats {
    gap: 24px;
  }

  .tgln .t-btn-outline {
    margin-left: 0;
    margin-top: 12px;
  }

  .tgln .t-spec {
    grid-template-columns: 110px 1fr;
  }

  .tgln .t-section,
  .tgln .t-unit-section,
  .tgln .t-contacto {
    padding: 48px 0;
  }

  .tgln .t-hero-content {
    padding: 48px 24px;
  }
}