/* ========== RESET GENERAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    height: 100%;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    color: #222;
    line-height: 1.6;
    height: 100%;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }

 /* OCULTAR EN MÓVIL */
.navbar-top-right-social-desktop {
  display: none;
}

/* MOSTRAR EN ESCRITORIO */
@media (min-width: 769px) {
  .navbar-top-right-social-desktop {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .navbar-top-right-social-desktop .social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
  }

  .navbar-top-right-social-desktop .social-link:hover {
    color: #FFD700;
  }

  .navbar-top-right-social-desktop .icon-social {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }
}


  @font-face {
    font-family: 'Looking Flowers';
    src: url('../assets/img/logo/LookingFlowers-Script.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  
  /* ========== NAVBAR ========== */

/* ESTRUCTURA PRINCIPAL */
.navbar {
    background-color: #000;
    color: #fff;
    /*top: 0;*/
    /*z-index: 1000;*/
    display: flex;
    width: 100%;
    flex-direction: column;
    position: relative;
  }
  
  /* === LÍNEA SUPERIOR === */
  .navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 2rem;
    border-bottom: 1px solid #222;
    flex-wrap: wrap;
  }
  
  .navbar-top-left,
  .navbar-top-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  /* Banderas */
  .lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .flag-icon {
    width: 22px;
    height: auto;
  }
  
  .lang-switcher button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease;
  }
  
  .lang-switcher button:hover {
    transform: scale(1.1);
  }
  
  /* Instagram, WhatsApp 
  .navbar-top-right .social-link {
    display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  }*/


  
  .navbar-top-right .social-link:hover {
    color: #FFD700;
  }
  
  .icon-social {
    width: 18px;
    height: 18px;
    object-fit: contain;
  display: inline-block;
  }


  .logo img {
    height: 60px;     /* Puedes ajustar este valor */
    max-width: 100%;
    object-fit: contain;
    padding: 0;
    margin:0;
  }
  
  .logo-contenedor {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .logo-img {
    height: 50px;
  }
  
  .logo-texto {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }
  
  .logo-texto .nombre {
    font-family: 'Looking Flowers', cursive;
    font-size: 26px;
    color: white;
  }
  
  
  .logo-texto .especialidad {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #CDA05E;
    letter-spacing: 1px;
  }
  
  /* Botón de cita */
  .btn-cita-top {
    background-color: #FFD700;
    color: #000;
    font-weight: bold;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.95rem;
  }
  
  .btn-cita-top:hover {
    background-color: #e6c200;
  }
  
  /* === LÍNEA INFERIOR === */
  .navbar-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 1rem;
    flex-wrap: wrap;
  }
  
  .navbar-bottom .logo {
    font-size: 1.8rem;
    color: #FFD700;
    font-weight: bold;
  }
  
  /* MENU */
  .navbar-bottom nav {
    flex-grow: 1;
    display: flex;
    justify-content: right;
    padding-right: 2rem;
  }
  
  .navbar-bottom nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
  }
  
  .navbar-bottom nav ul li a {
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase;
    position: relative;
  }
  
  .navbar-bottom nav ul li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background-color: #FFD700;
    transition: width 0.3s ease-in-out;
  }
  
  .navbar-bottom nav ul li a:hover::after {
    width: 100%;
  }
  
  .navbar-bottom nav ul li a:hover {
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  }
  
  /* ===== MENU DESPLEGABLE ===== */
  .navbar-bottom nav ul li.dropdown {
    position: relative;
  }
  
  .navbar-bottom nav ul li .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #111;
    padding: 0.5rem 0;
    border-radius: 0.3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    z-index: 1000;
  }
  
  .navbar-bottom nav ul li .dropdown-menu li a {
    display: block;
    padding: 0.7rem 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: background-color 0.3s ease;
  }
  
  .navbar-bottom nav ul li .dropdown-menu li a:hover {
    background-color: #FFD700;
    color: #000;
  }
  
  .navbar-bottom nav ul li.dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
  }
  
  .navbar-bottom nav ul li.dropdown:hover .arrow {
    transform: rotate(180deg);
  }
  
 
  /* ===== BOTÓN HAMBURGUESA ===== */
