.home{

    --module-pr:#2563EB;
    --module-bg:#DBEAFE;

    --cta-primary:#2563EB;
    --cta-primary-hover:#1D4ED8;

    --cta-secondary:#FACC15;
    --cta-secondary-hover:#EAB308;

    --accent-yellow:#FACC15;
    --accent-green:#10B981;

    --tokyo-accent:#E0F2FE;
    --tokyo-border:#7DD3FC;

    --japan-accent:#FEF3C7;
    --japan-border:#FBBF24;

    --everyday-accent:#DCFCE7;
    --everyday-border:#86EFAC;

    --card-border:#E5E7EB;

}

/* HEADER */
body{
    padding-top:var(--header-height);
    overflow-x: hidden;
    }

.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:2;
    background:rgba(255,255,255,.85);
    backdrop-filter:blur(16px);
    border-bottom:1px solid rgba(0,0,0,.06);
    box-shadow:0 4px 18px rgba(0,0,0,.06);
    box-sizing:border-box;
    padding: var(--space-xs);
}
.header-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:5.5rem;
}

/* LOGO */

.logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo-text{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.logo-kanji{
    font-size:1.6rem;
    font-weight:800;
    color:var(--text-primary);
    letter-spacing:.08em;
    white-space:nowrap;
    line-height:1;
}

.logo-subtitle{
    font-size:.75rem;
    color:var(--text-muted);
    letter-spacing:.04em;
    line-height:1.2;
    white-space:nowrap;
}

/* NAVIGATION */

.main-nav ul{
    display:flex;
    align-items:center;
    gap:var(--space-xl);
    list-style:none;
}
.main-nav a{
    position:relative;
    font-size:var(--text-base);
    color:var(--text-secondary);
    font-weight:500;
    transition:
        color var(--transition-base);
}
.main-nav a:hover{
    color:var(--module-pr);
}
.main-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:100%;
    height:2px;
    background:var(--module-pr);
    transform:scaleX(0);
    transform-origin:left;
    transition:transform var(--transition-base);
}
.main-nav a:hover::after{
    transform:scaleX(1);
}

/* CTA */

.header-btn{
    margin-left:var(--space-lg);
}

/* MENU BUTTON */

.menu-btn{
    display:none;
    border:none;
    background:none;
    cursor:pointer;
    color:var(--text-primary);
    padding:0;
    margin:0;
}
.menu-btn .material-symbols-rounded{
    font-size:2rem;
}
.mobile-nav{
    position:fixed;
    top:5rem;
    left:1rem;
    right:1rem;
    background:rgba(255,255,255,.85);
    backdrop-filter:blur(18px);
    border:1px solid rgba(0,0,0,.08);
    border-radius:24px;
    padding:2rem;
    display:flex;
    flex-direction:column;
    gap:2rem;
    box-shadow:0 20px 50px rgba(0,0,0,.12);
    transform:translateY(-20px);
    opacity:0;
    pointer-events:none;
    transition:
        opacity .3s ease,
        transform .3s ease;   
    z-index:10;
}
.mobile-nav ul{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:1.2rem;
    padding:0;
    margin:0;
}
.mobile-nav a{
    color:var(--text-primary);
    font-size:1.1rem;
    font-weight:600;
}
.mobile-nav .btn-primary{
    color:white;
}
body.menu-open .mobile-nav{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
}
@media(min-width:901px){
    .mobile-nav{
        display:none;
    }
}

/* RESPONSIVE */

@media (max-width:900px){
    .main-nav{
        display:none;
    }
    .main-nav.active{
        display:block;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:rgba(255,255,255,.95);
        backdrop-filter:blur(16px);
        padding:var(--space-md);
    }
    .main-nav.active ul{
        flex-direction:column;
        gap:var(--space-md);
    }
    .header-btn{
        display:none;
    }
    .menu-btn{
        display:block;
    }
    .header-container{
        width:100%;
        padding-left:var(--space-sm);
        padding-right:var(--space-sm);
        box-sizing:border-box;
    }
}

@media (max-width:768px){
    .header-container{
        min-height:4.75rem;
    }
    .logo{
        gap:var(--space-sm);
    }
    .logo-kanji{
        font-size:1.25rem;
        white-space:nowrap;
    }

    .logo-subtitle{
        font-size:.65rem;
    }
    .logo-title{
        font-size:var(--text-base);
    }
    
}

