/* Render suave */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #111;   /* fondo oscuro */
  color: #fff;              /* texto claro: buen contraste */
}

/* Enlaces: estados accesibles */
a { text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible,
.btn-wp:focus-visible,
.btn-wp-flotante:focus-visible,
.navbar-toggler:focus-visible {
  outline: 3px solid #ffd54f;   /* alto contraste */
  outline-offset: 2px;
}

/* Navbar (sobre fondo blanco de Bootstrap) */
.navbar a,
nav a {
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero-fondo {
  background: url('/includes/img/fondo-home.png') no-repeat center top;
  background-size: 100% auto;
  aspect-ratio: 1918 / 549;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 60px;
  color: #fff; 
}

.hero-textos {
  max-width: 600px;
  margin-left: 60px;
}

.hero-textos h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;              /* fuerza texto claro */
  text-shadow: 2px 2px 4px rgba(0,0,0,.8); /* refuerza legibilidad */
}

.hero-textos h2 {
  margin-top: 10px;
  font-size: 1.8rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,.7);
}

.hero-textos p {
  margin-top: 20px;
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,.7);
}

/* Botón hero */
.btn-wp {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  background: #ffffff;      /* fondo claro */
  color: #122636;           /* texto oscuro: contraste 12:1 aprox sobre blanco */
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: background .3s ease, color .3s ease, transform .2s ease;
}

.btn-wp i {
  margin-right: 10px;
  font-size: 20px;
}

.btn-wp:hover {
  background: #122636;      /* fondo oscuro */
  color: #fff;              /* texto claro: contraste alto */
  transform: translateY(-1px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-fondo {
    background: url('/includes/img/fondo-celular.webp') no-repeat center center;
    background-size: cover;
    min-height: 520px;       /* más estable que 600px y evita CLS */
    padding: 0 20px;
    text-align: center;
    justify-content: center;
    color: #fff;
  }

  .hero-textos {
    margin: 0;
    max-width: 100%;
    color: #fff;
    padding: 5px 5px;
    overflow-wrap: break-word;
  }

  /* Antes estaban en negro y 0.5rem → ilegible.
     Subimos tamaño y mantenemos blanco para contraste. */
  .hero-textos h1 {
    font-size: 1.9rem;      /* legible en móvil */
    line-height: 1.2;
    color: #fff;
  }

  .hero-textos h2 {
    font-size: 1.3rem;
    line-height: 1.25;
    color: #fff;
  }

  .hero-textos p {
    font-size: 1rem;
    color: #fff;
  }

  .btn-wp {
    font-size: 1rem;
    padding: 12px 20px;
    white-space: normal;
    width: 100%;
    max-width: 340px;
    margin: 12px auto 0;
    display: inline-flex;
    justify-content: center;
    background: #000;   /* alto contraste sobre fondos claros/mixtos */
    color: #fff;
  }

  .btn-wp:hover {
    background: #333;
    color: #fff;
  }
}

/* ===== Botón WhatsApp flotante ===== */
.btn-wp-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #122636;   /* fondo oscuro */
  color: #fff;                  /* texto/ícono claro */
  padding: 16px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all .3s ease;
}

.btn-wp-flotante i {
  font-size: 20px;
}

.btn-wp-flotante:hover {
  background-color: #c91c4a;  /* mantiene contraste con texto blanco */
  text-decoration: none;
  transform: scale(1.05);
}

/* Utilidades */
img { max-width: 100%; height: auto; display: block; }
img[width][height] { height: auto; }
/* ═══════════════════════════════════════
   HERO HOME PRINCIPAL
   ═══════════════════════════════════════ */

.hero-home {
    position: relative;
        min-height: auto;
    padding: 110px 0 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #0f2535 40%, #1a3a4f 100%);
}

/* Patrón de fondo sutil */
.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 170, 0.05) 0%, transparent 50%);
    z-index: 0;
}

/* Overlay */
.hero-home::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.3) 0%,
        rgba(15, 37, 53, 0.1) 40%,
        rgba(10, 22, 40, 0.6) 100%
    );
    z-index: 1;
}

/* Contenido */
.hero-home .hero-contenido {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 25px;
}