.menu-toggle {
  display: none; /* por defecto oculto */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: absolute;
  top: 25px;
  right: 20px;
  z-index: 9999; /* para que esté encima de todo */
}

/* Líneas del icono */
.menu-toggle span {
  width: 22px;
  height: 2.5px;
  background: #FFD700;
  transition: all 0.3s ease;
}

/* MOSTRAR SOLO EN MÓVIL */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
}



  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    /* ===== NAVBAR TOP (LÍNEA 1) ===== */
    .navbar-top {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
      padding: 0.4rem 1rem;
      gap: 0.5rem;
    }
  
    .navbar-top-left {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.4rem;
    }
  
    .lang-switcher {
      display: flex;
      gap: 0.4rem;
    }
  
    .flag-icon {
      width: 22px;
      height: auto;
    }
  
    .lang-switcher button {
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      transition: transform 0.2s ease;
    }
  
    .lang-switcher button:hover {
      transform: scale(1.1);
    }
  
    .btn-cita-top {
      display: inline-block;
      background-color: #FFD700;
      color: #000;
      font-weight: bold;
      padding: 0.35rem 0.8rem;
      border-radius: 25px;
      font-size: 0.8rem;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }
  
    .btn-cita-top:hover {
      background-color: #e6c200;
    }
  
    .navbar-top-right-hide-on-mobile {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 0.3rem;
    }
  
    .social-link {
      display: flex;
      align-items: center;
      gap: 0.3rem;
      color: #fff;
      font-size: 0.85rem;
      text-decoration: none;
    }
  
    .social-link:hover {
      color: #FFD700;
    }
  
    .icon-social {
      width: 16px;
      height: 16px;
      object-fit: contain;
    display: inline-block;
    }
  
    /* ===== NAVBAR BOTTOM (LÍNEA 2) ===== */
    .navbar-bottom {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 0.6rem 1rem;
    }
  
    .navbar-bottom .logo {
      font-size: 1.6rem;
      margin: 0;
    }
  
    .menu-toggle {
      display: flex;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }
  
    .menu-toggle span {
      width: 24px;
      height: 3px;
      background: #FFD700;
      transition: all 0.3s ease;
    }
  
    /* ===== MENÚ OCULTO Y DESPLEGABLE ===== */
    .navbar-bottom nav {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: #000;
      padding: 1rem;
    }
  
    .navbar-bottom nav.open {
      display: flex;
    }
  
    .navbar-bottom nav ul {
      flex-direction: column;
      gap: 1rem;
      padding: 0;
      margin: 0;
    }
  
    .dropdown-menu {
      position: relative;
      top: 0;
      background: none;
      box-shadow: none;
      padding-left: 1rem;
    }
  
    .arrow {
      display: none;
    }

  }
    /* SOLO EN ESCRITORIO: navbar-bottom fijo */
@media (min-width: 769px) {
  .navbar-bottom {
    position: fixed;
    top: 51px; /* altura exacta de .navbar-top */
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #000;
    padding: 0.8rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }

  .navbar-spacer {
    height: 132px; /* Altura total de navbar fijo en escritorio */
  }
}
@media (max-width: 768px) {
  .navbar-bottom {
    position: relative;
    top: 0;
    padding: 0.6rem 1rem;
  }

  .navbar-spacer {
    height: 0;
  }

  /* ===== NAVBAR TOP (LÍNEA 1) ===== */
.navbar-top {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 1rem; /* antes 0.6rem */
  gap: 0.3rem;
}

.navbar-top-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem; /* antes 0.4rem */
}

.btn-cita-top {
  background-color: #FFD700;
  color: #000;
  font-weight: bold;
  padding: 0.25rem 0.6rem; /* más compacto */
  border-radius: 20px;
  font-size: 0.75rem;
}

/* Teléfono e iconos */
.social-link {
  font-size: 0.8rem;
  gap: 0.2rem;
}

.icon-social {
  width: 15px;
  height: 15px;
  object-fit: contain;
  display: inline-block;
}