/* HERO */

.hero{
    min-height:85dvh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding: calc(var(--space-xl) * 2) var(--space-lg);
    background:
        radial-gradient(
            circle at top center,
            rgb(37 99 235 / 12%),
            transparent 45%
        ),
        var(--bg-main);
}

.hero-container{
    width:min(1100px,100%);
    margin:auto;
}

.hero-content{
    max-width:820px;
    margin:auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:var(--space-lg);
}

/* EYEBROW */

.hero-tag{
    display:inline-flex;
    padding: .45rem 1rem;
    border-radius:999px;
    background:var(--accent-yellow);
    color:#92400E;
    font-size:var(--text-sm);
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    margin-top: var(--space-md);
}

/* TITLE */

.hero h1{
    font-size:clamp(2.8rem,6vw,var(--text-h1));
    line-height:1.05;
    max-width:14ch;
    color:var(--text-primary);
    font-weight:800;
}

/* KANJI */

.hero-kanji{
    font-size:clamp(5rem,12vw,8rem);
    font-weight:900;
    color:var(--module-pr);
    text-shadow:
        0 0 4px rgb(37 99 235 / 45%),
        0 0 12px rgb(37 99 235 / 30%),
        0 0 30px rgb(37 99 235 / 20%),
        0 0 60px rgb(37 99 235 / 10%);
    line-height:1;
    letter-spacing:.08em;
    animation:neonGlow 3.5s ease-in-out infinite;
}

@keyframes neonGlow{
    0%,100%{
        text-shadow:
            0 0 4px rgb(37 99 235 / 45%),
            0 0 12px rgb(37 99 235 / 30%),
            0 0 30px rgb(37 99 235 / 20%),
            0 0 60px rgb(37 99 235 / 10%);
    }

    50%{
        text-shadow:
            0 0 8px rgb(37 99 235 / 55%),
            0 0 20px rgb(37 99 235 / 40%),
            0 0 45px rgb(37 99 235 / 25%),
            0 0 80px rgb(37 99 235 / 10%);
    }
}

body.scrolled .hero-kanji{
    color:var(--text-primary);
    text-shadow:none;
    animation:none;
}

body.scrolled .logo-kanji{
    color:var(--module-pr);
    text-shadow:
        0 0 4px rgba(0,217,255,.30),
        0 0 8px rgba(0,217,255,.18);
}

/* SUBTITLE */

.hero-subtitle{
    max-width:65ch;
    color:var(--text-secondary);
    font-size:var(--text-md);
    line-height:1.8;
}

/* BUTTONS */

.hero-buttons{
    display:flex;
    gap:var(--space-sm);
    flex-wrap:wrap;
    justify-content:center;
}

.hero-buttons a{
    min-width:220px;
}


/* BASE BUTTON */

.btn-primary,
.btn-secondary{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:3.25rem;
    padding:0 2rem;
    border-radius:var(--radius-pill);
    font-weight:700;
    text-decoration:none;
    overflow:hidden;
    isolation:isolate;
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background-color .35s ease;
}

/* PRIMARY */

.btn-primary{
    background:var(--cta-primary);
    color:white;
    border:2px solid var(--cta-primary);
    box-shadow:
        0 8px 20px rgba(37,99,235,.25);
}


.btn-primary:hover{
    background:var(--cta-primary-hover);
    transform:translateY(-4px);
    box-shadow:
        0 14px 30px rgba(37,99,235,.35);
}

/* SECONDARY */

.btn-secondary{
    background:var(--cta-secondary);
    color:#92400E;
    border:2px solid var(--cta-secondary);
    box-shadow:
        0 8px 20px rgba(234,88,12,.25);
}

.btn-secondary:hover{
    background:var(--cta-secondary-hover);
    transform:translateY(-4px);
    box-shadow:
        0 14px 30px rgba(234,88,12,.35);
}

/* HOVER CIRCLE EFFECT */

.btn-primary::before,
.btn-secondary::before{
    content:"";
    position:absolute;
    width:0;
    height:0;
    border-radius:50%;
    background:rgba(255,255,255,.25);
    top:50%;
    left:50%;
    transform:
        translate(-50%,-50%);
    transition:
        width .5s ease,
        height .5s ease;
    z-index:-1;
}

