    :root {
      --primary: #144D8C;
      --verde: #25d366;      
      --secondary: #9D4EDD;
      --dark: #212529;
      --light: #ffffff;
      --verdeazul: #28AA96;
    }
    .bg-primary{
      background-color: var(--primary) !important;;
    }
    .bg-secondary{
      background-color: var(--secondary) !important;;
    }
    .bg-verde{
      background-color: var(--verde) !important;;
    }
    .bg-verde{
      background-color: var(--verde) !important;;
    }
    .bg-verdeazul{
      background-color: var(--verdeazul) !important;;
    }
    .txt-primary{
      color: var(--primary) !important;;
    }
    .txt-secondary{
      color: var(--secondary) !important;;
    }
    .txt-verde{
      color: var(--verde) !important;;
    }
    .txt-verdeazul{
      color: var(--verdeazul) !important;;
    }    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html, body {
      overflow-x: hidden; /* elimina scroll horizontal */
    }
    body {
        padding-top: 70px; /* altura de tu navbar */
    }
    /* Contenedor del navbar */
    .navbar {
      width: 100%;
      max-width: 100vw; /* evita que se salga horizontalmente */
      z-index: 10000; /* Muy por encima del slider */
    }

    /* Botón de hamburguesa */
    .navbar-toggler {
      display: inline-block;
      padding: 0.5rem 1rem;
      font-size: 1.25rem;
      line-height: 1;
    }
    .navbar-brand img {
      height: 40px;
    }

    .navbar-nav .nav-link {
      font-size: 0.9rem;        /* letra más pequeña */
      font-weight: 600;
      color: var(--dark) !important;
      padding: 1rem 1.2rem;
      transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
      color: var(--primary) !important;
    }

    /* Dropdown Menu */
    .dropdown-menu {
      display: none; /* Evita que aparezca instantáneamente */
      margin-top: 0;
    }

    .nav-item.dropdown.show > .dropdown-menu {
      display: block;
    }

    /* ===============================
       DROPDOWN MENÚ PRINCIPAL
    ================================== */
    .dropdown-menu {
      display: none; /* Evita parpadeos */
      margin-top: 0;
      border: 1px solid #ddd;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      border-radius: 4px;
      padding: 0;
      min-width: 200px;
      font-size: 0.9rem;        /* fuente más pequeña */
    }

    .nav-item.dropdown.show > .dropdown-menu {
      display: block;
    }

    .dropdown-item {
      padding: 0.65rem 1.2rem;
      font-weight: 500;
      color: #333;
      transition: all 0.2s ease;
    }

    .dropdown-item:hover {
      background-color: var(--primary);
      color: #fff;
    }

    /* ===============================
       SUBMENU (2do nivel)
    ================================== */
    .dropdown-submenu {
      position: relative;
    }

    .dropdown-submenu > .dropdown-menu {
      top: 0;
      left: 100%;
      margin-top: -1px;
      margin-left: 0;
      min-width: 200px;          /* control ancho submenu */
      font-size: 0.9rem;        /* letra más pequeña */
      border: 1px solid #ccc;
    }

    .dropdown-submenu:hover > .dropdown-menu {
      display: block;
    }

    /* ===============================
       ICONO DEL SUB-SUBMENÚ
    ================================== */
    .dropdown-submenu > a::after {
      content: "›";              /* flecha más estilizada */
      float: right;
      margin-right: 8px;
      font-size: 0.9rem;         /* ícono más pequeño */
      line-height: 1;
      color: #666;
    }

    /* ===============================
       HOVER SUAVE Y RETARDO (para que no desaparezca rápido)
    ================================== */
    .dropdown-menu,
    .dropdown-submenu > .dropdown-menu {
      transition: opacity 0.15s ease;
    }

    .dropdown-submenu:hover > .dropdown-menu,
    .nav-item.dropdown.show > .dropdown-menu {
      display: block;
      opacity: 1;
    }

    .nav-item.dropdown .dropdown-menu {
      opacity: 0;
    }

    .nav-item.dropdown.show .dropdown-menu {
      opacity: 1;
    }
    .navbar-fixed-top {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1030;
    }

    @media (max-width: 768px) {
      body {
        padding-top: 90px; /* altura navbar móvil */
      }
    }
    @media (max-width: 768px) {
      /* Submenú inicia cerrado */
      .dropdown-submenu > .dropdown-menu {
        display: none !important;
      }

      /* Submenú abierto con clase 'show' */
      .dropdown-submenu.show > .dropdown-menu {
        display: block !important;
      }
    }

    .btn-contacto {
      background-color: var(--primary);
      color: white;
      border-radius: 50px;
      padding: 0.55rem 0.9rem;
      margin-top: 5px;
      font-weight: bold;
      transition: all 0.3s ease;
    }

    .btn-contacto:hover {
      background-color: #28AA96;
      color: white;
      transform: translateY(-2px);
    }

    .activo {
      background-color: #007BFF !important;
      color: #ffff !important;
      
    }

    .nav-item.activo-parent > a {
      background-color: #007BFF !important;
      font-weight: bold;
      color: #ffff !important;
    }
  /* Social Media Bar */
  /* Barra social fija */
  .social-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  /* Cuadrado base */
  .social-item {
    position: relative;
    width: 40px;
    height: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: visible;
    transition: background 0.3s ease;
  }

  /* Ícono */
  .social-item i {
    font-size: 1rem;
    z-index: 2;
    transition: transform 0.3s ease;
  }

  /* Rectángulo de texto (inicialmente oculto) */
  .social-item .text-container {
    position: absolute;
    top: 0;
    right: 40px;
    width: 150px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
    z-index: 1;
    border-radius: 0 4px 4px 0;
  }

    /* Hover: aparece el texto y el icono hace leve zoom */
    .social-item:hover .text-container {
      opacity: 1;
      transform: translateX(0);
    }
    .social-item:hover i {
      transform: scale(1.1);
    }

    /* ===== Colores por red ===== */

    /* Facebook */
    .social-item.facebook {
      background: #1877F2;
    }
    .social-item.facebook .text-container {
      background: #1877F2;
    }

    /* Instagram */
    .social-item.instagram {
      background: linear-gradient(45deg,#405DE6,#5851DB,#833AB4,#C13584,#E1306C,#FD1D1D);
    }
    .social-item.instagram .text-container {
      background: linear-gradient(45deg,#405DE6,#5851DB,#833AB4,#C13584,#E1306C,#FD1D1D);
    }

    /* TikTok */
    .social-item.tiktok {
      background: #000;
    }
    .social-item.tiktok .text-container {
      background: #000;
    }

    h2.text-center {
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    /* Hero Section */
    .hero-section {
      height: 80vh;
      background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
      color: white;
      position: relative;
      overflow: hidden;
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .hero-img {
      max-width: 100%;
      height: auto;
      border-radius: 15px;
    }

    .hero-text h1 {
      font-size: 3.5rem;
      font-weight: 800;
      line-height: 1.2;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .hero-text p {
      font-size: 1.5rem;
      font-weight: 600;
      background: rgba(255,255,255,0.2);
      padding: 10px 20px;
      border-radius: 30px;
      display: inline-block;
      margin-top: 20px;
    }

    /* WhatsApp Button */
    .whatsapp-btn {
      position: fixed;
      bottom: 20px;
      right: 20px;
      text-decoration: none;
      background: var(--verde);
      color: white;
      border-radius: 50px;
      padding: 12px 20px;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      z-index: 1000;
      transition: all 0.3s ease;
    }

    .whatsapp-btn:hover {
      background: #00a87d;
      transform: scale(1.05);
    }

    /* Decorative Shapes */
    .shape {
      position: absolute;
      z-index: 1;
    }

    .shape-1 {
      top: -100px;
      left: -100px;
      width: 300px;
      height: 300px;
      background: rgba(255,255,255,0.1);
      border-radius: 50%;
      transform: rotate(45deg);
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .shape-2 {
      bottom: -150px;
      right: -100px;
      width: 400px;
      height: 400px;
      background: rgba(255,255,255,0.1);
      border-radius: 50%;
    }

    .shape-3 {
      top: 30%;
      left: 5%;
      width: 100px;
      height: 100px;
      background: var(--primary);
      opacity: 0.3;
      border-radius: 50%;
    }

    .shape-4 {
      bottom: 20%;
      right: 5%;
      width: 80px;
      height: 80px;
      background: var(--secondary);
      opacity: 0.3;
      border-radius: 50%;
    }
    ul li i.fas.fa-chevron-right {
      font-size: 8px !important;
      color: yellow;
    }

    /* Fondo parallax */
    .benefits-section {
      background-image: url('../img/fondo/f1.jpg'); /* 🌊 Cambia por tu imagen */
      background-size: cover;
      background-position: center;
      background-attachment: fixed; /* 💫 clave para efecto parallax */
      background-repeat: no-repeat;
      position: relative;
    }

    /* Oscurecer un poco para mejor contraste del texto */
    .benefits-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.5);
      z-index: 1;
    }

    /* Contenido por encima del overlay */
    .benefits-section .container {
      position: relative;
      z-index: 2;
    }
    .benefit-card {
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .benefit-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }

    .benefit-card i {
      transition: transform 0.3s ease;
    }

    .benefit-card:hover i {
      transform: scale(1.2);
    }
    .faq-section {
      background: #f8f9fa;
    }

    .accordion-button {
      font-weight: 600;
      color: #198754;
    }

    .accordion-button:focus {
      box-shadow: none;
    }

    .accordion-button:not(.collapsed) {
      color: #198754;
      background-color: #eafaf3;
    }

    .accordion-body {
      color: #555;
      font-size: 0.95rem;
    }
    #backToTop {
      position: fixed;
      bottom: 85px;
      right: 25px;
      width: 50px;
      height: 50px;
      background-color: var(--primary);
      border-radius: 50%;
      font-size: 20px;
      display: none; /* oculto por defecto */
      align-items: center;
      justify-content: center;
      z-index: 999;
      transition: all 0.3s ease;
    }

    #backToTop:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      background-color: var(--verde);      
    }



    #copybar {
      text-align:center;
      padding-top:0px;
      margin-bottom: 0px;
      font-size:14px;
      background:transparent;      /* cámbialo según tu diseño */
      color:#ccc;
      border-top:1px solid rgba(255,255,255,0.1);
    }
    .text-success{color: #28AA96 !important;}
    .btn-success{background-color: #28AA96 !important;}
    .btn-success:hover{background-color: var(--verde) !important;}
    .titulo-sedes {
      text-align: center;
      position: relative;
      display: inline-block;
    }
    .titulo-sedes u {
      text-decoration: none; /* quitamos el subrayado por defecto */
      position: relative;
    }

    .titulo-sedes u::after {
      content: "";
      position: absolute;
      bottom: -4px; /* distancia del subrayado */
      left: 25%; /* centra la línea */
      width: 50%; /* línea al 50% del ancho del texto */
      height: 2px; /* grosor del subrayado (más delgado) */
      background-color: currentColor; /* usa el color del texto */
    }

    @media (max-width: 768px) {
  /* Social Bar */
/* Barra social fija */
  .social-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  /* Cuadrado base */
  .social-item {
    position: relative;
    width: 40px;
    height: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: visible;
    transition: background 0.3s ease;
  }

  /* Ícono */
  .social-item i {
    font-size: 1rem;
    z-index: 2;
    transition: transform 0.3s ease;
  }

  /* Rectángulo de texto (inicialmente oculto) */
  .social-item .text-container {
    position: absolute;
    top: 0;
    right: 40px;
    width: 150px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
    z-index: 1;
    border-radius: 0 4px 4px 0;
  }

    /* Hover: aparece el texto y el icono hace leve zoom */
    .social-item:hover .text-container {
      opacity: 1;
      transform: translateX(0);
    }
    .social-item:hover i {
      transform: scale(1.1);
    }

    /* ===== Colores por red ===== */

    /* Facebook */
    .social-item.facebook {
      background: #1877F2;
    }
    .social-item.facebook .text-container {
      background: #1877F2;
    }

    /* Instagram */
    .social-item.instagram {
      background: linear-gradient(45deg,#405DE6,#5851DB,#833AB4,#C13584,#E1306C,#FD1D1D);
    }
    .social-item.instagram .text-container {
      background: linear-gradient(45deg,#405DE6,#5851DB,#833AB4,#C13584,#E1306C,#FD1D1D);
    }

    /* TikTok */
    .social-item.tiktok {
      background: #000;
    }
    .social-item.tiktok .text-container {
      background: #000;
    }

  /* WhatsApp Button */
  .whatsapp-btn {
    bottom: 20px;
    right: 10px;
    max-width: calc(100vw - 20px);
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  /* Back To Top */
  #backToTop {
    bottom: 70px;
    right: 10px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}
