/* =============================================
   iConTel Telecom — Modern Identity System
   Holding: TNA Group
   Concept: Corporativo Premium + Tecnología Humana
   Palette: Base Blanca (#FFFFFF) + Contraste Negro (#080808)
   ============================================= */

/* ---- Variables de Diseño Oficiales ---- */
:root {
  /* Paleta Corporativa Oficial iConTel */
  --icontel-white: #FFFFFF;
  --icontel-black: #080808;
  --icontel-surface: #F7F8FA;
  --icontel-text-secondary: #333333;
  --icontel-border: #E5E7EB;

  /* Colores Corporativos Oficiales TNA Group */
  --tna-orange: #E79A52;
  --tna-coral: #CB5740;
  --tna-plum: #865275;
  --tna-violet: #5453A0;
  --tna-turquoise: #51CED1;
  --tna-gradient: linear-gradient(
    90deg,
    #E79A52 0%,
    #CB5740 25%,
    #865275 50%,
    #5453A0 75%,
    #51CED1 100%
  );

  /* Variables Semánticas del Sitio (Base Clara por Defecto) */
  --bg: #FFFFFF;
  --bg-surface: #F7F8FA;
  --bg-card: #FFFFFF;
  --bg-alt: #F7F8FA;
  --border: #E5E7EB;
  --border-hover: #080808;
  --border-subtle: #F0F2F5;

  /* Tipografía y Contrastes */
  --text: #080808;
  --text-muted: #333333;
  --text-subtle: #555555;
  --text-light: #777777;

  /* Identidad Primaria / Secundaria */
  --primary: #080808;
  --primary-light: #222222;
  --secondary: #51CED1;
  --secondary-text: #080808;
  --accent: #51CED1;
  --gradient: linear-gradient(135deg, #080808, #222222);
  --gradient-glow: none;

  /* Sombras Sutiles (Sin Neón ni Resplandores Exagerados) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.10);
  --shadow-glow: none;

  /* Navbar y Footer */
  --nav-bg: rgba(255, 255, 255, 0.96);
  --footer-bg: #080808;
  --footer-text: #FFFFFF;
  --footer-muted: #9CA3AF;
  --footer-subtle: #6B7280;

  /* Portada / Hero */
  --hero-overlay-start: rgba(255, 255, 255, 0.98);
  --hero-overlay-end: rgba(255, 255, 255, 1);
  --hero-bg-image: none;
}

/* Modo Oscuro Corporativo (Para Toggle Técnico Opcional) */
[data-theme="dark"] {
  --bg: #080808;
  --bg-surface: #121212;
  --bg-card: #161616;
  --bg-alt: #121212;
  --border: #262626;
  --border-hover: #FFFFFF;
  --border-subtle: #1F1F1F;

  --text: #F3F4F6;
  --text-muted: #D1D5DB;
  --text-subtle: #9CA3AF;
  --text-light: #6B7280;

  --primary: #FFFFFF;
  --primary-light: #E5E7EB;
  --secondary: #51CED1;
  --secondary-text: #FFFFFF;
  --accent: #51CED1;
  --gradient: linear-gradient(135deg, #181818, #2A2A2A);

  --shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 32px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.6);

  --nav-bg: rgba(8, 8, 8, 0.95);
  --footer-bg: #040404;
}

/* ---- Reset & Estructura Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Estabilizar iconos FontAwesome */
i.fas, i.fab, i.far, i.fa {
  display: inline-block;
  width: 1.25em;
  text-align: center;
  line-height: 1;
}

/* ---- Tipografía Corporativa Elegante ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.2;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.45rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.22; }
h3 { font-size: clamp(1.18rem, 2.1vw, 1.5rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
h4 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
p  { color: var(--text-subtle); font-size: 1rem; line-height: 1.65; }

/* Título con estilo de autoridad */
.text-gradient {
  color: var(--text);
  background: none;
  -webkit-text-fill-color: initial;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.85rem;
}

/* ---- Layout & Contenedores ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-header p { margin-top: 1rem; font-size: 1.08rem; color: var(--text-subtle); }

/* ---- Grillas ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- Tarjetas Corporativas ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ---- Botones Oficiales ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.85rem; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; font-family: 'Inter', sans-serif;
  cursor: pointer; border: 1.5px solid transparent; transition: all 0.2s ease;
  text-decoration: none; text-align: center;
}

/* Botón Principal: Fondo negro, texto blanco */
.btn-primary {
  background: var(--icontel-black);
  color: #FFFFFF;
  border-color: var(--icontel-black);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.btn-primary:hover {
  background: #222222;
  border-color: #222222;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Botón Secundario: Fondo blanco, borde negro, texto negro */
.btn-outline {
  background: #FFFFFF;
  color: var(--icontel-black);
  border: 1.5px solid var(--icontel-black);
}
.btn-outline:hover {
  background: var(--icontel-surface);
  color: var(--icontel-black);
  border-color: var(--icontel-black);
  transform: translateY(-1px);
}

.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.85rem; border-radius: 6px; }

/* ---- Navbar Oficial ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.navbar .container {
  max-width: 1320px;
}

/* Firma Visual Sutil TNA Group: Línea superior delgada */
.navbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tna-gradient);
  z-index: 101;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 130px;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo a {
  display: flex;
  align-items: center;
}
.nav-logo img {
  width: 205px;
  height: auto;
  max-height: 118px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}
.nav-logo a:hover img {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  flex-wrap: nowrap;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  line-height: 1.2;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--bg-surface);
}

