/**
 * Tarot Araceli — estilos principales
 */

:root {
    --black: #0e0714;
    --black-soft: #1a0d22;
    --gold: #d4b06a;
    --gold-light: #efd7a3;
    --magenta: #e23a86;
    --magenta-deep: #b81d66;
    --purple: #8b3db8;
    --cream: #f7eef4;
    --muted: #b8a0b0;
    --ink: #2a1524;
    --white: #ffffff;
    --whatsapp: #128c57;
    --shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
    --radius: 18px;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Nunito", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 20px;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--black);
    color: var(--cream);
    font-size: 1.15rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: 24px;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.02em;
}

a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

a:hover,
a:focus {
    color: var(--gold);
}

.container {
    width: min(1080px, 100% - 32px);
    margin-inline: auto;
}

/* Navigation */
#navigation {
    position: relative;
    background: rgba(14, 7, 20, 0.92);
    border-bottom: 1px solid rgba(212, 176, 106, 0.25);
    backdrop-filter: blur(10px);
}

#navigation.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
}

.nav-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-text:hover {
    color: var(--gold-light);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(212, 176, 106, 0.4);
    color: var(--gold);
    border-radius: 10px;
    width: 48px;
    height: 44px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-menu a {
    display: block;
    color: var(--cream);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
}

.main-menu a:hover {
    background: rgba(226, 58, 134, 0.16);
    color: var(--gold-light);
}

.main-menu .nav-call {
    background: var(--magenta);
    color: var(--white);
}

.main-menu .nav-call:hover {
    background: var(--magenta-deep);
    color: var(--white);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(14, 7, 20, 0.42) 0%, rgba(14, 7, 20, 0.38) 42%, rgba(14, 7, 20, 0.78) 100%),
        url(../img/hero-desktop.webp) center 28% / cover no-repeat;
    color: var(--white);
    overflow: hidden;
    padding: 72px 22px 80px;
}

.hero-glow {
    position: absolute;
    inset: -20% -10% auto;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(226, 58, 134, 0.22), transparent 65%);
    pointer-events: none;
    animation: glowPulse 4.5s ease-in-out infinite;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(820px, 100%);
    text-align: center;
}

.hero-eyebrow {
    display: inline-block;
    margin: 0 0 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(226, 58, 134, 0.18);
    border: 1px solid rgba(212, 176, 106, 0.45);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--gold-light);
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 4.8rem);
    margin: 16px 0 10px;
    line-height: 0.95;
    letter-spacing: 0.04em;
    color: var(--gold);
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.98);
}

.hero-lead {
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    margin: 0 auto 18px;
    max-width: 620px;
    color: rgba(247, 238, 244, 0.92);
    line-height: 1.5;
}

.hero-phone {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--white);
    margin-bottom: 16px;
    padding: 12px 26px;
    border: 2px solid var(--gold);
    border-radius: 999px;
    background: rgba(226, 58, 134, 0.22);
    backdrop-filter: blur(6px);
}

.hero-phone:hover {
    color: var(--white);
    background: rgba(226, 58, 134, 0.38);
    transform: translateY(-2px);
}

.hero-phone-label {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.9;
    font-weight: 700;
}

.hero-phone-number {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 5vw, 3.1rem);
    letter-spacing: 0.04em;
    line-height: 1.1;
    color: var(--gold-light);
}

.hero-meta {
    margin: 24px 0 0;
    font-size: 1rem;
    color: rgba(247, 238, 244, 0.82);
}

.scroll-down {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(212, 176, 106, 0.75);
    font-size: 2rem;
    animation: bounceSoft 2.2s ease-in-out infinite;
}

.scroll-down:hover {
    color: var(--gold);
}

/* Urgency banner */
.urgency-banner {
    background: linear-gradient(90deg, var(--magenta-deep), var(--magenta), var(--purple));
    padding: 16px 20px;
    text-align: center;
}

.urgency-banner p {
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--white);
}

.urgency-banner a {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 1.2em;
    margin-left: 6px;
    border-bottom: 1px solid rgba(239, 215, 163, 0.5);
}

.urgency-banner a:hover {
    color: var(--white);
}

/* Sections */
.services-section {
    padding: 80px 0 56px;
    background:
        radial-gradient(circle at top, rgba(139, 61, 184, 0.12), transparent 55%),
        var(--black-soft);
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    text-align: center;
    color: var(--gold);
    margin: 0 0 18px;
    line-height: 1.12;
}

.section-title-light {
    color: var(--white);
}

.section-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
    color: var(--muted);
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    line-height: 1.55;
}

.section-intro-light {
    color: rgba(247, 238, 244, 0.9);
}

