    /* =====================
   ESTILOS GENERALES
===================== */
:root {
  --verde-mb: #23b04a;
  --azul-mb: #0b2342;
  --blanco: #ffffff;
  --gradiente-fondo: radial-gradient(circle at 20% 30%, #043a2c, transparent 60%),
                     radial-gradient(circle at 80% 70%, #002a45, transparent 60%);
  --gradiente-icono: linear-gradient(120deg, #00c6ff, #23b04a, #00ffea);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  overflow-x: hidden;
  background-color: #fff;
  scroll-behavior: smooth;
  padding-top: 90px; /* 馃挕 deja espacio para el header fijo */
}

/* =====================
   NAVBAR
===================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 60px;
  z-index: 100;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}

header img {
  height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a.active,
nav a:hover {
  color: var(--verde-mb);
}

.navbar-solid {
  background-color: var(--azul-mb);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* =====================
   HERO (VIDEO)
===================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  margin-top: -90px; /* 馃挕 compensa el padding del body */
}

/* --- Fondo de video optimizado --- */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
  filter: brightness(0.85);
}

/* --- Capa oscura encima del video --- */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: -1;
  pointer-events: none;
  will-change: opacity;
}

/* --- Transici贸n degradada entre el video y la siguiente secci贸n --- */
.scroll-transition {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), #02161c);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: fadeInTransition 2.5s ease 1.5s forwards;
}

@keyframes fadeInTransition {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Texto y bot贸n principal --- */
.hero h1 {
  font-size: 3.3rem;
  font-weight: 800;
}

.hero h1 span {
  display: inline-block;
  background: linear-gradient(120deg, #0f8f44, #23b04a, #00ffea);
  background-size: 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brilloTexto 6s ease-in-out infinite;
}

.hero p {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #f5f5f5;
}

.btn-contacto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 35px;
  padding: 14px 40px;
  background-color: var(--azul-mb);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-contacto:hover {
  background-color: var(--verde-mb);
  transform: scale(1.12);
  box-shadow: 0 0 25px rgba(31,182,91,0.6);
}

/* =====================
   FLECHA "VER M脕S"
===================== */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  animation: fadeIn 2s ease-in-out 1.5s forwards;
  opacity: 0;
}

.scroll-down a {
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-down i {
  font-size: 1.8rem;
  color: #fff;
  animation: bounce 2s infinite;
  transition: transform 0.3s ease;
}

.scroll-down span {
  font-size: 0.95rem;
  color: #f8f8f8;
  opacity: 0.8;
  font-weight: 500;
  letter-spacing: 0.5px;
  animation: textUp 2s ease-in-out 1.8s forwards;
}

.scroll-down a:hover i {
  transform: scale(1.2);
  color: var(--verde-mb);
}
.scroll-down a:hover span {
  color: var(--verde-mb);
  opacity: 1;
}

/* --- Animaciones de la flecha --- */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(15px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes textUp {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =====================
   SECCI脫N POR QU脡 ELEGIRNOS
===================== */
#porque-mb {
  position: relative;
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(135deg, #0b2342 0%, #006e4d 100%);
  color: var(--blanco);
  overflow: hidden;
  z-index: 1;
}

#porque-mb h2 {
  font-size: 2.9rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #00ffa3, #00eaff, #1fffbf);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brilloTexto 6s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(0, 255, 180, 0.4);
}

#porque-mb h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #00ffa3, #00c8ff);
  border-radius: 2px;
  margin: 14px auto 0;
}

#porque-mb p.subtitulo {
  max-width: 750px;
  margin: 30px auto 80px;
  color: #e6fff5;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.7;
  text-shadow: 0 0 6px rgba(0, 255, 200, 0.25);
}

.contenedor-ventajas {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 45px;
}

.tarjeta {
  width: 260px;
  height: 260px;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.tarjeta:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 255, 200, 0.25);
}