/* Botón de Contacto en Navbar: Negro con texto blanco */
.nav-links a.nav-btn-contact,
.nav-links li:last-child a {
  background: var(--icontel-black);
  color: #FFFFFF !important;
  border-radius: 8px;
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.nav-links a.nav-btn-contact:hover,
.nav-links li:last-child a:hover {
  background: #262626;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

/* Dropdown Base & Soluciones (2 Columnas) */
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-solutions { position: relative; }
.nav-links .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 250px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  z-index: 100;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.nav-links .dropdown:hover > .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-links .solutions-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-35%) translateY(-6px);
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.15rem;
  width: 640px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
  z-index: 100;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links .solutions-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}
.nav-links .dropdown-solutions:hover .solutions-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-35%) translateY(0);
}

/* Ítem individual de Soluciones */
.sol-menu-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.85rem !important;
  padding: 0.8rem 0.85rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.sol-menu-item:hover {
  background: #F8FAFC !important;
  border-color: rgba(81, 206, 209, 0.35) !important;
  transform: translateY(-1px) !important;
}

/* Ícono discreto */
.sol-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(81, 206, 209, 0.12);
  color: #008f91;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.sol-menu-item:hover .sol-menu-icon {
  background: var(--tna-turquoise, #51CED1);
  color: #FFFFFF;
  transform: scale(1.05);
}

/* Textos de la categoría */
.sol-menu-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.sol-menu-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  color: #0B0F19;
  line-height: 1.25;
  margin-bottom: 0.2rem;
  transition: color 0.2s ease;
}
.sol-menu-item:hover .sol-menu-title {
  color: #008f91;
}
.sol-menu-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.38;
  margin: 0;
  white-space: normal;
}

/* Tema oscuro */
[data-theme="dark"] .nav-links .solutions-menu {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
}
[data-theme="dark"] .sol-menu-item:hover {
  background: #1F2937 !important;
}
[data-theme="dark"] .sol-menu-title {
  color: #F9FAFB;
}
[data-theme="dark"] .sol-menu-item:hover .sol-menu-title {
  color: var(--tna-turquoise);
}
[data-theme="dark"] .sol-menu-desc {
  color: #9CA3AF;
}

/* Controles Técnicos Navbar */
.nav-controls { display: flex; align-items: center; gap: 0.65rem; }
.site-ver {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.4rem;
}
.lang-toggle, .theme-toggle {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 6px; padding: 0.45rem 0.75rem;
  font-size: 0.8rem; font-weight: 600; color: var(--text);
  cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif;
}
.lang-toggle:hover, .theme-toggle:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--bg);
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* Distintivo iConTel 360 */
.nav-links .nav-new {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--tna-gradient);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  margin-left: 0.35rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* ---- Portada / Hero ---- */
.hero {
  min-height: 88vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 130px;
  background: var(--bg);
}
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  background-image: url('../img/hero_bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-bg-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-overlay::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.88) 22%,
    rgba(255, 255, 255, 0.65) 38%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.04) 58%,
    transparent 65%
  );
  pointer-events: none;
}
[data-theme="dark"] .hero-bg-overlay::after {
  background: linear-gradient(
    90deg,
    rgba(10, 15, 25, 0.95) 0%,
    rgba(10, 15, 25, 0.88) 22%,
    rgba(10, 15, 25, 0.65) 38%,
    rgba(10, 15, 25, 0.25) 50%,
    rgba(10, 15, 25, 0.04) 58%,
    transparent 65%
  );
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-inner {
  display: grid; grid-template-columns: 1.18fr 0.82fr;
  gap: 3.5rem; align-items: center; padding: 3.5rem 0 4rem 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px; padding: 0.45rem 1.05rem;
  font-size: 0.78rem; font-weight: 700; color: #0f172a;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem; position: relative; z-index: 1;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(6px);
}
[data-theme="dark"] .hero-badge {
  background: rgba(17, 24, 39, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: #00c9a7;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(0, 201, 167, 0.25);
}
.hero-text { display: flex; flex-direction: column; align-items: flex-start; }
.hero-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #080808 !important;
  margin-bottom: 1.5rem;
}
[data-theme="dark"] .hero-main-title {
  color: #FFFFFF !important;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.62;
  color: #2b3648;
  margin-bottom: 2.25rem;
  max-width: 580px;
  font-weight: 450;
}
[data-theme="dark"] .hero-desc {
  color: #cbd5e1;
}

.hero-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.hero-bullet-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.35;
}
.hero-bullet-list li i {
  color: #10b981;
  font-size: 1.15rem;
  flex-shrink: 0;
}
[data-theme="dark"] .hero-bullet-list li {
  color: #e2e8f0;
}

