:root {
    --navy: #021E34;
    --navy-soft: #0a1929;
    --navy-panel: #0b1d2f;
    --slate: #1a3352;
    --text: #c8d1de;
    --text-muted: #7589a5;
    --text-dim: #3a4f6e;
    --cream: #f0ece6;
    --cream-soft: #d9d4cc;
    --gold: #d4a843;
    --gold-light: #e8c46a;
    --red: #ef6b6b;
    --font-body: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 16px;
}

/* Respeta prefers-reduced-motion (a11y + perf) */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    background: var(--navy);
    background-image:
        radial-gradient(ellipse at top, rgba(212, 168, 67, 0.07), transparent 60%),
        radial-gradient(ellipse at bottom, rgba(26, 51, 82, 0.45), transparent 70%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Default link color: dorado en toda la web salvo overrides específicos */
a {
    color: var(--gold);
    text-decoration-color: rgba(212, 168, 67, 0.4);
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.letter {
    max-width: 720px;
    margin: 0 auto;
    padding: 72px 28px 60px;
}

/* ----- Masthead ----- */
.masthead {
    text-align: center;
    margin-bottom: 64px;
    padding-bottom: 28px;
    position: relative;
}

.masthead::after {
    content: "";
    display: block;
    width: 56px;
    height: 1px;
    background: var(--gold);
    margin: 28px auto 0;
}

.kicker {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin: 0 0 10px;
    color: var(--cream);
    padding-left: 0.18em;
}

.dateline {
    margin: 0;
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

/* ----- Hero ----- */
.hero {
    text-align: center;
    margin-bottom: 64px;
}

article h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.015em;
    margin: 0 auto 36px;
    color: var(--cream);
    max-width: 640px;
}

article h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold-light);
}

.hero .lead {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.lead {
    font-family: var(--font-body);
    font-size: 21px;
    color: var(--cream-soft);
    margin: 0 0 18px;
    line-height: 1.55;
    font-weight: 300;
}

.lead:last-of-type {
    margin-bottom: 36px;
}

/* ----- Ornament ----- */
.ornament {
    text-align: center;
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 1em;
    margin: 56px 0;
    opacity: 0.7;
}

/* ----- Block sections ----- */
.block {
    margin: 0 0 72px;
}

.block-num {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.32em;
    color: var(--gold);
    margin: 0 0 16px;
    text-transform: uppercase;
    position: relative;
    padding-left: 32px;
}

.block-num::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 1px;
    background: var(--gold);
}

article h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.6vw, 38px);
    font-weight: 700;
    margin: 0 0 28px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--cream);
}

article h2 em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold-light);
}

article p {
    margin: 0 0 22px;
    color: var(--text);
    font-weight: 300;
}

article p strong {
    font-weight: 600;
    color: var(--gold);
}

article p em {
    font-style: italic;
    color: var(--cream-soft);
}

.closing-note {
    margin-top: 32px !important;
    padding: 22px 24px;
    border-left: 2px solid var(--gold);
    color: var(--cream-soft);
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    background: rgba(212, 168, 67, 0.04);
}

/* ----- Goals (numbered list) ----- */
.goals {
    list-style: none;
    counter-reset: goal;
    padding: 0;
    margin: 0 0 8px;
    border-top: 1px solid rgba(212, 168, 67, 0.18);
}

.goals li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 22px 0;
    border-bottom: 1px solid rgba(212, 168, 67, 0.18);
    color: var(--text);
    font-weight: 300;
}

.goal-num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    font-size: 22px;
    line-height: 1.5;
    flex-shrink: 0;
    min-width: 32px;
}

.goal-text {
    flex: 1;
    line-height: 1.65;
}

/* ----- Form panel ----- */
.form-panel {
    margin: 36px 0 8px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.form-panel--mid {
    margin: 32px 0 56px;
}

.form-panel--final {
    margin-top: 36px;
}

.form-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 14px;
    text-align: center;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.email-form input[type="email"] {
    font-family: var(--font-body);
    font-size: 17px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--cream);
    border: 1px solid rgba(212, 168, 67, 0.38);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    width: 100%;
    font-weight: 400;
}

.email-form input[type="email"]::placeholder {
    color: var(--text-dim);
}

.email-form input[type="email"]:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.email-form input[type="email"].error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(239, 107, 107, 0.18);
}

.email-form button {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 17px 28px;
    background: var(--gold);
    color: var(--navy);
    border: 1px solid var(--gold);
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.05s ease, box-shadow 0.2s ease;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.email-form button:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 8px 24px rgba(212, 168, 67, 0.28);
}

.email-form button:active {
    transform: translateY(1px);
}

