* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip; /* ← evita el scroll horizontal más suavemente */
  font-family: 'Helvetica Neue', sans-serif;
  background-size: cover;
  color: #fff;
  scroll-behavior: smooth;
}

/* === Pseudo-fondo compatible === */
body::before{
  content:'';
  position:fixed;             /* fijo en desktop */
  inset:0;
  background:url('https://res.cloudinary.com/dmxok6wzg/image/upload/v1746745752/fondo_txtuy0.jpg')
            center/cover no-repeat;
  z-index:-1;
}

.header {
  background: rgba(0, 0, 0, 0.85);
  position: fixed;
  width: 100%;
  padding: 1rem 2rem;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;       /* Control del ancho máximo */
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.logo {
  height: 40px;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  z-index: 1100;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #bbb;
}

.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  flex-direction: column;
}

.fade-in-heading {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1.2s ease-out forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-text {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 2s 0.5s forwards;
}

.fade-in-btn {
  opacity: 0;
  animation: fadeIn 2s 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.btn-primary {
  padding: 0.75rem 2rem;
  background: white;
  color: black;
  border: none;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #ddd;
}

/* =========================================================
   NUEVOS ESTILOS PARA LANDING PRINCIPAL (Hero Buttons)
   ========================================================= */

/* Contenedor para alinear los botones */
.hero-btns {
  display: flex;
  gap: 1rem; /* Espacio entre botones */
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Para que se pongan uno bajo otro en móviles */
  margin-top: 2rem;
}

/* Estilo del Botón Secundario (Ver Proyectos) */
.btn-secondary {
  padding: 0.75rem 2rem;
  background: transparent; /* Fondo transparente */
  color: white;
  border: 2px solid white; /* Borde blanco */
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Efecto Hover del Botón Secundario */
.btn-secondary:hover {
  background: white;
  color: black;
}

/* Ajuste para móviles: asegurar que el botón primario mantenga su estilo */
.btn-primary {
  display: inline-block; /* Asegura que respete el flexbox */
}

.section {
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.subtext {
  font-size: 1rem;
  color: white;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5rem;
  margin-top: 2rem;
}


.card {
  background: white;
  color: black;
  padding: 1rem;
  border-radius: 12px;
  width: 280px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  text-align: center;
}

.card-servicio {
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: 2px solid white;
  box-shadow: 0 0 20px rgba(0, 0, 0, .4);
  justify-content: center;
}

.card img.icono-servicio {
  width: 70%;
  height: auto;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =========================================================
   ESTILOS NUEVOS PARA BOTONES EN SERVICIOS (INDEX)
   ========================================================= */

/* Aseguramos que la tarjeta tenga flexbox para empujar el botón abajo */
body.landing-main .card-servicio {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Altura mínima para que se vean uniformes si el texto varía */
  height: 100%; 
  justify-content: space-between;
}

body.landing-main .card-servicio p {
  margin-bottom: 1.5rem; /* Espacio antes del botón */
  flex-grow: 1; /* El texto ocupa el espacio disponible */
}

/* Estilo del botón "Más Información" */
body.landing-main .btn-card {
  padding: 0.6rem 1.5rem;
  border: 1px solid #b1ff00; /* Borde Fluo */
  color: #b1ff00; /* Texto Fluo */
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto; /* Se pega al fondo de la tarjeta */
  display: inline-block;
}

/* Hover del botón */
body.landing-main .btn-card:hover {
  background: #b1ff00;
  color: #000; /* Texto negro al hacer hover */
}

.proyectos-section {
  background: rgba(0, 0, 0, 0.7);
  padding: 3rem 0 0;
  text-align: center;
}

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}

.proyecto {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.proyecto:hover {
  transform: scale(1.01);
}

.proyecto-img {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
}

.proyecto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.overlay-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 16, 32, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
  padding: 1rem;
  flex-direction: column;
  z-index: 2;
}

.overlay-hover p {
  margin: 0;
  font-weight: bold;
  font-size: 1.1rem;
  color: white;
}

.overlay-hover i {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  color: white;
}

.proyecto:hover .overlay-hover {
  opacity: 1;
}

.proyecto-info {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.8rem;
  font-weight: bold;
}

.proyecto-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  z-index: 1;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.modal-content {
  background: hsl(231, 42%, 9%, 0.9);
  padding: 2rem;
  border-radius: 20px;
  color: white;
  max-width: 600px;
  width: 90%;
  position: relative;
  text-align: justify;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  overflow: hidden; /* ← Evita scroll en escritorio */
  max-height: none;
}


.modal-logo {
  width: 40px;
  display: block;
  margin: 0 auto 1rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0;
}

.modal-tag {
  border: 1px solid #701EF7;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.modal-tag:hover {
  background: #701EF7;
  color: white;
  cursor: pointer;
}

.modal-body {
  margin-top: 1.5rem;
}

.modal-body p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.btn-modal {
  display: block;
  width: 100%;
  text-align: center;
  background: #701EF7;
  color: white;
  font-weight: bold;
  padding: 1rem;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: background 0.3s ease;
}

.btn-modal:hover {
  background: #5c1bd1;
}

.cerrar-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.clientes-section {
  background: rgba(0, 0, 0, 0.8);
  padding: 3rem 9rem;
  text-align: center;
}

.clientes-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.clientes-section p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  justify-items: center;
  align-items: center;
}

.logo {
  filter: grayscale(100%) opacity(0.9);
  transition: all 0.4s ease;
  max-width: 100%;
}

.logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

/* Tamaños personalizados */
.logo-grande {
  max-width: 250px;
  height: auto;
}

.logo-moderado {
  max-width: 100px;
  height: auto;
}

.contacto-section {
  background: rgba(0, 0, 0, 0.9);
  padding: 3rem 2rem;
  text-align: center;
}

.contacto-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contacto-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: white;
}

#form-contacto {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* MODIFICADO: Se añadió 'select' */
#form-contacto input,
#form-contacto textarea,
#form-contacto select {
  padding: 1rem;
  background: transparent;
  border: 1px solid white;
  border-radius: 4px;
  color: white;
  font-size: 1rem;
}

#form-contacto textarea {
  height: 120px;
  resize: none;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row input {
  flex: 1;
}

#form-contacto button {
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  color: black;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1.1rem;
}

