:root {
    --black: #0d0d0d;
    --white: #ffffff;
    --cream: #f8f6f1;
    --text: #111111;
    --muted: #666666;
    --gold: #d4b56e;
    --gold-dark: #7f632f;
    --line: #e5e5e5;
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* CABECERA */

.site-header {
    min-height: 120px;
    padding: 1.5rem max(1.25rem, calc((100vw - var(--max-width)) / 2));
    background: var(--black);
    color: var(--white);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    width: 190px;
    height: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav a {
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--gold);
}

.nav-cta {
    padding: 0.75rem 1.1rem;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: var(--text);
    font-weight: 700;
}

.nav-cta:hover {
    background: var(--white);
    color: var(--text);
}

.menu-toggle {
    display: none;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gold);
    padding: 0.65rem 0.9rem;
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 68vh;
    padding: 5rem 1.25rem;
    background: var(--white);

    display: grid;
    place-items: center;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 820px;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--gold-dark);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: Georgia, serif;
    line-height: 1.15;
}

h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 8vw, 6rem);
}

.hero-text {
    max-width: 680px;
    margin: 0 auto 2rem;
    color: var(--muted);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.button {
    min-height: 50px;
    padding: 0.85rem 1.4rem;
    border: 1px solid var(--gold);

    display: inline-flex;
    justify-content: center;
    align-items: center;

    font-weight: 700;
    transition: 0.25s ease;
}

.button-primary {
    background: var(--gold);
    color: var(--text);
}

.button-primary:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.button-secondary {
    background: transparent;
    color: var(--text);
}

.button-secondary:hover {
    background: var(--gold);
}
/* RECURSOS GRATUITOS */

.resources-section {
    padding: 6rem 1.25rem;
    background: var(--cream);
    border-top: 1px solid var(--line);
}

.section-title {
    max-width: var(--max-width);
    margin: 0 auto 3rem;
    text-align: center;
}

.section-title h2 {
    margin-bottom: 0;
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.resources-grid {
    max-width: var(--max-width);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.resource-card {
    min-height: 320px;
    padding: 2.2rem;

    display: flex;
    flex-direction: column;

    background: var(--white);
    border: 1px solid rgba(212, 181, 110, 0.65);
    transition: 0.25s ease;
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.resource-card h3 {
    margin-bottom: 1rem;
    font-size: 1.7rem;
}

.resource-card p {
    margin: 0 0 2rem;
    color: var(--muted);
    line-height: 1.75;
}

.resource-card .button {
    margin-top: auto;
}
/* MÓVIL */
/* SOBRE MUSLIMAH STUDIO */

.about-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.25rem;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: start;

    border-top: 1px solid var(--line);
}

.about-heading {
    position: sticky;
    top: 160px;
}

.about-heading h2 {
    margin-bottom: 0;
    color: var(--text);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.about-content {
    max-width: 650px;
}

.about-content p {
    margin: 0 0 1.5rem;
    color: #444444;
    font-size: 1.05rem;
    line-height: 1.85;
}

.about-content .about-intro {
    color: var(--text);
    font-family: Georgia, serif;
    font-size: 1.45rem;
    line-height: 1.6;
}
.resources-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 1.25rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.resource-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 2rem;
    border-radius: 14px;
}
.ebooks-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 1.25rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-top: .5rem;
}

.ebooks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.ebook-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
}

.ebook-cover {
    height: 240px;
    background: #111111;
    color: #d4b56e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.ebook-content {
    padding: 2rem;
}

.ebook-label {
    color: #d4b56e;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .12em;
}

.ebook-content h3 {
    margin: 1rem 0;
}

.ebook-content p {
    color: #555;
    line-height: 1.7;
}
.blog-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 1.25rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 2rem;
    transition: .25s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.blog-category {
    color: #d4b56e;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    font-weight: 700;
}

.blog-card h3 {
    margin: 1rem 0;
}

.blog-card p {
    color: #555;
    line-height: 1.7;
}

.blog-card a {
    display: inline-block;
    margin-top: 1.5rem;
    color: #d4b56e;
    text-decoration: none;
    font-weight: 700;
}
.about-dropdown {
    grid-column: 1 / -1;
    width: 100%;
}

.about-dropdown summary {
    list-style: none;
}

.about-dropdown summary::-webkit-details-marker {
    display: none;
}

.about-summary {
    display: flex;
 justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    .about-toggle {
    margin-left: auto;
}
    cursor: pointer;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.about-toggle::before {
    content: "⌄";
    color: #d4b56e;
    font-size: 2rem;
    transition: transform .3s ease;
}

.about-dropdown[open] .about-toggle::before {
    transform: rotate(180deg);
}

.about-dropdown .about-content {
    max-width: 760px;
    padding-top: 2.5rem;
}
@media (max-width: 850px) {
    .menu-toggle {
        display: inline-flex;
    }
.blog-grid {
    grid-template-columns: 1fr;
}
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        padding: 1.25rem;
        background: var(--black);
        border-top: 1px solid #2a2a2a;

        flex-direction: column;
        align-items: stretch;
    }
.resources-grid {
    grid-template-columns: 1fr;
}
.ebooks-grid {
    grid-template-columns: 1fr;
}

.ebook-card {
    max-width: 420px;
    margin: 0 auto;
}
.resources-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 0.5rem 0;
    }
        .about-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .about-heading {
        position: static;
    }
}