/* Service blocks */
.service-block {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 36px;
    align-items: center;
    margin: 0 0 36px;
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    border: 1px solid rgba(212, 176, 106, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(226, 58, 134, 0.4);
}

.service-block-reverse {
    grid-template-columns: 1fr 220px;
}

.service-block-reverse .service-media {
    order: 2;
}

.service-block-reverse .service-body {
    order: 1;
}

.service-media img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(212, 176, 106, 0.45);
    display: block;
    margin: 0 auto;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    background: #1a0d22;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--magenta), var(--purple));
    color: var(--white);
    box-shadow: 0 10px 22px rgba(226, 58, 134, 0.35);
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-body h3 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: var(--gold-light);
    margin: 0 0 14px;
    line-height: 1.15;
}

.service-body > p {
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin: 0 0 16px;
    line-height: 1.55;
}

.service-body ul {
    margin: 0;
    padding: 0 0 0 1.25em;
    color: var(--cream);
}

.service-body li {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    margin-bottom: 8px;
    line-height: 1.45;
}

.service-body li::marker {
    color: var(--gold);
}

.service-link {
    display: inline-block;
    margin-top: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--magenta);
}

.service-link:hover {
    color: var(--gold-light);
    transform: translateX(3px);
}

/* Extra cards */
.extra-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.extra-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 176, 106, 0.15);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.extra-thumb {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(212, 176, 106, 0.4);
    margin-bottom: 16px;
    background: #1a0d22;
}

.extra-card h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.7rem);
    color: var(--gold-light);
    margin: 0 0 12px;
}

.extra-card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 1.05rem;
}

/* Trust band */
.trust-band {
    text-align: center;
    margin: 28px auto 20px;
    max-width: 760px;
    padding: 32px 24px;
    border-radius: 22px;
    background: rgba(139, 61, 184, 0.14);
    border: 1px solid rgba(212, 176, 106, 0.25);
}

.trust-lead {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.3rem) !important;
    color: var(--gold) !important;
    margin-bottom: 8px !important;
}

.trust-band p {
    margin: 0;
    color: var(--cream);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.trust-band p + p {
    margin-top: 10px;
    color: var(--muted);
}

/* How it works */
.how-section {
    background: var(--black);
    padding: 72px 0 64px;
    border-top: 1px solid rgba(212, 176, 106, 0.12);
    border-bottom: 1px solid rgba(212, 176, 106, 0.12);
}

.how-steps {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.how-steps li {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 26px 20px;
    text-align: center;
    border: 1px solid rgba(212, 176, 106, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-steps li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #a8841a);
    color: var(--black);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.how-steps h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    color: var(--gold-light);
    margin: 0 0 10px;
}

.how-steps p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(0.98rem, 1.8vw, 1.1rem);
    line-height: 1.45;
}

/* Contact */
.contact-section {
    color: var(--white);
}

.contact-panel {
    background:
        linear-gradient(180deg, rgba(14, 7, 20, 0.88), rgba(26, 13, 34, 0.82)),
        url(../img/contact-bg.webp) center / cover no-repeat;
    padding: 88px 0 72px;
}

.contact-phone-wrap {
    text-align: center;
    margin-bottom: 18px;
}

.contact-phone {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    color: var(--gold-light);
    letter-spacing: 0.03em;
    border-bottom: 2px solid rgba(212, 176, 106, 0.5);
    line-height: 1.2;
}

.contact-phone:hover {
    color: var(--white);
}

.contact-note {
    text-align: center;
    color: rgba(247, 238, 244, 0.85);
    font-size: 1.1rem;
    margin: 0 0 8px;
}

.payment-section {
    background: var(--black-soft);
    padding: 64px 0 72px;
}

.payment-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    margin-bottom: 28px;
}

.payment-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--gold);
    margin: 0 0 12px;
}

.payment-copy p {
    color: var(--muted);
    margin: 0 0 20px;
    font-size: 1.1rem;
}

.payment-logo {
    display: block;
    max-width: 200px;
    border-radius: 12px;
    background: var(--white);
    padding: 10px 14px;
}

.payment-photo img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(212, 176, 106, 0.45);
    box-shadow: var(--shadow);
}

.privacy-link {
    display: block;
    margin: 28px auto 0;
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 0.95rem;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
}

.privacy-link:hover {
    color: var(--gold);
}

/* CTAs */
.hero-ctas,
.cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 16px 30px;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-body);
    box-shadow: var(--shadow);
    min-width: 220px;
    cursor: pointer;
}

.btn-cta:hover,
.sticky-btn:hover {
    transform: translateY(-2px);
    opacity: 1;
    color: var(--white);
}