/* Badge superior */
.hero-home .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(0, 212, 170, 0.12);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 50px;
    color: #00d4aa;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero-home .hero-badge i {
    font-size: 0.9rem;
}

/* Título H1 */
.hero-home h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 22px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-home h1 .highlight {
    color: #00d4aa;
    position: relative;
}

.hero-home h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4aa, transparent);
    border-radius: 2px;
}

/* Subtítulo H2 */
.hero-home h2 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 22px;
    text-shadow: 0 1px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Descripción */
.hero-home p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto 25px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Precio destacado */
.hero-home .hero-precio {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-home .hero-precio .precio-valor {
    color: #00d4aa;
    font-size: 1.6rem;
    font-weight: 800;
}

.hero-home .hero-precio .precio-incluye {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 6px;
}

/* CTAs */
.hero-home .hero-ctas {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.9s both;
}

.hero-home .btn-primario {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    color: #0f2535;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.35);
}

.hero-home .btn-primario:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.45);
}

.hero-home .btn-secundario {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.hero-home .btn-secundario:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Scroll indicator */
.hero-home .hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.35);
    font-size: 1.4rem;
    animation: bounce 2s infinite;
}

/* Trust badges */
.hero-home .hero-trust {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1s both;
}

.hero-home .trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-home .trust-item i {
    color: #00d4aa;
    font-size: 0.9rem;
}

/* Animaciones */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40%  { transform: translateX(-50%) translateY(-10px); }
    60%  { transform: translateX(-50%) translateY(-5px); }
}

/* Responsive */
@media (max-width: 767.98px) {
    .hero-home { min-height: 80vh; }
    .hero-home h1 { font-size: 2.2rem; }
    .hero-home h2 { font-size: 1.15rem; }
    .hero-home p { font-size: 0.95rem; }
    .hero-home .hero-precio { font-size: 1.1rem; }
    .hero-home .hero-precio .precio-valor { font-size: 1.3rem; }
    .hero-home .btn-primario,
    .hero-home .btn-secundario { padding: 14px 28px; font-size: 0.95rem; }
    .hero-home .hero-trust { gap: 20px; margin-top: 35px; }
}

/* ═══════════════════════════════════════
   HERO CATEGORÍA
   ═══════════════════════════════════════ */

.hero-categoria {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #0f2535 50%, #1a3a4f 100%);
}

/* Imagen de fondo con overlay */
.hero-categoria::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/includes/img/Footer.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

/* Overlay oscuro */
.hero-categoria::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.7) 0%,
        rgba(15, 37, 53, 0.4) 50%,
        rgba(10, 22, 40, 0.75) 100%
    );
    z-index: 1;
}

/* Contenido */
.hero-categoria .hero-contenido {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 70px 25px;
}

/* Badge */
.hero-categoria .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 212, 170, 0.12);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 50px;
    color: #00d4aa;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
}

/* Título */
.hero-categoria h1 {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-categoria h1 b,
.hero-categoria h1 strong {
    color: #00d4aa;
    font-weight: 800;
}

/* Separador */
.hero-categoria .hero-sep {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00d4aa, transparent);
    border-radius: 2px;
    margin: 20px auto;
}

/* Descripción */
.hero-categoria p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 767.98px) {
    .hero-categoria { min-height: 45vh; }
    .hero-categoria h1 { font-size: 1.8rem; }
    .hero-categoria p { font-size: 0.95rem; }
    .hero-categoria .hero-contenido { padding: 50px 20px; }
}

/* ═══════════════════════════════════════
   HERO SUBCATEGORÍA
   ═══════════════════════════════════════ */

.hero-subcategoria {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #0f2535 50%, #1a3a4f 100%);
}

/* Imagen de fondo */
.hero-subcategoria::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/includes/img/Footer.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.12;
    z-index: 0;
}

/* Overlay */
.hero-subcategoria::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.75) 0%,
        rgba(15, 37, 53, 0.45) 50%,
        rgba(10, 22, 40, 0.8) 100%
    );
    z-index: 1;
}

/* Contenido */
.hero-subcategoria .hero-contenido {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 60px 25px;
}