/* Logo */
.logo img {
  height: 42px; /* antes 60px */
}

}


  
  /* ========== BOTONES ========== */
  .btn {
    background-color: #FFD700;
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .btn:hover {
    background-color: #e0b800;
  }
  
  /* ========== SECCIONES GENERALES ========== */
  section {
    padding: 4rem 2rem;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  /* ========== SERVICIOS ========== */
  .servicios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }
  
  .servicio-card {
    background-color: #f4f4f4;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    transition: transform 0.3s ease;
  }
  
  .servicio-card:hover {
    transform: scale(1.05);
  }
  
 
  .btn-cita:active {
    transform: scale(0.97);
    background-color: #e5c100;
  }
  
/* ======== ESCRITORIO ======== */
.btn-cita-presu {
    background-color: #FFD700;
    color: #000;
    font-weight: bold;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  }
  
  .btn-cita-presu:hover {
    background-color: #fff;
    transform: scale(1.05);
  }
  
  /* ======== CONTENEDOR ======== */
  .precios-boton {
    text-align: center;
    margin-top: 2rem;
  }
  

  @media (max-width: 768px) {
    .btn-cita-presu {
      font-size: 0.9rem;
      padding: 0.6rem 1.2rem;
      width: 90%;
      max-width: 320px;
      margin: 1rem auto;
      display: block;
      white-space: normal;
    }
  
    .precios-boton {
      padding: 0 1rem;
    }
  }
  
  
  /* ========== CONTACTO ========== */
  .btn-whatsapp {
    display: inline-block;
    margin: 1rem 0;
    background-color: #25D366;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
  }
  
  .btn-whatsapp:hover {
    background-color: #1ebe5b;
  }
  
  /* ========== FOOTER ========== */
footer {
    background-color: #000;
    color: #fff;
    padding: 2rem;
    text-align: center;
  }
  
  footer .redes {
    margin: 1rem 0;
  }
  
  footer .redes a {
    margin: 0 0.75rem;
    color: #FFD700;
    font-size: 1.4rem;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  footer .redes a:hover {
    transform: scale(1.2);
    color: #fff;
  }
  
  footer .legal {
    margin-top: 1rem;
  }
  
  footer .legal a {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0 0.5rem;
    text-decoration: none;
  }
  
  footer .legal a:hover {
    text-decoration: underline;
  }
  
  footer {
    position: relative;
    background-color: #000;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
    z-index: 10;
  }
  
  @media (max-width: 768px) {
    footer {
      font-size: 0.9rem;
      padding: 2rem 1rem;
    }
  }
  
  footer {
    clear: both;
    position: relative;
    z-index: 10;
    overflow: visible;
  }
 
  main {
    flex: 1;
  }
    

  /* section TRATAMIENTOS */

.section-tratamientos {
    padding: 4rem 2rem;
    background-color: #000;
    color: #fff;
    text-align: center;
  }
  
  .section-tratamientos .section-title {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .tratamientos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .tratamiento-card {
    background-color: transparent;
    border-radius: 12px;
    overflow: hidden;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .card-inner {
    background-color: #111;
    border-radius: 12px;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

  }
  
  .tratamiento-card:hover .card-inner {
    transform: translateY(-16px);
    box-shadow: 0 0 10px 4px rgba(255, 215, 0, 0.3);

  }

  .tratamiento-card:nth-child(1) { animation-delay: 0.2s; }
  .tratamiento-card:nth-child(2) { animation-delay: 0.4s; }
  .tratamiento-card:nth-child(3) { animation-delay: 0.6s; }
  .tratamiento-card:nth-child(4) { animation-delay: 0.8s; }
  
  .tratamiento-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .tratamiento-card h3 {
    font-size: 1.5rem;
    color: #FFD700;
    margin: 1rem 0 0.5rem;
  }
  
  .tratamiento-card ul {
    list-style: none;
    padding: 0 1.5rem 1rem;
    text-align: left;
  }
  
  .tratamiento-card ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
  }
  
  .card-actions {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.5rem;
  }
  
  .link-mas {
    color: #FFD700;
    text-decoration: underline;
    font-weight: 600;
  }
  
  .btn-cita {
    background-color: #FFD700;
    color: #000;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.3s ease;
    
  }
  
  .btn-cita:hover {
    transform: scale(1.05);
    background-color: #fff;
  }
  
  /* Animación fade-in suave */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  

/* === RESEÑAS GOOGLE === */
.section-opiniones {
    background-color: #000;
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .section-opiniones .section-title {
    font-size: 2.2rem;
    color: #FFD700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .opiniones-contenedor {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
  }
  
  .opiniones-google {
    background-color: #fff;
    color: #000;
    padding: 1rem 1rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    text-align: center;
    max-width: 200px;
    flex: 1 1 220px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  

  .rating-title {
    font-weight: bold;
    font-size: 1.4rem;
    color: #FFD700;
  }
  
  .stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin: 0.3rem 0;
  }
  
  .rating-text {
    font-size: 0.85rem;
    color: #888;
  }
  
  .google-logo {
    width: 70px;
    margin-top: 1rem;
  }
  
  .opinion-slider-wrapper {
    flex: 3 1 0;
    max-width: 900px;
    overflow: hidden;
    position: relative;
  }
  
  .opinion-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .opinion-slide {
    background-color: #fff;
    color: #000;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    margin: 0 0.5rem;
    width: 280px;
    flex-shrink: 0;
    position: relative;
    text-align: left;
    flex: 0 0 28%;
    max-width: 28%;
  }
  
  .opinion-slide .google-icon {
    position: absolute;
  top: 1rem;
  right: 1rem;
  width: 22px;
  }

  .opinion-slide .nombre {
    font-weight: bold;
    color: #0077cc;
    margin-bottom: 0.3rem;
  }

  .opinion-slide .fecha {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
  }
  
  .opinion-slide .mensaje {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .slider-arrow {
    background: #FFD700;
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .slider-arrow:hover {
    background: #fff;
  }
  
  .leer-mas {
    background: none;
    border: none;
    color: #0077cc;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    margin-top: 0.3rem;
  }
  
  .hidden {
    display: none;
  }
  
  html {
  overflow-x: hidden;
}


  .btn-reseña {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 50px;
    padding: 10px 20px;
    background-color: #4285F4;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .btn-reseña:hover {
    background-color: #3367d6;
  }
  
  

  /*  responsive */
/* === VISTA MÓVIL - SLIDER CORRECTO === */
/* === ESTRUCTURA GENERAL DEL SLIDER === */
.opiniones-contenedor {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .opiniones-google {
    background: #fff;
    color: #000;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 2rem;
    max-width: 250px;
    flex-shrink: 0;
  }
  
  .opinion-slider-wrapper {
    overflow: hidden;
    flex: 1;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .opinion-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
    width: 100%;
  }
  
  .opinion-slide {
    background: #fff;
    color: #000;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    flex: 0 0 calc(33.3333% - 1rem);
    max-width: calc(33.3333% - 1rem);
    box-sizing: border-box;
    position: relative;
    flex: 0 0 28%;
    max-width: 28%;
  }
  
  /* Flechas de navegación */
  .slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .slider-arrow {
    background: #FFD700;
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .slider-arrow:hover {
    background: #fff;
  }
  
  /* Icono de Google dentro de cada reseña */
  .google-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 20px;
    height: auto;
  }
  
  /* Leer más */
  .leer-mas {
    background: none;
    border: none;
    color: #0077cc;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    margin-top: 0.3rem;
  }
  
  .hidden {
    display: none;
  }
  
  /* === MÓVIL === */
  @media (max-width: 768px) {
    .opiniones-contenedor {
      flex-direction: column;
      align-items: center;
    }
  
    .opiniones-google {
      max-width: 85vw;
    }
  
    .opinion-slider-wrapper {
      width: 100%;
      overflow: hidden;
    }
  
    .opinion-slider-track {
      display: flex;
      flex-wrap: nowrap;
      transition: transform 0.5s ease-in-out;
    }
  
    .opinion-slide {
      flex: 0 0 100%;
      min-width: 75%;
      flex: 0 0 28%;
        max-width: 100%;
    }
  
    .slider-controls {
      display: flex;
      justify-content: center;
      margin-top: 1rem;
      gap: 1rem;
    }
  }
  
  /* casos de exito */

  /* === SECCIÓN CASOS DE ÉXITO === */
.section-casos {
    background-color: #000;
    background-color: #f5f5f5;
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .section-casos .section-title {
    font-size: 2.2rem;
    color: #111;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
  
  .section-casos .section-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
    color: #333;
  }
  
  .casos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
  }
  
  .caso {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: #111;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
  }
  
  .comparador-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: ew-resize;
  }
  
  .comparador-container img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  
  .comparador-before {
    z-index: 1;
  }
  
  .comparador-after {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.3s ease;
  }
  
  .comparador-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: #FFD700;
    z-index: 3;
    transform: translateX(-50%);
  }
  
  .comparador-label {
    position: absolute;
    top: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    background: rgba(0,0,0,0.6);
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    z-index: 4;
    color: #fff;
  }
  
  .comparador-label.before {
    left: 10px;
  }
  
  .comparador-label.after {
    right: 10px;
  }
  
  .caso h4 {
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
  }
  
  .casos-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: #FFD700;
    color: #000;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .casos-btn:hover {
    background-color: #fff;
  }
  .imagen-comparador {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
  }
  
  .img-before,
  .img-after {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .img-after {
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.3s ease;
  }
  
  .slider-comparador {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 2;
  }
  .slider-comparador::-webkit-slider-thumb {
    background-color: #FFD700;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    cursor: pointer;
  }
  
  .slider-comparador::-moz-range-thumb {
    background-color: #FFD700;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    cursor: pointer;
  }
    


  /* === RESPONSIVE === */
  @media (max-width: 992px) {
    .casos-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .casos-grid {
      grid-template-columns: 1fr;
    }
  }

  .etiqueta {
    position: absolute;
    top: 10px;
    font-size: 0.9rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    color: #fff;
    z-index: 3;
    pointer-events: none;
    text-transform: uppercase;
  }
  
  .etiqueta-antes {
    left: 10px;
  }
  
  .etiqueta-despues {
    right: 10px;
  }
  
  .icono-desliza {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #FFD700;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    z-index: 3;
    pointer-events: none;
    animation: desliza 1.5s infinite alternate;
  }
  
  @keyframes desliza {
    0%   { transform: translate(-50%, -50%) translateX(-10px); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) translateX(10px); opacity: 1; }
  }
  
  /* Mejora adicional UX */
  .imagen-comparador {
    cursor: ew-resize;
  }
  
  .nota-ux {
    font-size: 0.9rem;
    color: #aaaaaa;
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-style: italic;
  }
  
  /* === Colores personalizados para slider-comparador (sin mover la posición) === */
.slider-comparador {
    background: #FFD700; /* Amarillo de la web */
    height: 6px;
    border-radius: 3px;
    -webkit-appearance: none;
    appearance: none;
    cursor: ew-resize;
  }
  
  /* Estilo del thumb (Chrome, Safari) */
  .slider-comparador::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #c9a700; /* Amarillo más oscuro */
    border: 2px solid white;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    margin-top: -6px; /* Ajuste fino: alinéalo con el centro del track */
  }
  
  /* Estilo del thumb (Firefox) */
  .slider-comparador::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #c9a700;
    border: 2px solid white;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
  }
  
  /* Estilo del track (Firefox) */
  .slider-comparador::-moz-range-track {
    background: #FFD700;
    height: 6px;
    border-radius: 3px;
  }

  /* PRECIOS */ 
  /* === SECCIÓN PRECIOS === */
.section-precios {
    background-color: #000;
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .section-precios .section-title {
    font-size: 2.2rem;
    color: #FFD700;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
  
  .section-precios .section-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    color: #ccc;
    line-height: 1.6;
  }
  
  /* Tabs */
  .tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
  }
  
  .tab {
    background-color: #111;
    border: 1px solid #FFD700;
    padding: 0.8rem 1.5rem;
    color: #FFD700;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  
  .tab:hover,
  .tab.active {
    background-color: #FFD700;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  }
  
  /* Contenedor de Tarjetas */
  .tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
  }
  
  .tab-content.active {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Espacio entre tarjetas */
    justify-content: center; /* Centrado */
  }
  
  /* Cards de precio */
  .precio-card {
    background-color: #0a0a0a; /* Un poco más oscuro que el fondo general */
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    width: 300px; /* Ancho base */
    /* Flexibilidad para que no se rompa en pantallas raras */
    flex-grow: 0; 
    flex-shrink: 0;
    
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .precio-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.15);
  }
  
  .precio-card img {
    height: 60px; /* Un poco más grande para que se vea bien */
    width: auto;
    margin-bottom: 1.5rem;
    object-fit: contain;
  }
  
  .precio-card h4 {
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    min-height: 3rem; /* Alinea los títulos si uno tiene 2 líneas y otro 1 */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .precio-card p {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Empuja el precio hacia abajo */
  }
  
  .precio-card .precio {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
    padding-top: 1rem;
    border-top: 1px solid #333;
    width: 100%;
    display: block;
  }
  
  /* Botón final */
  .precios-boton {
    margin-top: 4rem;
  }
  
  .btn-cita-presu {
    padding: 1.2rem 2.5rem;
    background-color: #FFD700;
    color: #000;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
  }
  
  .btn-cita-presu:hover {
    background-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  }
  
  /* Animación */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .tab-content.active {
        gap: 20px;
    }
    .precio-card {
        width: 100%; /* En móvil ocupa todo el ancho */
        max-width: 350px;
    }
  }

  /* BLOG */ 

 /* === SECCIÓN BLOG === */
.section-blog {
    background-color: #f5f5f5;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .section-blog .section-title {
    font-size: 2.2rem;
    color: #111;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
  
  .section-blog .section-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
    color: #333;
  }
  
  /* === GRID === */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
  }
  
  /* === CARD === */
  .blog-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }
  
  .blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  /* === CONTENIDO INTERNO === */
  .blog-content {
    padding: 1.5rem 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
  }
  
  .blog-content h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    color: #000;
  }
  
  .blog-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  
  /* === BOTÓN DE CADA CARD === */
  .btn-leer {
    align-self: flex-start;
    padding: 0.5rem 1.2rem;
    background-color: #FFD700;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
  }
  
  .btn-leer:hover {
    background-color: #e6c200;
  }
  
  /* === BOTÓN INFERIOR === */
  .blog-vermas {
    margin-top: 2rem;
    text-align: center;
  }
  
  .btn-vermas {
    padding: 0.75rem 1.8rem;
    background-color: #FFD700;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    font-size: 1rem;
  }
  
  .btn-vermas:hover {
    background-color: #e6c200;
  }
  
  /* === RESPONSIVE === */
  @media (max-width: 768px) {
    .blog-card img {
      height: 180px;
    }
  
    .blog-content {
      padding: 1.25rem 1rem;
    }
  
    .blog-content h3 {
      font-size: 1.1rem;
    }
  
    .blog-content p {
      font-size: 0.9rem;
    }
  }
 
  /* MAPA */
  /* === INSTALACIONES === */