.btn-cta-phone,
.sticky-btn-phone {
    background: var(--magenta);
    color: var(--white);
}

.btn-cta-whatsapp,
.sticky-btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.sticky-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    bottom: 22px;
    right: 14px;
    z-index: 9999;
}

.sticky-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-body);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    padding: 14px 20px;
    color: var(--white);
}

.sticky-btn .icon {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    background: var(--black);
    border-top: 1px solid rgba(212, 176, 106, 0.15);
    padding: 28px 0 32px;
    text-align: center;
}

.footer-copy {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-logo {
    display: block;
    margin: 0 auto;
    opacity: 0.85;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.is-open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.modal-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: 85vh;
    overflow: auto;
    background: var(--cream);
    color: var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--black-soft);
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: var(--ink);
    padding: 0 4px;
}

.modal-body {
    padding: 20px 24px;
}

.modal-body p {
    margin: 0 0 14px;
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: justify;
}

.modal-footer {
    padding: 16px 24px 24px;
    text-align: center;
}

/* Motion */
.reveal,
.reveal-hero {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible,
.reveal-hero.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-hero:nth-child(1) { transition-delay: 0.05s; }
.reveal-hero:nth-child(2) { transition-delay: 0.12s; }
.reveal-hero:nth-child(3) { transition-delay: 0.2s; }
.reveal-hero:nth-child(4) { transition-delay: 0.28s; }
.reveal-hero:nth-child(5) { transition-delay: 0.36s; }
.reveal-hero:nth-child(6) { transition-delay: 0.44s; }
.reveal-hero:nth-child(7) { transition-delay: 0.52s; }

.pulse-cta {
    animation: ctaPulse 2.2s ease-in-out infinite;
}

.pulse-soft {
    animation: softPulse 2.8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.05); }
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 10px 24px rgba(226, 58, 134, 0.35); }
    50% { box-shadow: 0 12px 34px rgba(226, 58, 134, 0.55); transform: translateY(-1px) scale(1.02); }
}

@keyframes softPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 176, 106, 0.35); }
    50% { box-shadow: 0 0 0 12px rgba(212, 176, 106, 0); }
}

@keyframes bounceSoft {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal,
    .reveal-hero {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-glow,
    .scroll-down,
    .pulse-cta,
    .pulse-soft,
    .btn-cta,
    .sticky-btn {
        animation: none !important;
        transition: none !important;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .service-block,
    .service-block-reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 22px;
        padding: 28px 22px;
    }

    .service-block-reverse .service-media,
    .service-block-reverse .service-body {
        order: initial;
    }

    .service-body ul {
        display: inline-block;
        text-align: left;
    }

    .service-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .how-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .payment-logo {
        margin-inline: auto;
    }

    .payment-photo img {
        margin-inline: auto;
        display: block;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 18px;
    }

    .hero {
        background-color: var(--black);
        background-image:
            linear-gradient(
                180deg,
                rgba(14, 7, 20, 0.12) 0%,
                rgba(14, 7, 20, 0.35) 38%,
                rgba(14, 7, 20, 0.88) 72%,
                var(--black) 100%
            ),
            url(../img/hero-mobile.webp);
        background-size: cover, cover;
        background-position: center top, center top;
        background-repeat: no-repeat;
        align-items: flex-end;
        padding: 72px 18px 92px;
    }

    .hero-brand {
        font-size: clamp(2.6rem, 12vw, 3.4rem);
        margin-top: 0;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 72px;
        right: 12px;
        left: 12px;
        flex-direction: column;
        align-items: stretch;
        background: var(--black-soft);
        border: 1px solid rgba(212, 176, 106, 0.25);
        border-radius: 14px;
        padding: 12px;
        box-shadow: var(--shadow);
        z-index: 20;
    }

    .main-menu.is-open {
        display: flex;
    }

    #navigation {
        position: relative;
    }

    #navigation.nav-fixed {
        position: fixed;
    }

    .nav-inner {
        position: relative;
    }

    .hero-ctas .btn-cta,
    .cta-row .btn-cta {
        width: 100%;
        min-width: 0;
    }

    .sticky-cta {
        right: 10px;
        bottom: 12px;
    }

    body {
        padding-bottom: 108px;
    }

    .services-section {
        padding: 56px 0 40px;
    }

    .service-media img {
        width: 180px;
        height: 180px;
    }

    .extra-grid {
        grid-template-columns: 1fr;
    }

    .how-steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .how-section {
        padding: 56px 0 48px;
    }

    .contact-panel {
        padding: 64px 0 56px;
    }

    .payment-photo img {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 380px) {
    html {
        font-size: 17px;
    }

    .sticky-btn {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
}
