/* ==========================================================================
   ARTE Y CALIDAD INNOVATION - HOJA DE ESTILOS CORPORATIVA (CSS3 PURO)
   Arquitectura: Mobile-First | Neuromarketing Visual | Zero-Dependency
   Paleta Exclusiva: Azul (Confianza/Tecnología), Blanco (Limpieza), Naranja (Acción/CTA)
   ========================================================================== */

:root {
  /* Paleta cromática estricta: Azul, Blanco y Naranja */
  --blue-950: #06152d;
  --blue-900: #0a2246;
  --blue-800: #0f3267;
  --blue-700: #16468f;
  --blue-600: #1d5bbf;
  --blue-500: #2b74e4;
  --blue-200: #c5dcfa;
  --blue-100: #e3effd;
  --blue-50:  #f4f8fe;

  --orange-600: #d94e0f;
  --orange-500: #ff621a;
  --orange-400: #ff8547;
  --orange-100: #ffe6d9;
  --orange-50:  #fff5f0;

  --white: #ffffff;

  /* Degradados Fluidos (Exclusivamente Azul, Blanco y Naranja) */
  --gradient-hero: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-800) 60%, var(--blue-600) 100%);
  --gradient-cta: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  --gradient-cta-hover: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-500) 100%);
  --gradient-blue-card: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-700) 100%);
  --gradient-surface: linear-gradient(180deg, var(--white) 0%, var(--blue-50) 100%);
  --gradient-accent-line: linear-gradient(90deg, var(--orange-500) 0%, var(--blue-500) 100%);

  /* Sombras con tinte azul corporativo y resplandor naranja para CTAs */
  --shadow-sm: 0 4px 12px rgba(6, 21, 45, 0.06);
  --shadow-md: 0 12px 28px rgba(6, 21, 45, 0.10);
  --shadow-lg: 0 20px 45px rgba(6, 21, 45, 0.16);
  --shadow-cta: 0 8px 24px rgba(255, 98, 26, 0.38);
  --shadow-cta-hover: 0 14px 32px rgba(255, 98, 26, 0.55);

  /* Tipografía y Espaciado */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--blue-950);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--white);
}

/* Evita que cualquier columna CSS Grid o Flex se expanda más allá del ancho de la pantalla en móvil */
.hero-grid > *,
.about-story-grid > *,
.mv-grid > *,
.objectives-grid > *,
.services-grid > *,
.quote-box > *,
.form-grid > *,
.footer-grid > * {
  min-width: 0;
  max-width: 100%;
}

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

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

ul {
  list-style: none;
}

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

/* Contenedor Responsivo adaptado al 100% del viewport */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utilidades de Neuromarketing Visual */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--orange-50);
  color: var(--orange-600);
  border: 1px solid var(--orange-100);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  max-width: 100%;
}

.section-badge--dark {
  background: rgba(255, 98, 26, 0.16);
  color: var(--orange-400);
  border-color: rgba(255, 98, 26, 0.35);
}

.section-title {
  font-size: clamp(1.55rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--blue-950);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  overflow-wrap: break-word;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.08rem);
  color: var(--blue-800);
  max-width: 680px;
  margin-bottom: 2rem;
}

.text-highlight {
  color: var(--orange-500);
  position: relative;
}

/* Botones Persuasivos (Contraste Naranja para Acción) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.45rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
  text-align: center;
  max-width: 100%;
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  background: var(--gradient-cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--blue-900);
  transform: translateY(-2px);
}

/* ==========================================================================
   1. HEADER (NAVEGACIÓN - PATRÓN EN Z CON LOGOTIPO OFICIAL MEJORADO)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--blue-100);
  transition: padding var(--transition-fast), box-shadow var(--transition-fast);
  padding: 0.45rem 0;
}

.site-header.scrolled {
  padding: 0.35rem 0;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo img {
  height: 48px;
  max-width: 165px;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 2px 6px rgba(6, 21, 45, 0.08));
  transition: height var(--transition-fast), transform var(--transition-fast);
}

.site-header.scrolled .brand-logo img {
  height: 44px;
}

/* Botón CTA de la cabecera: delgado, elegante y en una sola línea en móvil */
.header-actions .btn {
  padding: 0.48rem 0.9rem;
  font-size: 0.82rem;
  white-space: nowrap;
  gap: 0.35rem;
  box-shadow: 0 4px 14px rgba(255, 98, 26, 0.32);
}

.header-actions .btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--orange-500);
  box-shadow: var(--shadow-md);
  max-width: 100%;
}

.footer-logo-badge img {
  height: 64px;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 1.85rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-900);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--orange-500);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange-500);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--blue-900);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: var(--blue-100);
}