.hero-actions {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.6rem;
}
.hero-btn-main {
  background: #0d0d0d;
  color: #ffffff !important;
  padding: 0.95rem 1.85rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.02rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid #0d0d0d;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.hero-btn-main:hover {
  background: #222222;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}
.hero-btn-secondary {
  background: #ffffff;
  color: #0d0d0d !important;
  border: 1.5px solid #0d0d0d;
  padding: 0.95rem 1.65rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.02rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.hero-btn-secondary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}
[data-theme="dark"] .hero-btn-main {
  background: #ffffff;
  color: #0d0d0d !important;
  border-color: #ffffff;
}
[data-theme="dark"] .hero-btn-secondary {
  background: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
}

.hero-fast-sol {
  font-size: 0.9rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  line-height: 1.45;
}
.hero-fast-sol i {
  color: #00c9a7;
  font-size: 1rem;
}
.hero-fast-sol strong {
  color: #0f172a;
  font-weight: 700;
}
[data-theme="dark"] .hero-fast-sol {
  color: #94a3b8;
}
[data-theme="dark"] .hero-fast-sol strong {
  color: #f1f5f9;
}

/* Tarjeta Portal Clientes */
.hero-login-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 2.15rem 2rem 1.95rem 2rem;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.03);
  position: relative;
  max-width: 415px;
  margin-left: auto;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
