/* ================================================================
   OPCIÓN C: SIGNAL — Editorial, audaz, con carácter
   Inspiración: The Hustle, First Round Review, Monocle, Bloomberg
   ================================================================ */

:root {
    --bg: #FAF8F5;
    --bg-elevated: #FFFFFF;
    --text: #111111;
    --text-muted: #5C5C5C;
    --accent: #E63946;
    --accent-hover: #D62839;
    --accent-light: rgba(230, 57, 70, 0.06);
    --border: #E2E0DD;
    --border-strong: #C8C5C0;
    --card-bg: #FFFFFF;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06);

    --font-heading: 'Inter', -apple-system, sans-serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --font-mono: 'DM Mono', monospace;
    --font-serif: 'Playfair Display', Georgia, serif;

    --container: 760px;
    --radius: 2px;
    --header-h: 56px;
}

/* ================== BASE ================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ================== HEADER / NAV ================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    height: var(--header-h);
}

.site-header.scrolled {
    background: rgba(250, 248, 245, 0.97);
    border-bottom-color: var(--border);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: var(--text);
    transition: color 0.2s;
}

.nav-logo:hover {
    color: var(--accent);
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.nav-logo-icon {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--accent);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger.is-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav Links */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    padding: 0.3rem 0;
    position: relative;
}

.nav-menu a:hover {
    color: var(--text);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ================== HERO ================== */
.hero-section {
    padding: calc(var(--header-h) + 2rem) 0 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease;
}

.hero-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 2rem;
    position: relative;
}

.hero-badge::before,
.hero-badge::after {
    content: '—';
    margin: 0 0.6rem;
    color: var(--border-strong);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--text);
    margin-bottom: 1.2rem;
}

.hero-icon {
    display: inline-block;
    color: var(--accent);
    margin-left: 0.05em;
    transform: translateY(5px);
}

.hero-icon svg {
    width: 0.65em;
    height: 0.65em;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 4rem;
    margin-top: -1rem;
    letter-spacing: -0.01em;
}

.hero-offer {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
    padding: 0;
}

.hero-cta-lead {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.hero-bullets {
    list-style: none;
    padding: 0;
}

.hero-bullets li {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    line-height: 1.5;
    text-align: center;
}

.bullet-dash {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* ================== SUBSCRIBE ================== */
.subscribe-section {
    padding: 1rem 0 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease 0.1s;
}

.subscribe-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.subscribe-card {
    max-width: 520px;
    margin: 0 auto;
}

.subscribe-divider {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.subscribe-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.subscribe-divider span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    background: var(--bg);
    padding: 0 1.5rem;
    position: relative;
}

/* MailerLite Form Overrides */
.custom-ml-wrapper form.ml-block-form {
    display: flex;
    gap: 0;
}

.custom-ml-wrapper .ml-form-formContent {
    display: flex;
    gap: 0;
    width: 100%;
}

.custom-ml-wrapper .ml-form-fieldRow {
    flex: 1;
}

.custom-ml-wrapper input[type="email"] {
    width: 100%;
    padding: 1rem 1.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--card-bg);
    color: var(--text);
    border: 2px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    outline: none;
    transition: border-color 0.3s;
}

.custom-ml-wrapper input[type="email"]:focus {
    border-color: var(--text);
}

.custom-ml-wrapper input[type="email"]::placeholder {
    color: var(--border-strong);
}

.custom-ml-wrapper .ml-form-embedSubmit {
    flex-shrink: 0;
}

.custom-ml-wrapper .ml-form-embedSubmit button.primary {
    padding: 1rem 2.2rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--accent);
    color: #FFFFFF;
    border: 2px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.custom-ml-wrapper .ml-form-embedSubmit button.primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* Success */
.custom-ml-wrapper .ml-form-successContent {
    text-align: center;
    padding: 2rem;
    border: 2px solid var(--text);
    background: var(--card-bg);
    border-radius: var(--radius);
}

.custom-ml-wrapper .ml-form-successContent h4 {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.custom-ml-wrapper .ml-form-successContent p {
    color: var(--text-muted);
}

/* Privacy */
.privacy-block {
    margin-top: 1.2rem;
    text-align: center;
}

.privacy-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    max-width: 400px;
    margin: 0 auto;
    transition: color 0.3s;
}

.privacy-label a {
    color: var(--text-muted);
    text-decoration: underline;
}

.privacy-label a:hover {
    color: var(--accent);
}

.privacy-label.error {
    color: var(--accent);
    font-weight: 700;
}

.privacy-label input[type="checkbox"] {
    margin-top: 0.15rem;
    cursor: pointer;
    accent-color: var(--accent);
}

.privacy-error {
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.3rem;
    display: none;
}



/* ================== CREDIBILITY ================== */
.credibility-section {
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease 0.2s;
}

.credibility-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.cred-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    opacity: 0;
    transform: translateY(15px);
}

