/* ==========================================================================
   GRUPO ODESA - ESTILO INDUSTRIAL TECH & DARK MODE
   Paleta: Antracita #0B0D10 / #12161C, Azul Eléctrico #004CFD, 
           Azul Marino #0A326F y Amarillo Oro Industrial #FFC000 (Nuevo Isotipo)
   ========================================================================== */

:root {
  --bg-main: #0b0d10;
  --bg-surface: #12161c;
  --bg-card: #181d24;
  --bg-card-hover: #202732;
  --border-subtle: #26303d;
  --border-focus: #004cfd;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-yellow: #ffc000;
  --accent-yellow-hover: #ffd026;
  --accent-yellow-glow: rgba(255, 192, 0, 0.28);
  --accent-blue: #004cfd;
  --accent-blue-hover: #1e6fff;
  --accent-blue-dark: #0a326f;
  --accent-blue-glow: rgba(0, 76, 253, 0.35);
  --accent-navy: #0a326f;
  --accent-red: #ef4444;
  --accent-red-hover: #dc2626;
  --accent-red-glow: rgba(239, 68, 68, 0.3);
}

/* Base resets & Smooth scroll */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-main);
}

/* Custom Scrollbar Industrial */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0b0d10;
}
::-webkit-scrollbar-thumb {
  background: #26303d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(18, 22, 28, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-nav {
  background: rgba(11, 13, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Industrial Card Glow Effects */
.industrial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.industrial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, transparent, transparent);
  transition: all 0.3s ease;
}

.industrial-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.5), 0 0 20px -5px var(--accent-yellow-glow);
}

.industrial-card:hover::before {
  background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

/* Blue CTA Glow (Matching ODESA Electric Blue & Navy) */
.btn-cta-blue,
.btn-cta-red {
  background: linear-gradient(135deg, #005ae2 0%, #0a326f 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 18px var(--accent-blue-glow);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta-blue:hover,
.btn-cta-red:hover {
  background: linear-gradient(135deg, #1e6fff 0%, #004ecc 100%);
  box-shadow: 0 6px 26px rgba(0, 76, 253, 0.55);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-cta-blue:active,
.btn-cta-red:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 76, 253, 0.4);
}

/* Yellow Accent Button (Matching ODESA Gold Isotype) */
.btn-cta-yellow {
  background: linear-gradient(135deg, #ffc000 0%, #d97706 100%);
  color: #0b0d10;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px var(--accent-yellow-glow);
  transition: all 0.25s ease;
}

.btn-cta-yellow:hover {
  background: linear-gradient(135deg, #ffd026 0%, #ffc000 100%);
  box-shadow: 0 6px 26px rgba(255, 192, 0, 0.55);
  transform: translateY(-2px);
}

/* Client Logos Style */
.client-logo-card {
  background: rgba(18, 22, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo-card:hover {
  border-color: rgba(255, 192, 0, 0.4);
  background: rgba(24, 29, 36, 0.95);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.6), 0 0 15px -4px rgba(255, 192, 0, 0.25);
}

/* Floating Action Buttons */
.fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.fab-btn:hover {
  transform: scale(1.1);
}

.fab-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.fab-whatsapp:hover {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.fab-phone {
  background: #f59e0b;
  color: #0b0d10;
}

.fab-phone:hover {
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.fab-tooltip {
  position: absolute;
  right: 64px;
  background: #181d24;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(8px);
  border: 1px solid #26303d;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.fab-btn:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Badge Industrial */
.badge-industrial {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-status-completed {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-status-progress {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

/* Modal Overlay & Transitions */
.modal-backdrop {
  background-color: rgba(6, 8, 10, 0.85);
  backdrop-filter: blur(8px);
  transition: opacity 0.3s ease;
}

.modal-content {
  background: #12161c;
  border: 1px solid #2b3544;
  max-height: 90vh;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

/* Technical Specs Table */
.tech-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.tech-table th {
  background: #181d24;
  color: #fbbf24;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid #26303d;
}

.tech-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid #1e2530;
  color: #cbd5e1;
}

.tech-table tr:hover td {
  background: rgba(245, 158, 11, 0.04);
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.pulse-glow {
  animation: pulseGlow 4s infinite ease-in-out;
}


/* ==========================================================================
   ESTILO CLARO CORPORATIVO (HIGH CONTRAST & MAXIMUM LEGIBILITY)
   Activado automáticamente cuando <body> tiene la clase .theme-light.
   Cuando no la tiene (Modo Oscuro), la página es 100% idéntica a la original.
   ========================================================================== */

/* 1. Theme Switcher Button */
.theme-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid;
}

/* En Modo Oscuro */
body:not(.theme-light) .theme-switch-btn {
  background: #181d24;
  border-color: #ffc000;
  color: #ffc000;
  box-shadow: 0 0 12px rgba(255, 192, 0, 0.2);
}
body:not(.theme-light) .theme-switch-btn:hover {
  background: #ffc000;
  color: #0b0d10;
  box-shadow: 0 0 20px rgba(255, 192, 0, 0.4);
}

/* En Modo Claro */
body.theme-light .theme-switch-btn {
  background: #ffffff;
  border-color: #0a326f;
  color: #0a326f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
body.theme-light .theme-switch-btn:hover {
  background: #0a326f;
  color: #ffffff;
  border-color: #0a326f;
  box-shadow: 0 4px 16px rgba(10, 50, 111, 0.3);
}

/* 2. Global Body & Typography en Modo Claro */
body.theme-light {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

body.theme-light::-webkit-scrollbar-track {
  background: #f1f5f9;
}
body.theme-light::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}
body.theme-light::-webkit-scrollbar-thumb:hover {
  background: #004cfd;
}

/* 3. Header & Barra de Navegación */
body.theme-light #main-nav {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08) !important;
}

body.theme-light #main-nav span.font-extrabold {
  color: #0a326f !important;
}

body.theme-light #main-nav span.text-amber-400\/90,
body.theme-light #main-nav span.text-blue-600 {
  color: #004cfd !important;
  font-weight: 700 !important;
}

body.theme-light #main-nav nav a {
  color: #0f172a !important;
  font-weight: 700 !important;
}

body.theme-light #main-nav nav a:hover {
  color: #004cfd !important;
}

body.theme-light #mobile-menu {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}

body.theme-light #mobile-menu a {
  color: #0f172a !important;
  font-weight: 700 !important;
}

body.theme-light #mobile-menu-toggle {
  color: #0a326f !important;
}

/* 4. Hero Section */
body.theme-light #hero {
  background-color: #f1f5f9 !important;
}

body.theme-light #hero img.filter {
  opacity: 0.28 !important;
  filter: brightness(0.95) contrast(1.1) !important;
}

body.theme-light #hero div.bg-gradient-to-t {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.94) 55%, rgba(241, 245, 249, 0.85) 100%) !important;
}

body.theme-light #hero .inline-flex {
  background: rgba(0, 76, 253, 0.1) !important;
  border: 1px solid rgba(0, 76, 253, 0.35) !important;
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light #hero h1 {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light #hero h1 span {
  background: linear-gradient(135deg, #004cfd 0%, #0a326f 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

body.theme-light #hero p {
  color: #1e293b !important;
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
}

body.theme-light #hero p strong {
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light #hero a[href="#empresa"] {
  background: #ffffff !important;
  color: #0a326f !important;
  border: 2px solid #0a326f !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}
body.theme-light #hero a[href="#empresa"]:hover {
  background: #0a326f !important;
  color: #ffffff !important;
}

body.theme-light #hero a[href*="Brochure"] {
  background: rgba(0, 76, 253, 0.1) !important;
  color: #0a326f !important;
  border: 2px solid #004cfd !important;
  font-weight: 800 !important;
}
body.theme-light #hero a[href*="Brochure"]:hover {
  background: #004cfd !important;
  color: #ffffff !important;
}