[data-theme="dark"] .hero-login-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
}
.login-header { margin-bottom: 1.35rem; }
.login-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: #0f172a;
}
[data-theme="dark"] .login-header h2 { color: #ffffff; }

.login-tagline {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0284c7;
  margin-bottom: 0.45rem;
  display: block;
}
[data-theme="dark"] .login-tagline { color: #38bdf8; }

.login-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}
[data-theme="dark"] .login-desc { color: #94a3b8; }

.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: #334155; margin-bottom: 0.4rem;
}
[data-theme="dark"] .form-group label { color: #cbd5e1; }
.form-group input {
  width: 100%; padding: 0.78rem 0.95rem;
  background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 9px; color: #0f172a; font-size: 0.93rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder { color: #94a3b8; }
.form-group input:focus {
  outline: none;
  border-color: #0f172a;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}
[data-theme="dark"] .form-group input {
  background: #1e293b;
  border-color: #334155;
  color: #ffffff;
}
[data-theme="dark"] .form-group input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.form-row { display: flex; justify-content: space-between; align-items: center; margin-top: 1.35rem; }
.btn-login {
  background: #0d0d0d;
  color: #FFFFFF;
  border: none; border-radius: 9px;
  padding: 0.82rem 1.4rem; font-weight: 600; font-size: 0.93rem;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  white-space: nowrap;
}
.btn-login:hover {
  background: #262626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
[data-theme="dark"] .btn-login {
  background: #ffffff;
  color: #0d0d0d;
}
[data-theme="dark"] .btn-login:hover {
  background: #f1f5f9;
}

.forgot-link {
  font-size: 0.84rem; color: #475569;
  text-decoration: underline; text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s;
}
.forgot-link:hover { color: #0f172a; }
[data-theme="dark"] .forgot-link { color: #94a3b8; }
[data-theme="dark"] .forgot-link:hover { color: #ffffff; }

.login-divider { border: none; border-top: 1px solid #f1f5f9; margin: 1.35rem 0 1.1rem 0; }
[data-theme="dark"] .login-divider { border-top-color: #1e293b; }

.login-support-cta { text-align: center; }
.login-support-cta p { font-size: 0.84rem; margin-bottom: 0.35rem; color: #64748b; }
[data-theme="dark"] .login-support-cta p { color: #94a3b8; }
.login-support-cta a {
  color: #0f172a; font-weight: 700; font-size: 0.88rem;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  transition: color 0.2s;
}
.login-support-cta a:hover {
  color: #0284c7;
  text-decoration: underline;
}
[data-theme="dark"] .login-support-cta a { color: #ffffff; }
[data-theme="dark"] .login-support-cta a:hover { color: #38bdf8; }

/* ---- Clientes & Social Proof Strip ---- */
.clients-track-wrapper { overflow: hidden; }
.clients-track {
  display: flex; gap: 1.5rem; align-items: center;
  animation: scroll-partners 25s linear infinite reverse; width: max-content;
}
.client-chip {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.45rem 1.25rem;
  font-size: 0.9rem; font-weight: 700; color: var(--text-muted);
  white-space: nowrap; transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.client-chip:hover {
  border-color: var(--border-hover);
  color: var(--text);
  box-shadow: var(--shadow);
}

/* ---- BANNER TITAN EN HOME ---- */
.titan-home-banner {
  background: linear-gradient(135deg, #070e18 0%, #0c1a2e 50%, #060b13 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(81, 206, 209, 0.25);
  border-bottom: 1px solid rgba(81, 206, 209, 0.25);
  padding: 3.5rem 0;
}
.titan-home-banner::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 173, 181, 0.18) 0%, rgba(0, 173, 181, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.titan-banner-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 380px;
}
.titan-banner-content {
  display: flex;
  flex-direction: column;
}
.titan-banner-tag {
  align-self: flex-start;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #51CED1;
  background: rgba(81, 206, 209, 0.12);
  border: 1px solid rgba(81, 206, 209, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
}
.titan-banner-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.85rem, 2.7vw, 2.45rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.titan-banner-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #51CED1;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}
.titan-banner-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  max-width: 540px;
}
.titan-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn-titan-primary {
  background: #FFFFFF;
  color: #080808 !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.btn-titan-primary:hover {
  background: #51CED1;
  color: #080808 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(81, 206, 209, 0.35);
}
.btn-titan-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  transition: all 0.2s ease;
}
.btn-titan-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #51CED1;
  color: #51CED1 !important;
  transform: translateY(-2px);
}
.titan-banner-media {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
}
.titan-media-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(81, 206, 209, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  background: #08121f;
}
.titan-media-frame img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.titan-media-frame:hover img {
  transform: scale(1.025);
}
.titan-media-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.titan-feat-pill {
  background: rgba(12, 26, 46, 0.85);
  border: 1px solid rgba(81, 206, 209, 0.25);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}
.titan-feat-pill i {
  color: #51CED1;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.titan-feat-pill:hover {
  border-color: #51CED1;
  background: rgba(81, 206, 209, 0.15);
}

/* Responsive Móvil */
@media (max-width: 850px) {
  .titan-home-banner {
    padding: 2.75rem 0;
  }
  .titan-banner-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
  }
  .titan-banner-content {
    display: contents;
  }
  .titan-banner-tag {
    order: 1;
  }
  .titan-banner-title {
    order: 2;
  }
  .titan-banner-subtitle {
    order: 3;
  }
  .titan-banner-desc {
    order: 4;
    margin-bottom: 0;
  }
  .titan-banner-media {
    order: 5;
    margin: 0.75rem 0 1rem;
  }
  .titan-media-frame img {
    height: 220px;
  }
  .titan-media-features {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .titan-banner-actions {
    order: 6;
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
  }
  .btn-titan-primary,
  .btn-titan-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }
}

/* ---- Partners Strip ---- */
.partners-strip { overflow: hidden; padding: 2.75rem 0; border-bottom: 1px solid var(--border); background: var(--bg); }
.partners-label {
  text-align: center; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-subtle);
  margin-bottom: 1.75rem;
}
.partners-track-wrapper { overflow: hidden; }
.partners-track {
  display: flex; gap: 3.5rem; align-items: center;
  animation: scroll-partners 32s linear infinite; width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
.partner-item {
  font-weight: 700; font-size: 0.95rem; color: var(--text-subtle);
  white-space: nowrap; transition: color 0.2s;
}
.partner-item:hover { color: var(--text); }

/* ---- Pilares / Soluciones / Partner Tecnológico ---- */
.pillar-card {
  display: flex; flex-direction: column;
}
.pillar-icon {
  width: 52px; height: 52px;
  background: var(--bg-surface);
  color: var(--icontel-black);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.card:hover .pillar-icon {
  background: var(--icontel-black);
  color: #FFFFFF;
  border-color: var(--icontel-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.pillar-card h3 { margin-bottom: 0.5rem; color: var(--text); }
.pillar-card p { font-size: 0.95rem; margin-bottom: 1.25rem; color: var(--text-subtle); flex-grow: 1; }
.pillar-link {
  font-size: 0.88rem; font-weight: 700; color: var(--text);
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: gap 0.2s, color 0.2s;
  text-decoration: none;
}
.pillar-link:hover { gap: 0.65rem; color: var(--text-muted); }

/* Módulo: Tu Partner Tecnológico */
.partner-section {
  background: #FFFFFF;
  position: relative;
  padding: 2.5rem 0 3.5rem;
}

/* Encabezado con Imagen de Fondo */
.partner-hero-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2.75rem;
  background-color: #0B0F19;
  background-image: url('../img/partner_bg.jpg');
  background-size: cover;
  background-position: center center;
  min-height: 420px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}
.partner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.90) 46%, rgba(255, 255, 255, 0.45) 75%, rgba(255, 255, 255, 0.15) 100%);
  pointer-events: none;
}
.partner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 2.5rem 3rem;
}
.partner-hero-content .eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 0.65rem;
}
.partner-hero-title {
  font-size: clamp(1.75rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: #0B0F19;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.partner-hero-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}
.partner-hero-paragraphs p {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.55;
  margin: 0;
}
.partner-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.4rem;
  padding: 0.55rem 1.35rem;
  background: rgba(81, 206, 209, 0.12);
  border: 1px solid rgba(81, 206, 209, 0.4);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  box-shadow: 0 2px 10px rgba(81, 206, 209, 0.08);
}
.partner-tagline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tna-turquoise);
  box-shadow: 0 0 8px rgba(81, 206, 209, 0.6);
  display: inline-block;
  flex-shrink: 0;
}

/* Encabezado del bloque de tarjetas */
.partner-cards-header {
  text-align: center;
  max-width: 1150px;
  margin: 0 auto 2.25rem;
}
.partner-cards-title {
  font-size: clamp(1.35rem, 1.9vw, 1.85rem);
  font-weight: 800;
  color: #0B0F19;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.partner-cards-subtitle {
  font-size: 0.98rem;
  color: #64748B;
  line-height: 1.5;
  margin: 0 auto;
}
@media (min-width: 992px) {
  .partner-cards-title,
  .partner-cards-subtitle {
    white-space: nowrap;
  }
}

/* Grilla de 6 tarjetas */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.partner-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  position: relative;
}
.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(81, 206, 209, 0.45);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(81, 206, 209, 0.2);
}
.partner-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.partner-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.07);
  color: #0B0F19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.35rem;
  transition: all 0.25s ease;
}
.partner-card:hover .partner-icon {
  background: #0B0F19;
  color: #FFFFFF;
  border-color: #0B0F19;
  transform: scale(1.04);
}
.partner-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0B0F19;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.partner-card p {
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.partner-card-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  margin-top: auto;
}
.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0B0F19;
  text-decoration: none;
  transition: all 0.22s ease;
}
.partner-card:hover .partner-link {
  gap: 0.7rem;
  color: #008f91;
}
.partner-link i {
  font-size: 0.82rem;
  color: #008f91;
  transition: transform 0.22s ease;
}
.partner-card:hover .partner-link i {
  transform: translateX(3px);
}

/* Bloque de Contacto Cercano */
.partner-cta-box {
  margin-top: 3.5rem;
  padding: 2.35rem 2.85rem;
  background: #0B0F19;
  border-radius: 16px;
  border: 1px solid rgba(81, 206, 209, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}
.partner-cta-box::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 100%;
  background: radial-gradient(circle at 80% 50%, rgba(81, 206, 209, 0.14), transparent 70%);
  pointer-events: none;
}
.partner-cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.partner-cta-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.partner-cta-desc {
  font-size: 1.02rem;
  color: #94A3B8;
  line-height: 1.55;
  margin: 0;
}
.partner-cta-action {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.partner-cta-btn {
  background: var(--tna-turquoise);
  color: #0B0F19 !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.95rem 1.95rem;
  border-radius: 10px;
  border: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(81, 206, 209, 0.25);
}
.partner-cta-btn:hover {
  background: #FFFFFF;
  color: #0B0F19 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(81, 206, 209, 0.35);
}
.partner-cta-btn i {
  transition: transform 0.22s ease;
}
.partner-cta-btn:hover i {
  transform: translateX(3px);
}

/* Responsiveness */
@media (max-width: 992px) {
  .partner-hero-banner {
    min-height: auto;
    margin-bottom: 3.5rem;
  }
  .partner-hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%);
  }
  .partner-hero-content {
    padding: 2.75rem 2rem;
  }
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .partner-cta-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 2.25rem 1.75rem;
    gap: 1.5rem;
  }
}
@media (max-width: 640px) {
  .partner-section {
    padding: 2rem 0 2.5rem;
  }
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .partner-card {
    padding: 1.75rem 1.5rem;
  }
  .partner-tagline {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  .partner-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Tarjetas e Íconos de Industria ---- */
.industry-card {
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-top: 3px solid var(--icontel-black) !important;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}
.industry-icon {
  width: 56px; height: 56px; margin: 0 auto 1.15rem;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem;
  color: var(--icontel-black);
  transition: all 0.25s ease;
}
.industry-card:hover .industry-icon {
  background: var(--icontel-black);
  color: #FFFFFF;
  border-color: var(--icontel-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* ---- Métricas ---- */
.metrics-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.metric-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem; font-weight: 900; line-height: 1;
  margin-bottom: 0.5rem; color: var(--text);
}
.metric-label { font-size: 0.85rem; color: var(--text-subtle); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 768px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Franja Destacada: iConTel 360 (Contraste Negro Corporativo) ===== */
.i360-band {
  background: radial-gradient(800px 300px at 85% 20%, rgba(81, 206, 209, 0.12), transparent 70%), var(--icontel-black);
  color: #FFFFFF;
  padding: 4rem 0;
  border-top: 1px solid #1A1A1A;
  border-bottom: 1px solid #1A1A1A;
  position: relative; overflow: hidden;
}
.i360-inner {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem; align-items: center; position: relative; z-index: 1;
}
.i360-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.15em; color: var(--tna-turquoise);
  border: 1px solid rgba(81, 206, 209, 0.35);
  background: rgba(81, 206, 209, 0.08);
  border-radius: 999px; padding: 0.35rem 0.95rem; margin-bottom: 1.15rem;
}
.i360-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.18; margin: 0 0 1rem; color: #FFFFFF;
  letter-spacing: -0.02em;
}
.i360-copy h2 span {
  color: var(--tna-turquoise);
}
.i360-copy p {
  color: #D1D5DB;
  font-size: 1.05rem; line-height: 1.65; margin: 0 0 1.75rem; max-width: 34rem;
}
.i360-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.i360-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.75rem; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none; border: 0;
  cursor: pointer; background: #FFFFFF; color: var(--icontel-black);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, background 0.2s;
}
.i360-btn:hover {
  transform: translateY(-2px);
  background: var(--icontel-surface);
}
.i360-btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  box-shadow: none;
}
.i360-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: #FFFFFF;
}
.i360-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1rem;
  margin: 1.5rem 0 2rem;
}
.i360-cat-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 0.65rem 0.9rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.i360-cat-item:hover {
  background: rgba(81, 206, 209, 0.08);
  border-color: rgba(81, 206, 209, 0.35);
  transform: translateY(-1px);
}
.i360-cat-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(81, 206, 209, 0.14);
  color: var(--tna-turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.i360-media {
  display: block; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  background: #000000;
  position: relative;
}
.i360-media img,
.i360-media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}
@media (max-width: 900px) {
  .i360-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .i360-band { padding: 3rem 0; }
}
@media (max-width: 600px) {
  .i360-categories { grid-template-columns: 1fr; gap: 0.65rem; }
}