.btn-primary:hover::before,
.btn-secondary:hover::before{
    width:300px;
    height:300px;
}

/* CLICK EFFECT */

.btn-primary:active,
.btn-secondary:active{
    transform:scale(.95);
}

/* CHECKLIST */

.hero-highlights{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap: var(--space-sm) var(--space-lg);
    list-style:none;
}

.hero-highlights li{
    display:flex;
    align-items:center;
    gap:.5rem;
    font-size:var(--text-base);
    color:var(--text-secondary);
}

.check{
    color:var(--accent-green);
    font-weight:bold;
}

/* STATS */

.hero-stats{
    width:100%;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:var(--space-md);
    margin-top:var(--space-md);
}

.stat-card{
    padding:var(--space-md);
    background:var(--bg-card);
    border-radius:20px;
    border:1px solid rgba(0,0,0,.06);
}

.stat-card h3{
    font-size:var(--text-h3);
    color:var(--module-pr);
    margin-bottom:.25rem;
}
.stat-card p{
    color:var(--text-muted);
    font-size:var(--text-sm);
}

/* RESPONSIVE */

@media(max-width:900px){
    .hero{
        min-height:auto;
        padding: var(--space-xl) var(--space-lg);
    }
    .hero-stats{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .hero{
        padding: var(--space-xl) var(--space-sm);
    }
    .hero h1{
        max-width:100%;
    }
    .hero-buttons{
        flex-direction:column;
        width:100%;
    }
    .hero-buttons a{
        width:100%;
    }
    .hero-highlights{
        flex-direction:column;
        align-items:flex-start;
    }
    .hero-stats{
        grid-template-columns:1fr;
    }
}

/* FOR YOU */

.for-you{
    padding: var(--space-xl) var(--space-lg);
    background: var(--bg-secondary);
}

.container{
    width:min(1100px,100%);
    margin:auto;
}

/* TÍTULO SECCIÓN */

.section-heading{
    max-width:700px;
    margin:0 auto var(--space-xl);
    text-align:center;
}

.section-tag{
    display:inline-block;
    padding:var(--space-xs) var(--space-sm);
    border-radius:999px;
    background:var(--module-bg);
    color:var(--module-pr);
    font-size:var(--text-sm);
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.section-heading h2{
    margin-top:var(--space-md);
    margin-bottom:var(--space-md);
    font-size:var(--text-h2);
    color:var(--text-primary);
    line-height:1.15;
}

.section-heading p{
    max-width:60ch;
    margin:auto;
    font-size:var(--text-md);
    color:var(--text-secondary);
    line-height:1.8;
}

/* TARJETA INFO */

.for-you-card{
    max-width:850px;
    margin:auto;
    padding:var(--space-xl);
    background:var(--bg-card);
    border-radius:var(--radius-lg);
    border:1px solid var(--border-light);
    box-shadow:var(--shadow-sm);
}

.for-you-card h3{
    margin-bottom:var(--space-lg);
    font-size:var(--text-h4);
    color:var(--text-primary);
}

/* CHECK LIST */

.check-list{
    list-style:none;
    display:grid;
    gap:var(--space-md);
}

.check-list li{
    display:flex;
    align-items:flex-start;
    gap:var(--space-sm);
    font-size:var(--text-md);
    color:var(--text-secondary);
    line-height:1.7;
}

.check-list span{
    display:grid;
    place-items:center;
    flex-shrink:0;
    width:2rem;
    aspect-ratio:1;
    border-radius:50%;
    background:var(--module-pr);
    color:white;
    font-size:var(--text-sm);
    font-weight:700;
}

/* MENSAJE REMATE */

.for-you-message{
    margin-top:var(--space-xl);
    padding:var(--space-lg);
    background:var(--module-bg);
    border-radius:var(--radius-md);
}

.for-you-message h3{
    margin-bottom:var(--space-sm);
    font-size:var(--text-h4);
    color:var(--text-primary);
}

.for-you-message p{
    font-size:var(--text-base);
    color:var(--text-secondary);
    line-height:1.8;
}

/* RESPONSIVE */

@media (max-width:768px){
    .for-you{
        padding:var(--space-xl) var(--space-sm);
    }
    .for-you-card{
        padding:var(--space-lg);
    }
    .section-heading h2{
        font-size:var(--text-h3);
    }
    .check-list li{
        font-size:var(--text-base);
    }
}

/* LEARNING PHILOSOPHY */

.philosophy{
    padding: var(--space-xl) var(--space-lg);
    background: var(--bg-main);
}

/* SECTION HEADER */

.section-header{
    max-width: var(--container-sm);
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.section-header h2{
    margin: var(--space-md) 0;
    font-size: var(--text-h2);
    color: var(--text-primary);
    line-height: 1.15;
}

.section-intro{
    max-width: 60ch;
    margin: 0 auto;
    font-size: var(--text-md);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* COMPARISON GRID */

.comparison-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:var(--space-lg);
    margin-bottom:var(--space-xl);
}

/* CARDS */

.comparison-card{
    background:var(--bg-card);
    border:var(--border-light);
    border-radius:var(--radius-md);
    padding:var(--space-xl);
    box-shadow:var(--shadow-sm);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base),
        background-color var(--transition-base);
    position: relative;
    overflow: hidden;
}

.daruma::after{
    content:"";
    position:absolute;
    right:-20px;
    top:-10px;
    width:220px;
    height:220px;
    background:url("../img/daruma-doll-japan-japaneses.svg") no-repeat;
    background-size:contain;
    opacity:.08;
    transform:rotate(-15deg);
}

.neko::after{
    content:"";
    position:absolute;
    right:-20px;
    top:-10px;
    width:220px;
    height:220px;
    background:url("../img/maneki-neko-money-japan-japaneses.svg") no-repeat;
    background-size:contain;
    opacity:.08;
    transform:rotate(-15deg);
}

.comparison-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow-md);
}

