/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Typography */
.questrial {
    font-family: 'Questrial', Georgia, serif;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ea580c 0%, #fb923c 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-family: 'Questrial', Georgia, serif;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: #ffffff;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
    color: #000;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    text-decoration: none !important;
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ea580c 0%, #fb923c 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Questrial', Georgia, serif;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ea580c;
}

.cta-button {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
    color: #000;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, #dc2626 100%);
    transform: translateY(-2px);
}

/* Nuevo: Estilos para el botón de hamburguesa */
.menu-toggle {
    display: none;
    /* Oculto por defecto en escritorio */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #fbbf24;
    /* Color blanco para la barra */
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(135deg, #ea580c 0%, #fb923c 50%, #f97316 100%),
        url('https://images.unsplash.com/photo-1558618047-3c8c76ca7d13?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Questrial', Georgia, serif;
}

.hero-subtitle {
    display: block;
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e5e7eb;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.whatsapp-float {
    position: fixed;
    bottom: 10px;
    /* lo separa del borde inferior */
    right: 10px;
    /* lo separa del borde derecho */
    z-index: 1000;
}

.whatsapp-icon {
    width: 80px;
    height: 80px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.whatsapp-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp-icon:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 50%, #e5e7eb 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #6b7280 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.service-card p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #6b7280 100%);
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.about-text .section-title {
    text-align: left;
}

.about-description {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
}

.features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-content p {
    color: #d1d5db;
}

.about-footer {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-stats div {
    color: #d1d5db;
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ea580c 0%, #fb923c 50%, #f97316 100%);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 50%, #e5e7eb 100%);
}

.contact-content-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #6b7280 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-card {
    display: flex;
    flex-direction: column;
    /* el contenido se apila en columna */
    align-items: center;
    /* centra horizontal */
    text-align: center;
    /* centra el texto */
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.contact-details p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.contact-link {
    background: linear-gradient(135deg, #ea580c 0%, #fb923c 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
}

.contact-link:hover {
    color: #fbbf24;
}

.contact-text {
    color: white;
}


/* Payment Methods Section */
.payment-methods {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #4b5563 100%);
    color: white;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.payment-card {
    background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #6b7280 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.payment-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #ea580c 0%, #fb923c 50%, #f97316 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-main {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Questrial', Georgia, serif;
}

.footer-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

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

.social-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: white;
}

.social-link:hover {
    background-color: #fbbf24;
    color: #000;
}

.footer-services h3,
.footer-contact h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer-services li {
    margin-bottom: 0.5rem;
}

.footer-services a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-services a:hover {
    color: #fbbf24;
}

.footer-contact-item {
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.75;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content-simple {
        grid-template-columns: 1fr;
    }

    .payment-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        /* Mantenemos la barra de navegación fija */
    }

    .nav-content {
        justify-content: space-between;
        padding: 1rem 16px;
        /* Alinear el contenido */
    }

    .logo-text {
        display: none;
        /* Ocultamos el texto del logo para dejar más espacio */
    }

    /* Ocultamos los enlaces y el botón de llamada en móviles */
    .nav-links,
    .cta-button {
        display: none;
    }

    /* Mostramos el menú de hamburguesa */
    .menu-toggle {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1100;
    }

    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        /* grosor de cada barra */
        background-color: #ea580c;
        /* color naranja */
        display: block;
    }

    /* Cuando el menú está activo, lo mostramos como un menú colapsado */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1rem 0;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }

    .nav-links.active a:last-child {
        border-bottom: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        right: 1rem;
        bottom: 6rem;
    }

    .whatsapp-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-main {
        max-width: none;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .cta-button {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1rem 0;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }

    .nav-links.active a:last-child {
        border-bottom: none;
    }

    /* Logo texto en móviles */
    .logo-text {
        display: inline;
        color: #ea580c;
        /* naranja */
        font-size: 1rem;
    }
}