/* ==========================================================================
   SISTEMA DE DISEÑO LIGHT TECH - ITC GLOBAL
   Estilos Centralizados, Premium y Responsivos
   ========================================================================== */

:root {
  /* Color Palette (Clean Light Mode) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-tertiary: #f1f5f9;
  
  --accent-primary: #2563eb;    /* Royal Blue Cobalto */
  --accent-secondary: #0ea5e9;  /* Turquesa / Cyan Cloud */
  --accent-glow: rgba(37, 99, 235, 0.1);
  --accent-muted: #e2e8f0;
  
  --text-pure: #0f172a;         /* Negro Slate */
  --text-silver: #475569;       /* Gris Slate */
  --text-muted: #64748b;        /* Gris Apagado */
  
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.1);

  /* Shadows, Borders & Radius */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-premium: 0 20px 40px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 30px 60px rgba(37, 99, 235, 0.1);
  --border-glass: 1px solid rgba(15, 23, 42, 0.06);
  --border-active: 1px solid rgba(37, 99, 235, 0.2);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* ==========================================================================
   RESET & CORE LAYOUT
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--text-silver);
  background-color: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-pure);
  font-weight: 700;
  line-height: 1.25;
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* Background grid network decorative pattern */
.bg-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 650px;
  background-image: 
    radial-gradient(var(--bg-primary) 30%, transparent 80%),
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05), transparent 60%),
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES & BUTTONS
   ========================================================================== */

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  background: var(--accent-glow);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.lead {
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--text-silver);
  font-weight: 400;
  max-width: 720px;
}

.section-head {
  margin-bottom: 60px;
  max-width: 750px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 18px;
}

.section-head p {
  font-size: 18px;
  color: var(--text-muted);
}

.section-head-center {
  text-align: center;
  margin-bottom: 60px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.section-head-center h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 18px;
}

.section-head-center p {
  font-size: 18px;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: var(--bg-primary);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-pure);
  border: var(--border-glass);
  box-shadow: var(--shadow-premium);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--bg-tertiary);
  border-color: rgba(15, 23, 42, 0.12);
}

/* ==========================================================================
   HEADER & PREMIUM LANGUAGE SWITCHER
   ========================================================================== */

.topbar {
  background-color: var(--bg-secondary);
  border-bottom: var(--border-glass);
  padding: 10px 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: var(--border-glass);
  transition: var(--transition-smooth);
}

header.scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.brand {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

header nav a {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 550;
  color: var(--text-silver);
}

header nav a:hover, header nav a.active {
  color: var(--accent-primary);
}

.mobile-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: var(--text-pure);
  cursor: pointer;
  padding: 8px;
}

/* Premium Language Selector Pill */
.lang-switcher-pill {
  position: relative;
  display: inline-flex;
  background: var(--bg-tertiary);
  border-radius: 30px;
  padding: 3px;
  border: var(--border-glass);
  width: 96px;
  height: 38px;
}

.lang-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  height: 100%;
  border-radius: 30px;
}

.lang-btn.active {
  color: var(--bg-primary);
}

.lang-slider-bg {
  position: absolute;
  top: 3px;
  left: 3px;
  height: 30px;
  width: 44px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border-radius: 30px;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.lang-slider-bg.ca {
  transform: translateX(44px);
}

/* ==========================================================================
   HERO SECTION & KEY METRICS
   ========================================================================== */

.hero {
  position: relative;
  padding: 80px 0 100px;
  
  /* Nuevo fondo azul corporativo muy discreto (Fase 3) - Mantiene la cuadrícula visible */
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(14, 165, 233, 0.05) 100%);
  border-bottom: 1px solid rgba(37, 99, 235, 0.06);
  
  /* Fondo original transparente (Descomentar para volver a él) */
  /* background: transparent; border-bottom: none; */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 24px;
}

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

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.hero-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-pure);
}