#form-contacto button:hover {
  background: #ddd;
}
/* Estilo para botón deshabilitado del script.js */
#form-contacto button:disabled {
  background: #aaa;
  color: #555;
  cursor: not-allowed;
}

.hp-field{
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* ELIMINADO: Estilos del .toast-exito */

.footer {
  background: rgba(0, 0, 0, 0.95);
  padding: 1.5rem 2rem;
  color: white;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer .correo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.footer .copyright {
  font-size: 0.95rem;
}

.footer .socials a {
  color: white;
  font-size: 1.25rem;
  margin: 0 0.5rem;
  transition: transform 0.3s ease;
}

.footer .socials a:hover {
  transform: scale(1.2);
}

.whatsapp-fixed {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #b1ff00; /* CAMBIO: Color fluo */
  color: #000; /* CAMBIO: Color de texto */
  font-size: 1.1rem; /* CAMBIO: Ajuste de fuente */
  font-weight: 700;
  padding: 0.8rem 1.2rem; /* CAMBIO: Padding de píldora */
  border-radius: 50px; /* CAMBIO: Forma de píldora */
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(177, 255, 0, 0.4); /* CAMBIO: Sombra fluo */
  z-index: 9999;
  display: flex; /* NUEVO */
  align-items: center; /* NUEVO */
  gap: 0.6rem; /* NUEVO */
  transition: transform 0.2s ease;
}
.whatsapp-fixed:hover {
  transform: scale(1.05);
}
.whatsapp-fixed i {
  font-size: 1.5rem; /* Tamaño del icono */
}


/* =========================================================
   INICIO: ESTILOS DE LANDING PAID MEDIA (RESTAURADOS)
   ========================================================= */

/* =========================================================
   LANDING PAID MEDIA · fondo estrellado + overlay 90 %
   ========================================================= */

/* 1️⃣ Capa de estrellas (misma textura que la web principal) */
body.landing-paid::before{
  content:'';
  position:fixed;                      /* fijo en desktop            */
  inset:0;
  background:url('https://res.cloudinary.com/dmxok6wzg/image/upload/v1746745752/fondo_txtuy0.jpg')
            center/cover no-repeat;
  z-index:-3;                          /* muy al fondo               */
}

/* 2️⃣ Capa negra con opacidad 90 % para oscurecer */
body.landing-paid::after{
  content:'';
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);           /* 90 % de negro              */
  z-index:-2;                          /* sobre las estrellas        */
}

/* ======================================================
   LANDING PAID MEDIA · ajustes de layout y estética
   ====================================================== */

/* 1️⃣ Títulos centrados */
body.landing-paid .titulo-fluo{
  display:block;             /* ahora es elemento BLOQUE           */
  width:max-content;         /* se encoge a lo que mide el título  */
  margin:0 auto 3rem;      /* centrado + separación inferior     */
  margin-top: 2rem;
}

/* 2️⃣ Centramos las rejillas y fijamos columnas */
body.landing-paid .platforms-grid{
  max-width:1000px;              /* ancho de Figma */
  margin:0 auto;
  justify-content:center;
  gap:3rem;
}
body.landing-paid .stats-grid{
  grid-template-columns:repeat(3,1fr);   /* 3 × 2 como en Figma   */
  max-width:1100px;
  margin:0 auto;
}

/* 3️⃣ Tarjetas con degradado y borde sutil */
body.landing-paid .platform-card,
body.landing-paid .stat{
  background:linear-gradient(180deg,
              rgba(255,255,255,.08) 0%,
              rgba(255,255,255,.02) 100%);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 0 18px rgba(0,0,0,.45);
}

/* 4️⃣ Botones CTA siempre centrados */
body.landing-paid .btn-group{
  justify-content:center;
}

/* ---------- Secciones sin cajas semitransparentes ---------- */
body.landing-paid .hero,
body.landing-paid .section-paid,
body.landing-paid .contacto-landing{ background:transparent;}

/* ---------- HERO ---------- */
.hero-paid{padding:7rem 2rem 5rem 2rem;}
.hero-paid__wrap{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 420px;align-items:center;gap:3rem}
.hero-paid__texto h1{font-size:2.4rem;margin-bottom:.6rem}
.hero-paid__texto p{max-width:520px;line-height:1.55;font-size:1rem}
.hero-paid__ilustracion img{width:100%;max-width:380px;}

/* ---------- Botones redondos ---------- */
.btn-group{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.4rem}
.btn-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem 1.15rem;background:#fff;color:#000;border-radius:50px;font-weight:600;font-size:.9rem;text-decoration:none;transition:background .25s}
.btn-pill:hover{background:#e5e5e5}

/* ---------- Titular fluorescente ---------- */
.titulo-fluo{display:inline-block;background:#b1ff00;color:#000;font-weight:900;padding:.4rem 1rem;border-radius:4px;margin:0 auto 2.2rem;font-size:1.75rem}

/* ---------- Plataformas ---------- */
.platforms-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:1.5rem;}
.platform-card{width:200px;text-align:center;background:rgba(255,255,255,.04);padding:1.4rem;border-radius:14px;box-shadow:0 0 20px rgba(0,0,0,.35)}
.platform-card img{width:78px;margin-bottom:.85rem}
.platform-card h3{margin:.15rem 0 .45rem;font-size:1.1rem}
.platform-card p{font-size:.88rem;line-height:1.4}

/* ---------- Resultados ---------- */
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem;max-width:1100px;margin:0 auto}
.stat{background:rgba(255,255,255,.05);padding:1.3rem;border-radius:12px;text-align:center;box-shadow:0 0 15px rgba(0,0,0,.4)}
.stat span{display:block;font-size:1.8rem;font-weight:800;margin-bottom:.25rem}
.stat small{font-size:.98rem;color:#ccc;line-height:1.35}

/* ======================================================
   NUEVO DISEÑO DE PROCESO (REEMPLAZA EL ANTERIOR)
   ====================================================== */
.pasos-lista {
  list-style: none;
  counter-reset: pasos-counter; /* Inicia el contador */
  padding: 0 1rem;
  max-width: 800px;
  margin: 2rem auto;
  position: relative;
}
/* Línea vertical de la línea de tiempo */
.pasos-lista::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 29px; /* CORREGIDO: Antes 23px. Ahora centrado con el círculo */
  width: 3px;
  background: rgba(177, 255, 0, 0.2); /* Fluo sutil */
  border-radius: 3px;
  z-index: 0;
}
.pasos-lista li {
  counter-increment: pasos-counter; /* Suma 1 al contador */
  position: relative;
  padding: 1.25rem 1.5rem 1.25rem 4.5rem; /* Espacio para el número */
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}
/* Círculo numerado */
.pasos-lista li::before {
  content: "0" counter(pasos-counter); /* Muestra "01", "02" */
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #b1ff00; /* Círculo fluo */
  color: #000;
  font-weight: 700;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Sobre la línea vertical */
}
/* Título del paso */
.pasos-lista li strong {
  display: block;
  font-size: 1.1rem;
  color: #b1ff00; /* Título en fluo */
  margin-bottom: 0.25rem;
}
/* ======================================================
   FIN NUEVO DISEÑO DE PROCESO
   ====================================================== */


/* ---------- Clientes-Paid Media ---------- */
.section-paid#clientes{padding: 3rem 9rem;}

/* ---------- Formularios (mantienen estilo global) ---------- */
.contacto-landing form{max-width:500px}

/* ======================================================
   LANDING PAID MEDIA · ajuste sección Contacto
   ====================================================== */
body.landing-paid .contacto-landing{
  padding-top:4.5rem;               /* separa de la sección anterior */
  text-align:center;                /* centra todo el contenido      */
  padding: 2rem;
}
body.landing-paid .contacto-landing h2{
  margin-bottom:.6rem;              /* espacio entre título y texto  */
}
body.landing-paid .contacto-landing p{
  margin:0 auto 2rem;               /* centra y separa subtítulo     */
  max-width:620px;                  /* ancho cómodo de lectura       */
}
/* ------------------------------------------------------
   LANDING PAID MEDIA · espaciado extra en Contacto
   ------------------------------------------------------ */
body.landing-paid #form-contacto button{ margin-bottom:1.75rem; }      /* distancia entre “Enviar” y texto */
body.landing-paid .contacto-links-secundarios{ margin-bottom:1.5rem; } /* distancia texto → CTA secundarios */
body.landing-paid .contacto-landing .btn-group:last-of-type{ margin-bottom:2.5rem; } /* CTA secundarios → footer */

/* ---------------------------------------------------
   A)  CTA “Agendar una reunión” → borde amarillo 3 px
   --------------------------------------------------- */
.btn-agendar{
  border:3px solid #b1ff00;         /* fluorescente Karl */
}

/* efecto opcional al pasar el mouse (quítalo si no lo quieres) */
.btn-agendar:hover{
  background:#b1ff00;
  color:#000;
}

/* ---------------------------------------------------
   Hero Paid Media – alinear CTA a la izquierda (desktop)
   --------------------------------------------------- */
.hero-paid__texto .btn-group{
  justify-content:flex-start !important;   /* ← fuerza la alineación */
}

/* En móvil/tablet los seguimos centrando */
@media (max-width:700px){
  .hero-paid__texto .btn-group{
    justify-content:center !important;
  }
}


/* ======================================================
   LANDING PAID MEDIA · separación en la sección Resultados
   ====================================================== */

/* 1️⃣ Desktop ≥ 901 px  → separa más los cards */
@media (min-width:901px){
  body.landing-paid .stats-grid{
    gap:2.2rem;                     /* antes 1 rem → ahora ~35 px */
  }
}

/* 2️⃣ Tablet / móvil 0‑900 px → los cards NO abarcan todo el ancho */
@media (max-width:900px){
  body.landing-paid .stats-grid{
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:1.5rem;                     /* aire lateral entre cards   */
    justify-content:center;
  }
  body.landing-paid .stat{
    max-width:320px;                /* evita que crezcan al 100 % */
    margin:0 auto;                  /* centra cada tarjeta        */
  }
}



/* ---------- Responsive ---------- */
@media (max-width:940px){
  .hero-paid__wrap{grid-template-columns:1fr;gap:2.5rem;text-align:center}
  .hero-paid__ilustracion img{max-width:320px;margin:0 auto}
  .pasos-lista{padding: 1.5rem;}
}
@media (max-width:600px){
  .titulo-fluo{font-size:1.5rem}
  /* .platform-card{width:100%} */
  /* =====================================================
   CTA – apilar botones verticalmente en móviles (<601 px)
   ===================================================== */
  .btn-group{
    flex-direction: column;   /* uno debajo de otro            */
    align-items: center;      /* centrados horizontalmente      */
    gap: .85rem;              /* mismo espacio entre cada CTA   */
  }
}

/* ---------- Responsive helper ---------- */
@media (max-width:700px){
  body.landing-paid .stats-grid{grid-template-columns:1fr;} /* pila en móvil */
}

/* =========================================================
   FIN: ESTILOS DE LANDING PAID MEDIA (RESTAURADOS)
   ========================================================= */


/* Responsive Global */
@media (max-width: 1180px) {
  .clientes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .section-paid#clientes{
    padding: 3rem 0rem;
  }
  .clientes-section {
    padding: 3rem 1rem;
  }
  .form-row {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    gap: 2rem;
    z-index: 1000;
    animation: slideDown 0.4s ease-out forwards;
  }
  .nav-links.active {
    display: flex;
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .navbar {
    justify-content: space-between;
  }
  .hamburger {
    display: block;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .section h2 {
    font-size: 1.5rem;
  }
  .grid {
    flex-direction: column;
    align-items: center;
  }
  .proyectos-grid {
    grid-template-columns: 1fr;
  }
  body::-webkit-scrollbar {
    width: 8px;
  }
  body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
  }
  .clientes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .logo-grande {
    max-width: 120px;
  }
  .logo-moderado {
    max-width: 75px;
  }
}

@media (max-height: 600px), (max-width: 480px) {
    .modal-content {
      max-height: 90vh;
      overflow-y: auto;
    }
}   

@media (max-width: 480px) {
  .clientes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .modal-content {
    padding: 1.25rem;
    font-size: 0.95rem;
  }
  .modal-tag {
    margin: 1rem 0 0 0;
  }
  .modal-content h2,
  .modal-content h3 {
    font-size: 1.1rem;
  }
  .btn-modal {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
    width: 100%;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 1rem;
  }
  .overlay-hover{pointer-events:none;}
  .proyecto.show-overlay .overlay-hover{opacity:1;}
}

/* ==================================
   ESTILOS DE FORMULARIO (MODIFICADOS)
   ================================== */

/* 1. Bloque de Segmentación (Hero Paid Media) */
.segment-quote {
  background: rgba(177, 255, 0, 0.08);
  border-left: 4px solid #b1ff00;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  max-width: 600px;
  border-radius: 0 8px 8px 0;
  text-align: left;
}
@media (max-width: 940px) {
  .segment-quote {
    margin: 2rem auto;
  }
}
.segment-quote p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.segment-quote strong {
  color: #b1ff00;
  font-size: 1.05rem;
}

/* 2. Priorización de Botones CTA (Hero Paid Media) */
.btn-pill--primary {
  background-color: #b1ff00;
  color: #000;
  font-weight: 700 !important;
  border: 2px solid #b1ff00;
  padding: .6rem 1.2rem;
}
.btn-pill--primary:hover {
  background-color: #a0e800 !important;
  border-color: #a0e800;
  color: #000 !important;
}
.btn-pill--secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #b1ff00; /* CAMBIO: Borde fluo */
}
.btn-pill--secondary:hover {
  background-color: rgba(177, 255, 0, 0.1) !important; /* CAMBIO: Fondo fluo sutil */
  border-color: #b1ff00; /* CAMBIO: Borde fluo */
  color: #fff !important;
}
.btn-agendar {
  border: none;
}
.btn-agendar:hover {
  background: #e5e5e0;
  color: #000;
}
.btn-pill--primary.btn-agendar:hover {
  background-color: #a0e800 !important;
  color: #000 !important;
}