.email-form button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.form-note {
    font-size: 12px;
    color: var(--text-muted);
    margin: 14px 0 0;
    text-align: center;
    letter-spacing: 0.06em;
    font-weight: 400;
}

/* ----- Form note links ----- */
.form-note a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(212, 168, 67, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.form-note a:hover {
    text-decoration-color: var(--gold);
}

/* ----- Consent checkbox ----- */
.consent-check {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 12px 0 4px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted);
    user-select: none;
    text-align: left;
}

.consent-check input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    padding: 0;
    margin: 0;
}

.consent-box {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 0;
    border: 1px solid rgba(212, 168, 67, 0.45);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}

.consent-check .consent-text {
    flex: 1;
    padding-top: 0;
}

.consent-check input[type="checkbox"]:checked + .consent-box {
    background: var(--gold);
    border-color: var(--gold);
}

.consent-check input[type="checkbox"]:checked + .consent-box::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 0;
    width: 5px;
    height: 10px;
    border: solid var(--navy);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-check input[type="checkbox"]:focus-visible + .consent-box {
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.25);
}

.consent-check.error .consent-box {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(239, 107, 107, 0.18);
    animation: consentShake 0.35s ease;
}

.consent-check .consent-text a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(212, 168, 67, 0.4);
    text-underline-offset: 3px;
}

.consent-check .consent-text a:hover {
    color: var(--gold-light);
}

@keyframes consentShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* ----- Legal page ----- */
.legal {
    max-width: 640px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
}

.legal h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
    color: var(--cream);
    text-align: center;
}

.legal h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin: 48px 0 16px;
    color: var(--cream);
    letter-spacing: -0.005em;
}

.legal p {
    margin: 0 0 18px;
    color: var(--text);
    font-weight: 300;
}

.legal p strong,
.legal li strong {
    color: var(--cream);
    font-weight: 600;
}

.legal a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(212, 168, 67, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.legal a:hover {
    text-decoration-color: var(--gold);
    color: var(--gold-light);
}

.legal .updated {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.legal-data {
    margin: 0 0 18px;
    padding: 22px 24px;
    background: rgba(212, 168, 67, 0.04);
    border-left: 2px solid var(--gold);
    display: grid;
    grid-template-columns: minmax(140px, auto) 1fr;
    gap: 8px 20px;
    font-size: 16px;
}

.legal-data dt {
    color: var(--gold);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    align-self: center;
}

.legal-data dd {
    margin: 0;
    color: var(--text);
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.legal-list li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: var(--text);
}

.legal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 12px;
    height: 1px;
    background: var(--gold);
}

.back-link {
    margin-top: 56px !important;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.04em;
}

.kicker-link {
    color: inherit;
    text-decoration: none;
}

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

.footer-links {
    margin: 8px 0 0;
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 168, 67, 0.35);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

@media (max-width: 520px) {
    .legal h2 {
        font-size: 20px;
        margin-top: 40px;
    }
    .legal-data {
        grid-template-columns: 1fr;
        padding: 18px 20px;
    }
    .legal-data dt {
        margin-top: 6px;
    }
}

/* ----- Colophon ----- */
.colophon {
    margin-top: 96px;
    padding-top: 28px;
    border-top: 1px solid rgba(212, 168, 67, 0.18);
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.colophon p {
    margin: 4px 0;
}

.disclaimer {
    font-size: 12px;
    font-style: italic;
    color: var(--text-dim);
}

/* ----- Toast ----- */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--navy-soft);
    color: var(--cream);
    border: 1px solid var(--gold);
    padding: 14px 22px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 90vw;
    text-align: center;
    z-index: 50;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.error {
    border-color: var(--red);
    color: var(--red);
}

/* ----- Blog index ----- */
.post-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 24px;
}

.post-item {
    padding: 28px 0;
    border-top: 1px solid rgba(212, 168, 67, 0.18);
}

.post-item:last-child {
    border-bottom: 1px solid rgba(212, 168, 67, 0.18);
}

.post-meta {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 10px;
}

.post-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.005em;
    margin: 0 0 14px;
    color: var(--cream);
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.post-title a:hover {
    color: var(--gold-light);
}

.post-excerpt {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    font-weight: 300;
    margin: 0;
}

/* ----- Article post ----- */
.post {
    max-width: 680px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.75;
}

.post-header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(212, 168, 67, 0.18);
}

.post-header .post-meta {
    margin-bottom: 18px;
}

.post-header h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.6vw, 46px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 0 0 24px;
    color: var(--cream);
}

.post-lead {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 1.55;
    color: var(--cream-soft);
    font-weight: 300;
    font-style: italic;
    margin: 0;
}

