/* ============================================================
   mari-masajes — Landing Page
   Paleta: azul sobrio (profesional) + verde WhatsApp (acento)
   ============================================================ */

/* Reset y variables */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #2c5282;
    --primary-dark: #1a365d;
    --primary-light: #4299e1;
    --accent: #25d366;
    --accent-dark: #1eb558;
    --bg-light: #f7fafc;
    --bg-alt: #eef3f8;
    --text-dark: #1a202c;
    --text-muted: #4a5568;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 16px rgba(26, 32, 44, 0.08);
    --shadow-lg: 0 10px 30px rgba(26, 32, 44, 0.14);
    --font-main: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --header-h: 68px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--primary);
}

.container {
    width: min(1100px, 100% - 2.5rem);
    margin-inline: auto;
}

.container--narrow {
    width: min(780px, 100% - 2.5rem);
}

/* ============ Botones ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--whatsapp {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
    background-color: var(--accent-dark);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.22);
}

.btn--outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 0.6rem 1.3rem;
    font-size: 0.95rem;
}

.btn--outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ============ Header ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 100;
    transition: box-shadow 0.2s ease;
}

.header--scrolled {
    box-shadow: var(--shadow-lg);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: lowercase;
}

.logo__text {
    letter-spacing: -0.01em;
}

/* Navegación */
.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    list-style: none;
}

.nav__link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav__link:hover {
    color: var(--primary);
}

.nav__cta {
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
}

/* Menú hamburguesa (solo móvil) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    height: 2.5px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ============ Hero ============ */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
    color: var(--white);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("../images/hero-bg.svg");
    background-size: cover;
    background-position: center;
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 54, 93, 0.78) 0%, rgba(26, 54, 93, 0.6) 100%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.hero__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(4px);
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.1rem;
    text-wrap: balance;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.8rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.hero__highlights {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.6rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
}

/* ============ Secciones generales ============ */
.section {
    padding: 4.5rem 0;
}

.section--alt {
    background-color: var(--bg-alt);
}

.section__kicker {
    color: var(--primary-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.section__title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.section__lead {
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 2.2rem;
}

/* ============ Beneficios ============ */
.section--benefits {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-alt) 100%);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.benefit {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.6rem 1.4rem;
    box-shadow: var(--shadow);
    border-bottom: 4px solid var(--accent);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.benefit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-alt);
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
}

.benefit__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.benefit__text {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.benefits__cta {
    margin-top: 2.5rem;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--primary-dark);
    border-radius: var(--radius);
    color: var(--white);
    display: grid;
    gap: 1.1rem;
    justify-items: center;
}

.benefits__cta p {
    font-size: 1.15rem;
    font-weight: 600;
}

/* ============ Cards de servicios ============ */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card__icon {
    font-size: 2rem;
    margin-bottom: 0.9rem;
}

.card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.card__duration {
    display: inline-block;
    background: var(--bg-alt);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.15rem 0.7rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
    align-self: flex-start;
}

.card__text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.card__price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ============ Sobre mí ============ */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about__media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3 / 4;
    max-height: 560px;
}

.about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about__content p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.about__list {
    list-style: none;
    margin-bottom: 1.8rem;
    display: grid;
    gap: 0.6rem;
}

.about__list li {
    padding-left: 0.4rem;
}

/* ============ Ubicación ============ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.info-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.info-card p,
.info-card ul {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.info-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

.schedule {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.schedule li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px dashed #cbd5e0;
    padding-bottom: 0.5rem;
}

.schedule span:last-child {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

/* ============ FAQ ============ */
.faq {
    display: grid;
    gap: 0.9rem;
}

.faq__item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    background: none;
    border: none;
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
}

.faq__icon {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.25s ease;
}

.faq__icon::before {
    width: 18px;
    height: 2px;
}

.faq__icon::after {
    width: 2px;
    height: 18px;
}

.faq__item.is-open .faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq__answer p {
    padding: 0 1.4rem 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============ Footer ============ */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding-top: 3.5rem;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer .logo__text {
    color: var(--white);
}

.footer__brand p {
    margin-top: 0.9rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer__col h3 {
    color: var(--white);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.9rem;
}

.footer__col ul {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    font-size: 0.92rem;
}

.footer__col a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer__col a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    padding: 1.2rem 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ============ Botón flotante WhatsApp ============ */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent);
    color: white;
    padding: 13px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    background-color: var(--accent-dark);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
        background: var(--white);
        padding: 1.5rem 1.25rem 1.8rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-130%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    }

    .nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
    }

    .nav__link {
        display: block;
        padding: 0.65rem 0.4rem;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--bg-alt);
    }

    .nav__cta {
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 16px;
        border-radius: 50%;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
        animation: none !important;
    }
}