.comparison-card h3{
    display:flex;
    align-items:center;
    gap:var(--space-sm);
    margin-bottom:var(--space-lg);
    font-size:var(--text-h4);
    color:var(--text-primary);
}

.comparison-card ul{
    list-style:none;
    display:grid;
    gap:var(--space-md);
}

.comparison-card li{
    display:flex;
    align-items:center;
    gap:var(--space-sm);
    font-size:var(--text-base);
    color:var(--text-secondary);
    line-height:1.7;
}

/* FEATURED CARD */

.comparison-card.featured{
    background:var(--module-bg);
    border:var(--border-primary);
    box-shadow:var(--shadow-home);
}

.comparison-card.featured:hover{
    box-shadow:var(--shadow-lg);
}

/* ICONS */

.comparison-card .material-symbols-rounded{
    color:var(--module-pr);
    font-size:1.5rem;
    font-variation-settings:
        'FILL' 1,
        'wght' 500,
        'GRAD' 0,
        'opsz' 24;
}

/* CONTEXT BOX */

.context-box{
    display:flex;
    align-items:flex-start;
    gap:var(--space-lg);
    padding:var(--space-xl);
    background:var(--bg-card);
    border:var(--border-light);
    border-radius:var(--radius-md);
    box-shadow:var(--shadow-sm);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

.context-box:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow-md);
}

/* CONTEXT ICON */

.context-icon{
    width:72px;
    aspect-ratio:1;
    flex-shrink:0;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--accent-yellow);
}

.context-icon .material-symbols-rounded{
    color:#92400E;
    font-size:2rem;
    font-variation-settings:
        'FILL' 1,
        'wght' 500,
        'GRAD' 0,
        'opsz' 32;
}

/* CONTEXT CONTENT */

.context-content h3{
    margin-bottom:var(--space-sm);
    font-size:var(--text-h4);
    color:var(--text-primary);
}

.context-content h3 span{
    color:var(--module-pr);
}

.context-content p{
    font-size:var(--text-base);
    color:var(--text-secondary);
    line-height:1.8;
}

.kanji-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin:0 .15rem;
    padding:.15rem .45rem;
    border-radius:8px;
    background:var(--module-bg);
    color:var(--module-pr);
    font-weight:800;
    font-size:1.05em;
    line-height:1;
    border:1px solid rgba(37,99,235,.18);
}