/* Métricas Hero en Modo Claro */
body.theme-light #hero .grid.grid-cols-1.sm\:grid-cols-3 {
  border-color: #cbd5e1 !important;
}

body.theme-light #hero .glass-panel {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07) !important;
}

body.theme-light #hero .glass-panel .text-white {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light #hero .glass-panel .text-slate-400 {
  color: #1e293b !important;
  font-weight: 700 !important;
}

body.theme-light #hero .glass-panel div.w-12 {
  background: rgba(0, 76, 253, 0.1) !important;
  border: 1px solid rgba(0, 76, 253, 0.3) !important;
  color: #004cfd !important;
}

/* 5. Sección Nuestra Empresa */
body.theme-light #empresa {
  background-color: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}

body.theme-light #empresa .inline-flex {
  background: rgba(0, 76, 253, 0.1) !important;
  border: 1px solid rgba(0, 76, 253, 0.3) !important;
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light #empresa h2 {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light #empresa h2 span {
  background: linear-gradient(135deg, #004cfd 0%, #0a326f 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

body.theme-light #empresa p {
  color: #1e293b !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
  font-weight: 500 !important;
}

body.theme-light #empresa p strong {
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light #empresa div.border-l-4 {
  background-color: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-left: 5px solid #004cfd !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

body.theme-light #empresa div.border-l-4 p {
  color: #0a326f !important;
  font-weight: 600 !important;
}

body.theme-light #empresa div.border-l-4 p strong {
  color: #004cfd !important;
  font-weight: 900 !important;
}

body.theme-light #empresa .grid div.rounded-xl {
  background-color: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
}