.section-instalaciones {
    background-color: #f9f9f9;
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
  }
  
  .instalaciones-slider {
    position: relative;
    height: 60vh;
    max-height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    margin-bottom: 2rem;
  }
  
  .instalaciones-slides img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
  }
  
  .instalaciones-slides img.active {
    opacity: 1;
    z-index: 1;
  }
  
  .instalaciones-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .instalaciones-titulo {
    color: #FFD700;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    z-index: 3;
    text-align: center;
    padding: 0 1rem;
  }
  
  .instalaciones-descripcion {
    max-width: 1000px;
    margin: auto;
    text-align: center;
  }
  
  .instalaciones-descripcion p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1.5rem;
  }
  
  .instalaciones-lista {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    color: #444;
    font-size: 1rem;
    margin: 0 auto;
  }
  
  .instalaciones-lista li {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  /* === UBICACIÓN === */
  .section-ubicacion {
    background-color: #fff;
    padding: 4rem 2rem;
  }
  
  .ubicacion-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .ubicacion-header h2 {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
    color: #333;
  }
  
  .ubicacion-header p {
    font-size: 1.1rem;
    color: #555;
  }
  
  .ubicacion-contenido {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
  }
  
  .ubicacion-mapa {
    flex: 1 1 500px;
    height: 350px;
  }
  
  .ubicacion-mapa iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
  }
  
  .ubicacion-datos {
    flex: 1 1 400px;
    font-size: 1.1rem;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
  }
  
  .ubicacion-datos a {
    color: #0066cc;
    text-decoration: none;
  }
  
  .ubicacion-turistas {
    text-align: center;
    font-size: 1rem;
    margin-top: 2rem;
    color: #444;
  }
  
  /* === RESPONSIVE === */
  @media (max-width: 768px) {
    .instalaciones-titulo {
      font-size: 2rem;
    }
  
    .instalaciones-slider {
      height: 300px;
    }
  
    .ubicacion-contenido {
      flex-direction: column;
    }
  
    .ubicacion-mapa,
    .ubicacion-datos {
      width: 100%;
    }
  
    .instalaciones-descripcion p {
      font-size: 1rem;
    }
  
    .instalaciones-lista {
      grid-template-columns: 1fr;
    }
  }
  
  /* Botón flotante de WhatsApp */
  .whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: white;
    padding: 0.7rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
  }
  
  .whatsapp-btn:hover {
    background-color: #1EBE5B;
  }
  
  .whatsapp-btn img {
    width: 20px;
    height: 20px;
  }
  
  /* Botón flotante de "Cómo llegar" */
  .direccion-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFD700;
    color: #000;
    padding: 0.7rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
  }
  
  .direccion-btn:hover {
    background-color: #e6c200;
  }
  
  .direccion-btn img {
    width: 20px;
    height: 20px;
  }
  
  /* Responsive ajustes */
  @media (max-width: 768px) {
    .ubicacion-contenido {
      flex-direction: column;
      align-items: center;
    }
    .whatsapp-btn,
    .direccion-btn {
      bottom: 15px;
      padding: 0.6rem 0.8rem;
      font-size: 0.9rem;
    }
  }
  
  /* PREGUNTAS FRECUENTES */

  /* === SECCIÓN FAQ === */
