/* =========================================================
   CONFIGURACIÓN GENERAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
}


/* =========================================================
   PORTADA / HERO
========================================================= */

.hero {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: white;
    padding: 70px 20px 60px;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-text {
    max-width: 800px;
}

.eyebrow {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #38bdf8;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 25px;
    color: #e2e8f0;
}

.hero-description {
    font-size: 18px;
    max-width: 700px;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.location {
    font-size: 16px;
    margin-bottom: 20px;
    color: #f8fafc;
}

.price {
    font-size: 21px;
    margin-bottom: 30px;
    color: #e2e8f0;
}

.price strong {
    font-size: 30px;
    color: #ffffff;
}

/* =========================================================
   ELEMENTOS COMERCIALES DE LA PORTADA
========================================================= */

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    padding: 8px 13px;
    border-radius: 20px;
    font-size: 14px;
}


/* =========================================================
   PRECIO
========================================================= */

.price-box {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 25px 0 30px;
}

.price-box span {
    color: #cbd5e1;
    font-size: 15px;
}

.price-box strong {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

.price-box small {
    color: #cbd5e1;
    font-size: 15px;
}


/* =========================================================
   CONFIANZA
========================================================= */

.hero-trust {
    color: #cbd5e1;
    font-size: 14px;
    margin-top: 18px;
}


/* =========================================================
   BOTONES
========================================================= */

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 25px;

    border-radius: 10px;

    font-size: 16px;
    font-weight: bold;

    transition: all 0.25s ease;
}

.btn-primary {
    background: #25d366;
    color: #ffffff;

    box-shadow:
        0 8px 25px rgba(37, 211, 102, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(37, 211, 102, 0.35);
}

.btn-secondary {
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.35);

    background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.10);

    transform: translateY(-3px);
}

/* =========================================================
   BOTÓN WHATSAPP
========================================================= */

.btn-whatsapp {
    display: inline-block;
    background: #25d366;
    color: white;
    padding: 16px 26px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   BOTONES DE LA PORTADA
========================================================= */

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 26px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.25s ease;
}

.btn-primary {
    background: #25d366;
    color: white;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.20);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.30);
}

.btn-secondary {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

/* =========================================================
   SOBRE MÍ
========================================================= */

.about {
    max-width: 1100px;
    margin: auto;
    padding: 90px 20px;

    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-content h2,
.section-heading h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 18px;
    font-size: 17px;
}

.section-label {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #2563eb;
    margin-bottom: 10px;
}


/* =========================================================
   MATERIAS
========================================================= */

.subjects {
    background: #f8fafc;
    padding: 90px 20px;
}

.section-heading {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.subjects-container {
    max-width: 1000px;
    margin: 50px auto 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.subject-card {
    background: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.subject-icon {
    font-size: 42px;
    margin-bottom: 10px;
}

.subject-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.subject-card ul {
    list-style: none;
}

.subject-card li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}


/* =========================================================
   BENEFICIOS
========================================================= */

.benefits {
    padding: 90px 20px;
}

.benefits-grid {
    max-width: 1000px;
    margin: 50px auto 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit {
    display: flex;
    gap: 15px;
    align-items: flex-start;

    background: #f8fafc;
    padding: 22px;
    border-radius: 12px;
}

.benefit span {
    color: #16a34a;
    font-size: 24px;
    font-weight: bold;
}


/* =========================================================
   CONTACTO
========================================================= */

.contact {
    background: #0f172a;
    color: white;
    padding: 90px 20px;
    text-align: center;
}

.contact-content {
    max-width: 700px;
    margin: auto;
}

.contact h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact p {
    font-size: 18px;
    margin-bottom: 30px;
}

.contact .section-label {
    color: #38bdf8;
}

.phone {
    margin-top: 25px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 30px 20px;
}

footer p {
    margin: 5px;
}


/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 60px;
    height: 60px;

    background: #25d366;
    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);

    z-index: 1000;

    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* =========================================================
   PREGUNTAS FRECUENTES
========================================================= */

.faq {
    background: #ffffff;
    padding: 90px 20px;
}

.faq-container {
    max-width: 850px;
    margin: 50px auto 0;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    background: #f8fafc;
    padding: 25px 30px;

    border-radius: 14px;
    border: 1px solid #e5e7eb;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
}


/* =========================================================
   PREGUNTAS FRECUENTES - CELULARES
========================================================= */

@media (max-width: 768px) {

    .faq {
        padding: 70px 20px;
    }

    .faq-container {
        margin-top: 35px;
    }

    .faq-item {
        padding: 22px 20px;
    }

    .faq-item h3 {
        font-size: 19px;
    }

    .faq-item p {
        font-size: 16px;
    }

}
/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .about {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }

    .about-image img {
        width: 240px;
        height: 300px;
    }
}


/* =========================================================
   CELULARES
========================================================= */

@media (max-width: 768px) {

    .hero {
        padding: 60px 20px 50px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .hero-description {
        font-size: 17px;
    }

    .btn-whatsapp {
        width: 100%;
        text-align: center;
    }

    .hero-tags {
    justify-content: center;
    }

    .price-box {
    justify-content: center;
    }

    .hero-buttons {
    flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .hero-trust {
        line-height: 1.8;
    }
    
    
    /* BOTONES DE LA PORTADA */

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }


    /* SOBRE MÍ */

    .about {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 70px 20px;
    }

    .about-image img {
        width: 240px;
        height: 300px;
    }


    /* MATERIAS */

    .subjects {
        padding: 70px 20px;
    }

    .subjects-container {
        grid-template-columns: 1fr;
        margin-top: 35px;
    }


    /* BENEFICIOS */

    .benefits {
        padding: 70px 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        margin-top: 35px;
    }


    /* TÍTULOS */

    .about-content h2,
    .section-heading h2,
    .contact h2 {
        font-size: 32px;
    }


    /* CONTACTO */

    .contact {
        padding: 70px 20px;
    }

}