/* RESPONSIVE */

@media (max-width:900px){
    .comparison-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width:768px){
    .philosophy{
        padding:var(--space-xl) var(--space-sm);
    }
    .section-header h2{
        font-size:var(--text-h3);
    }
    .context-box{
        flex-direction:column;
    }
}

/* COLLECTIONS */

.colecciones{
    padding: var(--space-xl) var(--space-lg);
    background: var(--bg-secondary);
}


/* GRID */

.colecciones-grid{
    display:grid;
    gap:var(--space-xl);
}


/* COLLECTION CARD */

.coleccion-card{
    background:var(--bg-card);
    border:var(--border-light);
    border-radius:var(--radius-md);
    padding:var(--space-xl);
    box-shadow:var(--shadow-sm);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}
/*.coleccion-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow-md);
}*/


/* FEATURED COLLECTION */

.coleccion-card.featured{
    background:var(--tokyo-accent);
    border:2px solid var(--tokyo-border);
    box-shadow:var(--shadow-home);
}

.coleccion-card:nth-child(2){
    background:var(--japan-accent);
    border:2px solid var(--japan-border);
    box-shadow:var(--shadow-home);
}

.coleccion-card:nth-child(3){
    background:var(--everyday-accent);
    border:2px solid var(--everyday-border);
    box-shadow:var(--shadow-home);
}


/* HEADER */

.coleccion-header{
    display:flex;
    align-items:center;
    gap:var(--space-md);
    margin-bottom:var(--space-lg);
}

.coleccion-header .material-symbols-rounded{
    display:grid;
    place-items:center;
    width:4rem;
    aspect-ratio:1;
    border-radius:50%;
    background:var(--bg-card);
    color:var(--module-pr);
    font-size:2rem;
    flex-shrink:0;
}

.coleccion-header h3{
    margin-bottom:var(--space-xs);
    font-size:var(--text-h4);
    color:var(--text-primary);
}

.coleccion-header p{
    color:var(--text-secondary);
    font-size:var(--text-base);
    line-height:1.6;
}


/* QUEST GRID */

.quests-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:var(--space-md);
}


/* QUEST CARD */

.quest-card{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:var(--space-md);
    padding:var(--space-lg);
    background:white;
    border:var(--border-light);
    border-radius:var(--radius-sm);
    text-decoration:none;
    color:inherit;
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base),
        background-color var(--transition-base);
}

.quest-card:hover{
    transform:translateY(-4px);
    border-color:var(--module-pr);
    box-shadow:var(--shadow-sm);
}

.quest-card h4{
    margin-bottom:var(--space-sm);
    font-size:var(--text-lg);
    color:var(--text-primary);
}

.quest-card p{
    flex:1;
    color:var(--text-secondary);
    font-size:var(--text-base);
    line-height:1.7;
}


/* STATUS */

.quest-status{
    align-self:flex-start;
    padding:var(--space-xs) var(--space-sm);
    border-radius:var(--radius-pill);
    background:var(--module-bg);
    color:var(--module-pr);
    font-size:var(--text-sm);
    font-weight:600;
}

/* AVAILABLE QUEST */

.quest-card.disponible{
    background:var(--bg-main);
    border:var(--border-primary);
}
.quest-card.disponible:hover{
    background:var(--module-bg);
}


/* RESPONSIVE */

@media (max-width:900px){
    .quests-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width:768px){
    .colecciones{
        padding:var(--space-xl) var(--space-sm);
    }
    .coleccion-card{
        padding:var(--space-lg);
    }
    .coleccion-header{
        align-items:flex-start;
    }
    .coleccion-header .material-symbols-rounded{
        width:3.5rem;
        font-size:1.75rem;
    }
}

/* HOW IT WORKS */

.how-it-works{
    padding: var(--space-xl) var(--space-lg);
    background: var(--bg-main);
}

/* STEPS GRID */

.steps-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:var(--space-md);
    margin-bottom:var(--space-xl);
}

/* STEP CARD */

.step-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:var(--space-md);
    padding:var(--space-lg);
    background:var(--bg-card);
    border:var(--border-light);
    border-radius:var(--radius-md);
    box-shadow:var(--shadow-sm);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.step-card:hover{
    transform:translateY(-6px);
    border-color:var(--module-pr);
    box-shadow:var(--shadow-md);
}