.section-faq {
    background-color: #f5f5f5;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .section-faq .section-title {
    font-size: 2.2rem;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }
  
  .section-faq .section-description {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
  }
  
  .faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
  }
  
  .faq-item {
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .faq-question {
    width: 100%;
    background: #FFD700;
    color: #000;
    font-weight: bold;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .faq-question:hover {
    background-color: #e6c200;
  }
  
  .faq-answer {
    padding: 1rem 1.5rem;
    display: none;
    background-color: #fff;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .faq-item.active .faq-answer {
    display: block;
  }
  

 /* === SECCIÓN CONTACTO === */

.section-contacto {
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
    color: #fff;
  }
  
  .fondo-contacto {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  
  .img-fondo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  
  .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0); /* sin oscurecer */
    z-index: 1;
  }
  
  .contacto-contenedor {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    color: #fff;
  }
  
  /* FORMULARIO */
  .formulario-contacto {
    flex: 1 1 600px;
  }
  
  .formulario-contacto .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff; /* blanco para buena legibilidad */
  }
  
  .formulario-contacto form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .formulario-contacto .form-group {
    display: flex;
    gap: 1rem;
  }
  
  .formulario-contacto input,
  .formulario-contacto textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #f9f9f9;
    color: #000;
  }
  
  .formulario-contacto input:focus,
  .formulario-contacto textarea:focus {
    outline: none;
    border-color: #FFD700;
    background-color: #fff;
  }
  
  /* BOTÓN */
  .btn-enviar {
    background-color: #FFD700;
    color: #000;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
  }
  
  .btn-enviar:hover {
    background-color: #e6c200;
  }
  
  /* DATOS CLÍNICA */
  .datos-clinica {
    flex: 1 1 350px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    color: #000;
  }
  
  .datos-clinica h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: #000;
  }
  
  .datos-clinica p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.8rem;
  }
  
  .datos-clinica a {
    color: #000; /* más legible que el amarillo sobre fondo blanco */
    font-weight: bold;
    text-decoration: underline;
  }
  
  /* RESPONSIVE */
  @media (max-width: 768px) {
    .contacto-contenedor {
      flex-direction: column;
    }
  
    .formulario-contacto .form-group {
      flex-direction: column;
    }
  
    .btn-enviar {
      width: 100%;
    }
  }
  
  /* boton reservas */

  /* BOTÓN FLOTANTE RESERVA */
