/* Referencia: bitacoras.mx. Familias, pesos y proporciones compartidos.
   Montserrat se sirve localmente; el texto utiliza el mismo stack de Bitácoras. */
:root {
    --font-heading: "Montserrat", "Segoe UI", Arial, sans-serif;
    --font-body: Inter, "DM Sans", "Segoe UI", Arial, sans-serif;
    --brand: #0d7773;
    --brand-dark: #075e5a;
    --ink: #102f2d;
    --text: #31504e;
    --line: #dce9e8;
    --soft: #eaf5f4;
}

body { font-family: var(--font-body); }
h1, h2, h3, h4, h5, h6, a, .button, .nav-toggle,
.start-card > strong, .price > strong, .preview-balance > strong {
    font-family: var(--font-heading);
}
h1, h2 { font-weight: 800; letter-spacing: -.045em; }
h3, h4, h5, h6 { font-weight: 750; }
.main-nav { font-size: .875rem; font-weight: 760; }
.button {
    min-height: 54px;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: .9375rem;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: 0 10px 24px rgba(7, 94, 90, .13);
}
.button:hover { background: var(--brand-dark); }
.button-outline {
    color: var(--ink);
    border-color: var(--line);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 22px rgba(20, 62, 59, .05);
}
.button-outline:hover { background: var(--soft); }
.button-small { min-height: 44px; padding: 11px 18px; font-size: .875rem; }

.hero {
    padding-block: clamp(72px, 8vw, 112px) clamp(66px, 7vw, 96px);
    background:
        radial-gradient(circle at 8% 12%, rgba(13, 119, 115, .14), transparent 29%),
        radial-gradient(circle at 92% 84%, rgba(12, 86, 173, .11), transparent 28%),
        linear-gradient(135deg, #f8fbfb 0%, #f3f8f7 48%, #fff 100%);
}
.hero-copy { min-width: 0; }
.hero-copy > .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    padding: 8px 13px;
    border: 1px solid rgba(13, 119, 115, .17);
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 8px 24px rgba(20, 62, 59, .06);
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .11em;
}
.hero-copy > .eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #20b8a8;
    box-shadow: 0 0 0 5px rgba(32, 184, 168, .12);
}
.hero-copy h1 {
    margin: 0;
    max-width: 100%;
    font-size: clamp(2.625rem, 5.2vw, 4.375rem);
    font-weight: 800;
    line-height: .99;
    letter-spacing: -.045em;
    overflow-wrap: break-word;
}
.hero-copy h1 em {
    position: relative;
    isolation: isolate;
    display: block;
    width: fit-content;
    max-width: 100%;
    color: var(--brand);
}
.hero-copy h1 em::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -2px;
    bottom: 1px;
    left: -2px;
    height: 10px;
    border-radius: 999px;
    background: rgba(55, 198, 183, .22);
    transform: rotate(-1deg);
}
.hero-lead {
    max-width: 620px;
    color: var(--text);
    font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
    font-weight: 450;
    line-height: 1.58;
}
.hero-copy > .hero-lead { margin: 26px 0 0; }
.hero-copy .hero-actions { gap: 13px; margin: 32px 0 22px; }
.hero-copy .hero-actions > .button { flex-basis: auto; max-width: none; }
.hero-copy .hero-actions > .text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: rgba(255, 255, 255, .82);
    font-size: .9375rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
}
.hero-copy .hero-actions > .text-link:hover { background: var(--soft); }
.editorial-intro h1 { font-weight: 800; line-height: 1.08; }
.article-intro h1 { line-height: 1.15; }
.article-body { font-size: 1.0625rem; line-height: 1.75; }
.blog-card, .article-cta, .calculation-card { border-radius: var(--radius); }

@media (max-width: 1024px) {
    .hero { padding-top: 78px; }
    .hero-copy h1 { font-size: clamp(2.5rem, 5.2vw, 3.625rem); }
}
@media (max-width: 820px) {
    .hero { padding-block: 64px 72px; }
    .hero-copy { max-width: 680px; margin-inline: auto; text-align: center; }
    .hero-copy h1 em, .hero-copy > .hero-lead { margin-inline: auto; }
    .hero-copy .hero-actions { justify-content: center; }
    .hero-proof { margin-inline: auto; }
}
@media (max-width: 560px) {
    .hero { padding-block: 52px 62px; }
    .hero-copy h1 { font-size: clamp(2.375rem, 12.5vw, 3.25rem); line-height: 1.02; }
    .hero-copy > .eyebrow { letter-spacing: .08em; }
    .hero-copy > .hero-lead { margin-top: 21px; font-size: 1.0625rem; }
    .hero-copy .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-copy .hero-actions > a { width: 100%; }
}
@media print {
    .hero { padding: 20px 0; background: white; }
    .button { box-shadow: none; }
}