.icono {
  font-size: 3.5rem;
  color: transparent;
  background: linear-gradient(120deg, #00c6ff, #23b04a, #00ffea);
  background-size: 300%;
  -webkit-background-clip: text;
  animation: brilloTexto 6s ease-in-out infinite;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.contenido {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  padding: 25px;
}

.tarjeta:hover .icono {
  transform: scale(0);
  opacity: 0;
}

.tarjeta:hover .contenido {
  opacity: 1;
  transform: translateY(0);
}

.contenido h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #004430;
}

.contenido p {
  font-size: 0.95rem;
  color: #006e4d;
  text-align: center;
  line-height: 1.5;
}

@keyframes brilloTexto {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* =====================
   SECCI脫N: NUESTROS PROCESOS (versi贸n final con iluminaci贸n por proceso)
===================== */
#procesos {
  position: relative;
  padding: 160px 0 120px;
  background: linear-gradient(180deg, #041a28 0%, #0a3d35 100%);
  overflow: hidden;
  text-align: center;
}

/* L铆nea luminosa superior */
#procesos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #00ffa3, #00eaff, #23b04a);
  background-size: 300%;
  animation: brilloTexto 6s ease-in-out infinite;
}

/* ===== T铆tulo principal ===== */
.procesos-header {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 80px;
  background: linear-gradient(90deg, #00ffa3, #00eaff, #1fffbf);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brilloTexto 6s ease-in-out infinite;
}

/* ===== Contenedor principal ===== */
.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Cada proceso ===== */
.process {
  position: relative;
  width: 85%;
  max-width: 950px;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

.process:nth-child(1) { animation-delay: 0.2s; }
.process:nth-child(2) { animation-delay: 0.4s; }
.process:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ==== Hover con iluminaci贸n seg煤n proceso ==== */
.process:nth-child(1):hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(230, 126, 34, 0.45);
  border-color: #e67e22;
}

.process:nth-child(2):hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(22, 160, 133, 0.45);
  border-color: #16a085;
}

.process:nth-child(3):hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(52, 152, 219, 0.45);
  border-color: #3498db;
}

/* ===== Vista previa (imagen) ===== */
.teaser {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

/* Imagen m谩s oscura con contraste */
.teaser img.bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1);
  transition: transform 0.8s ease, filter 0.5s ease;
}

.process:hover .teaser img.bg {
  transform: scale(1.05);
  filter: brightness(0.95) contrast(1.1);
}

/* Degradado superior cinematogr谩fico */
.teaser::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}

/* ===== T铆tulos centrados ===== */
.teaser h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff; /* Blanco puro */
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 
    0 0 10px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(0, 0, 0, 0.6),
    0 0 35px rgba(0, 0, 0, 0.5);
  transition: text-shadow 0.4s ease, transform 0.3s ease;
}

/* 馃敻 Iluminaci贸n personalizada por proceso */
.process:nth-child(1):hover .teaser h3 {
  text-shadow:
    0 0 10px #e67e22,
    0 0 25px #e67e22,
    0 0 50px rgba(230, 126, 34, 0.8);
  transform: translate(-50%, -50%) scale(1.05);
}

.process:nth-child(2):hover .teaser h3 {
  text-shadow:
    0 0 10px #16a085,
    0 0 25px #16a085,
    0 0 50px rgba(22, 160, 133, 0.8);
  transform: translate(-50%, -50%) scale(1.05);
}

.process:nth-child(3):hover .teaser h3 {
  text-shadow:
    0 0 10px #3498db,
    0 0 25px #3498db,
    0 0 50px rgba(52, 152, 219, 0.8);
  transform: translate(-50%, -50%) scale(1.05);
}

/* ===== Contenido desplegado ===== */
.details {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 50px;
  background: #fff;
  border-top: 4px solid transparent;
  color: #333;
  border-radius: 0 0 22px 22px;
}

