/* ==================================================
   VARIABLES, RESET Y TIPOGRAFÍA
   ================================================== */
   :root {
    --primary-color: rgba(251, 187, 64, 0.93);
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  /* ==================================================
     KEYFRAMES / ANIMACIONES
     ================================================== */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slideIn {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(0);
    }
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }

  /* Animación específica para WhatsApp flotante - más llamativa */
  @keyframes whatsappPulse {
    0% {
      transform: scale(1);
      box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
      transform: scale(1.1);
      box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
  }

  /* Usamos !important para evitar conflicto con Tailwind animate-pulse */
  .whatsapp-float {
    animation: whatsappPulse 1.5s ease-in-out infinite !important;
  }
  
  /* Aunque fadeInUp es idéntico a fadeIn, se mantiene para no romper referencias */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ==================================================
     HEADER Y NAVEGACIÓN
     ================================================== */
  header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
  }
  
  header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
  }
  
  .nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-links,
  nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
  }
  
  .nav-links {
    align-items: center;
  }
  
  .nav-links li {
    display: flex;
    align-items: center;
  }
  
  .nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .nav-links a.whatsapp-btn {
    padding: 0.5rem;
    margin-left: 0.5rem;
  }
  
  .nav-links a.whatsapp-btn i {
    margin: 0; /* Ya se resetea globalmente */
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary-color);
  }
  
  nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
  }
  
  nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
  }
  
  nav a:hover::after {
    width: 100%;
  }
  
  /* Selector de Idiomas */
  .language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }
  
  .lang-btn {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
  }
  
  .lang-btn:hover {
    background-color: var(--light-bg);
  }
  
  .lang-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
  }
  
  /* Botón WhatsApp Header y Flotante */
  .nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
  }
  
  .whatsapp-btn i {
    font-size: 1.5rem;
  }
  
  .whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .whatsapp-float:hover {
    background-color: #20ba5a;
    color: #FFF;
    transform: scale(1.1);
  }
  
  /* ==================================================
     MENÚ MÓVIL
     ================================================== */
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    padding: 0.5rem;
  }
  
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: left 0.3s ease;
  }
  
  .mobile-menu.active {
    left: 0;
  }
  
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
  }
  
  .mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
    padding: 0.5rem;
  }
  
  .mobile-menu-links {
    list-style: none;
    padding: 1rem;
    margin: 0;
  }
  
  .mobile-menu-links li {
    margin: 1rem 0;
  }
  
  .mobile-menu-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 0;
  }
  
  .mobile-menu-links a.active {
    color: var(--primary-color);
  }
  
  .mobile-menu .whatsapp-btn {
    display: none;
  }
  
  .mobile-menu .language-selector {
    display: flex;
    gap: 0.5rem;
  }
  
  .mobile-menu .lang-btn {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-color);
    background: #f0f0f0;
  }
  
  .mobile-menu .lang-btn.active {
    background: var(--primary-color);
    color: white;
  }
  
  /* ==================================================
     CONTENIDO PRINCIPAL Y SECCIONES
     ================================================== */
  main {
    margin-top: 100px;
    padding: 2rem 5%;
  }
  
  section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.1rem 0;
    animation: fadeIn 1s ease-out;
  }
  
  /* Hero Section Principal e Inversión de CTA */
  .hero {
    position: relative;
    padding: 2rem;
    background-color: transparent;
  }
  
  .hero-content {
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    color: #fff;
    background: url('../img/home_1.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 20px;
    margin: -2rem;
  }
  
  .hero-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 20px;
  }
  
  .hero-content h1,
  .hero-content p,
  .hero-content a {
    position: relative;
    z-index: 2;
  }
  
  /* Sección CTA Genérica */
  .cta-section .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
  }
  
  .cta-section .hero-content {
    position: relative;
    z-index: 2;
    background-image: none;
    background-color: #949494;
  }
  
  .cta-section .hero-content::after {
    content: none;
  }
  .hero .hero-content p,
  .cta-section .hero-content h2,
  .cta-section .hero-content p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
  }
  
  .cta-section .hero-content h2 {
    font-size: 2.5rem;
  }
  
  /* Reutilización de text-shadow en headings de hero */
  .hero h1,
  .hero h2,
  .hero p,
  .cta-section .hero-content h2,
  .cta-section .hero-content p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  /* ==================================================
     IMÁGENES Y GALERÍAS
     ================================================== */
  .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0.2rem 0 1rem 0;
  }
  
  .image-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 300px;
    background-color: #949494;
  }
  
  .image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    color: var(--primary-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background-color 0.3s ease;
  }
  
  .image-card:hover .image-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
  }
  
  .image-overlay h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1.2;
    white-space: pre-line;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
  }
  
  .image-overlay p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
  }
  
  /* ==================================================
     ANIMACIONES ON SCROLL Y UTILIDADES
     ================================================== */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .delay-1 {
    transition-delay: 0.1s;
  }
  
  .delay-2 {
    transition-delay: 0.2s;
  }
  
  .delay-3 {
    transition-delay: 0.3s;
  }
  
  .cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    border: 2px solid transparent;
    font-weight: 600;
    margin: 1rem;
  }
  
  .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
  }
  
  /* Botón CTA específico en Hero */
  .hero-content .cta-button {
    background-color: #ffd54f;
    color: #333;
    border-radius: 5px;
  }
  
  .hero-content .cta-button:hover {
    background-color: #ffb300;
    transform: translateY(-2px);
  }
  
  /* ==================================================
     FORMULARIOS
     ================================================== */
  form {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  }
  
  input,
  textarea,
  select {
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
  }
  
  input:focus,
  textarea:focus,
  select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 187, 64, 0.2);
  }
  