.hero-phone-link:hover {
  color: var(--accent-primary);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-floating-card {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: var(--border-glass);
  box-shadow: var(--shadow-premium);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 10;
  max-width: 250px;
  animation: float 4s ease-in-out infinite;
}

.hero-floating-card strong {
  color: var(--text-pure);
  font-size: 15px;
  font-weight: 700;
}

.hero-floating-card span {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-main-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: var(--border-glass);
}

.hero-main-img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* ==========================================================================
   METRICS TRUST BAR
   ========================================================================== */

.metrics-section {
  padding: 40px 0;
  background: var(--bg-secondary);
  border-top: var(--border-glass);
  border-bottom: var(--border-glass);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  border-right: 1px solid rgba(15, 23, 42, 0.06);
}

.metric-item:last-child {
  border-right: none;
}

.metric-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.metric-text strong {
  display: block;
  font-size: 24px;
  font-family: 'Outfit', sans-serif;
  color: var(--text-pure);
  line-height: 1.1;
}

.metric-text span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES GRID & CARDS
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.15);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-glow);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-silver);
  font-size: 14.5px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-primary);
}

.service-card:hover .service-card-link {
  color: var(--accent-secondary);
}

/* ==========================================================================
   INTERACTIVE IT AUDIT STEPPER (Calculador)
   ========================================================================== */

.stepper-section {
  background: var(--bg-secondary);
  border-top: var(--border-glass);
  border-bottom: var(--border-glass);
}

.stepper-container {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-primary);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-premium);
}

/* Stepper Progress Bar */
.stepper-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 48px;
}

.stepper-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bg-tertiary);
  transform: translateY(-50%);
  z-index: 1;
}

.stepper-progress-bar {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transform: translateY(-50%);
  z-index: 1;
  width: 0%;
  transition: var(--transition-smooth);
}

.progress-step {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--bg-tertiary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition-smooth);
}

.progress-step.active {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

.progress-step.completed {
  border-color: var(--success);
  background: var(--success);
  color: var(--bg-primary);
}

/* Step content visibility */
.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeInUp 0.4s ease forwards;
}

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

/* Step 1 custom cards */
.stepper-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.step-card {
  background: var(--bg-secondary);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.step-card:hover {
  background: var(--bg-primary);
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-3px);
}

.step-card.selected {
  background: var(--bg-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.06);
}

.step-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.step-card strong {
  display: block;
  font-size: 15px;
  color: var(--text-pure);
  margin-bottom: 6px;
}

.step-card span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Custom inputs, sliders and checkboxes */
.stepper-input-group {
  margin-bottom: 24px;
}

.stepper-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 10px;
}

.stepper-select, .stepper-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: var(--border-glass);
  color: var(--text-pure);
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  outline: none;
  transition: var(--transition-smooth);
}

.stepper-select:focus, .stepper-input:focus {
  background: var(--bg-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.05);
}

.stepper-range {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 5px;
  background: var(--bg-tertiary);
  outline: none;
  margin: 15px 0;
}

.stepper-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3);
  transition: var(--transition-fast);
}

.stepper-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Stepper Checkbox Matrix */
.checkbox-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.checkbox-card:hover {
  background: var(--bg-primary);
  border-color: rgba(37, 99, 235, 0.15);
}

.checkbox-card.checked {
  background: var(--bg-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.04);
}

.checkbox-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-primary);
  cursor: pointer;
}

.checkbox-card span {
  font-size: 14px;
  font-weight: 550;
  color: var(--text-pure);
}

/* Stepper actions buttons row */
.stepper-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 24px;
}

/* Success notification banner (confetti style) */
.success-banner {
  background: var(--success-bg);
  border-left: 5px solid var(--success);
  padding: 24px;
  border-radius: var(--radius-md);
  color: var(--text-pure);
  margin-bottom: 24px;
  animation: fadeInUp 0.4s ease forwards;
}

.success-banner h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--success);
}

.success-banner p {
  font-size: 14.5px;
  color: var(--text-silver);
}

/* ==========================================================================
   AUDIENCES & HOW WE WORK
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

.service-checklist {
  list-style: none;
  margin-top: 24px;
}

.service-checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 550;
  color: var(--text-pure);
}

.service-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.audiences-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.audiences-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.audience-card {
  background: var(--bg-secondary);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition-smooth);
}

.audience-card:hover {
  background: var(--bg-primary);
  box-shadow: var(--shadow-premium);
  border-color: rgba(37, 99, 235, 0.1);
  transform: translateY(-4px);
}

.audience-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.audience-card p {
  font-size: 14px;
  color: var(--text-silver);
}

/* How we work / Steps list */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-item {
  position: relative;
  background: var(--bg-primary);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-premium);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 32px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.step-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  margin-top: 10px;
}