/* Colores de encabezados */
.process:nth-child(1) .left h4 { color: #e67e22; } /* Preprensa - Naranja */
.process:nth-child(2) .left h4 { color: #16a085; } /* Prensa - Verde azulado */
.process:nth-child(3) .left h4 { color: #3498db; } /* Postprensa - Celeste */

.details .left h4 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.details .left p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #444;
}

/* ===== Bloque de recomendaci贸n ===== */
.details .hint {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 18px;
  border-radius: 8px;
  margin-top: 15px;
}

/* Personalizaci贸n de cada recomendaci贸n */
.process:nth-child(1) .details .hint {
  background: #fff2e6;
  border-left: 5px solid #e67e22;
  color: #a35409;
}

.process:nth-child(2) .details .hint {
  background: #e5f9f5;
  border-left: 5px solid #16a085;
  color: #06625e;
}

.process:nth-child(3) .details .hint {
  background: #e6f2ff;
  border-left: 5px solid #3498db;
  color: #0b3c78;
}

/* ===== Video ===== */
.details .player video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* ===== Bot贸n de cierre ===== */
.close {
  display: none;
  position: absolute;
  top: 18px;
  right: 25px;
  font-size: 1.4rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.close:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* ===== Estado activo ===== */
.process.active .details {
  display: grid;
  animation: slideFadeIn 0.6s ease forwards;
}

.process.active .close {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== Animaci贸n ===== */
@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
  .details {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .teaser {
    height: 240px;
  }
  .procesos-header {
    font-size: 2.2rem;
  }
}
/* =====================
   SECCIÓN: ELLOS CONFÍAN EN NOSOTROS
===================== */
#clientes {
  position: relative;
  padding: 120px 0 120px; /* más espacio abajo */
  background: linear-gradient(180deg, #043b5c 0%, #00131f 100%);
  text-align: center;
  color: #fff;
  overflow: hidden;
  border: none !important;
}

/* 🌈 Barras animadas superior e inferior */
#clientes::before,
#clientes::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00eaff, #00ffa3, #00bfff, #00eaff);
  background-size: 300%;
  animation: brilloLineas 6s linear infinite;
  z-index: 2;
}

#clientes::before {
  top: 0; /* 🔹 barra superior */
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.4);
}

#clientes::after {
  bottom: 0; /* 🔹 barra inferior */
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

@keyframes brilloLineas {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ✨ Efecto de ondas en el fondo */
#clientes::before,
#clientes::after {
  animation-delay: 0s;
}

#clientes .clientes-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #00eaff, #00ffa3, #00bfff);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brilloTexto 6s ease-in-out infinite;
  text-shadow: 0 0 18px rgba(0,255,255,0.35);
  position: relative;
  z-index: 3;
}