.post p {
    margin: 0 0 22px;
    color: var(--text);
    font-weight: 300;
}

.post p strong {
    color: var(--cream);
    font-weight: 600;
}

.post p em {
    color: var(--gold-light);
    font-style: italic;
}

.post h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.2vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    margin: 56px 0 20px;
    color: var(--cream);
}

.post h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 36px 0 14px;
    color: var(--cream-soft);
}

.post a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(212, 168, 67, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s ease, color 0.15s ease;
}

.post a:hover {
    color: var(--gold-light);
    text-decoration-color: var(--gold);
}

.post .legal-list li {
    font-size: 17px;
}

.post-signoff {
    margin-top: 56px;
    margin-bottom: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    color: var(--gold);
    font-size: 22px;
}

/* CTA inline al final del post */
.post-cta {
    margin: 56px 0 32px;
    padding: 32px 32px 28px;
    background: rgba(212, 168, 67, 0.06);
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: 4px;
}

.post-cta-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 10px;
}

.post-cta-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--cream);
    margin: 0 0 12px;
    line-height: 1.25;
}

.post-cta-body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text);
    font-weight: 300;
    margin: 0 0 20px;
}

.post-cta-btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--gold);
    color: var(--navy) !important;
    text-decoration: none !important;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.post-cta-btn:hover {
    background: var(--gold-light);
}

@media (max-width: 520px) {
    .post-cta {
        padding: 26px 22px 22px;
    }
    .post h2 {
        margin-top: 44px;
    }
}