body.theme-light #empresa .grid div.rounded-xl h5 {
  color: #0a326f !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
}

body.theme-light #empresa .grid div.rounded-xl p {
  color: #334155 !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
}

body.theme-light #empresa div.relative.rounded-2xl {
  border: 2px solid #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

body.theme-light #empresa div.relative.rounded-xl {
  border: 1.5px solid #cbd5e1 !important;
}

/* 6. Clientes Tier-1 */
body.theme-light section:has(.client-logo-card) {
  background-color: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

body.theme-light section:has(.client-logo-card) span.uppercase {
  background: rgba(0, 76, 253, 0.1) !important;
  border: 1px solid rgba(0, 76, 253, 0.3) !important;
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light section:has(.client-logo-card) h3 {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light section:has(.client-logo-card) p {
  color: #1e293b !important;
  font-weight: 600 !important;
}

body.theme-light .client-logo-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

body.theme-light .client-logo-card:hover {
  border-color: #004cfd !important;
  box-shadow: 0 8px 24px rgba(0, 76, 253, 0.15) !important;
}

/* 7. Servicios Técnicos (Bento Grid) */
body.theme-light #servicios {
  background-color: #f1f5f9 !important;
}

body.theme-light #servicios span.uppercase {
  background: rgba(0, 76, 253, 0.1) !important;
  border: 1px solid rgba(0, 76, 253, 0.3) !important;
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light #servicios h2 {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light #servicios p.text-slate-400 {
  color: #1e293b !important;
  font-weight: 500 !important;
}

body.theme-light .industrial-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08) !important;
}

body.theme-light .industrial-card:hover {
  border-color: #004cfd !important;
  box-shadow: 0 16px 36px -6px rgba(0, 76, 253, 0.2) !important;
}

body.theme-light .industrial-card h3 {
  color: #ffffff !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

body.theme-light .industrial-card p.text-xs {
  color: #1e293b !important;
  font-size: 0.875rem !important;
  line-height: 1.65 !important;
  font-weight: 500 !important;
}

body.theme-light .industrial-card span.text-\[10px\] {
  background-color: #f1f5f9 !important;
  color: #0a326f !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 700 !important;
}

body.theme-light .industrial-card button {
  background: linear-gradient(135deg, #0a326f 0%, #004cfd 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(0, 76, 253, 0.25) !important;
}

body.theme-light .industrial-card button:hover {
  background: linear-gradient(135deg, #004cfd 0%, #1e6fff 100%) !important;
  box-shadow: 0 6px 20px rgba(0, 76, 253, 0.4) !important;
}

/* 8. Criterios Geotécnicos */
body.theme-light #geotecnia {
  background-color: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

body.theme-light #geotecnia span.uppercase {
  background: rgba(0, 76, 253, 0.1) !important;
  border: 1px solid rgba(0, 76, 253, 0.3) !important;
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light #geotecnia h2 {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light #geotecnia p {
  color: #1e293b !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
}

body.theme-light #geotecnia h4 {
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light #geotecnia .w-8.h-8 {
  background: rgba(0, 76, 253, 0.1) !important;
  color: #004cfd !important;
}

body.theme-light #geotecnia div.shadow-2xl {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08) !important;
}

body.theme-light #geotecnia h3 {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light #geotecnia p.text-slate-400 {
  color: #334155 !important;
  font-weight: 600 !important;
}

body.theme-light .tech-table th {
  background: #f1f5f9 !important;
  color: #0a326f !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  border-bottom: 2px solid #cbd5e1 !important;
}

body.theme-light .tech-table td {
  color: #1e293b !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

body.theme-light .tech-table td.font-semibold {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light .tech-table tr:hover td {
  background: #f8fafc !important;
}

body.theme-light #geotecnia div.bg-slate-900\/90 {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
}

body.theme-light #geotecnia div.bg-slate-900\/90 strong {
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light #geotecnia h4.font-bold {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light #geotecnia div.relative.rounded-2xl {
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

/* 9. Portafolio de Proyectos */
body.theme-light #portafolio {
  background-color: #f1f5f9 !important;
}

body.theme-light #portafolio h2 {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light .portfolio-filter-btn:not(.bg-amber-500):not(.bg-blue-600) {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1.5px solid #cbd5e1 !important;
  font-weight: 700 !important;
}

body.theme-light .portfolio-filter-btn.bg-amber-500,
body.theme-light .portfolio-filter-btn.bg-blue-600 {
  background: #004cfd !important;
  color: #ffffff !important;
  border: 1.5px solid #004cfd !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(0, 76, 253, 0.3) !important;
}

body.theme-light #portafolio .industrial-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

body.theme-light #portafolio .industrial-card h3 {
  color: #0a326f !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