/* 3. Ajuste responsive (Proceso Paid Media) */
@media (max-width: 600px) {
  .pasos-lista::before {
    left: 21px; /* CORREGIDO: Antes 20px. Ahora centrado (5px + 35px/2) */
  }
  .pasos-lista li {
    padding-left: 4.2rem;
  }
  .pasos-lista li::before {
    left: 5px;
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* 4. Estilos para el <select> del formulario */
#form-contacto select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}
#form-contacto select:invalid {
  color: #aaa; 
}
#form-contacto option {
  background: #222; 
  color: white;
}

/* 5. Mensaje de Error de Cualificación */
.form-error-msg {
  color: #FFB100;
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(255, 177, 0, 0.1);
  border: 1px solid #FFB100;
  border-radius: 4px;
  text-align: center;
  /* TU CAMBIO: Añadido margen inferior */
  margin-bottom: 1.5rem; 
}

/* 6. NUEVO: Mensaje de Éxito */
#form-success-msg {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: rgba(177, 255, 0, 0.1); /* Fondo fluo sutil */
  border: 1px solid #b1ff00;
  border-radius: 8px;
  text-align: center;
}
#form-success-msg h3 {
  color: #b1ff00;
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
#form-success-msg p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 7. NUEVO: Ocultar el badge de reCAPTCHA */
.grecaptcha-badge { 
  visibility: hidden;
}