.cred-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.25s ease;
}

.cred-card:nth-child(2).animate-in {
    transition-delay: 0.08s;
}

.cred-card:nth-child(3).animate-in {
    transition-delay: 0.16s;
}

/* Adjacent borders collapse */
.cred-card+.cred-card {
    border-left: none;
}

.cred-card:hover {
    background: var(--accent-light);
}

.cred-value {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.3rem;
    letter-spacing: -0.03em;
}

.cred-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

/* Dynamic card */
.cred-dynamic {
    border-top: 3px solid var(--accent);
    min-height: 130px;
    position: relative;
}

.rotator {
    position: relative;
    width: 100%;
    height: 3rem;
}

.rotator-item {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.4s ease;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.rotator-item.active {
    opacity: 1;
    transform: translateY(0);
}

.rotator-sub {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    transition: opacity 0.25s ease;
}

/* ================== BLOG ================== */
.blog-section {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease 0.1s;
}

.blog-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 0.8rem auto 0;
}

.blog-grid {
    display: grid;
    gap: 0;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border);
    border-bottom: none;
    background: var(--card-bg);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    opacity: 0;
    transform: translateY(15px);
}

.blog-card:last-child {
    border-bottom: 1px solid var(--border);
}

.blog-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.25s ease;
}

.blog-card:nth-child(2).animate-in {
    transition-delay: 0.08s;
}

.blog-card:nth-child(3).animate-in {
    transition-delay: 0.16s;
}

.blog-card:hover {
    background: var(--accent-light);
}

.blog-card-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.blog-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.8rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-cta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: letter-spacing 0.25s ease;
}

.blog-card:hover .blog-card-cta {
    letter-spacing: 0.16em;
}

/* ================== ABOUT ================== */
.about-section {
    padding: 5rem 0 3rem;
    border-top: 1px solid var(--border);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease 0.1s;
}

.about-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1.5rem;
}

.about-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ================== FOOTER ================== */
.site-footer {
    padding: 2rem 0;
    border-top: 2px solid var(--text);
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ================== SWITCHER (dev) ================== */
.style-switcher {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(17, 17, 17, 0.92);
    backdrop-filter: blur(12px);
    padding: 10px 16px;
    border-radius: 30px;
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    flex-wrap: nowrap;
}

.switcher-label {
    font-family: sans-serif;
    font-size: 9px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
}

.switcher-btn {
    font-family: sans-serif;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.switcher-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.switcher-btn.active {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.switcher-original {
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ================== BOTTLE ICON ================== */
.bottom-bottle {
    text-align: center;
    padding: 1rem 0 2rem;
    color: var(--accent);
}

.bottom-bottle svg {
    width: 2rem;
    height: 2rem;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        opacity: 0;
    }

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

    .nav-menu a {
        font-size: 1.3rem;
        font-weight: 500;
        color: var(--text);
        letter-spacing: 0.15em;
    }

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

    .cred-card+.cred-card {
        border-left: 1px solid var(--border);
        border-top: none;
    }

    .hero-offer {
        text-align: center;
    }

    .hero-bullets {
        padding-left: 0;
        padding-top: 1.2rem;
    }

    .hero-bullets li {
        justify-content: center;
    }

    .monthly-card {
        border-width: 1px;
        border-top-width: 3px;
        border-top-color: var(--accent);
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .blog-card {
        padding: 2rem 1.5rem;
    }

    .style-switcher {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 90vw;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .custom-ml-wrapper .ml-form-formContent {
        flex-direction: column;
    }

    .custom-ml-wrapper input[type="email"] {
        border-right: 2px solid var(--border);
        border-bottom: none;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .custom-ml-wrapper .ml-form-embedSubmit button.primary {
        width: 100%;
        border-radius: 0 0 var(--radius) var(--radius);
        padding: 1.1rem;
    }
}

.form-shaded {
    padding: 2.5rem;
    border: 1px solid var(--border);
    background: #F3F0E9;
    border-radius: 12px;
}


a.section-heading {
    font-size: 1.5rem;
}

/* ================== SR-ONLY ================== */
.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;
}