/* Tipografía base */

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #111;
}

.btn-dude,
.btn-pro {
    text-decoration: none;
}

/* Encabezados */
h1 {
    font-size: 4rem;
    font-weight: 700;
}

h2 {
    font-size: 3.5rem;
    font-weight: 900;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.5rem;
    font-weight: 900;
}

p {
    font-size: 1.25rem;
    font-weight: 400;
}

/* Navbar */
.navbar-nav .nav-link {
    color: #9ca3af;
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
}

.navbar-nav .nav-link.active {
    color: #111827;
    font-weight: 600;
}

.navbar-nav .nav-link:hover {
    color: #1f2937;
}

/* Botones personalizados */
.btn-dude,
.btn-pro {
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-dude {
    background-color: #3B82F6;
    color: #fff;
}

.btn-dude:hover {
    background-color: #2563EB;
}

.btn-pro {
    background-color: #111827;
    color: #fff;
}

.btn-pro:hover {
    background-color: #1f2937;
}

/* Animación para efecto de flotar */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}


/* Hero section responsive */
/* ====== Media Queries para responsividad avanzada ====== */

/* Tablets: 768px o menos */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h5 {
        font-size: 1rem;
        font-weight: 900;
    }

    p {
        font-size: 1rem;
    }

    .hero-text,
    .hero-image {
        text-align: center;
    }

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

    .hero-buttons a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .hero-image img {
        max-width: 80%;
    }
}


.img-logo {
    height: 84px;
}


/* Sección Acerca de */
.acerca-de-section {
    background-color: #1a1a1a;
    color: white;
}

.acerca-img {
    max-width: 80%;
}

.acerca-texto h3 {
    font-size: 2rem;
}

.acerca-texto p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.acerca-lista li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
}


.faq-section {
    background-color: #f9f9f9;
}

.accordion-button {
    font-weight: 600;
    background-color: #fff;
    color: #111827;
}

.accordion-button:not(.collapsed) {
    background-color: #f1f1f1;
    box-shadow: none;
}

.accordion-body {
    font-size: 1rem;
    color: #444;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #ddd;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #ddd;
}


/* ===== Footer ===== */
.footer {
    background-color: #111827;
    color: white;
}

.footer-logo {
    height: 50px;
}

.footer-links .footer-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links .footer-link:hover {
    color: #ffffff;
}

/* Footer Responsive */
@media (max-width: 768px) {


    .footer {
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        margin-bottom: 1rem;
    }
}



/* Móviles pequeños: 576px o menos */
@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h5 {
        font-size: .95rem;
        font-weight: 900;
    }

    p {
        font-size: 0.95rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons a {
        width: 100%;
        max-width: none;
    }

    .navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

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