/* ==========================================================================
   V&V SECURITY - SYSTEMA DE DISEÑO PREMIUM (VANILLA CSS)
   ========================================================================== */

/* IMPORTACIÓN DE FUENTES PREMIUM */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CONSTANTES Y VARIABLES GLOBAL */
:root {
  /* Paleta Dark (Premium base) */
  --bg-dark-950: #020617;
  --bg-dark-900: #0f172a;
  --bg-dark-800: #1e293b;
  --bg-dark-700: #334155;
  --border-dark: rgba(255, 255, 255, 0.08);
  --text-dark-main: #f8fafc;
  --text-dark-muted: #94a3b8;

  /* Paleta Light (Para secciones de lectura limpia) */
  --bg-light-100: #f8fafc;
  --bg-light-200: #f1f5f9;
  --border-light: #e2e8f0;
  --text-light-main: #0f172a;
  --text-light-muted: #475569;

  /* Colores de Marca y Acentos */
  --primary: #1b1b7f; /* Azul Corporativo Original */
  --primary-accent: #2563eb; /* Azul Eléctrico Moderno */
  --primary-light: rgba(37, 99, 235, 0.12);
  --gold: #d97706; /* Dorado Premium para distintivos */
  --gold-light: rgba(217, 119, 6, 0.15);
  --cyan: #06b6d4; /* Cian para elementos tecnológicos */
  --green: #10b981; /* Verde esmeralda para éxitos/guardias */
  --red: #ef4444; /* Rojo para alertas */

  /* Tipografía */
  --font-headers: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transiciones y Sombras */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.15);
  
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
  
  --container-width: 1280px;
  --header-height: 80px;
}

/* RESET GENERAL Y COMPORTAMIENTO BÁSICO */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--bg-dark-950);
  color: var(--text-dark-main);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* TIPOGRAFÍA PREMIUM */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
  position: relative;
}

/* Efecto de línea decorativa para h2 principales */
h2.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-accent), var(--cyan));
  margin-top: 0.75rem;
  border-radius: var(--border-radius-full);
}

h2.section-title.center::after {
  margin-left: auto;
  margin-right: auto;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin-bottom: 0.75rem;
}

p {
  font-size: 1.05rem;
  color: var(--text-dark-muted);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

/* UTILITY CLASSES */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
  background: linear-gradient(135deg, var(--primary-accent) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-light-section {
  background-color: var(--bg-light-100);
  color: var(--text-light-main);
}
.bg-light-section p {
  color: var(--text-light-muted);
}
.bg-light-section h2, .bg-light-section h3, .bg-light-section h4 {
  color: var(--text-light-main);
}

.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* BOTONES PREMIUM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-headers);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary) 100%);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #3b82f6 0%, var(--primary-accent) 100%);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-accent); /* Brand blue by default on light backgrounds */
  border: 2px solid var(--primary-accent);
}

.btn-secondary:hover {
  background-color: var(--primary-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
}

.hero .btn-secondary {
  color: white; /* Keep white text in the dark hero section */
}

.btn-light {
  background-color: var(--primary);
  color: white;
}
.btn-light:hover {
  background-color: var(--primary-accent);
  transform: translateY(-2px);
}

/* ACCESOS DIRECTOS TOP-BAR */
.top-bar {
  background-color: var(--bg-dark-950);
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  display: none;
}

@media (min-width: 1024px) {
  .top-bar {
    display: block;
  }
}

.top-bar-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark-muted);
}

.top-contacts {
  display: flex;
  gap: 1.5rem;
}

.top-contacts a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-links {
  display: flex;
  gap: 1.25rem;
}

.top-links a {
  padding: 0.15rem 0.6rem;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255,255,255,0.05);
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.top-links a:hover {
  background-color: var(--primary-accent);
  color: white;
}

/* HEADER Y NAVEGACIÓN PREMIUM */
.main-header {
  height: var(--header-height);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
}

.main-header.scrolled {
  position: fixed;
  top: 0;
  background-color: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  height: 70px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 1024px) {
  .main-header {
    top: 38px; /* Offset header to sit below top-bar */
  }
  .main-header.scrolled {
    top: 0; /* Sticky to screen top when scrolled */
  }
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 48px;
  width: auto;
  transition: height var(--transition-normal);
  filter: brightness(0) invert(1); /* Invert dark blue logo to crisp white for dark backgrounds */
}