.step-item p {
  font-size: 14px;
  color: var(--text-silver);
}

/* ==========================================================================
   FAQ ACCORDION LAYOUT
   ========================================================================== */

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: var(--bg-secondary);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-header {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.faq-header h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text-pure);
  margin: 0;
  padding-right: 20px;
}

.faq-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--accent-primary);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.faq-card.open {
  background: var(--bg-primary);
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-premium);
}

.faq-card.open .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-body-content {
  padding: 0 32px 28px;
  font-size: 14.5px;
  color: var(--text-silver);
  border-top: 1px solid rgba(15, 23, 42, 0.04);
  padding-top: 18px;
}

/* ==========================================================================
   CALL TO ACTION & CONTACT PAGES
   ========================================================================== */

.cta {
  padding: 60px 0 100px;
}

.cta-box {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-premium);
}

.cta-box h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 16.5px;
  color: var(--text-silver);
}

/* Contact page structure */
.panel {
  background: var(--bg-primary);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-premium);
}

.panel h2 {
  font-size: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding-bottom: 14px;
}

.contact-whatsapp {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
}

.btn-whatsapp {
  background: #10b981;
  color: var(--bg-primary);
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.btn-whatsapp:hover {
  background: #059669;
  transform: translateY(-2px);
}

/* Form Styles */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form input, .form select, .form textarea {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: var(--border-glass);
  color: var(--text-pure);
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  transition: var(--transition-smooth);
}

.form input:focus, .form select:focus, .form textarea:focus {
  background: var(--bg-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.05);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  background-color: #0f172a; /* Pie de página oscuro para contraste premium */
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer h2, footer h3, footer h4 {
  color: var(--bg-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  display: block;
  height: 52px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* Pone el logo en blanco en pie oscuro */
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-links-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--bg-primary);
  padding-left: 4px;
}

.footer-contact-item {
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a:hover {
  color: var(--bg-primary);
}

/* Secondary Dark Mode Language Switcher */
footer .lang-switcher-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

footer .lang-btn {
  color: #94a3b8;
}

footer .lang-btn.active {
  color: var(--text-pure);
}

footer .lang-slider-bg {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

/* ==========================================================================
   COOKIE CONSENT FLOATING BANNER
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  z-index: 10000;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.cookie-banner.visible {
  bottom: 24px;
  opacity: 1;
}

.cookie-banner h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-pure);
}

.cookie-banner p {
  font-size: 13px;
  color: var(--text-silver);
  margin-bottom: 18px;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-cookie-accept {
  background: var(--accent-primary);
  color: var(--bg-primary);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-reject {
  background: var(--bg-tertiary);
  color: var(--text-pure);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   ANIMATIONS (AOS STYLE)
   ========================================================================== */

.animate-fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpAnim 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }

@keyframes fadeInUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
  section {
    padding: 80px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 40px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  
  .metric-item {
    border-right: none;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 16px;
    border: var(--border-glass);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .topbar {
    display: none;
  }
  
  .nav {
    height: 80px;
  }
  
  header {
    z-index: 9999999 !important; /* Cabecera siempre por encima */
    backdrop-filter: none !important; /* Desactiva filtro para evitar crear un 'containing block' */
    background: #ffffff !important; /* Fondo 100% sólido y opaco en móvil */
  }

  header nav {
    position: fixed;
    top: 0 !important; /* Empieza desde la esquina superior del viewport */
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: #f4f8ff !important; /* Tono azul tecnológico suave y totalmente opaco */
    display: block; /* Permite scroll vertical fluido de sus hijos */
    padding: 110px 24px 40px !important; /* Margen superior amplio para no solapar el logo y boton cerrar */
    transform: translateY(-100%); /* Oculto arriba de la pantalla */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999998 !important; /* Capa por debajo del toggle de cerrar */
    overflow-y: auto; /* PERMITE SCROLL VERTICAL FLUIDO */
    -webkit-overflow-scrolling: touch;
  }
  
  header nav.open {
    transform: translateY(0); /* Se desliza hacia abajo a pantalla completa */
  }
  
  header nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0; /* Sin espacio entre filas, usaremos bordes para separar */
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  header nav ul li {
    width: 100% !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(37, 99, 235, 0.08) !important; /* Divisor muy sutil y premium */
  }

  header nav ul li:last-child {
    border-bottom: none !important;
  }

  header nav ul li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* Texto a la izquierda, flecha a la derecha */
    width: 100% !important;
    padding: 18px 8px !important; /* Área táctil amplia y cómoda */
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--text-pure) !important;
    background: transparent !important; /* Fondo transparente integrado */
    text-align: left !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: var(--transition-fast) !important;
  }

  header nav ul li > a:hover, header nav ul li > a.active {
    color: var(--accent-primary) !important;
    background: transparent !important;
  }
  
  .mobile-toggle {
    display: block;
    order: 3;
    z-index: 99999999 !important; /* Por encima de la navegación a pantalla completa */
    position: relative;
  }
  
  header .lang-switcher-pill {
    order: 2;
    margin-left: auto;
    margin-right: 16px;
    z-index: 99999999 !important; /* Por encima de la navegación a pantalla completa */
    position: relative;
  }
  
  header .btn-primary {
    display: none; /* Oculta botón en móvil o se reubica */
  }
  
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .stepper-container {
    padding: 24px 16px;
  }
  
  .stepper-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .checkbox-matrix {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .audiences-grid {
    grid-template-columns: 1fr;
  }
  
  .audiences-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .cta-box {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 32px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==========================================================================
   LIVE IT MONITORING DASHBOARD MOCKUP
   ========================================================================== */
.db-mockup {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 165px 1fr;
  overflow: hidden;
  height: 440px;
  font-size: 11px;
  text-align: left;
  width: 100%;
}

/* Sidebar */
.db-sidebar {
  background: #0f172a;
  color: #94a3b8;
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-logo-area {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 24px;
  padding-left: 8px;
  border-left: 3px solid var(--accent-primary);
}

.db-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 11px;
}

.db-menu-item:hover, .db-menu-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Main Panel */
.db-main {
  background: #f8fafc;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  padding-bottom: 10px;
}

.db-header h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-pure);
}

/* Status Cards Row */
.db-status-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.db-status-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.01);
}

.db-status-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.db-status-icon.success {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
}

.db-status-icon.warning {
  background: rgba(245, 158, 11, 0.08);
  color: #f59e0b;
}

.db-status-info {
  display: flex;
  flex-direction: column;
}

.db-status-info strong {
  font-size: 10px;
  color: var(--text-pure);
  line-height: 1.2;
}

.db-status-info span {
  font-size: 8px;
  color: var(--text-muted);
}

/* Dashboard Body Content */
.db-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
}