/* Menú Móvil Desplegable */
.mobile-drawer {
  display: none;
  background: var(--white);
  border-bottom: 2px solid var(--blue-100);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-md);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.mobile-drawer-list a {
  font-weight: 700;
  color: var(--blue-900);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  display: block;
}

.mobile-drawer-list a:hover {
  background: var(--blue-50);
  color: var(--orange-500);
}

/* ==========================================================================
   2. HERO SECTION (INICIO - PATRÓN DE LECTURA EN Z Y FOCO SUBCONSCIENTE)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 6.25rem 0 3.5rem;
  background: var(--gradient-hero);
  color: var(--white);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 98, 26, 0.22) 0%, rgba(255, 98, 26, 0) 70%);
  top: -120px;
  right: -100px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(1.68rem, 6.2vw, 3.65rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.95rem;
  overflow-wrap: break-word;
}

.hero-slogan-pill {
  display: inline-block;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(6, 21, 45, 0.58);
  border-left: 3.5px solid var(--orange-500);
  font-size: clamp(0.7rem, 2.6vw, 0.85rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.4;
  max-width: 100%;
}

.hero-slogan-pill span {
  color: var(--orange-400);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 3.4vw, 1.18rem);
  color: var(--blue-100);
  margin-bottom: 1.65rem;
  max-width: 600px;
  line-height: 1.55;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-cta-group .btn {
  width: 100%;
}

.hero-trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(197, 220, 250, 0.2);
}

.metric-item strong {
  display: block;
  font-size: clamp(1.15rem, 4.2vw, 1.65rem);
  font-weight: 800;
  color: var(--orange-400);
  line-height: 1.15;
}

.metric-item span {
  display: block;
  font-size: clamp(0.72rem, 2.4vw, 0.82rem);
  color: var(--blue-200);
  line-height: 1.3;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 0.65rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 98, 26, 0.42));
  box-shadow: var(--shadow-lg);
}

/* Carrusel / Slider de Productos en el Hero (Móvil y PC) */
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 200px;
  border-radius: calc(var(--radius-lg) - 0.35rem);
  overflow: hidden;
  background: var(--blue-950);
  user-select: none;
  touch-action: pan-y;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 4.5s ease;
}

.hero-slide.active img {
  transform: scale(1.06);
}

/* Botones sutiles de navegación Anterior / Siguiente del Carrusel */
.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(6, 21, 45, 0.55);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.85;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.hero-carousel:hover .hero-carousel-btn {
  opacity: 1;
}

.hero-carousel-btn:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
  transform: translateY(-50%) scale(1.08);
}

.hero-carousel-btn--prev {
  left: 0.75rem;
}

.hero-carousel-btn--next {
  right: 0.75rem;
}

/* Indicadores limpios (Dots) en la base de la imagen */
.hero-carousel-dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(6, 21, 45, 0.45);
  padding: 0.32rem 0.65rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.hero-dot.active {
  width: 22px;
  background: var(--orange-500);
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 6px rgba(255, 98, 26, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.75; }
}

/* ==========================================================================
   3. SOBRE NOSOTROS (HISTORIA + TARJETAS MISIÓN Y VISIÓN)
   ========================================================================== */
.about-section {
  padding: 5.5rem 0;
  background: var(--gradient-surface);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.about-image-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--gradient-cta);
  color: var(--white);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow-cta);
}

.story-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-900);
  margin-bottom: 1rem;
}

.story-text {
  color: var(--blue-800);
  margin-bottom: 1.25rem;
}

.story-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.story-pill {
  background: var(--white);
  border: 1px solid var(--blue-200);
  color: var(--blue-900);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: var(--shadow-sm);
}

/* Misión y Visión Cards */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.35rem;
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-accent-line);
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-400);
}

.mv-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  color: var(--orange-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  border: 1px solid var(--blue-100);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mv-card:hover .mv-icon-box {
  background: var(--orange-500);
  color: var(--white);
}

.mv-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--blue-950);
  margin-bottom: 0.85rem;
}

.mv-card p {
  color: var(--blue-800);
  font-size: 1rem;
}

/* ==========================================================================
   4. NUESTROS OBJETIVOS (PATRÓN EN F / GRID INTERACTIVO)
   ========================================================================== */
.objectives-section {
  padding: 5.5rem 0;
  background: var(--white);
}

.objectives-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.objectives-header .section-subtitle {
  margin: 0 auto;
}

.objectives-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.objective-card {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  transition: all var(--transition-smooth);
}

.objective-card:hover {
  background: var(--white);
  border-color: var(--orange-500);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.objective-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gradient-blue-card);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.objective-card:hover .objective-number {
  background: var(--gradient-cta);
}

.objective-content h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--blue-950);
  margin-bottom: 0.4rem;
}

.objective-content p {
  font-size: 0.93rem;
  color: var(--blue-800);
}