/* ICON */

.step-card .material-symbols-rounded{
    display:grid;
    place-items:center;
    width:4rem;
    aspect-ratio:1;
    border-radius:50%;
    background:var(--module-bg);
    color:var(--module-pr);
    font-size:2rem;
    font-variation-settings:
        'FILL' 1,
        'wght' 500,
        'GRAD' 0,
        'opsz' 32;
}

/* TEXT */

.step-card h3{
    font-size:var(--text-h4);
    color:var(--text-primary);
}

.step-card p{
    font-size:var(--text-base);
    color:var(--text-secondary);
    line-height:1.7;
}

/* HIGHLIGHT BOX */

.highlight-box{
    display:flex;
    align-items:flex-start;
    gap:var(--space-lg);
    padding:var(--space-xl);
    background:var(--module-bg);
    border:var(--border-primary);
    border-radius:var(--radius-md);
    box-shadow:var(--shadow-home);
}

.highlight-box .material-symbols-rounded{
    display:grid;
    place-items:center;
    width:4rem;
    aspect-ratio:1;
    flex-shrink:0;
    border-radius:50%;
    background:var(--bg-card);
    color:var(--module-pr);
    font-size:2rem;
    font-variation-settings:
        'FILL' 1,
        'wght' 500,
        'GRAD' 0,
        'opsz' 32;
}

.highlight-box h3{
    margin-bottom:var(--space-sm);
    font-size:var(--text-h4);
    color:var(--text-primary);
}

.highlight-box p{
    font-size:var(--text-base);
    color:var(--text-secondary);
    line-height:1.8;
}

/* RESPONSIVE */

@media (max-width:1100px){
    .steps-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media (max-width:768px){
    .how-it-works{
        padding:var(--space-xl) var(--space-sm);
    }
    .steps-grid{
        grid-template-columns:1fr;
    }
    .step-card{
        align-items:flex-start;
        text-align:left;
    }
    .highlight-box{
        flex-direction:column;
    }
}

/* BEFORE YOU BEGIN */

.before-you-begin{
    padding: var(--space-xl) var(--space-lg);
    background: var(--bg-secondary);
}

/* READING GRID */

.reading-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:var(--space-lg);
    margin-bottom:var(--space-xl);
}

/* READING CARD */

.reading-card{
    display:flex;
    flex-direction:column;
    gap:var(--space-md);
    padding:var(--space-xl);
    background:var(--bg-card);
    border:var(--border-light);
    border-radius:var(--radius-md);
    box-shadow:var(--shadow-sm);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.reading-card:hover{
    transform:translateY(-6px);
    border-color:var(--module-pr);
    box-shadow:var(--shadow-md);
}

/* ICON */

.reading-card .material-symbols-rounded{
    display:grid;
    place-items:center;
    width:4rem;
    aspect-ratio:1;
    border-radius:50%;
    background:var(--module-bg);
    color:var(--module-pr);
    font-size:2rem;
    font-variation-settings:
        'FILL' 1,
        'wght' 500,
        'GRAD' 0,
        'opsz' 32;
}

/* TEXT */

.reading-card h3{
    font-size:var(--text-h4);
    color:var(--text-primary);
}

.reading-card p{
    font-size:var(--text-base);
    color:var(--text-secondary);
    line-height:1.8;
}

/* TIP BOX */

.tip-box{
    display:flex;
    align-items:flex-start;
    gap:var(--space-lg);
    padding:var(--space-xl);
    background:var(--bg-card);
    border:var(--border-primary);
    border-radius:var(--radius-md);
    box-shadow:var(--shadow-home);
}

.tip-box .material-symbols-rounded{
    display:grid;
    place-items:center;
    width:4rem;
    aspect-ratio:1;
    flex-shrink:0;
    border-radius:50%;
    background:var(--module-bg);
    color:var(--module-pr);
    font-size:2rem;
    font-variation-settings:
        'FILL' 1,
        'wght' 500,
        'GRAD' 0,
        'opsz' 32;
}

/* TIP CONTENT */

.tip-box h3{
    margin-bottom:var(--space-sm);
    font-size:var(--text-h4);
    color:var(--text-primary);
}
.tip-box p{
    font-size:var(--text-base);
    color:var(--text-secondary);
    line-height:1.8;
}

/* RESPONSIVE */

@media (max-width:900px){
    .reading-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width:768px){
    .before-you-begin{
        padding:var(--space-xl) var(--space-sm);
    }
    .reading-card{
        padding:var(--space-lg);
    }
    .tip-box{
        flex-direction:column;
        padding:var(--space-lg);
    }
}

/* FINAL CTA */

.final-cta{
    padding:var(--space-xl) var(--space-lg);
    background:var(--bg-main);
}

.cta-card{
    max-width:900px;
    margin:auto;
    padding:var(--space-xl);
    text-align:center;
    background:var(--module-bg);
    border:var(--border-primary);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-home);
}

