/* Presentation variant overrides.
   Loaded after components.css — overrides by source order, no !important.
   Naming convention: {component}--{variant} (BEM modifier). */

/* === Header: centered === */
.header--centered .header-inner {
    flex-direction: column;
    height: auto;
    padding: 0.75rem 0;
    gap: 0.5rem;
}
.header--centered .logo-link {
    margin-bottom: 0.25rem;
}
.header--centered .header-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.header--centered .nav-menu--centered {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    justify-content: center;
    order: -1;
    width: 100%;
}
.header--centered .header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.header--centered .burger-btn { order: 10; }
.header--centered .nav-menu--mobile { display: none; }
.header--centered .nav-menu--mobile.open { display: flex; }

@media (max-width: 960px) {
    .header--centered .header-inner {
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
        padding: 0.5rem 0;
    }
    .header--centered .nav-menu--centered { display: none; }
    .header--centered .header-actions { margin-left: auto; }
    [dir="rtl"] .header--centered .header-actions { margin-left: 0; margin-right: auto; }
}

/* === Footer: minimal === */
.footer--minimal .footer-inner {
    text-align: center;
    padding: 1rem 0;
}
.footer--minimal .footer-nav {
    margin-bottom: 0.5rem;
}
.footer--minimal .footer-copyright {
    font-size: 0.8rem;
    opacity: 0.5;
    margin: 0;
}

/* === Block: hero split === */
.hero--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
    align-items: center;
}
[dir="rtl"] .hero--split { text-align: right; }
.hero--split .hero-split-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero--split .hero-split-media {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero--split .hero-logo {
    max-height: 120px;
    width: auto;
}
.hero--split .hero-subtitle {
    margin: 0;
}
.hero--split .cta-group {
    justify-content: flex-start;
}
[dir="rtl"] .hero--split .cta-group { justify-content: flex-end; }

@media (max-width: 768px) {
    .hero--split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero--split .hero-split-media { order: -1; }
    .hero--split .cta-group { justify-content: center; }
}

/* === Block: faq bordered === */
.faq--bordered .faq-bordered-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-bordered-item {
    display: flex;
    gap: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-border);
    border-radius: 10px;
    padding: 1.25rem;
    align-items: flex-start;
}
.faq-bordered-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-btn);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}
.faq-bordered-body { flex: 1; }
.faq-bordered-q {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.faq-bordered-a {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* === Block: benefits stacked === */
.benefits--stacked .benefits-stacked-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.benefits-stacked-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-border);
    border-radius: 10px;
    padding: 1.25rem;
}
.benefits-stacked-icon {
    flex-shrink: 0;
    font-size: 1.75rem;
    width: 48px;
    text-align: center;
}
.benefits-stacked-body { flex: 1; }
.benefits-stacked-body h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}
.benefits-stacked-body p {
    opacity: 0.75;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* === Page layout: home showcase === */
.home-showcase .showcase-hero-wrap {
    margin: 0 -1.5rem;
    padding: 0;
}
.home-showcase .showcase-hero-wrap .hero {
    border-radius: 0;
    margin-bottom: 0;
    padding: 3.5rem 1.5rem;
}
.home-showcase .showcase-hero-h1 {
    text-align: center;
    font-size: 2.75rem;
    margin: 0 0 0.5rem;
}
@media (max-width: 768px) {
    .home-showcase .showcase-hero-h1 { font-size: 1.75rem; }
    .home-showcase .showcase-hero-wrap { margin: 0 -1rem; }
    .home-showcase .showcase-hero-wrap .hero { padding: 2.5rem 1rem; }
}

/* === Footer flavors (deterministic per-site uniqueness) === */
/* classic: default spacing, standard headings */
.footer-flavor--classic .footer-col-heading {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* wide: more gap, relaxed layout */
.footer-flavor--wide .footer-columns { gap: 3rem; }
.footer-flavor--wide .footer-col-heading {
    text-transform: none;
    font-size: 0.9rem;
    letter-spacing: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}
.footer-flavor--wide .footer-col-img { height: 32px; }

/* compact: tighter, smaller elements */
.footer-flavor--compact .footer-columns { gap: 1.25rem; }
.footer-flavor--compact .footer-col-heading {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    opacity: 0.4;
}
.footer-flavor--compact .footer-col-links a { font-size: 0.8rem; padding: 0.15rem 0; }
.footer-flavor--compact .footer-col-img { height: 24px; }