/* Modal de Video */
.i360-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.i360-modal[hidden] { display: none; }
.i360-modal video {
  width: min(1100px, 94vw); max-height: 86vh;
  border-radius: 10px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9); background: #000;
}
.i360-modal-close {
  position: absolute; top: 18px; right: 22px; width: 42px; height: 42px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3); color: #FFFFFF;
  font-size: 18px; cursor: pointer; transition: background 0.2s;
}
.i360-modal-close:hover { background: rgba(255, 255, 255, 0.25); }

/* ---- Sección de Contacto ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h2 { margin-bottom: 1rem; color: var(--text); }
.contact-info p { margin-bottom: 2rem; color: var(--text-subtle); }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; color: var(--text);
  box-shadow: var(--shadow-sm);
}
.contact-item-text strong { display: block; font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item-text a { font-weight: 600; color: var(--text); transition: color 0.2s; }
.contact-item-text a:hover { color: var(--text-muted); text-decoration: underline; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form .form-group { margin-bottom: 1.25rem; }
.form-group textarea {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: 0.95rem;
  font-family: 'Inter', sans-serif; resize: vertical; min-height: 110px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-group textarea:focus {
  outline: none;
  border-color: var(--icontel-black);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(8, 8, 8, 0.08);
}
.form-group select {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, background 0.2s;
}
.form-group select:focus {
  outline: none;
  border-color: var(--icontel-black);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(8, 8, 8, 0.08);
}
.form-status { font-size: 0.88rem; margin-top: 0.75rem; text-align: center; min-height: 1.2em; font-weight: 600; }

/* Contact Circles */
.contact-circles { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.circle-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF; font-size: 1.1rem; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); text-decoration: none;
}
.circle-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); color: #FFFFFF; }
.circle-wa { background: #25D366; }
.circle-li { background: #0A66C2; }
.circle-em { background: var(--icontel-black); border: 1px solid rgba(255, 255, 255, 0.15); }
.circle-em:hover { background: #222222; }
.circle-ph { background: var(--icontel-black); border: 1px solid rgba(255, 255, 255, 0.15); }
.circle-ph:hover { background: #222222; }
.circle-map { background: var(--icontel-black); border: 1px solid rgba(255, 255, 255, 0.15); color: #FFFFFF; }
.circle-map:hover { background: #222222; color: #FFFFFF; }

/* ---- Footer Corporativo Oficial (Contraste Negro) ---- */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid #1A1A1A;
  padding: 4.5rem 0 2rem;
  position: relative;
  color: var(--footer-text);
}

/* Franja Corporativa TNA Group como firma en el Footer */
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tna-gradient);
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3.5rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.9rem; color: var(--footer-muted); margin-top: 1.25rem; max-width: 290px; line-height: 1.6; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0; }
.footer-logo img {
  height: 52px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
}
.footer-col h2, .footer-col h5 {
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; color: #FFFFFF; margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a { font-size: 0.9rem; color: var(--footer-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  border-top: 1px solid #1E1E1E; padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; color: var(--footer-subtle); }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF; transition: all 0.2s; font-size: 0.85rem;
}
.social-link:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.20); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- WhatsApp Flotante ---- */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #FFFFFF; font-size: 1.55rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55); color: #FFFFFF; }

/* ---- Animaciones Sutiles ---- */
@keyframes scroll-partners {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; }
.fade-up.visible { animation: fade-up 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.18s; }
.delay-3 { animation-delay: 0.26s; }
.delay-4 { animation-delay: 0.34s; }
.delay-5 { animation-delay: 0.42s; }

/* ---- Responsive & Mobile Menu ---- */
@media (max-width: 1240px) and (min-width: 993px) {
  .navbar .container { padding: 0 1rem; }
  .nav-inner { height: 116px; gap: 0.85rem; }
  .nav-logo img { width: 175px; max-height: 92px; }
  .nav-links { gap: 0.15rem; }
  .nav-links a { padding: 0.5rem 0.45rem; font-size: 0.82rem; }
  .nav-links a.nav-btn-contact, .nav-links li:last-child a { padding: 0.55rem 0.95rem; font-size: 0.82rem; margin-left: 0.25rem; }
  .hero { padding-top: 116px; }
}
@media (max-width: 992px) {
  .nav-inner { height: 86px; gap: 1rem; }
  .nav-logo img { width: 155px; height: auto; max-height: 75px; }
  .nav-links {
    display: none; position: fixed; inset: 86px 0 0 0;
    background: var(--bg); flex-direction: column; align-items: flex-start;
    padding: 2rem 1.5rem; gap: 0.5rem; border-top: 1px solid var(--border);
    z-index: 99; overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; width: 100%; font-size: 1rem; }
  .nav-links a.nav-btn-contact,
  .nav-links li:last-child a {
    margin-left: 0; margin-top: 0.5rem; width: 100%; text-align: center; justify-content: center;
  }
  .hamburger { display: flex; }
  .hero { padding-top: 86px; }
  .hero-bg-overlay::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.90) 45%,
      rgba(255, 255, 255, 0.78) 100%
    );
  }
  [data-theme="dark"] .hero-bg-overlay::after {
    background: linear-gradient(
      180deg,
      rgba(8, 8, 8, 0.96) 0%,
      rgba(8, 8, 8, 0.90) 45%,
      rgba(8, 8, 8, 0.82) 100%
    );
  }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.5rem 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .dropdown-menu {
    position: static; opacity: 1; pointer-events: all; transform: none;
    box-shadow: none; background: transparent; border: none; padding-left: 1rem;
  }
  .nav-links .dropdown-solutions {
    width: 100%;
  }
  .nav-links .dropdown-solutions > a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }
  .nav-links .dropdown-solutions > a i {
    transition: transform 0.25s ease;
  }
  .nav-links .dropdown-solutions.open > a i {
    transform: rotate(180deg);
  }
  .nav-links .solutions-menu {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0 0.5rem 0.65rem;
    display: none;
    opacity: 1;
    pointer-events: all;
    background: transparent;
    gap: 0.35rem;
  }
  .nav-links .dropdown-solutions.open .solutions-menu {
    display: flex;
    flex-direction: column;
  }
  .sol-menu-item {
    padding: 0.55rem 0.5rem !important;
  }
  .sol-menu-icon {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
  }
  .sol-menu-title {
    font-size: 0.90rem;
  }
  .sol-menu-desc {
    font-size: 0.76rem;
  }
  .hero-login-card { margin: 0 auto; width: 100%; max-width: 440px; }
}
@media (max-width: 600px) {
  .nav-inner { height: 68px; }
  .nav-logo img { width: 105px; height: auto; max-height: 52px; }
  .nav-links { inset: 68px 0 0 0; }
  .hero { padding-top: 68px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-login-card { padding: 1.75rem 1.35rem; }
  .form-row { flex-direction: column; gap: 0.85rem; align-items: stretch; text-align: center; }
  .form-row .btn-login { width: 100%; justify-content: center; }
}

/* ---- Módulo de Diferenciación: Atención Humana & Certeza ---- */
.diff-section {
  background: #FFFFFF;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.diff-bg-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.diff-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: contrast(1.04) saturate(1.05);
}
.diff-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.68) 0%,
    rgba(255, 255, 255, 0.48) 45%,
    rgba(255, 255, 255, 0.62) 100%
  );
}
.diff-container {
  position: relative;
  z-index: 2;
}
.diff-header {
  text-align: center;
  max-width: 1150px;
  margin: 0 auto 3.25rem;
}
.diff-header .eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #0F172A;
  display: inline-block;
  margin-bottom: 0.85rem;
}
.diff-header h2 {
  font-size: clamp(1.35rem, 2.05vw, 2.15rem);
  font-weight: 800;
  color: #0B0F19;
  line-height: 1.25;
  margin-bottom: 1.15rem;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}
