/* Identidad y componentes compartidos de MusicalMente */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --mm-ink: #111827;
    --mm-ink-soft: #1f2937;
    --mm-gold: #d1a65f;
    --mm-gold-strong: #9a6110;
    --mm-paper: #f8fafc;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--mm-paper);
    color: var(--mm-ink);
}

.color-principal { background-color: var(--mm-gold); }
.color-principal:hover { background-color: #c29345; }

a:focus-visible,
button:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 4px;
}

.sales-hero {
    min-height: 100svh;
    color: white;
    background:
        radial-gradient(circle at 78% 42%, rgba(209, 166, 95, .16), transparent 28rem),
        linear-gradient(135deg, #111827 0%, #0b1120 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(22rem, .92fr);
    align-items: center;
    gap: 4rem;
    padding: 2rem 0 4.5rem;
}

.hero-copy { max-width: 40rem; }
.hero-title { font-size: clamp(3rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
.hero-lead { max-width: 36rem; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.65; }
.hero-media { position: relative; display: flex; justify-content: center; }
.hero-portrait {
    width: min(100%, 29rem);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(209, 166, 95, .85);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .42);
}
.hero-mark {
    position: absolute;
    width: 7rem;
    right: 1rem;
    bottom: 1rem;
    border-radius: 1rem;
    border: 2px solid var(--mm-gold);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}

.primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    padding: .9rem 1.6rem;
    border-radius: 999px;
    background: var(--mm-gold);
    color: var(--mm-ink);
    font-weight: 800;
    box-shadow: 0 12px 32px rgba(209, 166, 95, .22);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.primary-cta:hover { transform: translateY(-2px); background: #c29345; box-shadow: 0 16px 38px rgba(209, 166, 95, .3); }

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}
.trust-row > div { padding-right: 1.25rem; }
.trust-row > div + div { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 1.25rem; }

.section-kicker { color: var(--mm-gold-strong); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-title { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.045em; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #e5e7eb; }
.benefit-item { padding: 2rem; }
.benefit-item + .benefit-item { border-left: 1px solid #e5e7eb; }
.benefit-number { color: var(--mm-gold-strong); font-weight: 800; font-size: .8rem; letter-spacing: .08em; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.course-card { background: white; border-radius: 1rem; overflow: hidden; border: 1px solid #e5e7eb; transition: transform .2s ease, box-shadow .2s ease; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(15, 23, 42, .1); }
.course-card img { width: 100%; height: 9rem; object-fit: cover; }
.course-card.is-upcoming { opacity: .76; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step { border-top: 2px solid var(--mm-gold); padding-top: 1.25rem; }

.payment-choice { display: grid; gap: .65rem; }
.payment-choice a { min-height: 3rem; display: flex; align-items: center; justify-content: center; }
.payment-secondary { border: 1px solid #d1d5db; color: #374151; background: white; }
.payment-secondary:hover { border-color: var(--mm-gold); }

.reveal { animation: reveal-up .65s ease both; }
.reveal-delay { animation: reveal-up .65s .12s ease both; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 767px) {
    .sales-hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; padding: 1rem 0 3rem; }
    .hero-copy { order: 1; text-align: center; }
    .hero-media { order: 2; }
    .hero-title { font-size: clamp(2.65rem, 13vw, 3.7rem); }
    .hero-lead { font-size: 1.05rem; line-height: 1.5; }
    .hero-portrait { width: min(72vw, 17rem); }
    .hero-mark { width: 4.5rem; right: calc(50% - 9rem); bottom: .25rem; }
    .trust-row { grid-template-columns: 1fr; text-align: left; gap: .7rem; margin-top: 1.6rem; padding-top: 1rem; }
    .trust-row > div { padding: 0; }
    .trust-row > div + div { border-left: 0; padding-left: 0; }
    .benefit-grid, .steps-grid { grid-template-columns: 1fr; }
    .benefit-item { padding: 1.5rem 0; }
    .benefit-item + .benefit-item { border-left: 0; border-top: 1px solid #e5e7eb; }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
    .course-card img { height: 6.5rem; }
}

@media (max-width: 420px) {
    .catalog-grid { grid-template-columns: 1fr; }
    .course-card { display: grid; grid-template-columns: 7.5rem 1fr; }
    .course-card img { height: 100%; min-height: 8.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
