.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/IconoMHB.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.2;
}

        /* =========================================================
           0. VARIABLES
        ========================================================= */
        :root {
            --white: #FFFFFF;
            --blush: #F8D6E5;
            --pink-light: #F5A6C7;
            --pink-mid: #E85D9E;
            --fuchsia: #E62679;
            --wine: #8F0A4F;
            --text-main: #252525;
            --text-secondary: #666666;
            --font-serif: 'Cormorant Garamond', serif;
            --font-sans: 'Work Sans', sans-serif;
            --max-width: 1180px;
            --radius-sm: 8px;
            --radius-md: 16px;
            --shadow-soft: 0 20px 40px -26px rgba(143,10,79,0.28);
            --shadow-card: 0 14px 34px -24px rgba(143,10,79,0.22);
            --ease: cubic-bezier(.4,0,.2,1);
            --header-h: 84px;
        }

        /* =========================================================
           1. RESET & BASE
        ========================================================= */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-sans);
            color: var(--text-main);
            background: var(--white);
            line-height: 1.6;
            font-weight: 400;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        img {
            max-width: 100%;
            display: block;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        ul {
            list-style: none;
        }

        button {
            font-family: inherit;
            cursor: pointer;
            border: none;
            background: none;
        }

        input {
            font-family: inherit;
        }

        section[id] {
            scroll-margin-top: var(--header-h);
        }

        h1, h2, h3, h4 {
            font-family: var(--font-serif);
            font-weight: 500;
            color: var(--text-main);
            line-height: 1.15;
        }

        p {
            color: var(--text-secondary);
        }

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 28px;
        }

        /* Visible focus states for accessibility */
        a:focus-visible,
        button:focus-visible,
        input:focus-visible {
            outline: 2px solid var(--wine);
            outline-offset: 3px;
            border-radius: 4px;
        }

        /* Respect reduced motion */
        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }

            * {
                animation-duration: 0.001ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.001ms !important;
            }
        }

        .reveal {
            opacity: 0;
            transform: translateY(18px);
            transition: opacity .7s var(--ease), transform .7s var(--ease);
        }

            .reveal.is-visible {
                opacity: 1;
                transform: translateY(0);
            }

        .eyebrow {
            font-family: var(--font-sans);
            font-size: 0.92rem;
            color: var(--wine);
            letter-spacing: 0.02em;
        }

        .section-heading {
            text-align: center;
            max-width: 640px;
            margin: 0 auto 56px;
        }

            .section-heading h2 {
                font-size: clamp(2.1rem, 4vw, 2.85rem);
                margin-bottom: 14px;
            }

            .section-heading p {
                font-family: var(--font-serif);
                font-style: italic;
                font-size: 1.25rem;
                color: var(--wine);
            }

        /* Decorative curved divider used between sections */
        .petal-divider {
            width: 64px;
            height: 3px;
            border-radius: 3px;
            background: linear-gradient(90deg, var(--pink-light), var(--fuchsia));
            margin: 18px auto 0;
        }

        /* =========================================================
           2. BUTTONS
        ========================================================= */
        .btn-primary,
        .btn-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-family: var(--font-sans);
            font-size: 0.98rem;
            font-weight: 500;
            padding: 14px 30px;
            border-radius: 30px;
            transition: transform var(--ease) .3s, box-shadow var(--ease) .3s, background var(--ease) .3s, color var(--ease) .3s;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--fuchsia);
            color: var(--white);
            box-shadow: var(--shadow-soft);
        }

            .btn-primary:hover {
                background: var(--wine);
                transform: translateY(-2px);
            }

        .btn-secondary {
            background: transparent;
            color: var(--wine);
            border: 1.5px solid var(--pink-mid);
        }

            .btn-secondary:hover {
                background: var(--blush);
                border-color: var(--fuchsia);
            }

        .btn-small {
            padding: 10px 22px;
            font-size: 0.88rem;
        }

        /* =========================================================
           3. HEADER / NAV
        ========================================================= */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--header-h);
            display: flex;
            align-items: center;
            background: rgba(255,255,255,0.92);
            backdrop-filter: blur(10px);
            z-index: 1000;
            transition: box-shadow .3s var(--ease);
        }

            .site-header.is-scrolled {
                box-shadow: 0 8px 24px -18px rgba(37,37,37,0.25);
            }

        .nav-wrap {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            font-family: var(--font-serif);
            font-style: italic;
            font-weight: 600;
            font-size: 1.5rem;
            color: var(--wine);
            letter-spacing: 0.01em;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 40px;
        }

            .nav-links a {
                font-size: 0.98rem;
                color: var(--text-main);
                position: relative;
                padding: 6px 2px;
                transition: color .3s var(--ease);
            }

                .nav-links a::after {
                    content: "";
                    position: absolute;
                    left: 0;
                    bottom: -2px;
                    width: 0;
                    height: 2px;
                    background: var(--fuchsia);
                    transition: width .3s var(--ease);
                }

                .nav-links a:hover {
                    color: var(--wine);
                }

                    .nav-links a:hover::after {
                        width: 100%;
                    }

        .nav-toggle {
            display: none;
            width: 40px;
            height: 40px;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 5px;
        }

            .nav-toggle span {
                width: 22px;
                height: 2px;
                background: var(--wine);
                border-radius: 2px;
                transition: transform .3s var(--ease), opacity .3s var(--ease);
            }

            .nav-toggle[aria-expanded="true"] span:nth-child(1) {
                transform: translateY(7px) rotate(45deg);
            }

            .nav-toggle[aria-expanded="true"] span:nth-child(2) {
                opacity: 0;
            }

            .nav-toggle[aria-expanded="true"] span:nth-child(3) {
                transform: translateY(-7px) rotate(-45deg);
            }

        /* =========================================================
           4. HERO
        ========================================================= */
        .hero {
            position: relative;
            padding: calc(var(--header-h) + 80px) 0 100px;
            overflow: hidden;
        }

        .hero-decor {
            position: absolute;
            top: -10%;
            right: -8%;
            width: min(620px, 70vw);
            height: auto;
            z-index: 0;
            pointer-events: none;
        }

        .hero-inner {
            position: relative;
            z-index: 1;
            max-width: 680px;
        }

        .hero-kicker {
            font-size: 1rem;
            color: var(--wine);
            margin-bottom: 20px;
        }

        .hero h1 {
            font-size: clamp(2.4rem, 5.4vw, 3.6rem);
            font-style: italic;
            font-weight: 500;
            color: var(--wine);
            margin-bottom: 26px;
            max-width: 14ch;
        }

        .hero-lede {
            font-size: 1.08rem;
            max-width: 52ch;
            margin-bottom: 38px;
        }

        /* =========================================================
           5. LIBROS
        ========================================================= */
        .section-libros {
            padding: 120px 0;
        }

        .books-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
        }

        .book-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 22px;
            box-shadow: var(--shadow-card);
            display: flex;
            flex-direction: column;
            transition: transform .4s var(--ease), box-shadow .4s var(--ease);
        }

            .book-card:hover {
                transform: translateY(-6px);
                box-shadow: 0 26px 46px -24px rgba(143,10,79,0.32);
            }

        .book-cover {
            aspect-ratio: 3/4;
            border-radius: var(--radius-sm);
            margin-bottom: 20px;
            background: linear-gradient(160deg, var(--blush) 0%, var(--pink-light) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

            .book-cover svg {
                width: 38%;
                height: 38%;
                opacity: 0.85;
            }

        .book-card h3 {
            font-size: 1.3rem;
            margin-bottom: 10px;
        }

        .book-card p {
            font-size: 0.94rem;
            flex-grow: 1;
            margin-bottom: 22px;
        }

        .book-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        /* =========================================================
           6. REDES SOCIALES
        ========================================================= */
        .section-redes {
            padding: 120px 0;
            background: linear-gradient(180deg, var(--white) 0%, #FDF3F7 100%);
        }

        .redes-intro {
            text-align: center;
            max-width: 600px;
            margin: 0 auto 56px;
            font-size: 1.02rem;
        }

        .social-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 26px;
        }

        .social-card {
            background: var(--white);
            border: 1px solid #F3D9E5;
            border-radius: var(--radius-md);
            padding: 30px 20px;
            text-align: center;
            transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
        }

            .social-card:hover {
                transform: translateY(-5px);
                border-color: var(--pink-mid);
                box-shadow: var(--shadow-card);
            }

        .social-icon {
            width: 46px;
            height: 46px;
            margin: 0 auto 18px;
            border-radius: 50%;
            background: var(--blush);
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .social-icon svg {
                width: 22px;
                height: 22px;
                stroke: var(--wine);
            }

        .social-card h3 {
            font-size: 1.1rem;
            margin-bottom: 4px;
        }

        .social-card .handle {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-bottom: 18px;
        }

        .redes-cta {
            text-align: center;
            margin-top: 48px;
            font-family: var(--font-serif);
            font-style: italic;
            font-size: 1.2rem;
            color: var(--wine);
        }

        /* =========================================================
           7. NEWSLETTER
        ========================================================= */
        .section-newsletter {
            padding: 120px 0;
            background: linear-gradient(135deg, var(--blush) 0%, #FCE9F1 55%, var(--white) 100%);
            position: relative;
            overflow: hidden;
        }

        .newsletter-wrap {
            position: relative;
            z-index: 1;
            max-width: 560px;
            margin: 0 auto;
            text-align: center;
        }

            .newsletter-wrap .section-heading {
                margin-bottom: 16px;
            }

        .newsletter-text {
            margin-bottom: 40px;
            font-size: 1.02rem;
        }

        .newsletter-form {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 40px 34px;
            box-shadow: var(--shadow-soft);
            text-align: left;
        }

        .form-group {
            margin-bottom: 20px;
        }

            .form-group label {
                display: block;
                font-size: 0.88rem;
                color: var(--text-main);
                margin-bottom: 8px;
                font-weight: 500;
            }

            .form-group input[type="text"],
            .form-group input[type="email"] {
                width: 100%;
                padding: 13px 16px;
                border: 1.5px solid #EEDCE5;
                border-radius: var(--radius-sm);
                font-size: 0.98rem;
                color: var(--text-main);
                background: var(--white);
                transition: border-color .3s var(--ease);
            }

            .form-group input:focus {
                border-color: var(--pink-mid);
                outline: none;
            }

        .form-checkbox {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 26px;
        }

            .form-checkbox input {
                margin-top: 3px;
                accent-color: var(--fuchsia);
                width: 16px;
                height: 16px;
                flex-shrink: 0;
            }

            .form-checkbox label {
                font-size: 0.86rem;
                color: var(--text-secondary);
            }

        .newsletter-form .btn-primary {
            width: 100%;
        }

        .form-message {
            margin-top: 18px;
            font-size: 0.92rem;
            border-radius: var(--radius-sm);
            padding: 0;
            min-height: 0;
            transition: padding .3s var(--ease);
        }

            .form-message.success {
                color: var(--wine);
                background: var(--blush);
                padding: 14px 16px;
                font-family: var(--font-serif);
                font-style: italic;
                font-size: 1.05rem;
            }

            .form-message.error {
                color: #9B2C2C;
                background: #FBEAEA;
                padding: 12px 16px;
            }

/* =========================================================
    8. FOOTER
========================================================= */
        .site-footer {
            background: var(--text-main);
            color: #E9D8E0;
            padding: 64px 0 32px;
            text-align: center;
        }

            .site-footer .logo {
                color: var(--pink-light);
                font-size: 1.5rem;
                margin-bottom: 10px;
                display: inline-block;
            }

        .footer-tag {
            font-family: var(--font-serif);
            font-style: italic;
            font-size: 1.05rem;
            color: #F1D9E4;
            margin-bottom: 14px;
        }

        .footer-handle {
            font-size: 0.9rem;
            color: #C9A9BB;
            margin-bottom: 32px;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 26px;
            margin-bottom: 26px;
            flex-wrap: wrap;
        }

            .footer-links a {
                font-size: 0.85rem;
                color: #C9A9BB;
                transition: color .3s var(--ease);
            }

                .footer-links a:hover {
                    color: var(--pink-light);
                }

        .footer-copy {
            font-size: 0.8rem;
            color: #9E7F8E;
        }

        /* =========================================================
           9. RESPONSIVE
        ========================================================= */
        @media (max-width:1024px) {
            .books-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .social-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .hero-decor {
                width: min(480px, 60vw);
            }
        }

        @media (max-width:760px) {
            :root {
                --header-h: 72px;
            }

            .nav-links {
                position: fixed;
                top: var(--header-h);
                left: 0;
                right: 0;
                background: var(--white);
                flex-direction: column;
                align-items: flex-start;
                gap: 0;
                padding: 8px 28px 20px;
                box-shadow: 0 16px 28px -20px rgba(37,37,37,0.25);
                transform: translateY(-12px);
                opacity: 0;
                pointer-events: none;
                transition: opacity .3s var(--ease), transform .3s var(--ease);
            }

                .nav-links.is-open {
                    opacity: 1;
                    transform: translateY(0);
                    pointer-events: auto;
                }

                .nav-links a {
                    width: 100%;
                    padding: 14px 0;
                    border-bottom: 1px solid #F5EAEE;
                }

            .nav-toggle {
                display: flex;
            }

            .hero {
                padding: calc(var(--header-h) + 56px) 0 72px;
            }

            .hero-decor {
                width: 80vw;
                top: -4%;
                right: -16%;
                opacity: 0.8;
            }

            .section-libros,
            .section-redes,
            .section-newsletter {
                padding: 80px 0;
            }

            .books-grid,
            .social-grid {
                grid-template-columns: 1fr;
            }

            .newsletter-form {
                padding: 30px 22px;
            }
        }