@media (min-width: 992px) {
  .diff-header h2 {
    white-space: nowrap;
  }
}
.diff-header-desc {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.diff-header-desc p {
  font-size: 1.04rem;
  color: #1E293B;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

/* Grilla Comparativa de 2 Columnas */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}
.diff-col {
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.diff-col-alone {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(244, 63, 94, 0.3);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
.diff-col-alone:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 63, 94, 0.5);
  box-shadow: 0 16px 36px rgba(244, 63, 94, 0.14);
}
.diff-col-icontel {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(81, 206, 209, 0.5);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
.diff-col-icontel:hover {
  transform: translateY(-3px);
  border-color: var(--tna-turquoise);
  box-shadow: 0 18px 40px rgba(81, 206, 209, 0.22);
}
.diff-col-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}
.diff-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.diff-pill-alone {
  background: rgba(244, 63, 94, 0.08);
  color: #e11d48;
  border: 1px solid rgba(244, 63, 94, 0.25);
}
.diff-pill-icontel {
  background: rgba(81, 206, 209, 0.12);
  color: #008f91;
  border: 1px solid rgba(81, 206, 209, 0.4);
}
.diff-col-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0B0F19;
  margin: 0;
  letter-spacing: -0.01em;
}
.diff-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.diff-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.diff-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.25s ease;
}
.diff-col:hover .diff-icon {
  transform: scale(1.06);
}
.diff-icon-alone {
  background: rgba(244, 63, 94, 0.08);
  color: #e11d48;
  border: 1px solid rgba(244, 63, 94, 0.22);
}
.diff-icon-icontel {
  background: rgba(81, 206, 209, 0.14);
  color: #008f91;
  border: 1px solid rgba(81, 206, 209, 0.35);
}
.diff-item-text h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0B0F19;
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.01em;
}
.diff-item-text p {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* Bloque Horizontal de Contacto Humano SAC */
.sac-banner {
  background: #0B0F19;
  border-radius: 18px;
  padding: 2.25rem 2.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.25rem;
  border: 1px solid rgba(81, 206, 209, 0.28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}
.sac-banner::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 320px; height: 100%;
  background: radial-gradient(circle at 85% 50%, rgba(81, 206, 209, 0.14), transparent 70%);
  pointer-events: none;
}
.sac-banner-photo {
  position: relative;
  flex-shrink: 0;
  width: 140px;
  height: 140px;
}
.sac-banner-photo img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 42% 18%;
  border: 3.5px solid var(--tna-turquoise);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: block;
}
.sac-status-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #0B0F19;
  border: 1px solid rgba(81, 206, 209, 0.5);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}
