:root {
    --fucsia: #d81b60;
    --fucsia-hover: #c2185b;
    --fucsia-claro: #fde8f0;

    --texto: #2d2d2d;
    --texto-secundario: #666666;

    --blanco: #ffffff;
    --gris: #f7f8fa;
    --borde: #ececec;

    --sombra: 0 10px 30px rgba(0, 0, 0, 0.08);

    --radio: 18px;
    --transicion: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", sans-serif;
    color: var(--texto);
    background: var(--blanco);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ======================
   HEADER
====================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.92);

    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1rem 2rem;
}

.brand img {
    height: 46px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--texto);
    font-weight: 500;
    transition: var(--transicion);
}

.nav-links a:hover {
    color: var(--fucsia);
}

/* ======================
   HERO
====================== */

.hero {
    min-height: 90vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 4rem 2rem;

    background:
        radial-gradient(circle at top right,
            rgba(216, 27, 96, 0.10),
            transparent 35%),
        radial-gradient(circle at bottom left,
            rgba(216, 27, 96, 0.07),
            transparent 35%);
}

.hero-content {
    max-width: 820px;
}

.hero-logo {
    width: 180px;
    margin: 0 auto 2rem auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--texto-secundario);
    max-width: 700px;
    margin: auto;
}

.hero-actions {
    margin-top: 2.5rem;

    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 0.95rem 1.7rem;
    border-radius: 999px;
    font-weight: 600;
    transition: var(--transicion);
}

.btn-primary {
    background: var(--fucsia);
    color: white;
}

.btn-primary:hover {
    background: var(--fucsia-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid var(--fucsia);
    color: var(--fucsia);
}

.btn-secondary:hover {
    background: var(--fucsia);
    color: white;
}

/* ======================
   SECCIONES
====================== */

.section {
    max-width: 1200px;
    margin: auto;
    padding: 6rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title span {
    color: var(--fucsia);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.section-title h2 {
    margin-top: 0.8rem;
    font-size: 2.4rem;
}

.section-title p {
    margin-top: 1rem;
    color: var(--texto-secundario);
}

/* ======================
   CARDS
====================== */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border: 1px solid var(--borde);

    border-radius: var(--radio);

    padding: 2rem;

    transition: var(--transicion);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra);
}

.icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    color: var(--texto-secundario);
}

/* ======================
   ABOUT
====================== */

.about {
    background: var(--gris);
    border-radius: 30px;
}

.about-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.about-content span {
    color: var(--fucsia);
    font-weight: 700;
    text-transform: uppercase;
}

.about-content h2 {
    margin: 1rem 0;
    font-size: 2.5rem;
}

.about-content p {
    color: var(--texto-secundario);
    font-size: 1.1rem;
}

/* ======================
   CONTACTO
====================== */

.contact-box {
    max-width: 700px;
    margin: auto;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    background: white;
    border: 1px solid var(--borde);

    border-radius: 16px;

    padding: 1.2rem;

    text-align: center;
    font-weight: 600;

    transition: var(--transicion);
}

.contact-link:hover {
    border-color: var(--fucsia);
    color: var(--fucsia);
    transform: translateY(-3px);
}

/* ======================
   FOOTER
====================== */

.footer {
    margin-top: 4rem;
    padding: 3rem 2rem;

    background: #161616;
    color: white;

    text-align: center;
}

.footer img {
    height: 70px;
    margin: auto auto 1rem auto;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    margin: 1.5rem 0;

    display: flex;
    justify-content: center;
}

.footer-social a {
    width: 50px;
    height: 50px;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: var(--transicion);
}

.footer-social a:hover {
    background: var(--fucsia);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.footer small {
    display: block;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ======================
   WHATSAPP BUTTON
====================== */

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 1rem auto 0 auto;

    padding: 1rem 2rem;

    border-radius: 999px;

    background: #25D366;
    color: white;

    font-weight: 600;

    transition: var(--transicion);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}


/* ======================
   RESPONSIVE
====================== */

@media (max-width: 768px) {

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding: 5rem 1.5rem;
    }

    .hero-logo {
        width: 140px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

}

body {
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.loaded {
    opacity: 1;
}