/* ==========================================================================
   5. NUESTROS SERVICIOS (TARJETAS INTERACTIVAS)
   ========================================================================== */
.services-section {
  padding: 5.5rem 0;
  background: var(--gradient-hero);
  color: var(--white);
}

.services-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.services-header .section-title {
  color: var(--white);
}

.services-header .section-subtitle {
  color: var(--blue-100);
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background: var(--white);
  color: var(--blue-950);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange-500);
}

.service-img-box {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--blue-900);
}

.service-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img-box img {
  transform: scale(1.07);
}

.service-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--blue-950);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--orange-500);
}

.service-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue-950);
  margin-bottom: 0.75rem;
}

.service-body p {
  color: var(--blue-800);
  font-size: 0.96rem;
  margin-bottom: 1.25rem;
}

.service-features {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-900);
}

.service-features li svg {
  color: var(--orange-500);
  flex-shrink: 0;
}

.service-footer {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
}

.service-footer .btn {
  width: 100%;
  padding: 0.8rem 1.2rem;
}

/* ==========================================================================
   SECCIÓN DE COTIZACIÓN DIRECTA (CONVERSIÓN INMEDIATA)
   ========================================================================== */
.quote-section {
  padding: 5.5rem 0;
  background: var(--blue-50);
}

.quote-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--blue-200);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.quote-info {
  background: var(--gradient-blue-card);
  color: var(--white);
  padding: 1.85rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-info h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.quote-info p {
  color: var(--blue-100);
  margin-bottom: 2rem;
}

.contact-direct-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--white);
  word-break: break-word;
}

.contact-direct-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 98, 26, 0.2);
  border: 1px solid var(--orange-400);
  color: var(--orange-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quote-form-wrap {
  padding: 1.85rem 1.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-950);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-control:focus {
  border-color: var(--orange-500);
  background: var(--white);
}

.form-feedback {
  display: none;
  margin-top: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--orange-50);
  border: 1px solid var(--orange-500);
  color: var(--blue-950);
  font-weight: 600;
  font-size: 0.92rem;
}

.form-feedback.show {
  display: block;
}

/* ==========================================================================
   5B. REDES SOCIALES ESTRATÉGICAS (CABECERA, COTIZACIÓN Y FOOTER)
   ========================================================================== */
/* Barra limpia de iconos oficiales en la cabecera (PC) */
.header-social {
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding-right: 0.75rem;
  border-right: 1px solid var(--blue-100);
}

.header-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border: 1px solid var(--blue-100);
}

.header-social-link:hover {
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.header-social-link--fb:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.header-social-link--tt:hover {
  background: #0f172a;
  border-color: #0f172a;
}

/* Redes sociales en el menú móvil */
.mobile-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 0.9rem;
  margin-top: 0.75rem;
  border-top: 1px solid var(--blue-100);
}

/* Píldoras estratégicas en la columna de Cotización / Contacto */
.quote-social-strip {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.quote-social-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-200);
  margin-bottom: 0.75rem;
}

.quote-social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.quote-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.quote-social-pill:hover {
  transform: translateY(-2px);
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(255, 98, 26, 0.35);
}

/* Botones de redes sociales en Footer */
.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  transform: translateY(-3px);
  color: var(--white);
  border-color: var(--orange-500);
  background: var(--orange-500);
  box-shadow: 0 8px 20px rgba(255, 98, 26, 0.35);
}

/* ==========================================================================
   6. FOOTER CORPORATIVO (PIE DE PÁGINA)
   ========================================================================== */
.site-footer {
  background: var(--blue-950);
  color: var(--white);
  padding: 4.5rem 0 2rem;
  border-top: 4px solid var(--orange-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(197, 220, 250, 0.15);
}

.footer-brand p {
  color: var(--blue-200);
  margin-top: 1rem;
  max-width: 360px;
  font-size: 0.94rem;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--orange-400);
  margin-bottom: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a,
.footer-links li {
  color: var(--blue-100);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  word-break: break-word;
}

.footer-links a:hover {
  color: var(--orange-400);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--blue-200);
  text-align: center;
}

/* ==========================================================================
   ELEMENTOS FLOTANTES REQUERIDOS: WHATSAPP + ASISTENTE VIRTUAL IA (TEXTO Y VOZ)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-cta);
  z-index: 1050;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  border: 2.5px solid var(--white);
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: var(--shadow-cta-hover);
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--blue-950);
  color: var(--white);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all var(--transition-fast);
  border: 1px solid var(--orange-500);
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Botón Flotante Asistente Virtual IA */
.floating-bot-trigger {
  position: fixed;
  bottom: 4.75rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-blue-card);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  cursor: pointer;
  border: 2.5px solid var(--orange-500);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.floating-bot-trigger:hover {
  transform: scale(1.08) translateY(-3px);
}