.db-widget {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.01);
}

.db-widget h5 {
  font-size: 11px;
  margin-bottom: 12px;
  color: var(--text-pure);
  border-bottom: 1px solid rgba(15,23,42,0.03);
  padding-bottom: 6px;
}

.db-progress-ring-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.db-progress-ring {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: conic-gradient(#10b981 98%, #e2e8f0 98%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.db-progress-ring::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 50%;
}

.db-progress-val {
  position: relative;
  z-index: 2;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-pure);
  text-align: center;
  line-height: 1.1;
}

.db-progress-val span {
  display: block;
  font-size: 7px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Recent Tickets List */
.db-tickets-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.db-ticket-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.03);
}

.db-ticket-item:last-child {
  border-bottom: none;
}

.db-ticket-title {
  font-weight: 600;
  color: var(--text-pure);
  font-size: 10px;
}

.db-ticket-status {
  padding: 1px 6px;
  border-radius: 20px;
  font-size: 8px;
  font-weight: 700;
}

.db-ticket-status.resolved {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
}

.db-ticket-status.progress {
  background: rgba(245, 158, 11, 0.08);
  color: #f59e0b;
}

/* Resources block */
.db-resource-item {
  margin-bottom: 8px;
}

.db-resource-label {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  margin-bottom: 2px;
}