/* ==================================================
   FOOTER
   ================================================== */
   footer {
    background-color: #1f2937;
    color: #fff;
    margin-top: 4rem;
    width: 100%;
  }
  
  /* Contenedor principal del contenido del footer */
  footer .footer-content {
    /* Aumentamos el padding superior para que haya
       más “aire” en la parte de arriba del footer */
    padding: 4rem 2rem 0;
    /* Control de ancho máximo para centrar */
    max-width: 1400px;
    margin: 0 auto;
  }
  
  /* Grid de 3 columnas en la parte superior del footer */
  footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  /* Secciones dentro del grid */
  footer .footer-section {
    margin-bottom: 2rem;
  }
  
  /* Address */
  footer .footer-section address {
    font-style: normal;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #fff;
  }
  
  /* Detalles de contacto */
  footer .contact-details p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #fff;
  }
  
  footer .contact-details a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  footer .contact-details a:hover {
    color: #fcd34d;
  }
  
  footer .contact-details i {
    margin-right: 0.5rem;
    color: #fcd34d;
    width: 16px;
  }
  
  /* Quick Links */
  footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  footer .footer-links li {
    margin-bottom: 0.75rem;
  }
  
  footer .footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  footer h3 {
    color: var(--primary-color);
  }
  
  footer .footer-links a:hover {
    color: #fcd34d;
  }
  
  /* Redes Sociales */
  footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  footer .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  footer .social-link:hover {
    background-color: #fcd34d;
    color: #1f2937;
    transform: translateY(-2px);
  }
  
  footer .social-link i {
    font-size: 1.2rem;
  }
  
  /* Parte inferior del footer (barra con links legales, copyright, etc.) */
  footer .footer-bottom {
        padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
  }
  
  /* Contenedor para la parte inferior */
  footer .footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Para que se alinee con la parte de arriba */
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  /* Links Legales */
  footer .legal-links {
    display: flex;
    gap: 1.5rem;
  }
  
  footer .legal-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
  }
  
  footer .legal-links a:hover {
    opacity: 1;
    color: #fcd34d;
  }
  
  /* Copyright */
  footer .copyright {
    font-size: 0.9rem;
    color: #fff;
    opacity: 0.8;
    margin: 0;
  }

  /* Estilos específicos para la sección de "Enlaces Rápidos" dentro del footer */