/* Breadcrumb */
.hero-subcategoria .hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-subcategoria .hero-breadcrumb a {
    color: rgba(0, 212, 170, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.hero-subcategoria .hero-breadcrumb a:hover {
    color: #00d4aa;
}

.hero-subcategoria .hero-breadcrumb i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
}

/* Título */
.hero-subcategoria h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Separador */
.hero-subcategoria .hero-sep {
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #00d4aa, transparent);
    border-radius: 2px;
    margin: 18px auto;
}

/* Descripción */
.hero-subcategoria p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 767.98px) {
    .hero-subcategoria { min-height: 40vh; }
    .hero-subcategoria h1 { font-size: 1.6rem; }
    .hero-subcategoria p { font-size: 0.95rem; }
    .hero-subcategoria .hero-contenido { padding: 45px 20px; }
    .hero-subcategoria .hero-breadcrumb { font-size: 0.75rem; }
}

/* ═══════════════════════════════════════
   HERO SERVICIO INDIVIDUAL
   ═══════════════════════════════════════ */

.hero-servicio-detalle {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #0f2535 50%, #1a3a4f 100%);
}

/* Imagen de fondo */
.hero-servicio-detalle::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/includes/img/Footer.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

/* Overlay */
.hero-servicio-detalle::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.65) 0%,
        rgba(15, 37, 53, 0.35) 50%,
        rgba(10, 22, 40, 0.7) 100%
    );
    z-index: 1;
}

/* Contenido */
.hero-servicio-detalle .hero-contenido {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 70px 25px;
}

/* Breadcrumb */
.hero-servicio-detalle .hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-servicio-detalle .hero-breadcrumb a {
    color: rgba(0, 212, 170, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.hero-servicio-detalle .hero-breadcrumb a:hover {
    color: #00d4aa;
}

.hero-servicio-detalle .hero-breadcrumb i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
}

/* Badge */
.hero-servicio-detalle .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 212, 170, 0.12);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 50px;
    color: #00d4aa;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

/* Título */
.hero-servicio-detalle h1 {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Separador */
.hero-servicio-detalle .hero-sep {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00d4aa, transparent);
    border-radius: 2px;
    margin: 18px auto;
}

/* Descripción */
.hero-servicio-detalle p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* CTA */
.hero-servicio-detalle .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    color: #0f2535;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.hero-servicio-detalle .hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.4);
}

/* Responsive */
@media (max-width: 767.98px) {
    .hero-servicio-detalle { min-height: 45vh; }
    .hero-servicio-detalle h1 { font-size: 1.9rem; }
    .hero-servicio-detalle p { font-size: 1rem; }
    .hero-servicio-detalle .hero-contenido { padding: 50px 20px; }
    .hero-servicio-detalle .hero-cta { padding: 14px 28px; font-size: 0.95rem; }
}

/* ═══════════════════════════════════════
   NAVBAR PERSONALIZADO
   ═══════════════════════════════════════ */

.navbar-custom {
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(15, 37, 53, 0.08) !important;
    padding: 12px 0 !important;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
    padding: 0;
    transition: transform 0.3s ease;
}

.navbar-custom .navbar-brand:hover {
    transform: scale(1.03);
}

.navbar-custom .navbar-brand img {
    height: 42px;
    width: auto;
    filter: none;
    transition: filter 0.3s ease;
}

/* Toggle button */
.navbar-custom .navbar-toggler {
    border: 1px solid rgba(15, 37, 53, 0.15);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.15);
}

.navbar-custom .navbar-toggler-icon {
    width: 1.3em;
    height: 1.3em;
}

/* Nav links */
.navbar-custom .navbar-nav {
    gap: 5px;
}

.navbar-custom .nav-link {
    color: #0f2535 !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 18px !important;
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
    color: #00d4aa !important;
    background: rgba(0, 212, 170, 0.06);
}

/* Link activo */
.navbar-custom .nav-link.active {
    color: #00d4aa !important;
    background: rgba(0, 212, 170, 0.1);
}

/* Indicador inferior en hover */
.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: #00d4aa;
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown si lo usás en el futuro */
.navbar-custom .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(15, 37, 53, 0.12);
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
}