.sac-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.9);
  display: inline-block;
}
.sac-banner-info {
  flex-grow: 1;
  max-width: 580px;
  position: relative;
  z-index: 1;
}
.sac-banner-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.4rem 0;
  letter-spacing: -0.01em;
}
.sac-banner-desc {
  font-size: 1rem;
  color: #94A3B8;
  line-height: 1.55;
  margin: 0;
}
.sac-banner-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.sac-whatsapp-btn {
  background: #25D366;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.95rem 1.85rem;
  border-radius: 10px;
  border: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}
.sac-whatsapp-btn:hover {
  background: #1eb855;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
}
.sac-whatsapp-btn i {
  font-size: 1.15rem;
}
.sac-footnote {
  font-size: 0.82rem;
  color: #94A3B8;
}

@media (max-width: 992px) {
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2.75rem;
  }
  .sac-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 2.25rem 1.75rem;
    gap: 1.5rem;
  }
  .sac-banner-action {
    align-items: center;
    width: 100%;
  }
  .sac-whatsapp-btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .diff-section {
    padding: 3rem 0;
  }
  .diff-col {
    padding: 1.75rem 1.5rem;
  }
}

/* ==========================================================================
   SECCIÓN INDEPENDIENTE: SOMOS PARTE DE TNA GROUP
   ========================================================================== */