/* ----- Modal ----- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: modalFadeIn 0.25s ease;
}

.modal[hidden] {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 16, 32, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-card {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: var(--navy-soft);
    border: 1px solid rgba(212, 168, 67, 0.4);
    padding: 48px 40px 40px;
    text-align: left;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: transparent;
    border: 0;
    color: var(--text-muted);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 10px;
    transition: color 0.15s ease;
    font-family: inherit;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 14px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--cream);
    margin: 0 0 20px;
}

.modal-body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    font-weight: 300;
    margin: 0 0 14px;
}

.modal-body strong {
    color: var(--gold);
    font-weight: 600;
}

.modal-body a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(212, 168, 67, 0.4);
    text-underline-offset: 3px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.modal-body a:hover {
    color: var(--gold-light);
    text-decoration-color: var(--gold);
}

.modal-cta {
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 14px 28px;
    background: var(--gold);
    color: var(--navy);
    border: 1px solid var(--gold);
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.modal-cta:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes modalSlideUp {
    from { transform: translateY(16px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

@media (max-width: 520px) {
    .modal-card {
        padding: 40px 26px 28px;
    }
}

/* ----- Responsive ----- */
@media (min-width: 600px) {
    .email-form {
        flex-direction: row;
    }
    .email-form input[type="email"] {
        flex: 1;
    }
    .email-form button {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (max-width: 520px) {
    body {
        font-size: 18px;
    }
    .letter {
        padding: 56px 22px 48px;
    }
    .masthead {
        margin-bottom: 48px;
    }
    .hero {
        margin-bottom: 48px;
    }
    .lead {
        font-size: 19px;
    }
    .block {
        margin-bottom: 56px;
    }
    .ornament {
        margin: 40px 0;
    }
    .form-panel {
        padding: 0;
    }
    .goals li {
        gap: 14px;
        padding: 18px 0;
    }
    .goal-num {
        font-size: 19px;
        min-width: 26px;
    }
    .closing-note {
        padding: 18px 20px;
        font-size: 17px;
    }
}

/* ============================================================
   Optimizaciones móvil + UX cross-device
   ============================================================ */

/* iOS: evita zoom automático al hacer focus en inputs (font ≥16px) */
@media (max-width: 768px) {
    .email-form input[type="email"],
    .admin-form input,
    .admin-form textarea,
    .admin-form select {
        font-size: 16px;
    }
}

/* Tap targets accesibles (mínimo 44×44 según WCAG / Apple HIG) */
.email-form button,
.modal-cta,
.modal-close,
.post-cta-btn,
.admin-form button {
    min-height: 44px;
}

.consent-check {
    min-height: 36px;
    padding: 4px 0;
    margin-top: 8px;
    margin-bottom: 0;
    align-items: center;
}

/* Sin hover en dispositivos táctiles → evita estados pegados */
@media (hover: none) {
    .email-form button:hover,
    .modal-cta:hover,
    .post-cta-btn:hover,
    .admin-form button:hover {
        background: var(--gold);
        border-color: var(--gold);
    }
    .footer-links a:hover {
        color: var(--gold);
        border-color: rgba(212, 168, 67, 0.35);
    }
}

/* Tablet (≤ 768px) */
@media (max-width: 768px) {
    .letter {
        max-width: 100%;
        padding: 56px 24px 48px;
    }
    .masthead {
        margin-bottom: 48px;
    }
    .hero {
        margin-bottom: 48px;
    }
    article h1 {
        font-size: clamp(32px, 7vw, 44px);
        margin-bottom: 28px;
    }
    .lead {
        font-size: 19px;
    }
    article h2 {
        font-size: clamp(24px, 5vw, 30px);
        margin-bottom: 22px;
    }
    .block {
        margin-bottom: 56px;
    }
    .ornament {
        margin: 44px 0;
    }
    .post {
        font-size: 17px;
    }
    .post-header h1 {
        font-size: clamp(28px, 6vw, 36px);
    }
    .post-lead {
        font-size: 18px;
    }
    .post h2 {
        font-size: clamp(22px, 4.5vw, 26px);
        margin-top: 44px;
    }
    .post h3 {
        font-size: 19px;
    }
    .post-cta {
        padding: 26px 22px 22px;
    }
    .post-cta-title {
        font-size: 20px;
    }
}

/* Móvil estándar (≤ 480px) */
@media (max-width: 480px) {
    body {
        font-size: 17px;
        line-height: 1.65;
    }
    .letter {
        padding: 40px 18px 36px;
    }
    .kicker {
        font-size: 24px;
    }
    .masthead {
        margin-bottom: 36px;
        padding-bottom: 22px;
    }
    .masthead::after {
        margin-top: 22px;
    }
    .hero {
        margin-bottom: 36px;
    }
    article h1 {
        font-size: 30px;
        margin-bottom: 22px;
        line-height: 1.1;
    }
    .lead {
        font-size: 17px;
        margin-bottom: 14px;
    }
    .lead:last-of-type {
        margin-bottom: 28px;
    }
    article h2 {
        font-size: 23px;
        margin-bottom: 18px;
    }
    article p {
        margin-bottom: 18px;
    }
    .block {
        margin-bottom: 44px;
    }
    .block-num {
        font-size: 11px;
        padding-left: 26px;
        margin-bottom: 12px;
    }
    .block-num::before {
        width: 18px;
    }
    .ornament {
        margin: 32px 0;
        font-size: 12px;
    }
    .form-eyebrow {
        font-size: 10px;
        letter-spacing: 0.28em;
    }
    .email-form input[type="email"] {
        padding: 14px 16px;
    }
    .email-form button {
        padding: 14px 20px;
        font-size: 12px;
        letter-spacing: 0.18em;
    }
    .form-note {
        font-size: 11px;
    }
    .consent-check {
        font-size: 12.5px;
        line-height: 1.4;
    }
    .closing-note {
        padding: 16px 18px;
        font-size: 16px;
    }
    .goals li {
        gap: 12px;
        padding: 16px 0;
        font-size: 16px;
        line-height: 1.55;
    }
    .goal-num {
        font-size: 18px;
        min-width: 22px;
    }
    .post-header {
        margin-bottom: 28px;
        padding-bottom: 22px;
    }
    .post-header h1 {
        font-size: 26px;
    }
    .post-lead {
        font-size: 17px;
    }
    .post h2 {
        margin-top: 36px;
        font-size: 21px;
    }
    .post-cta {
        padding: 22px 18px 20px;
        margin: 40px 0 24px;
    }
    .post-cta-title {
        font-size: 18px;
    }
    .post-cta-body {
        font-size: 15px;
    }
    .post-cta-btn {
        padding: 12px 22px;
        font-size: 12px;
        letter-spacing: 0.16em;
    }
    .post-signoff {
        font-size: 19px;
        margin-top: 44px;
    }
    .modal-card {
        padding: 36px 22px 26px;
    }
    .modal-eyebrow {
        font-size: 10px;
    }
    .modal-title {
        font-size: 24px;
    }
    .modal-body {
        font-size: 15px;
    }
    .colophon {
        margin-top: 64px;
        font-size: 12px;
    }
    .legal h2 {
        font-size: 19px;
        margin-top: 36px;
    }
    .legal-data {
        padding: 16px 18px;
    }
}

/* Móvil pequeño (≤ 360px) */
@media (max-width: 360px) {
    .letter {
        padding: 32px 14px 32px;
    }
    article h1 {
        font-size: 26px;
    }
    .kicker {
        font-size: 20px;
        letter-spacing: 0.16em;
    }
    .post-cta {
        padding: 18px 14px 16px;
    }
}

/* Mejor focus visible en navegación con teclado (a11y) */
.email-form button:focus-visible,
.modal-cta:focus-visible,
.post-cta-btn:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

a:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
    border-radius: 2px;
}