.btn-flotante-reserva {
    position: fixed;
    left: 20px;
    bottom: 80px;
    z-index: 999;
    background-color: #FFD700;
    color: #000;
    font-size: 1.5rem;
    padding: 0.7rem 1rem;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
  }
  .btn-flotante-reserva:hover {
    background-color: #e6c200;
  }
  @media (max-width: 768px) {
    .btn-flotante-reserva {
      left: 10px;
      bottom: 30px;
    }
  }
  
  /* === BOTÓN WHATSAPP FLOTANTE === */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 40px;
    z-index: 999;
  }
  
  .whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    animation: bounce 2s infinite;
    position: relative;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .whatsapp-btn img {
    width: 28px;
    height: 28px;
  }
  
  .whatsapp-btn:hover {
    background-color: #1ebd57;
  }
  
  .tooltip {
    position: absolute;
    right: 110%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #000;
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  }
  
  .whatsapp-btn:hover .tooltip {
    opacity: 1;
  }
  
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-4px);
    }
  }
  
  /* Responsive ajustes */
  @media (max-width: 768px) {
    .tooltip {
      display: none;
    }
  
    .whatsapp-btn {
      width: 50px;
      height: 50px;
    }
  
    .whatsapp-btn img {
      width: 26px;
      height: 26px;
    }
  }
  
  /* === SOBRE MÍ === */