footer .footer-section.quick-links .footer-nav ul {
    list-style: none;         /* Quita viñetas por defecto */
    padding: 0;
    margin: 0;
    display: flex;           /* Para poder usar flex-direction */
    flex-direction: column;  /* Apila los enlaces uno debajo de otro */
    gap: 0.5rem;             /* Espacio vertical entre ellos */
  }
  
  footer .footer-section.quick-links .footer-nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  footer .footer-section.quick-links .footer-nav ul li a:hover {
    color: #fcd34d;
  }
  
  
  /* ==================================================
     MEDIA QUERIES PARA FOOTER
     ================================================== */
  @media (max-width: 992px) {
    footer .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    footer .footer-section.social-media {
      grid-column: span 2;
      text-align: center;
    }
    footer .social-links {
      justify-content: center;
    }
  }
  
  @media (max-width: 768px) {
    footer {
      width: 100%;
      overflow: hidden;
      text-align: center;
    }

    footer .footer-content {
      padding: 2rem 1rem;
      width: 100%;
    }

    footer .footer-grid {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      width: 100%;
    }

    footer .footer-section {
      width: 100%;
      margin-bottom: 0;
    }

    footer .contact-details {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    footer .contact-details p {
      justify-content: center;
    }

    /* Estilos del acordeón */
    footer .accordion-trigger {
      cursor: pointer;
      position: relative;
      padding: 1rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      user-select: none;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0.5rem;
    }

    footer .accordion-icon {
      font-size: 1.2rem;
      transition: transform 0.3s ease;
    }

    footer .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
    }

    footer .accordion-content.active {
      max-height: 300px;
    }

    footer .accordion-trigger.active .accordion-icon {
      transform: rotate(45deg);
    }

    footer .footer-section.quick-links .footer-nav ul {
      display: flex;
      flex-direction: column;
      width: 100%;
      margin: 0;
      padding: 1rem 0;
      list-style: none;
    }

    footer .footer-section.quick-links .footer-nav ul li {
      margin: 0;
      padding: 0;
    }

    footer .footer-section.quick-links .footer-nav ul li a {
      display: inline-block;
      padding: 0.5rem 0;
      color: #fff;
      text-decoration: none;
      width: auto;
    }

    footer .social-links {
      display: flex;
      gap: 2rem;
      justify-content: center;
      margin-top: 1rem;
    }

    footer .footer-bottom {
      margin-top: 2rem;
      padding: 1rem;
      text-align: center;
    }

    footer .legal-links {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-top: 1rem;
      align-items: center;
    }
  }
    
  
  /* ==================================================
     SECCIÓN FAQs
     ================================================== */
  .faq-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-item {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
  }
  
  .faq-item h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .faq-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
  }
  
  /* ==================================================
     SECCIÓN TESTIMONIOS
     ================================================== */
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
  }
  
  .testimonial-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .testimonial-content {
    position: relative;
    flex-grow: 1;
  }
  
  .testimonial-content i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .testimonial-content p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin: 1rem 0;
  }
  
  .testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
  }
  
  .author-name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
  }
  
  /* ==================================================
     SECCIÓN UBICACIÓN
     ================================================== */
  .location-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  .map-container {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  
  .location-features {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .location-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .location-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .location-features i {
    color: var(--primary-color);
    font-size: 1.5rem;
  }
  
  /* ==================================================
     FORMULARIO DE CONTACTO
     ================================================== */
  .contact-form-section {
    background: var(--light-bg);
    padding: 4rem 0;
    margin: 2rem 0;
  }
  
  .form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
  }
  
  .submit-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
  }
  
  .submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  /* ==================================================
     SECCIÓN SEO
     ================================================== */
  .seo-content {
    background-color: var(--light-bg);
    padding: 4rem 0;
  }
  
  .seo-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .seo-content h2 {
    color: var(--primary-color);
    font-size: 2.2em;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .seo-content .lead {
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .seo-content h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin: 2rem 0 1rem;
  }
  
  .seo-content .advantages-grid,
  .seo-content .location-content,
  .seo-content .why-best-content {
    margin: 3rem 0;
  }
  
  .seo-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
  }
  
  .seo-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .seo-content ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
  }
  
  .seo-content p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  /* ==================================================
     PÁGINAS LEGALES
     ================================================== */
  .legal-content {
    padding: 3rem 0;
  }
  
  .legal-section {
    margin-bottom: 2.5rem;
  }
  
  .legal-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .legal-section p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .legal-section ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .legal-section ul li {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0.5rem;
  }
  
  /* ==================================================
     TARJETAS DE SERVICIO
     ================================================== */
  .service-card {
    background: transparent;
    border-radius: 15px;
    padding: 0;
    text-align: center;
  }

  .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease;
  }

  .card-link:hover {
    transform: translateY(-10px);
    text-decoration: none;
    color: inherit;
  }

  .service-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
  }

  .service-button:hover {
    background-color: var(--primary-dark);
  }
  
  /* ==================================================
     MODAL DE CONTACTO
     ================================================== */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(5px);
  }
  
  .modal-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .modal h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
  }
  
  .close-button {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
  }
  
  .close-button:hover {
    color: #333;
  }
  
  .contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
  }
  
  .contact-button:hover {
    transform: translateY(-2px);
  }
  
  .whatsapp-button {
    background-color: #25D366;
    color: white;
  }
  
  .email-button {
    background-color: #ffd54f;
    color: #333;
  }
  
  .phone-button {
    background-color: #007bff;
    color: white;
  }
  
  .phone-button:hover {
    transform: translateY(-2px);
  }
  
  /* ==================================================
     MEDIA QUERIES
     ================================================== */
  /* Pantallas grandes (máximo 1024px) */
  @media (max-width: 1024px) {
    section {
      padding: 3rem 0;
    }
    .hero {
      padding: 4rem 1.5rem;
    }
    .nav-left {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
    .nav-links {
      flex-wrap: wrap;
      justify-content: center;
    }
  }
  
  /* Principal para móviles (máximo 768px) */
  @media (max-width: 768px) {
    main {
      margin-top: 60px;
    }
    section {
      padding: 0.5rem 0;
    }
    h1 {
      font-size: 2rem;
    }
    h2 {
      font-size: 1.5rem;
    }
    nav {
      flex-direction: initial;
      gap: 1rem;
      padding: 1rem;
    }
    .nav-links {
      display: none;
    }
    .language-selector {
      margin-top: 1rem;
    }
    .image-grid {
      grid-template-columns: 1fr;
      gap: 0.75rem;
      margin: 0.25rem 0;
    }
    .image-card {
      height: auto;
      min-height: 100px;
      background-color: var(--secondary-color);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .image-card img {
      display: none;
    }
    .image-overlay {
      position: relative;
      background: none;
      padding: 0.75rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 100px;
    }
    .image-overlay h3 {
      color: var(--primary-color);
      margin-bottom: 0.35rem;
      font-size: 1.2rem;
      text-shadow: none;
    }
    .image-overlay p {
      color: #fff;
      font-size: 0.9rem;
    }
    footer .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
    }
    .testimonials-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      padding: 1rem;
    }
    .testimonial-card {
      padding: 1.5rem;
    }
    .location-features ul {
      grid-template-columns: 1fr;
    }
    .form-container {
      padding: 1rem;
    }
    .mobile-menu-btn {
      display: block;
      margin-left: 1rem;
      z-index: 100;
    }
    .nav-left {
      position: relative;
      justify-content: flex-start;
      width: 100%;
      align-items: center;
    }
    .logo {
      margin: 0 auto;
      height: 35px;
    }
    .nav-right {
      gap: 0.5rem;
    }
    .whatsapp-btn {
      width: 35px;
      height: 35px;
    }
    .whatsapp-btn i {
      font-size: 1.2rem;
    }
    .desktop-lang {
      display: none;
    }
    .mobile-menu {
      display: block;
    }
    header nav {
      padding: 0 1rem;
      height: 100%;
    }
    .mobile-only {
      display: block;
      order: 1;
    }
    .nav-left {
      order: 2;
      flex: 1;
      justify-content: center;
    }
    .nav-right {
      order: 3;
    }
    footer .footer-bottom-content {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
      margin-left: 0;
    }
    footer .legal-links {
      flex-direction: column;
      gap: 0.75rem;
      align-items: center;
      justify-content: center;
    }
    footer .legal-content {
      padding: 2rem 0;
    }
    footer .legal-section h2 {
      font-size: 1.3rem;
    }
    .whatsapp-float {
      width: 50px;
      height: 50px;
      bottom: 20px;
      right: 20px;
      font-size: 25px;
    }
    .modal-content {
      margin: 30% auto;
      width: 95%;
      padding: 1.5rem;
    }
  }
  
  /* Ajustes para pantallas medianas (máximo 992px) */
  @media (max-width: 992px) {
    footer .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    footer .footer-section.social-media {
      grid-column: span 2;
      text-align: center;
    }
    footer .social-links {
      justify-content: center;
    }
  }
  
  /* ==================================================
     ACCESIBILIDAD Y REDUCCIÓN DE MOTION
     ================================================== */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation: none !important;
      transition: none !important;
    }
  }
  
  /* ==================================================
     MOBILE TOUCH CONTROLS
     ================================================== */
  @media (max-width: 768px) {
    html {
      touch-action: manipulation; /* Permite zoom pero previene comportamientos táctiles no deseados */
    }
    
    * {
      -webkit-tap-highlight-color: transparent; /* Mejora la experiencia táctil en iOS */
    }
  }
  
  @media (max-width: 768px) {
    footer .footer-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
      padding: 0;
    }

    footer .footer-content {
      padding: 2rem 1rem;
      width: 100%;
      overflow-x: hidden;
    }

    footer .footer-section {
      margin-bottom: 1rem;
      padding: 0 1rem;
    }

    footer .footer-section.quick-links .footer-nav ul {
      flex-direction: column;
      gap: 0.5rem;
      width: 100%;
    }

    footer .footer-section.quick-links .footer-nav ul li {
      width: 100%;
    }

    footer .footer-section.quick-links .footer-nav ul li a {
      display: block;
      width: 100%;
      padding: 0.5rem 0;
    }

    footer .social-links {
      display: flex;
      gap: 2rem;
      justify-content: center;
      margin-top: 1rem;
      width: 100%;
    }

    footer .social-media {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    footer .social-links {
      display: flex;
      gap: 2rem;
      justify-content: center;
      margin-top: 1rem;
      width: 100%;
    }

    footer .social-link {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    footer h3 {
      margin-bottom: 1rem;
    }
  }
  
  @media (max-width: 768px) {
    footer .social-media {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      width: 100%;
    }

    footer .social-links {
      display: flex;
      gap: 2rem;
      justify-content: center;
      align-items: center;
      margin-top: 1rem;
      width: 100%;
      padding: 1rem 0;
    }

    footer .social-link {
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
  
  /* ==================================================
     COOKIE CONSENT BANNER
     ================================================== */
  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    z-index: 9999;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  }

  .cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .cookie-content h3 {
    margin: 0;
    font-size: 1.4rem;
  }

  .cookie-content p {
    margin: 0;
    font-size: 1rem;
  }

  .cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .cookie-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
  }

  .cookie-button.accept {
    background-color: var(--primary-color);
    color: var(--secondary-color);
  }

  .cookie-button.reject {
    background-color: #f8f9fa;
    color: #333;
  }

  .cookie-more {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: 0.9rem;
    align-self: center;
    margin-left: 10px;
  }

  @media (max-width: 768px) {
    .cookie-content {
      gap: 10px;
    }
    
    .cookie-buttons {
      flex-direction: column;
    }
    
    .cookie-more {
      margin-left: 0;
      margin-top: 10px;
    }
  }

  /* ==================================================
     PESTAÑA DE CONTACTO
     ================================================== */
  .contact-tab {
    position: fixed;
    top: 50%;
    right: 0px;
    transform: rotate(-90deg) translateY(-50%);
    transform-origin: right center;
    background-color: #FBBB40;
    color: white;
    padding: 12px 25px;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    z-index: 999;
    font-weight: 600;
    transition: background-color 0.3s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .contact-tab:hover {
    background-color: #e5a937;
  }
  
  .contact-tab i {
    transform: rotate(90deg);
    font-size: 1.2em;
  }
  
  /* Panel de contacto */
  .contact-panel {
    position: fixed;
    top: 81px;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: calc(100vh - 81px);
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 998;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    padding: 20px;
  }
  
  .contact-panel.active {
    right: 0;
  }
  
  .contact-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
  }
  
  .close-panel {
    background-color: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 24px;
    line-height: 24px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease;
  }
  
  .close-panel:hover {
    background-color: #e0e0e0;
    color: #000;
  }
  
  /* Estilos para móviles */
  @media (max-width: 768px) {
    .contact-panel {
      max-width: 100%;
      right: -100%;
      padding: 15px;
    }
    
    .contact-tab {
      padding: 10px 15px;
      font-size: 0.9em;
    }
    
    /* Reducir espaciados en formulario lateral para móvil */
    .contact-panel .form-group {
      margin-bottom: 12px !important;
    }
    
    .contact-panel .form-row {
      gap: 8px !important;
      margin-bottom: 8px !important;
    }
    
    .contact-panel .form-group input,
    .contact-panel .form-group select {
      padding: 10px 12px !important;
      font-size: 14px !important;
    }
    
    .contact-panel .privacy-consent-row {
      margin-bottom: 8px !important;
    }
    
    .contact-panel .privacy-summary-text {
      padding: 8px !important;
      font-size: 11px !important;
      margin-bottom: 8px !important;
    }
    
    .contact-panel .submit-group {
      margin-top: 10px !important;
    }
    
    .contact-tab i {
      font-size: 1em;
    }
  }