.db-resource-bar {
  width: 100%;
  height: 4px;
  background: #f1f5f9;
  border-radius: 3px;
  overflow: hidden;
}

.db-resource-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 3px;
}

/* ==========================================================================
   HERO BADGES & DYNAMIC STYLING
   ========================================================================== */
.hero-badges-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: var(--border-glass);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-pure);
  box-shadow: 0 4px 10px rgba(15,23,42,0.01);
}

.hero-badge-pill span.icon {
  font-size: 16px;
  color: var(--accent-primary);
}

/* Socio Tecnológico Section (Navy Blue theme from mockup) */
.socio-section {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 90px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.socio-section h2, .socio-section h3 {
  color: #ffffff;
}

.socio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.socio-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
}

.socio-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.socio-img-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.socio-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.socio-card-icon-float {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  color: var(--accent-primary);
  font-size: 18px;
  z-index: 5;
}

.socio-card-content {
  padding: 36px 20px 24px;
}

.socio-card-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.socio-card-content p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #94a3b8;
}

/* Planes Table in index.php */
.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plan-card {
  background: #ffffff;
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.plan-card.highlighted {
  border: 2px solid var(--accent-primary);
  box-shadow: 0 20px 45px rgba(37,99,235,0.08);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.plan-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  text-align: center;
}

.plan-features-list {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features-list li {
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-silver);
}

.plan-features-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}

.plan-features-list li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.plan-features-list li.disabled::before {
  content: "✗";
  color: #ef4444;
}

/* Coverage Panel */
.coverage-panel {
  background: #ffffff;
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.coverage-towns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.coverage-town-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 12px 16px;
  border: var(--border-glass);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-pure);
}

.coverage-town-item span.pin {
  color: #ef4444;
  font-size: 15px;
}

/* Responsive fixes for new parts */
@media (max-width: 1024px) {
  .db-mockup {
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .db-sidebar {
    display: none; /* Hide sidebar in mobile dashboard */
  }
  
  .db-status-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .socio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .planes-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero-badges-row {
    justify-content: center;
  }
  
  .db-status-row {
    grid-template-columns: 1fr;
  }
  
  .db-body-grid {
    grid-template-columns: 1fr;
  }
  
  .socio-grid {
    grid-template-columns: 1fr;
  }
  
  .coverage-towns-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   PREMIUM SVG ICON INTEGRATION
   ========================================================================== */
.tech-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2.2px;
  fill: none;
  transition: var(--transition-smooth);
}

.hero-badge-pill .tech-icon {
  color: var(--accent-primary);
  margin-right: 2px;
}

.service-card-icon .tech-icon {
  width: 26px;
  height: 26px;
}

.socio-card-icon-float .tech-icon {
  color: var(--accent-primary);
  width: 22px;
  height: 22px;
}

.db-sidebar .tech-icon {
  margin-right: 10px;
  color: var(--text-muted);
  width: 16px;
  height: 16px;
}

.db-menu-item.active .tech-icon {
  color: var(--bg-primary);
}

.db-status-icon .tech-icon {
  width: 18px;
  height: 18px;
}

.footer-contact-item .tech-icon {
  color: var(--accent-secondary);
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

.cookie-banner .tech-icon {
  color: #f59e0b; /* Amber for cookie */
  margin-right: 8px;
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   PROMO ITCSTORE RESPONSIVE
   ========================================================================== */
#promo-itcstore .split {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.promo-info {
  display: flex;
  gap: 24px;
  align-items: center;
}

.promo-action {
  text-align: right;
}

@media (max-width: 1024px) {
  #promo-itcstore {
    text-align: center;
    padding: 50px 0;
  }
  #promo-itcstore .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .promo-info {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .promo-action {
    text-align: center;
  }
}

/* ==========================================================================
   PREMIUM NAVIGATION DROPDOWNS (Fase 6)
   ========================================================================== */

/* Contenedor del item con subsecciones */
header nav ul li.has-dropdown {
  position: relative;
}

