/* Variables */
:root {
    --primary-color: #FF8A00;
    --secondary-color: #0076FF;
    --dark-color: #1A1A2E;
    --light-color: #F7F7F9;
    --gray-color: #8A8A9B;
    --danger-color: #FF5252;
    --success-color: #4CAF50;
    --body-color: #FAFAFA;
    --text-color: #333340;
    --white: #ffffff;
    
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Outfit', sans-serif;
    
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius: 12px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--body-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--dark-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius);
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 138, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 118, 255, 0.3);
}

.btn-secondary:hover {
    background-color: var(--dark-color);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.3);
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    width: 220px;
}

.logo-svg {
    width: 100%;
    height: auto;
}

.logo-text {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 22px;
    fill: var(--dark-color);
    letter-spacing: 1px;
}

.sound-wave {
    animation: wave 2s infinite ease-in-out;
}

@keyframes wave {
    0%, 100% {
        d: path("M5,45 C10,35 30,30 40,40 C50,50 70,45 80,35 C90,25 110,30 120,40");
    }
    50% {
        d: path("M5,40 C15,50 30,35 40,35 C50,35 70,55 80,40 C90,30 110,35 120,35");
    }
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 1.2rem;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark-color);
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.8)), 
                url('esenario.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 1.5rem;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out;
    background: linear-gradient(90deg, #FF8A00, #FF5252);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(255, 138, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    animation: fadeIn 1.5s ease-out;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-buttons .btn {
    margin: 0;
}

.sound-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
}

.soundwave-svg {
    width: 100%;
    height: 100%;
}

.wave {
    stroke: var(--primary-color);
    stroke-width: 3;
    fill: none;
}

.wave1 {
    animation: wave1 3s infinite ease-in-out;
    opacity: 0.7;
}

.wave2 {
    animation: wave2 4s infinite ease-in-out;
    opacity: 0.5;
    stroke: var(--secondary-color);
}

.wave3 {
    animation: wave3 5s infinite ease-in-out;
    opacity: 0.3;
}

@keyframes wave1 {
    0%, 100% {
        d: path("M0,50 Q25,40 50,50 T100,50 T150,50 T200,50");
    }
    50% {
        d: path("M0,50 Q25,20 50,50 T100,50 T150,50 T200,50");
    }
}

@keyframes wave2 {
    0%, 100% {
        d: path("M0,50 Q25,30 50,50 T100,50 T150,50 T200,50");
    }
    50% {
        d: path("M0,50 Q25,60 50,50 T100,50 T150,50 T200,50");
    }
}

@keyframes wave3 {
    0%, 100% {
        d: path("M0,50 Q25,45 50,50 T100,50 T150,50 T200,50");
    }
    50% {
        d: path("M0,50 Q25,35 50,50 T100,50 T150,50 T200,50");
    }
}

/* Services Section */
.services {
    padding: 7rem 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--light-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    height: 10px;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--light-color), var(--white));
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--dark-color);
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.2rem;
}

.price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    background: -webkit-linear-gradient(var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Gallery Section */
.gallery {
    padding: 7rem 0;
    background-color: var(--light-color);
}

.swiper-container {
    width: 100%;
    padding-bottom: 60px;
}

.gallery-item {
    height: 350px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: var(--white);
    padding: 20px 15px 15px;
    font-size: 1rem;
    text-align: center;
    transform: translateY(0);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    background: linear-gradient(to top, rgba(255, 138, 0, 0.8) 0%, rgba(255, 138, 0, 0) 100%);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 25px;
    border-radius: 5px;
}

/* Testimonials Section */
.testimonials {
    padding: 7rem 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background-color: var(--light-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    padding: 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 120px;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(255, 138, 0, 0.1);
}

.testimonial-avatar {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.testimonial-content {
    flex: 1;
}

.testimonial-rating {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    display: flex;
    gap: 2px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

.testimonial-content h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.testimonial-event {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 7rem 0;
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info, .contact-form {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    padding: 3rem 2.5rem;
}

.contact-details {
    margin: 2.5rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.2rem;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-item:hover i {
    background-color: var(--primary-color);
    color: var(--white);
}

.social-links {
    display: flex;
    margin-bottom: 2.5rem;
    gap: 1rem;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.whatsapp-button a {
    display: inline-flex;
    align-items: center;
    background-color: #25d366;
    color: var(--white);
    padding: 1rem 1.8rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button a i {
    font-size: 1.6rem;
    margin-right: 0.8rem;
}

.whatsapp-button a:hover {
    background-color: #128c7e;
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(18, 140, 126, 0.3);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--dark-color);
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light-color);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.2);
}

/* Location Section */
.location {
    padding: 7rem 0;
    background-color: var(--white);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* FAQ Section */
.faq {
    padding: 7rem 0;
    background-color: var(--light-color);
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.faq-question {
    padding: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(255, 138, 0, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--dark-color);
    transition: var(--transition);
}

.faq-item.active .faq-question h3 {
    color: var(--primary-color);
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.8rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 0 1.8rem 1.8rem;
    max-height: 300px;
}

/* Chat Assistant Section */
.chat-assistant {
    padding: 7rem 0;
    background-color: var(--white);
}

.chat-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin: 0 auto;
    max-width: 1000px;
    transition: var(--transition);
}

.chat-container:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 99;
}

.floating-whatsapp a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #25d366;
    color: var(--white);
    font-size: 2.2rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.floating-whatsapp a:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
    color: var(--white);
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-size: 1.3rem;
}

.footer-links h4::after, .footer-contact h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--light-color);
    transition: var(--transition);
    display: block;
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.footer-links ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 1rem;
    color: var(--primary-color);
    width: 20px;
}

.footer-social .social-links {
    margin-top: 1.5rem;
}

.footer-social .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.footer-social .social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: var(--box-shadow);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.2rem 0;
    }
    
    .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}