.navbar-custom .dropdown-item {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.navbar-custom .dropdown-item:hover {
    background: rgba(0, 212, 170, 0.08);
    color: #00d4aa;
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-custom .navbar-collapse {
        background: #fff;
        border-radius: 12px;
        margin-top: 15px;
        padding: 15px;
        box-shadow: 0 10px 40px rgba(15, 37, 53, 0.1);
    }
    
    .navbar-custom .navbar-nav {
        gap: 3px;
    }
    
    .navbar-custom .nav-link {
        padding: 12px 16px !important;
    }
    
    .navbar-custom .nav-link::after {
        left: 16px;
        right: 16px;
    }
}

/* Navbar sticky con efecto al scroll */
.navbar-custom.sticky {
    padding: 8px 0 !important;
    box-shadow: 0 4px 30px rgba(15, 37, 53, 0.12) !important;
}

/* ═══════════════════════════════════════
   BLOG - GRID DE POSTS
   ═══════════════════════════════════════ */

.blog-grid {
    padding: 60px 0;
    background: #f8fafc;
}

/* Card de post */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 37, 53, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(15, 37, 53, 0.12);
    border-color: rgba(0, 212, 170, 0.2);
}

/* Imagen */
.blog-card .blog-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.blog-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.08);
}

/* Overlay en hover */
.blog-card .blog-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 37, 53, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-img::after {
    opacity: 1;
}

/* Categoría badge sobre imagen */
.blog-card .blog-cat {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    padding: 5px 14px;
    background: rgba(0, 212, 170, 0.9);
    color: #0f2535;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Contenido */
.blog-card .blog-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Fecha */
.blog-card .blog-fecha {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(15, 37, 53, 0.4);
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.blog-card .blog-fecha i {
    font-size: 0.85rem;
    color: #00d4aa;
}

/* Título */
.blog-card .blog-title {
    color: #0f2535;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.blog-card .blog-title:hover {
    color: #00d4aa;
}

/* Extracto */
.blog-card .blog-extracto {
    color: rgba(15, 37, 53, 0.55);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

/* Footer de card */
.blog-card .blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(15, 37, 53, 0.06);
}

/* Autor */
.blog-card .blog-autor {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-card .blog-autor img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-card .blog-autor span {
    font-size: 0.8rem;
    color: rgba(15, 37, 53, 0.5);
    font-weight: 500;
}

/* Botón leer más */
.blog-card .blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: transparent;
    color: #0f2535;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: 1.5px solid rgba(15, 37, 53, 0.15);
    transition: all 0.25s ease;
}

.blog-card .blog-btn:hover {
    background: #0f2535;
    color: #fff;
    border-color: #0f2535;
    gap: 10px;
}

.blog-card .blog-btn i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.blog-card .blog-btn:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 767.98px) {
    .blog-grid { padding: 40px 0; }
    .blog-card .blog-body { padding: 20px; }
    .blog-card .blog-title { font-size: 1.05rem; }
}

/* ═══════════════════════════════════════
   BLOG - DETALLE DE ENTRADA
   ═══════════════════════════════════════ */

.blog-detalle {
    padding: 50px 0 80px;
    background: #f8fafc;
}

/* Header del post */
.blog-detalle-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.blog-detalle-header .blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 50px;
    color: #00d4aa;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
}

.blog-detalle-header h1 {
    color: #0f2535;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.blog-detalle-header .blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    color: rgba(15, 37, 53, 0.45);
    font-size: 0.9rem;
}

.blog-detalle-header .blog-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-detalle-header .blog-meta i {
    color: #00d4aa;
    font-size: 0.95rem;
}

/* Imagen destacada */
.blog-hero-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 20px 60px rgba(15, 37, 53, 0.15);
}

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

.blog-hero-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 37, 53, 0.3) 100%);
    pointer-events: none;
}

/* Contenido del post */
.blog-contenido {
    max-width: 750px;
    margin: 0 auto;
}

.blog-contenido .texto-blog {
    color: rgba(15, 37, 53, 0.8);
    font-size: 1.1rem;
    line-height: 1.85;
}

.blog-contenido .texto-blog p {
    margin-bottom: 1.5em;
}

.blog-contenido .texto-blog h2,
.blog-contenido .texto-blog h3 {
    color: #0f2535;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.8em;
}

.blog-contenido .texto-blog h2 {
    font-size: 1.6rem;
}

