* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease; 
}

.header-sticky {
    position: fixed;
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    animation: fadeInDown 0.5s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;

    height: 80px;
    display: flex;
    align-items: center;
}

.logo span {
    color: #3498db;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    /*background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));*/
    background-size: cover;
    background-position: center;
    height: auto;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
    min-height: 80vh; /* Altura mínima para mantener impacto visual */
    margin-top: 80px; 
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    will-change: transform;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content {
    animation: fadeIn 1s ease-out, slideUp 0.8s ease-out;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.btn:hover {
    background-color: #2980b9;
     transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0,0,0,0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-title p {
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block; 
    text-decoration: none;
    color: inherit;
     position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52,152,219,0.1) 0%, rgba(52,152,219,0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.08);
}

.service-card i {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}


/* Services Pages */
.service-details {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #fdfdfd 0%, #f3f4f6 100%);
    position: relative;
    overflow: hidden;
}

.service-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1600585152220-90363fe7e115?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
    filter: blur(3px);
}

.details-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.description {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #e5e7eb;
}

.description:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.description h2 {
    font-size: 32px;
    color: #1f2937;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.description h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

.description h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #374151;
    position: relative;
    padding-left: 18px;
}

.description h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

.description ul {
    list-style: none;
    margin-top: 25px;
    padding: 0;
}

.description li {
    margin-bottom: 16px;
    padding-left: 34px;
    position: relative;
    line-height: 1.6;
    font-size: 16px;
    color: #4b5563;
}

.description li i {
    color: #3b82f6;
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 16px;
    background: rgba(59, 130, 246, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*Idiomas*/

/* Selector de idioma */
.language-switcher {
    position: relative;
    cursor: pointer;
    margin-left: 20px;
}

.language-switcher span {
    padding: 5px 10px;
    background: #f1f1f1;
    border-radius: 4px;
    font-weight: bold;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    width: 120px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.language-switcher:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
}

.language-dropdown li a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
}

.language-dropdown li a:hover {
    background: #3498db;
    color: #fff;
}


.logo-img {
    height: 100%; /* La imagen ocupará toda la altura del contenedor */
    width: auto; /* Mantiene la proporción */
    max-width: 180px; /* Controla el ancho máximo */
}

/* Efecto de onda en botones */
@keyframes wave {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.wave-effect {
    animation: wave 2s infinite;
}

/* Efecto de flotación para elementos importantes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Transiciones para inputs */
.contact-form input,
.contact-form textarea {
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.2);
    outline: none;
}

/* Efecto de carga para el calendario */
.calendar-loading {
    position: relative;
    min-height: 400px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/*Animations*/
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .details-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-cta {
        order: -1;
        margin-bottom: 40px;
    }
}

/* Why Choose Us */
/* Why Choose Us Section - Versión Corregida */
.why-us {
    padding: 80px 0;
    background-color: #f1f5f9;
    opacity: 1; /* Forzar visibilidad inicial */
    transform: none; /* Resetear transform */
}

.why-us .container {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* Animaciones solo para elementos internos */
.why-us[data-scroll] .section-title h2,
.why-us[data-scroll] .section-title p,
.why-us[data-scroll] .feature {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.why-us.animate {
    opacity: 1;
    transform: translateY(0);
}

.features {
    display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

/* Elimina cualquier otra definición contradictoria de .feature */
.why-us .feature.animate {
    opacity: 1;
    transform: translateY(0);
}

.why-us.animate .section-title h2,
.why-us.animate .section-title p,
.why-us.animate .feature {
    opacity: 1;
    transform: translateY(0);
}

/* Reset y estilos garantizados para las features */
#why-us .features {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 40px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#why-us .feature {
    background: white !important;
    padding: 30px !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
    visibility: visible !important;
    height: auto !important;
}

/* Eliminar cualquier efecto de animación que pueda estar ocultando las features */
#why-us .feature[data-scroll],
#why-us .feature.animate {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* Retrasos escalonados */
.why-us.animate .section-title h2 { transition-delay: 0.2s; }
.why-us.animate .section-title p { transition-delay: 0.3s; }
.why-us.animate .feature:nth-child(1) { transition-delay: 0.4s; }
.why-us.animate .feature:nth-child(2) { transition-delay: 0.5s; }
.why-us.animate .feature:nth-child(3) { transition-delay: 0.6s; }
.why-us.animate .feature:nth-child(4) { transition-delay: 0.7s; }


/* Retrasos escalonados para las features */
.why-us .feature:nth-child(1) { transition-delay: 0.3s; }
.why-us .feature:nth-child(2) { transition-delay: 0.5s; }
.why-us .feature:nth-child(3) { transition-delay: 0.7s; }
.why-us .feature:nth-child(4) { transition-delay: 0.9s; }

/* Asegurar que los títulos sean visibles */
.why-us .section-title h2,
.why-us .section-title p {
    opacity: 1 !important;
    transform: none !important;
}



.feature h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Contact Section */



/* Estilos para las opciones de contacto */
.contact-options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-option {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
}

.option-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.option-header i {
    font-size: 28px;
    margin-right: 15px;
    color: #3498db;
}

.whatsapp-option .option-header i {
    color: #25D366; /* Color verde de WhatsApp */
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.whatsapp-info {
    text-align: center;
}

.whatsapp-btn {
    background-color: #25D366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

.whatsapp-btn i {
    margin-right: 10px;
    font-size: 20px;
}

.response-time {
    color: #666;
    font-size: 14px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item i {
    color: #3498db;
    font-size: 20px;
}




/* Booking Section */
.booking {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.booking-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

#calendar {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.booking-details {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.selected-date {
    margin: 20px 0;
    font-size: 18px;
    text-align: center;
}

.selected-date i {
    margin-right: 10px;
    color: #3498db;
}

#confirm-booking {
    width: 100%;
    padding: 12px;
    background-color: #25D366;
    border: none;
    margin-top: 20px;
}

#confirm-booking:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Estilos del calendario */
.fc-day-disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.fc-day-selected {
    background-color: #e3f2fd !important;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-options-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}



.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    color: #3498db;
    margin-right: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form textarea {
    height: 150px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: #fff;
    font-size: 20px;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #3498db;
}

/* Páginas de servicios 
.service-details {
    padding: 80px 0;
    background: #fff;
}
    */

.service-details .container {
    max-width: 800px;
}

.service-details h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.service-details ul {
    margin-bottom: 40px;
}

.service-details li {
    margin-bottom: 10px;
    list-style-position: inside;
}

.price span {
    color: #3498db;
    font-size: 28px;
}


/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-card {
    animation: fadeIn 0.8s ease-out, slideUp 0.8s ease-out;
}

.animated-calendar {
    animation: fadeIn 1s ease-out;
}


/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #fff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
}

/* Efectos adicionales para las animaciones */
.service-card {
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(30px);
    opacity: 0;
}

.feature {
    transition: all 0.6s ease-out;
    opacity: 0;
    transform: translateY(20px);
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}


/* Imágenes con efecto de escala */
img:not(.logo-img) {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transform-origin: center;
}

/* Transición para elementos internos */
.section-title h2,
.section-title p {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    opacity: 0;
    transform: translateY(20px);
}

/* Efecto de resaltado para secciones */
section {
    transition: box-shadow 0.5s ease-out;
}



/* Animaciones al hacer scroll */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-scroll].animate {
    opacity: 1;
    transform: translateY(0);
}

/* Retrasos para cada sección */
.hero[data-scroll] {
    transition-delay: 0.1s;
}

.services[data-scroll] {
    transition-delay: 0.2s;
}

.why-us[data-scroll] {
    transition-delay: 0.3s;
}

.booking[data-scroll] {
    transition-delay: 0.4s;
}

.contact[data-scroll] {
    transition-delay: 0.5s;
}

/* Efecto adicional para las tarjetas de servicios */
.service-card {
    transition: all 0.6s ease-out;
    transform: translateY(20px);
    opacity: 0;
}

.service-card.animate {
    transform: translateY(0);
    opacity: 1;
}


/* Reset garantizado para títulos */
.section-title,
.section-title * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    display: block !important;
}

/* Estilos específicos para títulos */
.section-title h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.section-title p {
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
}

/* Reset para títulos en booking y contact */
#booking .section-title,
#contact .section-title {
    display: block !important;
    opacity: 1 !important;
}

#booking .section-title h2,
#booking .section-title p,
#contact .section-title h2,
#contact .section-title p {
    opacity: 1 !important;
    transform: none !important;
}



.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  text-align: left;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 15px;
}

.modal-content label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

.modal-content input {
  width: 100%;
  padding: 8px 10px;
  margin-top: 5px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.modal-buttons {
  margin-top: 20px;
  text-align: right;
}

.modal-buttons button {
  padding: 8px 16px;
  margin-left: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

#cancelBtn {
  background-color: #bbb;
  color: #333;
}

#submitBtn {
  background-color: #25d366;
  color: white;
}

/* Retrasos escalonados para las tarjetas */
.service-card:nth-child(1) { transition-delay: 0.3s; }
.service-card:nth-child(2) { transition-delay: 0.4s; }
.service-card:nth-child(3) { transition-delay: 0.5s; }
.service-card:nth-child(4) { transition-delay: 0.6s; }
.service-card:nth-child(5) { transition-delay: 0.7s; }
.service-card:nth-child(6) { transition-delay: 0.8s; }