/* === SOBRE MÍ === */
.section-sobremi {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 4rem 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    background-color: #000;
  }
  
  .sobremi-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  
  .sobremi-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .sobremi-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
  }
  
  .container-sobremi {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
  }
  
  .content-sobremi {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
  }
  
  .image-slider {
    flex: 1 1 400px;
    position: relative;
    max-width: 100%;
  }
  
  .image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 1.5s ease;
  }
  
  .image-slider img.active {
    opacity: 1;
    position: relative;
    z-index: 2;
  }
  
  .text-block {
    flex: 1 1 500px;
    color: #fff;
  }
  
  .text-block h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .highlight {
    color: #FFD700;
    font-weight: bold;
  }
  
  .highlight-soft {
    color: #FFD700;
    font-weight: bold;
  }
  
  .icon-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
  }
  
  .icon-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .icon-list img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
  }
  
  .slogan {
    font-style: italic;
    color: #eee;
    margin-top: 1.5rem;
  }
  
  .btn-vermas {
    display: inline-block;
    margin-top: 1.5rem;
    background-color: #FFD700;
    color: #000;
    padding: 0.7rem 1.4rem;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .btn-vermas:hover {
    background-color: #e6c200;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .content-sobremi {
      flex-direction: column;
      text-align: center;
    }
  
    .image-slider {
      width: 100%;
      height: 300px;
    }
  
    .image-slider img {
      position: absolute;
    }
  
    .text-block h2 {
      font-size: 1.6rem;
    }
  }
  

  /* === SECCIÓN CTA CITA === */