.cta-card h2{
    margin:var(--space-md) 0;
    font-size:var(--text-h2);
    line-height:1.15;
    color:var(--text-primary);
}

.cta-card p{
    max-width:60ch;
    margin:0 auto;
    font-size:var(--text-md);
    line-height:1.8;
    color:var(--text-secondary);
}

/* BUTTONS */

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:var(--space-md);
    margin:var(--space-xl) 0;
    flex-wrap:wrap;
}

/* FEATURES */

.cta-features{
    list-style:none;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:var(--space-lg);
}

.cta-features li{
    display:flex;
    align-items:center;
    gap:var(--space-xs);
    color:var(--text-secondary);
    font-size:var(--text-base);
}

.cta-features .material-symbols-rounded{
    color:var(--color-bien);
    font-size:1.2rem;
    font-variation-settings:
        'FILL' 1,
        'wght' 500;
}

/* RESPONSIVE */

@media (max-width:768px){
    .final-cta{
        padding:var(--space-xl) var(--space-sm);
    }
    .cta-card{
        padding:var(--space-lg);
    }
    .cta-card h2{
        font-size:var(--text-h3);
    }
    .cta-buttons{
        flex-direction:column;
    }
    .cta-buttons a{
        width:100%;
    }
    .cta-features{
        flex-direction:column;
        align-items:flex-start;
    }
}

/* FOOTER */

.site-footer{
    padding:var(--space-xl) var(--space-lg) var(--space-lg);
    background:var(--text-primary);
    color:white;
    position:relative;
    overflow:hidden;
}
.site-footer::after{
    content:"";
    position:absolute;
    right:-40px;
    bottom:-40px;
    width:320px;
    height:320px;
    background:url("../img/sumo-fighting-japan-japaneses.svg") no-repeat;
    background-size:contain;
    opacity:0.9;
    transform:rotate(-12deg);
    pointer-events:none;
}
.site-footer .container{
    position:relative;
    z-index:1;
}

/* GRID */

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:var(--space-xl);
    margin-bottom:var(--space-xl);
}

/* COLUMNS */

.footer-column h3{
    margin-bottom:var(--space-md);
    font-size:var(--text-h4);
}
.footer-column h4{
    margin-bottom:var(--space-md);
    font-size:var(--text-lg);
    color:white;
}
.footer-column p{
    color:rgba(255,255,255,.75);
    line-height:1.8;
}
.footer-column ul{
    list-style:none;
    display:grid;
    gap:var(--space-sm);
}
.footer-column a{
    color:rgba(255,255,255,.75);
    transition:color var(--transition-base);
}
.footer-column a:hover{
    color:white;
}
.footer-column:last-child{
    display:none;
}

/* BOTTOM */

.footer-bottom{
    padding-top:var(--space-lg);
    border-top:1px solid rgba(255,255,255,.15);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:var(--space-md);
    flex-wrap:wrap;
}

.footer-bottom p{
    color:rgba(255,255,255,.6);
    font-size:var(--text-sm);
}

/* RESPONSIVE */

@media (max-width:900px){
    .footer-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .header-btn{
        display:none;
    }

    .header-container{
        justify-content:space-between;
    }

}

@media (max-width:768px){
    .site-footer{
        padding:var(--space-xl) var(--space-sm);
    }

    .footer-grid{
        grid-template-columns:1fr;
        gap:var(--space-lg);
    }

    .footer-bottom{
        flex-direction:column;
        text-align:center;
    }
    
}