/* Indicador de flecha */
.dropdown-arrow {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  width: 10px;
  height: 6px;
  stroke: currentColor;
  transition: transform var(--transition-smooth);
}

header nav ul li.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Menú Desplegable Glassmorphic */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 260px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 4px 0;
  gap: 0;
  box-shadow: var(--shadow-premium);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

/* Pointer flecha */
.dropdown-menu::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent rgba(255, 255, 255, 0.95) transparent;
}

/* Mostrar al hacer hover */
header nav ul li.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Enlaces del dropdown */
.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: block !important;
  padding: 6px 16px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--text-silver) !important;
  line-height: 1.35 !important;
  transition: var(--transition-smooth) !important;
  text-align: left !important;
  border-bottom: none !important;
}

.dropdown-menu li a:hover {
  background: rgba(37, 99, 235, 0.05) !important;
  color: var(--accent-primary) !important;
  padding-left: 20px !important;
}

/* Adaptación responsiva para móviles */
@media (max-width: 1024px) {
  header nav ul li.has-dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  header nav ul li.has-dropdown:hover .dropdown-arrow {
    transform: none; /* Se rota con clase JS en móvil */
  }

  .dropdown-arrow.rotated {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    box-shadow: none !important;
    background: transparent !important; /* Totalmente integrado sin fondo blanco */
    border: none !important;
    border-left: 2px solid rgba(37, 99, 235, 0.15) !important; /* Divisor izquierdo muy sutil para jerarquía */
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 4px 0 12px 20px !important; /* Indentación para jerarquía visual */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
    transition: none;
    flex-direction: column;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: flex;
  }

  .dropdown-menu li {
    border-bottom: none !important;
  }

  .dropdown-menu li a {
    display: block !important;
    text-align: left !important;
    padding: 10px 0 !important;
    font-size: 16px !important;
    color: var(--text-silver) !important;
    font-weight: 550 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-bottom: 1px dashed rgba(37, 99, 235, 0.05) !important; /* Separador discontinuo sutil */
    transition: var(--transition-fast) !important;
  }

  .dropdown-menu li a:last-child {
    border-bottom: none !important;
  }
  
  .dropdown-menu li a:hover {
    color: var(--accent-primary) !important;
    background: transparent !important;
    padding-left: 4px !important;
  }
}

/* ==========================================================================
   EXTRA RESPONSIVE OPTIMIZATION (SMARTPHONES <= 576px / iPhone)
   ========================================================================== */
@media (max-width: 576px) {
  .hero-floating-card {
    position: static !important;
    margin: 20px auto 0 !important;
    max-width: 100% !important;
    animation: none !important;
    transform: none !important;
    box-shadow: var(--shadow-premium) !important;
    border: var(--border-glass) !important;
    background: rgba(255, 255, 255, 0.95) !important;
  }

  .stepper-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .metrics-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .metric-item {
    justify-content: center !important;
    text-align: left !important;
  }

  .hero-badges-row {
    justify-content: center !important;
    gap: 8px !important;
  }

  .hero-badge-pill {
    font-size: 12px !important;
    padding: 6px 12px !important;
  }

  .hero-actions {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hero-actions .btn {
    width: 100% !important;
  }

  .audiences-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* ==========================================================================
   GLOBAL SUBPAGE HERO & SECTION BACKGROUND POLISH (Fase 14)
   ========================================================================== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(14, 165, 233, 0.05) 100%) !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.06) !important;
  padding: 80px 0 !important;
}

section[style*="background: var(--bg-secondary)"],
section[style*="background:var(--bg-secondary)"] {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.015) 0%, rgba(14, 165, 233, 0.025) 100%) !important;
}

/* ==========================================================================
   EXTRA MOBILE RESPONSIVE POLISH (Fase 14)
   ========================================================================== */
@media (max-width: 1024px) {
  .logo-img {
    height: 44px !important;
  }
  .nav {
    height: 70px !important;
  }
}

@media (max-width: 576px) {
  .panel {
    padding: 24px 16px !important;
  }
  .faq-header {
    padding: 18px 16px !important;
  }
  .faq-body-content {
    padding: 0 16px 20px !important;
  }
}