/* =========================================================
   ESTILOS NUEVOS: CALCULADORA RENTABILIDAD
   ========================================================= */

.card-calculadora {
  background: #0d1020; /* Fondo muy oscuro, casi negro */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  margin: 0 auto;
}

.input-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 600;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper span {
  position: absolute;
  left: 1rem;
  color: #b1ff00; /* Moneda en fluo */
  font-weight: bold;
}

.card-calculadora input {
  width: 100%;
  padding: 1rem 1rem 1rem 2.5rem; /* Espacio para el símbolo */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: white;
  font-size: 1.1rem;
  outline: none;
  transition: all 0.3s ease;
}

.card-calculadora input:focus {
  border-color: #b1ff00;
  background: rgba(255, 255, 255, 0.1);
}

.form-row-calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Resultados KPI Grid */
.resultado-box {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.6s ease;
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kpi-card {
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid transparent;
}

.kpi-card small {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  color: #fff;
  opacity: 0.8;
}

.kpi-card span {
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
}

/* Estilos semánticos para los KPIs */
.kpi-card.danger {
  background: rgba(255, 77, 77, 0.1);
  border-color: rgba(255, 77, 77, 0.3);
}
.kpi-card.danger span { color: #ff4d4d; } /* Rojo */

.kpi-card.success {
  background: rgba(177, 255, 0, 0.1);
  border-color: #b1ff00;
}
.kpi-card.success span { color: #b1ff00; } /* Verde Fluo */

.analysis-text {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.res-cta {
  text-align: center;
}

@media (max-width: 500px) {
  .form-row-calc {
    grid-template-columns: 1fr; /* Colapsar en móvil */
  }
}

/* =========================================================
   ESTILOS WIDGET CALCULADORA (VERSIÓN 2.0 - LIMPIA)
   ========================================================= */

.calculator-container {
  width: 100%;
  max-width: 1000px; /* Ancho amplio para 2 columnas */
  background: #0d1020;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  margin: 0 auto;
}

.calc-header {
  text-align: center;
  margin-bottom: 3rem;
}
.calc-header h1 { font-size: 2.2rem; color: white; margin-bottom: 0.5rem; }
.calc-header p { color: #aaa; font-size: 1.1rem; }

/* Layout de 2 Columnas */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.calc-inputs h3, .calc-results h3 {
  font-size: 1.2rem;
  color: #b1ff00;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.5rem;
}

/* Inputs Estilizados */
.input-block { margin-bottom: 1.5rem; }
.input-block label { display: block; color: #fff; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.95rem; }
.input-icon { position: relative; }
.input-icon span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #b1ff00; font-weight: bold; }
.input-icon input { padding-left: 2.5rem !important; }

.input-block input, .input-block select {
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}
.input-block input:focus, .input-block select:focus { border-color: #b1ff00; background: rgba(255,255,255,0.1); }

.hint { display: block; color: #666; margin-top: 5px; font-size: 0.8rem; }

/* Botón Calcular */
.btn-calc-action {
  width: 100%;
  padding: 1rem;
  background: white;
  color: black;
  font-weight: 800;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1rem;
  transition: 0.3s;
}
.btn-calc-action:hover { background: #ddd; transform: translateY(-2px); }

/* Panel de Resultados */
.scenario-box {
  background: rgba(255,255,255,0.03);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.scenario-box.optimized {
  background: rgba(177, 255, 0, 0.05);
  border: 1px solid #b1ff00;
  position: relative;
}

.badge-opt {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #b1ff00;
  color: black;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

.scenario-box h4 { margin: 0 0 1rem 0; font-size: 1.1rem; color: #fff; }
.opt-desc { font-size: 0.8rem; color: #aaa; margin-top: -0.5rem; margin-bottom: 1rem; }

.metric {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: #ccc;
}
.metric.total {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.8rem;
  font-size: 1.1rem;
  color: white;
}
.metric.total strong { font-size: 1.3rem; }
.metric.roas { margin-top: 0.5rem; }

.fluo-text { color: #b1ff00 !important; }

.growth-indicator {
  margin-top: 1rem;
  text-align: right;
  color: #b1ff00;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Botones Resultados */
.result-actions { display: flex; gap: 1rem; }
.btn-pdf {
  flex: 1;
  padding: 0.8rem;
  background: transparent;
  border: 1px solid white;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.btn-pdf:hover { background: rgba(255,255,255,0.1); }

.btn-cta-result {
  flex: 1;
  padding: 0.8rem;
  background: #b1ff00;
  border: 1px solid #b1ff00;
  color: black;
  text-align: center;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-cta-result:hover { background: #a0e800; }

/* Responsive */
@media (max-width: 850px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calculator-container { padding: 2rem 1.5rem; }
}

/* =========================================================
   ESTILOS ADICIONALES (PDF & COPY FIX)
   ========================================================= */

/* Ajuste para el botón de WhatsApp flotante en este archivo */
/* Asegura que no se solape con el footer */
body.landing-paid .whatsapp-fixed {
  z-index: 99999;
}

/* Estilo para inputs de Rango (Slider) */
input[type=range] {
  width: 100%; 
  margin: 10px 0;
  accent-color: #b1ff00; /* Color del slider */
}

/* Fix para el parpadeo del PDF: */
/* El contenedor PDF ya tiene estilos inline en el HTML para máxima seguridad */
/* Pero aseguramos que las imágenes dentro del PDF se vean bien */
#pdf-template img {
  max-width: 100%;
}

/* Mejoras visuales en resultados */
.metric.roas strong {
  font-size: 1.4rem;
}

.growth-indicator {
  margin-top: 1rem;
  background: rgba(177, 255, 0, 0.1);
  padding: 0.5rem;
  border-radius: 8px;
  text-align: center;
  color: #b1ff00;
  font-weight: bold;
  font-size: 0.95rem;
  border: 1px solid rgba(177, 255, 0, 0.3);
}

.result-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-pdf {
  flex: 1;
  padding: 0.8rem;
  background: transparent;
  border: 1px solid white;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-pdf:hover { background: rgba(255,255,255,0.1); }

.btn-cta-result {
  flex: 1;
  padding: 0.8rem;
  background: #b1ff00;
  border: 1px solid #b1ff00;
  color: black;
  text-align: center;
  font-weight: 800;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-cta-result:hover { background: #a0e800; transform: scale(1.02); }

@media (max-width: 600px) {
  .result-actions { flex-direction: column; }
}

/* =========================================================
   ESTILOS WIDGET CALCULADORA V3.0
   ========================================================= */

.calculator-container {
  width: 100%;
  max-width: 900px;
  background: #0d1020;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  margin: 0 auto;
}

.calc-header { text-align: center; margin-bottom: 2rem; }
.calc-header h1 { font-size: 2rem; color: white; margin-bottom: 0.5rem; }
.calc-header p { color: #aaa; font-size: 1rem; max-width: 600px; margin: 0 auto; }

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* TOGGLE SWITCH (LEADS VS VENTAS) */
.toggle-switch {
  display: flex;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 4px;
  margin-top: 5px;
}
.toggle-switch input { display: none; }
.toggle-switch label {
  flex: 1;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  border-radius: 6px;
  color: #aaa;
  transition: 0.3s;
  font-weight: 500;
  margin: 0 !important;
}
.toggle-switch input:checked + label {
  background: #b1ff00;
  color: #000;
  font-weight: 700;
}

/* INPUTS */
.input-block { margin-bottom: 1.5rem; }
.input-block label { display: block; color: #fff; font-size: 0.9rem; margin-bottom: 0.5rem; font-weight: 600; }
.input-icon { position: relative; }
.input-icon span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #b1ff00; font-weight: bold; }
.input-icon input { padding-left: 2.5rem !important; }

.input-block input {
  width: 100%; padding: 0.8rem; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; color: white; outline: none; font-size: 1rem;
}
.input-block input:focus { border-color: #b1ff00; }

.range-wrapper { display: flex; align-items: center; gap: 10px; }
.range-wrapper span { min-width: 60px; text-align: right; color: #b1ff00; font-weight: bold; }
input[type=range] { width: 100%; accent-color: #b1ff00; cursor: pointer; }

.btn-calc-action {
  width: 100%; padding: 1rem; background: white; color: black; font-weight: 800; border: none; border-radius: 50px; cursor: pointer; font-size: 1rem; margin-top: 1rem; transition: 0.3s;
}
.btn-calc-action:hover { background: #ddd; transform: translateY(-2px); }

/* RESULTADOS CARDS */
.scenario-card {
  background: rgba(255,255,255,0.03);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.sc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.sc-header h4 { margin: 0; color: #fff; font-size: 1rem; }

.badge-status { font-size: 0.75rem; padding: 4px 8px; border-radius: 4px; font-weight: bold; }
.badge-status.bad { background: rgba(255, 77, 77, 0.2); color: #ff4d4d; }
.badge-status.warning { background: rgba(255, 177, 0, 0.2); color: #ffb100; }
.badge-status.good { background: rgba(177, 255, 0, 0.2); color: #b1ff00; }

.metric-row { display: flex; justify-content: space-between; margin-bottom: 0.8rem; font-size: 0.95rem; color: #ccc; }
.metric-row strong { color: white; }
.metric-row.highlight { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 0.5rem; margin-top: 0.5rem; }
.metric-row.highlight strong { color: #b1ff00; font-size: 1.2rem; }

/* CONECTOR */
.connector-arrow { text-align: center; margin: 1.5rem 0; color: #aaa; font-size: 0.9rem; }
.connector-arrow i { display: block; font-size: 1.5rem; margin-bottom: 0.5rem; color: #b1ff00; }

/* OPTIMIZED CARD */
.scenario-card.optimized {
  background: rgba(177, 255, 0, 0.05);
  border: 1px solid #b1ff00;
  position: relative;
}
.badge-opt {
  position: absolute; top: -10px; right: 20px; background: #b1ff00; color: black; font-size: 0.75rem; font-weight: 800; padding: 4px 10px; border-radius: 20px;
}
.opt-text { font-size: 0.85rem; color: #ccc; margin-top: -0.5rem; margin-bottom: 1rem; }

.optimization-targets { display: flex; gap: 1rem; margin-bottom: 1rem; background: rgba(0,0,0,0.2); padding: 10px; border-radius: 8px; }
.target-item { flex: 1; text-align: center; }
.target-item span { display: block; font-size: 0.75rem; color: #aaa; }
.target-item strong { display: block; font-size: 1.1rem; }

.final-result { text-align: center; margin-bottom: 1.5rem; }
.final-result span { display: block; font-size: 0.9rem; color: #fff; margin-bottom: 5px; }

.btn-cta-result {
  display: block; width: 100%; padding: 0.8rem; background: #b1ff00; color: black; text-align: center; font-weight: bold; border-radius: 8px; text-decoration: none; transition: 0.3s;
}
.btn-cta-result:hover { background: #a0e800; }

@media (max-width: 768px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calculator-container { padding: 1.5rem; }
}

/* =========================================================
   AJUSTES ESPECÍFICOS PARA PLANNER.HTML (Agregar al final)
   ========================================================= */

/* Estilo para los segmentos de la barra de distribución */
.mix-bar {
  display: flex;
  width: 100%;
  height: 35px;
  border-radius: 50px; /* Bordes redondeados píldora */
  overflow: hidden;
  margin-top: 1rem;
  background: #333;
  border: 1px solid rgba(255,255,255,0.2);
}

.mix-bar__seg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  transition: width 0.6s ease-in-out; /* Animación suave al calcular */
}

/* Colores de marca para la barra */
.seg-meta { background-color: #1877F2 !important; }
.seg-google { background-color: #EA4335 !important; }
.seg-tiktok { background-color: #000000 !important; }

/* Tabla Ajustada */
.mix-table-wrap {
  margin-top: 1.5rem;
  overflow-x: auto;
}

.mix-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  overflow: hidden;
}

.mix-table th {
  background: rgba(255,255,255,0.08);
  color: #b1ff00;
  text-align: left;
  padding: 1rem;
  font-size: 0.9rem;
}

.mix-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
}

.mix-table td i {
  width: 20px;
  text-align: center;
  margin-right: 5px;
}

/* =========================================================
   ESTILOS ESPECÍFICOS: PLANNER VERTICAL & GADGETS
   ========================================================= */

/* 1. Layout Vertical (Ancho completo) */
.planner-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.planner-full-width {
  width: 100%;
  max-width: 100%;
}

.planner-container {
    max-width: 800px; /* Un poco más angosto que la calc ROAS para enfocar la lectura */
    margin: 0 auto;
}

.separator-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    margin: 0 auto 2.5rem;
}

/* 2. Gadgets de Estimación (Cards) */
.estimation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.est-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.2rem;
    transition: transform 0.3s ease;
}

.est-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
}

.est-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.est-header span {
    font-weight: bold;
    font-size: 1rem;
    color: white;
}

.est-header i {
    font-size: 1.2rem;
}

.est-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

.est-row strong {
    color: white;
    font-size: 1rem;
}

.est-row.highlight {
    background: rgba(177, 255, 0, 0.05);
    padding: 5px;
    border-radius: 4px;
    margin-top: 0.5rem;
}

/* Leyenda de la barra */
.legend-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #aaa;
    flex-wrap: wrap;
}
.legend-container span i {
    margin-right: 5px;
}