.bot-status-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange-500);
  border: 2px solid var(--white);
}

/* Ventana del Widget Asistente Virtual IA */
.ai-chat-widget {
  position: fixed;
  bottom: 9.8rem;
  right: 1.4rem;
  width: min(370px, calc(100vw - 2.2rem));
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--blue-200);
  z-index: 1060;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.ai-chat-widget.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ai-widget-header {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--orange-500);
}

.ai-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ai-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--orange-400);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  overflow: hidden;
}

.ai-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ai-header-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.ai-header-text span {
  font-size: 0.74rem;
  color: var(--blue-200);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ai-close-btn {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.ai-close-btn:hover {
  background: var(--orange-500);
}

.ai-widget-body {
  padding: 1.1rem;
  background: var(--blue-50);
  max-height: 290px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.chat-msg {
  max-width: 86%;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.87rem;
  line-height: 1.45;
}

.chat-msg--bot {
  background: var(--white);
  color: var(--blue-950);
  align-self: flex-start;
  border: 1px solid var(--blue-100);
  border-bottom-left-radius: 0.2rem;
  box-shadow: var(--shadow-sm);
}

.chat-msg--user {
  background: var(--gradient-blue-card);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 0.2rem;
}

.ai-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.ai-chip {
  background: var(--white);
  color: var(--blue-800);
  border: 1px solid var(--blue-200);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ai-chip:hover {
  background: var(--orange-500);
  color: var(--white);
  border-color: var(--orange-500);
}

/* Indicador de Voz Activa */
.ai-voice-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--orange-50);
  border-top: 1px solid var(--orange-100);
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange-600);
}

.ai-voice-banner.listening {
  display: flex;
}

.voice-bars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.voice-bars span {
  width: 3px;
  height: 12px;
  background: var(--orange-500);
  border-radius: 2px;
  animation: soundWave 0.8s infinite ease-in-out;
}

.voice-bars span:nth-child(2) { animation-delay: 0.15s; height: 18px; }
.voice-bars span:nth-child(3) { animation-delay: 0.3s; height: 10px; }
.voice-bars span:nth-child(4) { animation-delay: 0.45s; height: 16px; }

@keyframes soundWave {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1.2); }
}

.ai-widget-footer {
  padding: 0.75rem;
  background: var(--white);
  border-top: 1px solid var(--blue-100);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-input {
  flex-grow: 1;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-full);
  padding: 0.6rem 0.95rem;
  font-size: 0.86rem;
  color: var(--blue-950);
}

.ai-input:focus {
  border-color: var(--orange-500);
  background: var(--white);
}

.ai-mic-btn,
.ai-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.ai-mic-btn {
  background: var(--blue-50);
  color: var(--blue-800);
  border: 1px solid var(--blue-200);
}

.ai-mic-btn:hover,
.ai-mic-btn.listening {
  background: var(--orange-500);
  color: var(--white);
  border-color: var(--orange-500);
}

.ai-send-btn {
  background: var(--gradient-cta);
  color: var(--white);
}

.ai-send-btn:hover {
  transform: scale(1.06);
}

/* ==========================================================================
   MEDIA QUERIES (TABLET, DESKTOP Y MONITORES GRANDES)
   ========================================================================== */
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
  .site-header {
    padding: 0.6rem 0;
  }
  .brand-logo img {
    height: 74px;
    max-width: none;
  }
  .site-header.scrolled .brand-logo img {
    height: 64px;
  }
  .header-actions {
    gap: 0.75rem;
  }
  .header-actions .btn {
    padding: 0.7rem 1.35rem;
    font-size: 0.92rem;
    gap: 0.5rem;
  }
  .header-actions .btn svg {
    width: 18px;
    height: 18px;
  }
  .hero-section {
    padding: 8.75rem 0 4.75rem;
  }
  .hero-cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .hero-cta-group .btn {
    width: auto;
  }
  .mv-card {
    padding: 2.35rem 2rem;
  }
  .service-body {
    padding: 1.85rem;
  }
  .quote-info,
  .quote-form-wrap {
    padding: 2.5rem 2rem;
  }
  .floating-whatsapp {
    bottom: 1.4rem;
    right: 1.4rem;
    width: 58px;
    height: 58px;
  }
  .floating-bot-trigger {
    bottom: 5.6rem;
    right: 1.4rem;
    width: 58px;
    height: 58px;
  }
  .objectives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-group--full {
    grid-column: span 2;
  }
}

@media (min-width: 768px) {
  .mv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .brand-logo img {
    height: 92px;
  }
  .site-header.scrolled .brand-logo img {
    height: 76px;
  }
  .header-social {
    display: flex;
  }
  .nav-menu {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .about-story-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .objectives-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-header {
    flex-direction: row;
    align-items: flex-end;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .quote-box {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr;
  }
}
