* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a2e;
    background-color: #faf5f0;
}

/* Header */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 80px;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo img {
    height: 70px;
    width: auto;
}

.logo span {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 0.5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.logo-name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a2e;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
    background-color: #faf5f0;
    padding: 80px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: 550px;
}

.hero-content {
    flex: 1;
    max-width: 520px;
}

.hero-tag {
    display: inline-block;
    background-color: #f5f5f0;
    color: #82814E;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.12;
    color: #1a1a2e;
    margin-bottom: 24px;
}

.hero-content p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.hero-highlight {
    display: inline-block;
    background-color: #dcfce7;
    color: #166534;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
}

.qr-text {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #82814E;
    color: #ffffff;
    padding: 16px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-whatsapp:hover {
    background-color: #6d6b42;
    transform: translateY(-2px);
}

.btn-services {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #82814E;
    border: 2px solid #82814E;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn-services:hover {
    background-color: #82814E;
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    max-width: 550px;
}

.hero-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Testimonios Slider */
.testimonios-slider {
    background-color: #82814E;
    padding: 50px 0 40px 0;
    overflow: hidden;
    position: relative;
}

.slider-header {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 20px;
}

.slider-header h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.google-rating i {
    font-size: 1.5rem;
    color: #ffffff;
}

.rating-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.rating-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

.testimonios-slider::before,
.testimonios-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonios-slider::before {
    left: 0;
    background: linear-gradient(to right, #82814E, transparent);
}

.testimonios-slider::after {
    right: 0;
    background: linear-gradient(to left, #82814E, transparent);
}

.slider-track {
    display: flex;
    gap: 30px;
    animation: scroll 60s linear infinite;
    width: max-content;
}

.slider-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonio-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
}

.testimonio-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.testimonio-avatar {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}

.testimonio-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonio-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.testimonio-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Trayectoria Section */
.trayectoria {
    padding: 100px 80px;
    background-color: #ffffff;
}

.trayectoria-header {
    margin-bottom: 60px;
    text-align: center;
}

.trayectoria-tag {
    color: #82814E;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.trayectoria-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    max-width: 700px;
    margin: 0 auto 24px auto;
    line-height: 1.3;
}

.blue-line {
    width: 80px;
    height: 4px;
    background-color: #dc2626;
    border-radius: 2px;
    margin: 0 auto;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #FAF5F0;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 32px;
    transition: box-shadow 0.3s, transform 0.3s;
    text-align: center;
}

.card:hover {
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.card-icon {
    width: 72px;
    height: 72px;
    background-color: #f1f5f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px auto;
}

.card-icon i {
    font-size: 1.8rem;
    color: #82814E;
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75;
}

/* QR Final Section */
.qr-final-section {
    background-color: #ffffff;
    padding: 60px 80px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.qr-final-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 32px;
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 80px;
    border-top: 1px solid #e2e8f0;
    background-color: #ffffff;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 36px;
}

.footer-logo span {
    font-weight: 600;
    color: #1a1a2e;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo .logo-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1a1a2e;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1px;
}

.footer-logo .logo-name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a2e;
    letter-spacing: 0.3px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.footer-info i {
    color: #dc2626;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* WhatsApp CTA Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    border: none;
    outline: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    text-decoration: none;
}

.whatsapp-float:focus {
    outline: none;
    text-decoration: none;
}

.whatsapp-float i {
    color: #ffffff;
    font-size: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    header, .hero, .trayectoria, footer {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 100%;
    }

    .cards-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .trayectoria {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px;
    }

    .logo img {
        height: 50px;
    }

    .logo span {
        font-size: 1.2rem;
    }

    .logo-title {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }

    .logo-name {
        font-size: 1.4rem;
    }

    .footer-logo .logo-title {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    .footer-logo .logo-name {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .trayectoria-header h2 {
        font-size: 1.8rem;
    }

    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .testimonio-card {
        min-width: 280px;
        max-width: 280px;
    }
}