@media (max-width: 520px) {
    .site-header {
        min-height: 95px;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .brand-logo {
        width: 145px;
    }

    .hero {
        min-height: auto;
       .site-footer {
    padding: 2rem 1.25rem 1rem;
}

    h1 {
        font-size: clamp(2.7rem, 14vw, 4.5rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}
/* ==========================
   PÁGINA EBOOK
========================== */

.ebook-detail{
    max-width:1200px;
    margin:0 auto;
    padding:6rem 1.25rem;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:5rem;
    align-items:center;
}

.ebook-placeholder{
    height:560px;
    background:#111111;
    color:#d4b56e;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2rem;
    font-weight:700;
}

.ebook-detail-intro{
    font-size:1.15rem;
    line-height:1.8;
    color:#555;
    margin:2rem 0;
}

.ebook-detail-actions{
    display:flex;
    gap:1rem;
    flex-wrap:wrap;
}

.ebook-features{
    max-width:1200px;
    margin:auto;
    padding:0 1.25rem 6rem;
}

.ebook-features-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:2rem;
    margin-top:3rem;
}

.ebook-feature-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:16px;
    padding:2rem;
}

.ebook-feature-card h3{
    margin-bottom:1rem;
}

.ebook-feature-card p{
    color:#666;
    line-height:1.7;
}

.ebook-cta{
    text-align:center;
    padding:6rem 1.25rem;
    background:#fafafa;
}

.ebook-cta h2{
    margin:1rem 0;
}

.ebook-cta p{
    max-width:650px;
    margin:0 auto 2rem;
}

@media(max-width:850px){

.ebook-detail{
grid-template-columns:1fr;
gap:3rem;
}

.ebook-features-grid{
grid-template-columns:1fr;
}

.ebook-placeholder{
height:420px;
}

}
.site-footer {
    background: #111111;
    color: #ffffff;
padding: 1.5rem 1.25rem 0.75rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 2rem;
}

.footer-logo {
    width: 220px;
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p,
.footer-newsletter p {
    color: #bdbdbd;
    line-height: 1.8;
}

.footer-links h4,
.footer-newsletter h4 {
    margin-bottom: 1rem;
    color: #d4b56e;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.footer-links a {
    color: #dddddd;
    text-decoration: none;
}

.footer-links a:hover {
    color: #d4b56e;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #2a2a2a;
    text-align: center;
    color: #888;
}

@media (max-width:850px){

.footer-content{
    grid-template-columns:1fr;
    text-align:center;
}

.footer-links{
    align-items:center;
}

.footer-logo{
    margin:auto auto 1rem;
}

}