.tna-holding-section {
  background-color: #F3F5F7;
  padding: 4.75rem 0 5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  position: relative;
}

.tna-holding-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tna-holding-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.tna-holding-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tna-turquoise);
  box-shadow: 0 0 8px rgba(81, 206, 209, 0.7);
}

.tna-holding-pill-text {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #0B0F19;
}

.tna-holding-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 800;
  color: #0B0F19;
  line-height: 1.18;
  margin: 0 0 1.15rem 0;
  letter-spacing: -0.025em;
  text-align: center;
}

.tna-gradient-line {
  width: 90px;
  height: 3.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #F37021 0%, #7928CA 50%, #51CED1 100%);
  margin: 0 auto 1.35rem;
}

.tna-holding-subtitle {
  font-size: 1.08rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  text-align: center;
  max-width: 720px;
}

/* Grilla de 4 Columnas Equilibradas */
.tna-holding-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.tna-holding-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}

.tna-holding-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #F37021 0%, #7928CA 50%, #51CED1 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.tna-holding-card:hover {
  transform: translateY(-5px);
  border-color: rgba(81, 206, 209, 0.45);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.tna-holding-card:hover::before {
  opacity: 1;
}

/* Contenedor del Logo */
.tna-holding-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding: 0.75rem 0.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  text-decoration: none;
  transition: transform 0.25s ease;
}

.tna-holding-card:hover .tna-holding-logo-wrap {
  transform: scale(1.03);
}

.tna-holding-logo {
  max-width: 100%;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Cuerpo de la tarjeta */
.tna-holding-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.6rem;
}

.tna-holding-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  color: #0B0F19;
  line-height: 1.25;
  margin: 0 0 0.65rem 0;
  letter-spacing: -0.015em;
}

.tna-holding-name-link {
  color: #0B0F19;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tna-holding-name-link:hover {
  color: var(--tna-turquoise-dark, #008f91);
}

.tna-holding-desc {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* Footer de la tarjeta con enlace */
.tna-holding-footer {
  padding-top: 1rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.08);
}

.tna-holding-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #008f91;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.tna-holding-btn i {
  font-size: 0.82rem;
  transition: transform 0.2s ease;
}

.tna-holding-btn:hover {
  color: var(--tna-turquoise, #51CED1);
}

.tna-holding-btn:hover i {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1100px) {
  .tna-holding-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .tna-holding-section {
    padding: 3.5rem 0;
  }
  .tna-holding-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .tna-holding-card {
    padding: 1.85rem 1.5rem;
  }
  .tna-holding-title {
    font-size: 1.85rem;
  }
}