@keyframes brilloTexto {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Línea decorativa debajo del título */
.clientes-header .sub-line {
  display: block;
  width: 80px;
  height: 3px;
  margin: 15px auto 50px;
  background: linear-gradient(90deg, #00ffa3, #00eaff);
  border-radius: 3px;
  animation: brilloTexto 6s ease-in-out infinite;
}

/* Carrusel de logos */
.carousel {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.carousel-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scrollInfinite 40s linear infinite;
}

.carousel:hover .carousel-track {
  animation-play-state: paused;
}

@keyframes scrollInfinite {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Tarjetas de logo */
.logo-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
  min-width: 180px;
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-card img {
  width: 100%;
  height: auto;
  filter: brightness(1.05) contrast(1.1);
  transition: all 0.4s ease;
}

.logo-card:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 35px rgba(0, 255, 200, 0.2);
}

.logo-card:hover img {
  filter: brightness(1.3) contrast(1.2)
          drop-shadow(0 0 10px rgba(0,255,255,0.3));
}

/* Atenuar otros al hacer hover */
.carousel:hover .logo-card:not(:hover) {
  opacity: 0.7;
  transform: scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-track {
    gap: 25px;
    animation-duration: 30s;
  }
  .logo-card {
    min-width: 140px;
    padding: 16px;
  }
  .clientes-header h2 {
    font-size: 2rem;
  }
}
/* =====================
   SECCIÓN: SOLICITA TU COTIZACIÓN
===================== */
.cotizacion {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #0a1c27;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* 🔹 Capa luminosa superior */
.cotizacion::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #00ffa3, #00eaff, #00bfff);
  background-size: 300%;
  animation: brilloTexto 6s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(0,255,255,0.4);
}

.cotizacion-contenedor {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 90%;
  max-width: 1100px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  z-index: 2;
  animation: fadeUp 1.3s ease-out;

  /* 🔹 Ajustes nuevos */
  margin-top: 60px;  /* baja el bloque para que no toque la línea */
  margin-bottom: 60px; /* agrega aire abajo */
}

/* 🔹 Columna izquierda: imagen */
.cotizacion-imagen {
  position: relative;
  overflow: hidden;
}

.cotizacion-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: transform 8s ease;
}

.cotizacion-contenedor:hover .cotizacion-imagen img {
  transform: scale(1.1);
}

/* 🔹 Columna derecha: formulario */
.cotizacion-formulario {
  padding: 60px 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  color: #fff;
}

.cotizacion-formulario h2 {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(90deg, #00ffa3, #00eaff, #00bfff);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brilloTexto 6s ease-in-out infinite;
  margin-bottom: 12px;
  text-align: center;
}

.cotizacion-formulario .descripcion {
  font-size: 0.95rem;
  color: #d7f9ff;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Campos */
.campo {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.campo label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #e9faff;
}

.campo input,
.campo select,
.campo textarea {
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #0b2342;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 255, 200, 0.6);
  background: #fff;
}

/* Botón */
.btn-enviar {
  width: 100%;
  padding: 12px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(90deg, #00bfff, #00ffa3);
  background-size: 200%;
  animation: botonBrillo 6s linear infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px;
}

.btn-enviar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.5);
}

/* Animaciones */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes botonBrillo {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 🔹 Responsive */
@media (max-width: 900px) {
  .cotizacion-contenedor {
    grid-template-columns: 1fr;
  }
  .cotizacion-imagen {
    display: none;
  }
  .cotizacion-formulario {
    padding: 40px 30px;
  }
  .cotizacion-formulario h2 {
    font-size: 1.8rem;
  }
}


/* =====================
   VALIDACIÓN VISUAL (FORMULARIO COTIZACIÓN)
===================== */
input.error, select.error, textarea.error {
  border: 2px solid #ff5555 !important;
  background-color: rgba(255, 100, 100, 0.08);
  transition: all 0.3s ease;
}

small.error-text {
  color: #ff9999;
  font-size: 0.9rem;
  margin-top: 4px;
  display: block;
  font-weight: 500;
  opacity: 0;
  animation: fadeError 0.3s ease forwards;
}

@keyframes fadeError {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================
   ANIMACIÓN DE ÉXITO FORMULARIO
===================== */
.overlay-exito {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: aparecerFondo 0.3s ease forwards;
}

.mensaje-exito {
  background: rgba(0, 255, 170, 0.1);
  border: 2px solid #00ffa3;
  border-radius: 18px;
  padding: 40px 60px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 25px rgba(0,255,180,0.3);
  animation: zoomIn 0.4s ease forwards;
  backdrop-filter: blur(10px);
}

.icono-exito {
  font-size: 3.5rem;
  color: #00ffa3;
  margin-bottom: 10px;
  animation: pulso 0.8s ease infinite alternate;
}

.mensaje-exito p {
  font-size: 1.3rem;
  font-weight: 600;
  color: #cfffef;
}

.overlay-exito.ocultar {
  animation: desaparecerFondo 0.4s ease forwards;
}

/* Animaciones */
@keyframes aparecerFondo {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes desaparecerFondo {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes pulso {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(1.15); opacity: 1; }
}