.blog-contenido .texto-blog h3 {
    font-size: 1.3rem;
}

.blog-contenido .texto-blog strong,
.blog-contenido .texto-blog b {
    color: #0f2535;
    font-weight: 700;
}

.blog-contenido .texto-blog a {
    color: #00d4aa;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 212, 170, 0.3);
    transition: all 0.2s ease;
}

.blog-contenido .texto-blog a:hover {
    border-bottom-color: #00d4aa;
}

.blog-contenido .texto-blog ul,
.blog-contenido .texto-blog ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.blog-contenido .texto-blog li {
    margin-bottom: 0.5em;
}

.blog-contenido .texto-blog blockquote {
    border-left: 4px solid #00d4aa;
    padding: 20px 25px;
    margin: 2em 0;
    background: rgba(0, 212, 170, 0.05);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: rgba(15, 37, 53, 0.7);
}

/* Share bar */
.blog-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(15, 37, 53, 0.08);
}

.blog-share span {
    color: rgba(15, 37, 53, 0.4);
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-share a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(15, 37, 53, 0.06);
    color: #0f2535;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-share a:hover {
    background: #0f2535;
    color: #fff;
    transform: translateY(-3px);
}

/* Post no encontrado */
.blog-no-encontrado {
    text-align: center;
    padding: 80px 20px;
}

.blog-no-encontrado i {
    font-size: 4rem;
    color: rgba(15, 37, 53, 0.12);
    margin-bottom: 20px;
}

.blog-no-encontrado h3 {
    color: #0f2535;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-no-encontrado p {
    color: rgba(15, 37, 53, 0.45);
    margin-bottom: 25px;
}

.blog-no-encontrado .btn-volver {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #0f2535;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.blog-no-encontrado .btn-volver:hover {
    background: #00d4aa;
    color: #0f2535;
    gap: 12px;
}

/* Responsive */
@media (max-width: 767.98px) {
    .blog-detalle { padding: 30px 0 60px; }
    .blog-detalle-header h1 { font-size: 1.7rem; }
    .blog-hero-img { border-radius: 12px; margin-bottom: 30px; }
    .blog-contenido .texto-blog { font-size: 1rem; }
    .blog-contenido .texto-blog h2 { font-size: 1.3rem; }
}

/* ═══════════════════════════════════════
   CTA - LLAMADO A LA ACCIÓN PREMIUM
   ═══════════════════════════════════════ */

.cta-premium {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #0f2535 40%, #122636 100%);
}

.cta-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 170, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(0, 212, 170, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.cta-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 170, 0.3), transparent);
}

.cta-premium .cta-contenido {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 25px;
}

.cta-premium .cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 50px;
    color: #00d4aa;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.cta-premium .cta-badge i {
    font-size: 0.9rem;
}

.cta-premium h2 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-premium h2 .highlight {
    color: #00d4aa;
    position: relative;
}

.cta-premium .cta-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-premium .cta-bonus {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.cta-premium .cta-bonus strong {
    color: #00d4aa;
    font-weight: 700;
}

.cta-premium .cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.cta-premium .cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
}

.cta-premium .cta-feature i {
    color: #00d4aa;
    font-size: 1rem;
}

.cta-premium .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 42px;
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    color: #0f2535;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 35px rgba(0, 212, 170, 0.35), 0 0 60px rgba(0, 212, 170, 0.1);
    animation: fadeInUp 0.8s ease 0.7s both;
    position: relative;
    overflow: hidden;
}

.cta-premium .cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-premium .cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0, 212, 170, 0.45), 0 0 80px rgba(0, 212, 170, 0.15);
    gap: 16px;
}

.cta-premium .cta-btn:hover::before {
    left: 100%;
}

.cta-premium .cta-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.cta-premium .cta-btn:hover i {
    transform: scale(1.2);
}

@media (max-width: 767.98px) {
    .cta-premium { padding: 70px 0; }
    .cta-premium h2 { font-size: 2rem; }
    .cta-premium .cta-desc { font-size: 1rem; }
    .cta-premium .cta-features { gap: 15px; }
    .cta-premium .cta-btn { padding: 16px 32px; font-size: 0.95rem; }
}