@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* =========================
       TIPOGRAFÍA
    ========================= */
    --font-main: 'Outfit', sans-serif;

    /* =========================
       COLORES GENERALES
    ========================= */
    --white: #ffffff;

    /* Texto general */
    --text-main: #4f2e2d;
    --text-soft: #6f5a57;
    --text-muted: #a1847c;

    /* Acentos globales */
    --accent: #ee947f;
    --accent-hover: #df7d68;
    --accent-soft: #f6b09d;
    --accent-light: #f6c3b4;

    /* =========================
       HEADER
    ========================= */
    --header-bg: rgba(255, 250, 246, 0.94);
    --header-bg-strong: rgba(255, 251, 248, 0.96);
    --header-bg-soft: rgba(255, 246, 240, 0.92);
    --header-mobile-top: rgba(255, 250, 246, 0.98);
    --header-mobile-bottom: rgba(255, 244, 238, 0.96);
    --header-border: rgba(214, 190, 178, 0.22);

    /* =========================
       FOOTER
    ========================= */
    --footer-bg-top: #e8ddd7;
    --footer-bg-bottom: #d8c5bc;

    --footer-text-main: #4f2f31;
    --footer-text-soft: #6f5553;
    --footer-text-muted: #826865;

    --footer-accent: #ee9a85;
    --footer-accent-strong: #de7f67;

    --footer-border: rgba(95, 60, 58, 0.16);
    --footer-separator: rgba(214, 140, 118, 0.34);

    /* =========================
       HERO / HOME
    ========================= */
    --hero-bg-start: #fff7f1;
    --hero-bg-end: #fff1e8;

    --hero-text: #5b2d2c;
    --hero-text-soft: #7c4b49;
    --hero-text-muted: #8c6661;

    --hero-highlight: #d96c7c;
    --hero-stat: #c95f6f;

    /* Superficies suaves */
    --surface-light: #fffefd;
    --surface-soft: #fff6f0;
    --surface-soft-2: #fff5ee;
    --surface-card: rgba(255, 255, 255, 0.88);

    /* Bordes suaves */
    --border-soft: rgba(223, 193, 180, 0.45);
    --border-soft-2: rgba(227, 195, 183, 0.32);
    --border-accent-soft: rgba(238, 148, 127, 0.16);
    --border-accent: rgba(238, 148, 127, 0.3);

    /* =========================
       SOMBRAS
    ========================= */
    --shadow-soft: 0 8px 18px rgba(233, 197, 180, 0.16);
    --shadow-btn: 0 12px 24px rgba(233, 128, 112, 0.22);
    --shadow-header: 0 6px 18px rgba(224, 188, 170, 0.08);

    --shadow-card: 0 12px 28px rgba(196, 145, 126, 0.08);
    --shadow-card-hover: 0 18px 36px rgba(196, 145, 126, 0.14);

    /* =========================
       RADIOS
    ========================= */
    --radius-full: 999px;
    --radius-pill: 999px;
    --radius-card: 24px;
    --radius-card-sm: 20px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    margin: 0;
    padding-top: 100px;
}

/* =========================
   HEADER
========================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: linear-gradient(180deg, var(--header-bg-strong), var(--header-bg-soft));
    border-bottom: 1px solid var(--header-border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        var(--shadow-header);
}

.header-container,
.footer-container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.header-container {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* Brand */
.brand,
.footer-brand__link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand {
    flex-shrink: 0;
}

.brand__logo-wrap {
    width: 62px;
    height: 62px;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--white), #fff4ee);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 8px 18px rgba(221, 186, 170, 0.14);
}

.logo-img,
.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-img {
    border-radius: 50%;
}

.brand__text,
.footer-brand__text {
    display: flex;
    flex-direction: column;
}

.brand__text {
    line-height: 1;
}

.brand-name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

.brand-tagline {
    margin-top: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

/* Nav */
.main-nav,
.nav-list {
    display: flex;
    align-items: center;
}

.main-nav {
    gap: 34px;
}

.nav-list {
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    position: relative;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: color 0.28s ease, transform 0.28s ease;
}

.nav-link:hover {
    color: var(--text-main);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--accent), var(--accent-soft));
    transition: width 0.28s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Botón header */
.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: var(--white);
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        var(--shadow-btn);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.header-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent-hover), #f09a84);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 16px 28px rgba(233, 128, 112, 0.28);
}