.cta-cita {
    background-color: #000;
    color: #fff;
    padding: 2rem 1rem;
  }
  
  .cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .cta-btn {
    background-color: #FFD700;
    color: #000;
    padding: 0.8rem 1.4rem;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .cta-btn:hover {
    background-color: #fff;
    transform: scale(1.05);
  }
  
  .cta-text {
    flex: 1;
    font-size: 1.8rem;
    max-width: 800px;
    text-align: right;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .cta-container {
      flex-direction: column;
      text-align: center;
    }
  
    .cta-text {
      text-align: center;
    }
  }

  .cta-cita {
    background: radial-gradient(circle at 30% 50%, #111 0%, #000 100%);
    background-size: 400% 400%;
    animation: moveLight 10s ease infinite;
  }
  
  @keyframes moveLight {
    0% { background-position: 30% 50%; }
    50% { background-position: 70% 50%; }
    100% { background-position: 30% 50%; }
  }
  
  .subtext {
    display: block;
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 0.3rem;
  }
  .cta-btn {
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0%, 100% {
      box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% {
      box-shadow: 0 0 15px 8px rgba(255, 215, 0, 0);
    }
  }
  

 .navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}


section {
  scroll-margin-top: 140px; /* navbar-top (52px) + navbar-bottom (85px aprox.) */
}

/* Mostrar solo en móvil */
.navbar-top-right-social-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 769px) {
  .navbar-top-right-social-mobile {
    display: none;
  }
}
 /* navbar activo con scroll */

 nav ul li a.active {
  border-bottom: 2px solid #FFD700;
  color: #FFD700;
}