.main-header.scrolled .logo img {
  height: 40px;
}

/* Menú Escritorio */
.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.5rem 0.25rem;
  position: relative;
  color: var(--text-dark-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-accent);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  width: 100%;
}

.nav-item.active .nav-link {
  color: var(--primary-accent);
}

/* Botón de Menú Móvil */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 120;
}

@media (min-width: 1024px) {
  .menu-btn {
    display: none;
  }
}

.menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-dark-main);
  border-radius: var(--border-radius-full);
  transition: all var(--transition-normal);
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Nav Móvil */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-dark-950);
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right var(--transition-normal);
  padding: 2rem;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav .nav-list {
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav .nav-link {
  font-size: 1.5rem;
}

/* HERO SECTION - INICIO */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 2rem);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.7) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.hero-content {
  max-width: 800px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--border-radius-full);
  background-color: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.3);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-accent);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-desc {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Enlaces rápidos del Hero */
.hero-quick-links {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-top: 1rem;
}

.quick-links-title {
  font-family: var(--font-headers);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .quick-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .quick-links-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.quick-link-card i {
  font-size: 1.5rem;
  color: var(--primary-accent);
  margin-bottom: 0.5rem;
  transition: transform var(--transition-normal);
}

.quick-link-card span {
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.quick-link-card:hover {
  background-color: var(--primary-light);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-3px);
}

.quick-link-card:hover i {
  transform: scale(1.15);
}

/* SECCIÓN DE NOTICIAS PREMIUM */
.noticias-section {
  background: linear-gradient(180deg, var(--bg-dark-950) 0%, var(--bg-dark-900) 100%);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--primary-accent);
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.noticias-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .noticias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .noticias-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.noticia-card {
  background-color: var(--bg-dark-800);
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  height: 100%;
}

.noticia-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--bg-dark-900);
}

.noticia-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.noticia-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-accent);
  color: white;
  font-family: var(--font-headers);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  text-transform: uppercase;
}