/* Menú móvil */
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(200, 177, 166, 0.35);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 244, 238, 0.88));
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    box-shadow: var(--shadow-soft);
}

.menu-toggle span {
    width: 22px;
    height: 2.5px;
    border-radius: 10px;
    background: var(--text-main);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* =========================
   FOOTER
========================= */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 5px;
    padding: 64px 0 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 22%),
        linear-gradient(180deg, var(--footer-bg-top), var(--footer-bg-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 -1px 0 rgba(95, 60, 58, 0.04);
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.site-footer::before {
    width: 280px;
    height: 280px;
    left: -90px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(238, 154, 133, 0.14), transparent 65%);
}

.site-footer::after {
    width: 240px;
    height: 240px;
    right: -60px;
    top: -80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 65%);
}

.footer-container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--footer-separator);
}

/* Brand footer */
.footer-brand__link {
    display: inline-flex;
    margin-bottom: 16px;
}

.footer-brand__logo-wrap {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffaf7, #f3e7df);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 24px rgba(95, 60, 58, 0.08);
}

.footer-brand__text {
    gap: 4px;
}

.footer-brand__name {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--footer-text-main);
}

.footer-brand__tagline {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--footer-text-muted);
}

.footer-description {
    max-width: 380px;
    margin: 0;
    color: var(--footer-text-soft);
    font-size: 1rem;
    line-height: 1.7;
}

/* Títulos */
.footer-title {
    position: relative;
    display: inline-block;
    margin: 0 0 20px;
    color: var(--footer-text-main);
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 54px;
    height: 4px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--footer-accent-strong), var(--footer-accent));
    box-shadow: 0 2px 8px rgba(222, 127, 103, 0.22);
}

/* Links */
.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    display: inline-block;
    text-decoration: none;
    color: var(--footer-text-soft);
    font-size: 0.98rem;
    font-weight: 600;
    transition: color 0.22s ease, transform 0.22s ease;
}

.footer-links a:hover {
    color: var(--footer-text-main);
    transform: translateX(4px);
}

/* Bottom */
.footer-bottom {
    margin-top: 20px;
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-bottom p {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 10px;
    color: var(--footer-text-muted);
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.5;
}

.footer-bottom p::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 104%;
    height: 4px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--accent-light), #f4d7a0);
    opacity: 0.95;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
    .brand-name {
        font-size: 1.75rem;
    }

    .main-nav {
        gap: 22px;
    }

    .nav-list {
        gap: 24px;
    }
}

@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand__name {
        font-size: 1.6rem;
    }
}

@media (max-width: 880px) {
    .header-container {
        min-height: 84px;
    }

    .brand__logo-wrap {
        width: 54px;
        height: 54px;
    }

    .brand-name {
        font-size: 1.45rem;
    }

    .brand-tagline {
        font-size: 0.75rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1100;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        width: 100%;
        padding: 22px 5%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        background: linear-gradient(180deg, var(--header-mobile-top), var(--header-mobile-bottom));
        border-bottom: 1px solid var(--header-border);
        box-shadow: 0 18px 28px rgba(209, 180, 166, 0.12);
    }

    .main-nav.active {
        display: flex;
    }

    .nav-list {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .nav-link {
        font-size: 1rem;
    }

    .header-btn {
        width: 100%;
    }
}

@media (max-width: 620px) {
    .site-footer {
        margin-top: 60px;
        padding: 52px 0 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-bottom: 22px;
    }

    .footer-brand__logo-wrap {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .footer-brand__name {
        font-size: 1.35rem;
    }

    .footer-description {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .footer-title {
        font-size: 1.08rem;
    }

    .footer-links a {
        font-size: 0.95rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-bottom p::after {
        width: 92%;
    }
}

@media (max-width: 520px) {
    .header-container {
        width: 94%;
        gap: 14px;
    }

    .brand {
        gap: 10px;
    }

    .brand__logo-wrap {
        width: 48px;
        height: 48px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .brand-tagline {
        display: none;
    }
}

/*
   WhatsApp Float
*/

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #31c76a 0%, #22a954 100%);
    box-shadow:
        0 18px 30px rgba(34, 169, 84, 0.30),
        0 6px 14px rgba(34, 169, 84, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
    z-index: 9999;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
}

.whatsapp-float__icon {
    width: 100%;
    height: 100%;
    display: block;
    background: url("../assets/icons/whatsapp.png") center/100% no-repeat;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 62px;
        height: 62px;
        right: 16px;
        bottom: 16px;
    }
}