/* =============================== */
/* AJUSTES GENERALES */
/* =============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Fredoka", sans-serif;
    background: #fff7fb;
    color: #333;
}

h1, h2, h3 {
    font-weight: 700;
}

img {
    max-width: 100%;
}

/* =============================== */
/* NAVBAR */
/* =============================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    padding: 18px 0;
    box-shadow: 0 4px 12px #00000015;
    z-index: 1000;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: #ff4d6d;
    text-decoration: none;
}

.nav-links a {
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
    color: #444;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 3px;
    background: #ff4d6d;
    border-radius: 2px;
    transition: 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #ff4d6d;
}


.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 27px;
    height: 3px;
    margin: 5px;
    background: #444;
    border-radius: 5px;
}

/* BOTÓN WHATSAPP EN NAVBAR */
.nav-ws-btn {
    background: #ff4d6d;
    color: white !important;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.25s ease;
    text-decoration: none !important;
}

.nav-ws-btn:hover {
    background: #ff4d6d;
    transform: translateY(-2px);
    text-decoration: none !important;
}

.nav-ws-btn:hover::after {
    display: none !important;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}


/* MOBILE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        width: 100%;
        position: absolute;
        top: 75px;
        left: 0;
        padding: 20px 0;
        box-shadow: 0 4px 12px #00000025;
    }

    .logo img {
        height: 40px;
    }
    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .nav-ws-btn {
        display: flex;
        justify-content: center;
        width: 50%;
        margin: 10px auto;
        font-size: 15px;
        padding: 8px 10px; 
    }
}


/* =============================== */
/* CONTACTO */
/* =============================== */
.contacto-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 120px auto 60px auto;
    text-align: center;
}

.contacto-titulo {
    font-size: 40px;
    color: #ff4d6d;
    margin-bottom: 10px;
}

.contacto-sub {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

/* ------------------------------- */
/* FORM + MAPA */
/* ------------------------------- */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 50px;
}

.contacto-form-title {
    text-align: left;
    color: #6a00f4;
    font-size: 24px;
    margin-bottom: 15px;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto-form input,
.contacto-form textarea {
    padding: 13px 15px;
    border-radius: 12px;
    border: 2px solid #ddd;
    font-size: 16px;
    background: #fff;
}

.contacto-form textarea {
    height: 120px;
    resize: none;
}

.btn-form {
    padding: 14px;
    background: #6a00f4;
    color: white;
    font-size: 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: 0.25s;
}

.btn-form:hover {
    background: #5800c0;
    transform: translateY(-2px);
}

.contacto-mapa iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 4px 12px #00000020;
}

/* ------------------------------- */
/* INFO DE CONTACTO (4 columnas) */
/* ------------------------------- */
.contacto-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
    text-align: center;
}

.info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 12px #00000015;
    font-size: 17px;
    transition: 0.25s;
}

.info-box i {
    font-size: 28px;
    color: #6a00f4;
    margin-bottom: 8px;
}

.info-box:hover {
    transform: translateY(-4px);
    background: #f7f0ff;
}

/* ------------------------------- */
/* MOBILE */
/* ------------------------------- */
@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .contacto-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contacto-wrapper {
        margin-top: 140px;
    }
}

@media (max-width: 480px) {
    .contacto-info-grid {
        grid-template-columns: 1fr;
    }
}




/* =============================== */
/* CTA FINAL */
/* =============================== */
.cta-final {
    position: relative;
    height: 50vh;
    background: url('../media/cta.jpg') center/cover no-repeat fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
}

.cta-content p {
    font-size: 20px;
    margin: 10px 0 20px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background: #1ebe5d;
    transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 768px) {
    .cta-final {
        height: 40vh;
        background-attachment: scroll; /* Mejor soporte en iOS */
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-btn {
        font-size: 18px;
    }
}

/* =============================== */
/* FOOTER */
/* =============================== */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 25px 0;
    font-size: 16px;
}

.footer .creditos {
    margin-top: 5px;
    font-size: 15px;
    color: #cccccc;
}

.footer .creditos a {
    color: #ff4d6d;
    text-decoration: none;
}

.footer .creditos a:hover {
    text-decoration: underline;
}

.footer-top {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto 30px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    text-align: left;
}

.footer-logo {
    font-size: 24px;
    color: #ff4d6d;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-desc {
    color: #cccccc;
    line-height: 1.6;
    max-width: 350px;
}

.footer-right {
    text-align: left;
}

.footer-contact {
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-contact i {
    color: #ff4d6d;
    width: 20px;
    text-align: center;
}

.footer-contact:hover {
    color: #ffd93d;
    transform: translateX(4px);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: #555;
    margin: 25px 0;
}
.footer-logo img {
    height: 55px;
    width: auto;
    display: block;
    margin-bottom: 12px;
}

/* =============================== */
/* RESPONSIVE */
/* =============================== */
@media (max-width: 768px) {
    .footer-logo {
        text-align: center;
        width: 100%;
    }

    .footer-logo img {
        margin: auto;
        display: block;
    }
    

    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-right {
        text-align: center;
    }

    .footer-contact {
        justify-content: center;
    }
}


/* =============================== */
/* BURBUJA FLOTANTE WHATSAPP */
/* =============================== */
.ws-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 999;
    box-shadow: 0 6px 15px #00000040;
    transition: 0.3s ease;
    text-decoration: none !important;
}

.ws-float:hover {
    background: #1ebe5d;
    transform: scale(1.1);
}