.noticia-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.noticia-meta {
  font-size: 0.8rem;
  color: var(--text-dark-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.noticia-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noticia-link {
  font-family: var(--font-headers);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.noticia-link i {
  transition: transform var(--transition-fast);
}

.noticia-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-lg);
}

.noticia-card:hover .noticia-img-wrap img {
  transform: scale(1.08);
}

.noticia-card:hover .noticia-link i {
  transform: translateX(3px);
}

/* SECCIÓN DE DIFERENCIALES */
.diferenciales-section {
  background-color: var(--bg-light-100);
}

.diferencial-card {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.diferencial-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  color: var(--primary-accent);
  font-size: 1.75rem;
  transition: all var(--transition-normal);
}

.diferencial-card h3 {
  color: var(--text-light-main);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.diferencial-card p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.diferencial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

.diferencial-card:hover .diferencial-icon {
  background-color: var(--primary-accent);
  color: white;
  transform: rotateY(360deg);
}

/* SECCIÓN MULTIMEDIA TRABAJA CON NOSOTROS (HOME) */
.media-section {
  background-color: var(--bg-dark-900);
}

.media-blocks-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.media-block {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .media-block {
    grid-template-columns: 1.2fr 1fr;
  }
  .media-block.reverse {
    grid-template-columns: 1fr 1.2fr;
  }
}

.media-info h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.media-info p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.video-player-wrap {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-dark);
  background-color: black;
  aspect-ratio: 16 / 9;
}

/* Para video vertical experiencias */
.video-player-wrap.vertical {
  aspect-ratio: 9 / 16;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.video-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: white;
  font-family: var(--font-headers);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  z-index: 2;
}

/* PESTAÑAS Y INTERACCIONES - GENERAL */
.tabs-container {
  display: grid;
  gap: 2rem;
}

@media (min-width: 992px) {
  .tabs-container {
    grid-template-columns: 280px 1fr;
  }
}

.tabs-list {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

@media (min-width: 992px) {
  .tabs-list {
    flex-direction: column;
    overflow-x: visible;
    border-bottom: none;
    border-right: 1px solid var(--border-light);
    padding-bottom: 0;
    padding-right: 1rem;
  }
}

.tab-btn {
  padding: 0.85rem 1.25rem;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: var(--border-radius-md);
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  color: var(--text-light-muted);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bg-dark-section .tab-btn {
  color: var(--text-dark-muted);
}

.tab-btn:hover {
  background-color: var(--bg-light-200);
  color: var(--primary-accent);
}

.bg-dark-section .tab-btn:hover {
  background-color: rgba(255,255,255,0.05);
  color: white;
}

.tab-btn.active {
  background-color: var(--primary-light);
  color: var(--primary-accent);
}

.bg-dark-section .tab-btn.active {
  background-color: rgba(37, 99, 235, 0.2);
  color: white;
  border: 1px solid rgba(37, 99, 235, 0.4);
}

.tab-content {
  display: none;
  animation: fadeIn var(--transition-normal);
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SECCIÓN DE SERVICIOS PÁGINA */
.servicios-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

.servicio-item-card {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

@media (min-width: 768px) {
  .servicio-item-card {
    flex-direction: row;
    align-items: center;
  }
}

.servicio-icon-wrap {
  width: 100px;
  height: 100px;
  background-color: var(--bg-light-200);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.servicio-icon-wrap img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.servicio-body {
  flex-grow: 1;
}

.servicio-body h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-light-main);
}

.servicio-body p {
  margin-bottom: 0;
}

.servicio-actions {
  flex-shrink: 0;
}

.servicio-item-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Tablas comparativas de Casetas */
.caseta-comparativa-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .caseta-comparativa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.caseta-specs-card {
  background-color: var(--bg-light-200);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
}

.caseta-specs-card h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary-accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.caseta-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.caseta-specs-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.caseta-specs-table td {
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.caseta-specs-table td:first-child {
  font-weight: 600;
  color: var(--text-light-muted);
}

/* PORTAL DE EMPLEO / IFRAME WRAP */
.iframe-section {
  background-color: var(--bg-dark-900);
}

.iframe-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-dark);
}

.iframe-card iframe {
  width: 100%;
  height: 900px;
  border: none;
  background-color: white;
}

/* CONTACTO - CARDS Y FORMULARIO */
.contacto-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contacto-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contacto-info-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contacto-card {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contacto-card h3 {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  color: var(--text-light-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contacto-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contacto-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.contacto-detail-item i {
  color: var(--primary-accent);
  margin-top: 0.25rem;
  font-size: 1.1rem;
}

/* Formulario Premium */
.form-card {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-premium);
}

.form-title {
  margin-bottom: 1.5rem;
  color: var(--text-light-main);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light-main);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--border-radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--bg-light-100);
  color: var(--text-light-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-accent);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Estados de post-envío de formulario */
.form-feedback {
  padding: 1rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 1.5rem;
  display: none;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-feedback.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.15);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-feedback.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* FOOTER PREMIUM */
.main-footer {
  background-color: var(--bg-dark-950);
  border-top: 1px solid var(--border-dark);
  font-size: 0.95rem;
}

.footer-top {
  padding-top: 5rem;
  padding-bottom: 3rem;
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .footer-top {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-accent);
  border-radius: var(--border-radius-full);
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 50px;
  filter: brightness(0) invert(1);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: var(--text-dark-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column ul li a:hover {
  color: var(--primary-accent);
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.footer-column p strong {
  color: white;
}

/* Footer Bottom */
.footer-bottom {
  background-color: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border-dark);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dark-muted);
}

/* BREADCRUMB COMPONENT */
.page-banner {
  background: linear-gradient(135deg, var(--bg-dark-900) 0%, var(--bg-dark-950) 100%);
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  margin-bottom: 0.5rem;
}

.breadcrumbs {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-dark-muted);
}

.breadcrumbs a {
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--primary-accent);
}

.breadcrumbs span.current {
  color: var(--text-dark-main);
  font-weight: 500;
}

/* ESTILO GENERAL DEL ORGANIGRAMA */
.organigrama-wrap {
  text-align: center;
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
}

.organigrama-wrap img {
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--border-radius-sm);
  max-height: 600px;
  object-fit: contain;
}

/* ANIMACIONES */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ACCESIBILIDAD Y EXTRA */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* RESPONSIVE SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark-950);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-dark-800);
  border-radius: var(--border-radius-full);
  border: 2px solid var(--bg-dark-950);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-accent);
}
