/* =========================================================
   1) RESET BÁSICO
   ========================================================= */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* =========================================================
     2) TIPOGRAFÍA Y CUERPO
     ========================================================= */
  body {
    font-family: 'Montserrat', sans-serif;
    color: #2C3333;
    background-color: #FFFFFF;
  }
  
  /* =========================================================
     3) NAVEGACIÓN SUPERIOR (SIN CAMBIOS ESTRUCTURALES)
     ========================================================= */
  .top-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* En desktop NO envuelve; en mobile se cambia si hace falta */
    padding: 1rem 2rem;
    background-color: #FFFFFF;
    border-bottom: 1px solid #FFFFFF; /* Invisible */
  }
  
  .logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo-image {
    max-height: 40px;
  }
  
  /* Menú de escritorio */
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin-top: 20px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #2C3333;
    font-weight: 600;
    transition: color 0.2s ease;
    align-items: center;
    justify-content: center;
  }
  
  .nav-links a:hover {
    color: #5A5F63;
  }
  
  /* Botón hamburguesa (oculto por defecto, se muestra en mobile) */
  .hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    margin-left: 1rem;
  }
  
  .hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2C3333;
    display: block;
  }
  
  /* Al hacer clic, agregamos .menu-open al <body> para mostrar nav-links en mobile */
  body.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    
    position: fixed;
    top: 100px; /* Ajustar según la altura de la navbar */
    left: 0;
    right: 0;
    z-index: 9999;
    
    background-color: #FFFFFF;
    padding: 1rem 1.5rem;
    
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  
  /* =========================================================
     4) BOTONES GLOBALES (.btn, .btn-login)
     ========================================================= */
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-align: center; /* Texto centrado en cualquier .btn */
    transition: background-color 0.2s ease;
    border: 1px solid transparent;
  }
  
  .btn-login {
    background-color: #FC3A46 !important;
    color: #FFFFFF !important;
    border-radius: 25px;
  }
  
  /* =========================================================
     5) SECCIÓN: ABOUT (NUEVO DISEÑO)
     ========================================================= */
  /* --- Sección hero principal --- */
  .about-hero {
    background-color: #ffffff; /* gris claro, ajustable */
    padding: 3rem 1rem;
  }
  
  .about-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
  }
  
  /* Dos columnas: texto e imagen */
  .hero-text-column {
    flex: 1 1 400px; /* Se expande */
    min-width: 300px;
  }
  
  .hero-image-column {
    flex: 1 1 400px;
    min-width: 300px;
    display: flex;
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2C3333;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  .hero-title span {
    color: #2C3333;
  }
  
  .hero-paragraph {
    font-size: 1rem;
    line-height: 1.6;
    color: #4A4A4A;
    margin-bottom: 1rem;
    text-align: justify;
  }
  
  .hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  /* --- Sección de 3 bloques (features) --- */
  .about-features {
    background-color: #ffffff;
    padding: 2rem 1rem;
  }
  .features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }
  
  .feature-item {
    background-color: #FC3A46;
    border-radius: 8px;
    padding: 2rem 1rem;
    flex: 1 1 250px;
    min-width: 250px;
    text-align: center;
    transition: transform 0.2s ease;
  }
  .feature-item:hover {
    transform: translateY(-3px);
  }
  
  .feature-icon {
    color: #ffffff;
    font-size: 2rem; 
    margin-bottom: 1rem;
  }
  .feature-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .icon-image {
    width: 90px;
    height: auto;
    /* Convertir a blanco (inversión para SVG monocromático) */
    filter: brightness(0) invert(1);
  }
  
  .feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
  }
  .feature-text {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #ffffff;
  }
  
  /* --- Sección final (cierre) --- */
  .about-closure {
    background-color: #ffffff;
    padding: 2rem 1rem;
    text-align: center;
  }
  .closure-content {
    /* Ajuste la anchura máximo un poco menor para pantallas medianas */
    max-width: 72%;
    margin: 0 auto;
    line-height: 1.6;
    color: #2C3333;
    font-size: 1rem;
    text-align: justify;
  }
  .closure-content p {
    margin-bottom: 1.5rem;
  }
  
  /* Bloque resaltado con animación */
  .closure-highlight {
    display: flex;              
    justify-content: center;    
    align-items: center;        
    background-color: #FC3A46;
    border-radius: 10px;
    font-weight: 900;
    color: #fff;
    text-align: center;
    font-size: 1.1em;
  
    /* Si deseas una altura fija en pantallas grandes: */
    height: 4.5rem;
    
    /* Animación de "parpadeo" cada segundo */
    animation: flickerBg 1s infinite ease-in-out;
  }
  
  @keyframes flickerBg {
    0%, 100% {
      background-color: #FC3A46;
    }
    50% {
      /* Ajusta este color para simular ~5% de diferencia */
      background-color: #f64551;
    }
  }
  
  /* =========================================================
     6) FOOTER
     ========================================================= */
  .footer {
    background-color: #000000;
    color: #fff;
    padding: 2rem 2rem 0;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
  }
  
  .footer-col {
    flex: 1 1 250px;
    min-width: 250px;
  }
  
  /* Columna Izquierda */
  .footer-left .footer-logo-image {
    max-height: 40px;
    margin-bottom: 1rem;
  }
  .footer-left .footer-text {
    margin-bottom: 1rem;
    line-height: 1.4;
    text-align: justify;
  }
  
  /* Bloque de íconos sociales */
  .footer-socials {
    display: flex;
    height: 70px;
    width: 270px;
    position: relative; /* Para svg absolute */
  }
  .footer-socials svg {
    position: absolute;
    display: flex;
    width: 60%;
    height: 100%;
    font-size: 24px;
    font-weight: 700;
    opacity: 1;
    transition: opacity 0.25s;
    z-index: 2;
    cursor: pointer;
  }
  .footer-socials .social-link1,
  .footer-socials .social-link2,
  .footer-socials .social-link3,
  .footer-socials .social-link4,
  .footer-socials .social-link5 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;
    color: whitesmoke;
    font-size: 24px;
    text-decoration: none;
    transition: 0.25s;
    border-radius: 50px;
  }
  
  /* Animación bounce en íconos sociales */
  @keyframes bounce_613 {
    40%  { transform: scale(1.1); }
    60%  { transform: scale(0.9); }
    80%  { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  .footer-socials .social-link1:hover {
    background: linear-gradient(
      45deg, 
      #f09433 0%, 
      #e6683c 25%, 
      #dc2743 50%, 
      #cc2366 75%, 
      #bc1888 100%
    );
    animation: bounce_613 0.4s linear;
  }
  .footer-socials .social-link4:hover {
    background-color: #12a50b;
    animation: bounce_613 0.4s linear;
  }
  .footer-socials .social-link5:hover {
    background-color: #4267B2;
    animation: bounce_613 0.4s linear;
  }
  
  /* Columna Central (mapa) */
  .map-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .map-link {
    display: block;
    text-decoration: none;
  }
  .map-image {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* Columna Derecha (contacto) */
  .footer-right h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    margin-top: 2rem;
  }
  .contact-info {
    list-style: none;
    padding: 0;
  }
  .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
  }
  .contact-icon {
    width: 20px;
    height: 20px;
    fill: #FFFFFF;
  }
  
  /* Zona de copy final */
  .footer-bottom {
    text-align: center;
    background-color: #000000;
    padding: 1rem 0;
  }
  .footer-bottom p {
    color: #fff;
  }
  
  /* =========================================================
     7) BOTÓN FLOTANTE DE WHATSAPP
     ========================================================= */
  .fixed-wp {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
  }
  .contact-icon path {
    fill: #FFFFFF;
  }
  .Btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition-duration: 0.3s;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
    background-color: #00d757;
  }
  .sign {
    width: 100%;
    transition-duration: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sign svg {
    width: 25px;
  }
  .sign svg path {
    fill: white;
  }
  .text {
    position: absolute;
    right: 0;
    width: 0;
    opacity: 0;
    color: white;
    font-size: 1.2em;
    font-weight: 600;
    transition-duration: 0.3s;
  }
  .Btn:hover {
    width: 150px;
    border-radius: 40px;
    transition-duration: 0.3s;
  }
  .Btn:hover .sign {
    width: 30%;
    transition-duration: 0.3s;
    padding-left: 10px;
  }
  .Btn:hover .text {
    opacity: 1;
    width: 70%;
    transition-duration: 0.3s;
    padding-right: 10px;
  }
  .Btn:active {
    transform: translate(2px, 2px);
  }
  
  /* =========================================================
     8) MEDIA QUERIES (RESPONSIVIDAD)
     ========================================================= */
  /* Menores a 992px */
  @media (max-width: 992px) {
    .top-navbar {
      padding: 1rem;
    }
    .footer {
      padding: 1.5rem 1.5rem 0;
    }
    /* Mostrar hamburguesa y ocultar menú de escritorio */
    .hamburger {
      display: flex;
    }
    .nav-links {
      display: none;
    }
  }
  
  /* Menores a 768px */
  @media (max-width: 768px) {
    /* Permite que la navbar envuelva sus hijos */
    .top-navbar {
      flex-wrap: wrap;
    }
    /* Ajustar .login-li a full width y centrado (si existe) */
    .login-li {
      width: 100%;
      text-align: center;
      margin-top: 1rem;
    }
  
    /* Hero: columnas en stack */
    .about-hero-container {
      flex-direction: column;
    }
    
    /* Ajustes en el closure para pantallas medianas */
    .closure-content {
      max-width: 90%;
      font-size: 0.95rem;
    }
    .closure-highlight {
      height: auto; /* que se expanda según contenido */
      padding: 1rem;
    }
  }
  
  /* Menores a 480px */
  @media (max-width: 480px) {
    .btn {
      padding: 0.5rem 1rem;
    }
    .footer-container {
      gap: 1rem;
    }
    .hero-title {
      font-size: 1.7rem;
    }
  
    /* Ajustes en el closure para pantallas pequeñas */
    .closure-content {
      max-width: 95%;
      font-size: 0.9rem;
    }
    .closure-highlight {
      padding: 0.75rem;
      font-size: 1rem; 
    }
  }
  