body.theme-light #portafolio .industrial-card p {
  color: #1e293b !important;
  font-weight: 600 !important;
}

body.theme-light #portafolio .industrial-card div.border-t {
  border-color: #cbd5e1 !important;
}

body.theme-light #portafolio .industrial-card span.text-slate-400 {
  color: #475569 !important;
}

body.theme-light #portafolio .industrial-card button {
  color: #004cfd !important;
  font-weight: 800 !important;
}

body.theme-light #portafolio .industrial-card button:hover {
  color: #0a326f !important;
}

/* 10. Flota de Maquinaria */
body.theme-light #maquinaria {
  background-color: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}

body.theme-light #maquinaria h2 {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light #maquinaria p.text-slate-400 {
  color: #1e293b !important;
  font-weight: 500 !important;
}

body.theme-light #maquinaria div.rounded-2xl {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

body.theme-light #maquinaria div.rounded-2xl h3 {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light #maquinaria div.rounded-2xl span.bg-amber-500\/10 {
  background: rgba(0, 76, 253, 0.1) !important;
  color: #0a326f !important;
  border: 1px solid rgba(0, 76, 253, 0.3) !important;
  font-weight: 800 !important;
}

body.theme-light #maquinaria .space-y-2 div {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

body.theme-light #maquinaria .space-y-2 div span:first-child {
  color: #334155 !important;
  font-weight: 600 !important;
}

body.theme-light #maquinaria .space-y-2 div span:last-child {
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light #maquinaria .tech-table th {
  background: #f1f5f9 !important;
  color: #0a326f !important;
  font-weight: 800 !important;
  border-bottom: 2px solid #cbd5e1 !important;
}

body.theme-light #maquinaria .tech-table td {
  color: #1e293b !important;
  font-weight: 600 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

body.theme-light #maquinaria .tech-table td span {
  color: #0a326f !important;
  font-weight: 800 !important;
}

/* 11. Contacto */
body.theme-light #contacto {
  background-color: #f1f5f9 !important;
}

body.theme-light #contacto h2 {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light #contacto p.text-slate-400 {
  color: #1e293b !important;
  font-weight: 500 !important;
}

body.theme-light #contacto div.bg-slate-900\/60,
body.theme-light #contacto div.bg-\[\#12161c\]\/60 {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

body.theme-light #contacto h4.text-white {
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light #contacto p.text-slate-400 {
  color: #1e293b !important;
  font-weight: 600 !important;
}

body.theme-light #contacto div.shadow-2xl {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08) !important;
}

body.theme-light #contacto h3.text-white {
  color: #0a326f !important;
  font-weight: 900 !important;
}

body.theme-light #contacto label {
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light #contacto input,
body.theme-light #contacto select,
body.theme-light #contacto textarea {
  background: #f8fafc !important;
  border: 2px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 600 !important;
}

body.theme-light #contacto input:focus,
body.theme-light #contacto select:focus,
body.theme-light #contacto textarea:focus {
  background: #ffffff !important;
  border-color: #004cfd !important;
  box-shadow: 0 0 0 3px rgba(0, 76, 253, 0.2) !important;
}

body.theme-light #contacto select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

/* 12. Modal de Fichas Técnicas */
body.theme-light .modal-content {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.theme-light .modal-content h4 {
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light .modal-content p {
  color: #1e293b !important;
  font-weight: 500 !important;
}

body.theme-light .modal-content div[class*="bg-slate-50"],
body.theme-light .modal-content div[class*="bg-[#181d24]"] {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}

body.theme-light .modal-content div[class*="bg-slate-50"] h4,
body.theme-light .modal-content div[class*="bg-[#181d24]"] h4 {
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light .modal-content div[class*="bg-slate-50"] li,
body.theme-light .modal-content div[class*="bg-[#181d24]"] li {
  color: #1e293b !important;
  font-weight: 600 !important;
}

body.theme-light .modal-content .border-l-2 h5 {
  color: #0a326f !important;
  font-weight: 800 !important;
}

body.theme-light .modal-content .border-l-2 p {
  color: #334155 !important;
  font-weight: 500 !important;
}

body.theme-light .modal-content div[class*="bg-amber-500"],
body.theme-light .modal-content div[class*="bg-blue-500"] {
  background: rgba(0, 76, 253, 0.1) !important;
  border-color: rgba(0, 76, 253, 0.3) !important;
  color: #0a326f !important;
  font-weight: 700 !important;
}

/* 13. Footer - Se mantiene en Azul Marino Profundo / Carbón en AMBOS temas */
footer {
  background-color: #07090b !important;
  border-top: 1px solid #1e2530 !important;
}
footer h4 {
  color: #ffffff !important;
}
footer p, footer a {
  color: #94a3b8 !important;
}
footer a:hover {
  color: #ffc000 !important;
}
