/*
Theme Name: Amiclala Pro - המכללה למיסים ולחשבונאות
Theme URI: https://amiclala.co.il/
Author: המכללה למיסים ולחשבונאות
Description: תבנית וורדפרס מודרנית, מהירה וממירה בהשראת עיצוב SaaS/שירותים נקי, מותאמת לקידום אורגני על "המכללה למיסים ולחשבונאות" ו"קורס חשבי שכר".
Version: 2.1.0
Text Domain: amiclala-pro
*/

/* ==========================================================================
   1. Netmart-Inspired Clean Conversion Design System
   ========================================================================== */
:root {
    --blue-700: #1e40af;
    --blue-600: #1a56db;
    --blue-500: #2563eb;
    --blue-100: #dbeafe;
    --blue-50:  #eff6ff;

    --emerald-600: #15803d;
    --emerald-500: #16a34a;
    --emerald-100: #dcfce7;

    --amber-600: #b45309;
    --amber-500: #f59e0b;
    --amber-100: #fef3c7;
    --amber-50:  #fffbeb;

    --coral-600: #dc2626;
    --coral-500: #ef4444;
    --coral-100: #fee2e2;

    --slate-950: #0f172a;
    --slate-800: #1e293b;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50:  #f8fafc;
    --white:     #ffffff;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 20px 50px rgba(26, 86, 219, 0.14);

    --font-main: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1200px;
    --header-h: 78px;
    --font-scale: 1;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: calc(16px * var(--font-scale));
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
    max-width: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--white);
    color: var(--slate-950);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    max-width: 100%;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

main, section, article, header, footer {
    max-width: 100%;
}

.hero-grid > *,
.split-feature > *,
.contact-grid > *,
.tracks-grid-4 > *,
.syllabus-grid > *,
.pricing-grid-3 > *,
.posts-grid-3 > *,
.visual-showcase-grid > *,
.faq-grid-2 > *,
.footer-grid > * {
    min-width: 0;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--blue-600);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

a:hover { color: var(--blue-700); }

:focus-visible {
    outline: 3px solid var(--blue-600) !important;
    outline-offset: 3px !important;
    border-radius: 4px;
}

.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;
}

.skip-link {
    position: fixed; top: -120px; right: 16px; z-index: 10000;
    background: var(--slate-950); color: #ffffff; padding: 0.8rem 1.4rem;
    border: 2px solid var(--amber-500); border-radius: var(--radius-sm);
    font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 14px; color: #ffffff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 4.5rem; position: relative; }
.section-soft { background: var(--slate-50); }
.section-blue-wash { background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%); }

.section-head { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.eyebrow-pill {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.35rem 1rem; border-radius: var(--radius-pill);
    background: var(--blue-50); color: var(--blue-700);
    border: 1px solid var(--blue-100); font-size: 0.88rem; font-weight: 800;
    margin-bottom: 0.85rem;
}
.section-head h2 {
    margin: 0 0 0.75rem; font-size: clamp(1.8rem, 3.2vw, 2.55rem);
    font-weight: 900; line-height: 1.2; color: var(--slate-950);
}
.section-head p { margin: 0; font-size: 1.08rem; color: var(--slate-600); }

/* ==========================================================================
   2. Buttons
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.82rem 1.6rem; border-radius: var(--radius-sm);
    font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2;
    text-decoration: none; cursor: pointer; border: 2px solid transparent;
    min-height: 48px; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-pill { border-radius: var(--radius-pill); }

.btn-primary {
    background: var(--blue-600); color: #ffffff;
    box-shadow: 0 10px 24px rgba(26, 86, 219, 0.28);
}
.btn-primary:hover { background: var(--blue-700); color: #ffffff; }

.btn-soft-blue {
    background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-100);
}
.btn-soft-blue:hover { background: var(--blue-100); color: var(--blue-700); }

.btn-whatsapp {
    background: var(--emerald-600); color: #ffffff;
    box-shadow: 0 10px 22px rgba(21, 128, 61, 0.25);
}
.btn-whatsapp:hover { background: #166534; color: #ffffff; }

.btn-outline {
    background: var(--white); color: var(--slate-950); border-color: var(--slate-200);
}
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }

/* ==========================================================================
   3. Sticky Crisp White Header (Netmart-Inspired)
   ========================================================================== */
.site-header {
    position: fixed; top: 0; inset-inline: 0; z-index: 900;
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200); box-shadow: var(--shadow-sm);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

.primary-nav > ul > li > a[aria-current="page"] {
    background: var(--blue-50); color: var(--blue-700);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; min-height: var(--header-h); padding-block: 0.45rem;
}
.site-brand {
    display: inline-flex; align-items: center; gap: 0.65rem;
    text-decoration: none; color: var(--slate-950); flex-shrink: 0;
}
.brand-badge {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, #1a56db 0%, #2563eb 100%);
    color: #ffffff; font-weight: 900; font-size: 1.25rem;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(26, 86, 219, 0.28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.12rem; font-weight: 900; color: var(--slate-950); }
.brand-sub { font-size: 0.78rem; font-weight: 700; color: var(--blue-600); }

.primary-nav > ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; align-items: center; gap: 0.35rem;
}
.primary-nav > ul > li > a {
    display: inline-block; padding: 0.5rem 0.85rem; border-radius: 8px;
    color: var(--slate-800); text-decoration: none; font-weight: 700; font-size: 0.96rem;
}
.primary-nav > ul > li > a:hover { background: var(--blue-50); color: var(--blue-600); }

.header-actions { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }
.header-btn { padding: 0.5rem 1.05rem; min-height: 42px; font-size: 0.92rem; }

.mobile-menu-btn {
    display: none; align-items: center; justify-content: center; gap: 0.4rem;
    height: 44px; padding: 0 0.9rem; border-radius: 10px;
    background: var(--blue-600); color: #ffffff; border: 0;
    font-family: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer;
}
.mobile-drawer {
    display: none; background: #ffffff; border-top: 1px solid var(--slate-200);
    padding: 1rem 1.25rem 1.4rem; box-shadow: var(--shadow-md);
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-drawer a {
    display: block; padding: 0.72rem 0.95rem; border-radius: 10px;
    background: var(--slate-50); color: var(--slate-950); text-decoration: none; font-weight: 700;
}
.mobile-drawer a:hover { background: var(--blue-50); color: var(--blue-600); }
.mobile-drawer-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.header-spacer { height: var(--header-h); }

/* ==========================================================================
   4. Netmart-Inspired Pastel Hero with Inline Conversion Form Card
   ========================================================================== */
.hero-pastel {
    background:
        radial-gradient(circle at 85% 15%, rgba(219, 234, 254, 0.85) 0%, transparent 45%),
        radial-gradient(circle at 12% 25%, rgba(254, 226, 226, 0.55) 0%, transparent 42%),
        radial-gradient(circle at 50% 90%, rgba(254, 243, 199, 0.6) 0%, transparent 50%),
        #ffffff;
    padding-block: 3.5rem 4.25rem;
    border-bottom: 1px solid var(--slate-200);
}
.hero-grid {
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.75rem; align-items: center;
}
.hero-pastel h1 {
    margin: 0 0 0.75rem; font-size: clamp(2.05rem, 4.1vw, 3.25rem);
    font-weight: 900; line-height: 1.14; color: var(--slate-950);
}
.hero-accent-line {
    display: block; color: var(--coral-600); font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800; margin-top: 0.35rem;
}
.hero-lead {
    margin: 0 0 1.35rem; font-size: 1.12rem; color: var(--slate-600); line-height: 1.72;
}
.hero-checks {
    list-style: none; margin: 0 0 1.75rem; padding: 0;
    display: flex; flex-wrap: wrap; gap: 0.75rem 1.4rem;
}
.hero-checks li {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-weight: 700; color: var(--slate-800); font-size: 0.98rem;
}
.green-check {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--emerald-100); color: var(--emerald-600);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.82rem; font-weight: 900; flex-shrink: 0;
}

/* Inline Horizontal Lead-Capture Form Card (Signature Netmart Conversion Pattern!) */
.hero-form-card {
    background: #ffffff; border: 1.5px solid var(--blue-100);
    border-radius: var(--radius-md); padding: 1.35rem 1.45rem;
    box-shadow: var(--shadow-lg);
}
.hero-form-title {
    margin: 0 0 0.85rem; font-size: 1.05rem; font-weight: 800; color: var(--slate-950);
}
.hero-form-row {
    display: grid; grid-template-columns: 1fr 1fr auto; gap: 0.65rem; align-items: stretch;
}
.hero-input {
    width: 100%; padding: 0.75rem 0.95rem; border-radius: 10px;
    border: 1.5px solid var(--slate-200); background: var(--slate-50);
    font-family: inherit; font-size: 0.98rem; color: var(--slate-950);
}
.hero-input:focus { background: #ffffff; border-color: var(--blue-600); }
.hero-consent {
    margin-top: 0.75rem; display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.86rem; color: var(--slate-600);
}
.hero-consent input { width: 18px; height: 18px; accent-color: var(--blue-600); cursor: pointer; }

.hero-visual-wrap { position: relative; }
.hero-visual-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    border: 5px solid #ffffff; box-shadow: var(--shadow-lg);
}
.hero-visual-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-trust-float {
    position: absolute; bottom: -18px; right: 18px;
    background: #ffffff; border: 1px solid var(--slate-200);
    border-right: 4px solid var(--emerald-500); border-radius: 14px;
    padding: 0.85rem 1.15rem; box-shadow: var(--shadow-md);
}
.hero-trust-float strong { display: block; font-size: 1rem; color: var(--slate-950); }
.hero-trust-float span { font-size: 0.85rem; color: var(--slate-600); }

/* ==========================================================================
   5. 4-Column Multi-Color Top-Accent Cards (Direct Netmart Signature!)
   ========================================================================== */
.tracks-grid-4 {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.35rem;
}
.track-card {
    background: #ffffff; border: 1px solid var(--slate-200);
    border-top-width: 4px; border-radius: var(--radius-md);
    padding: 1.75rem 1.4rem; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.track-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.track-card.accent-blue { border-top-color: var(--blue-600); }
.track-card.accent-green { border-top-color: var(--emerald-500); }
.track-card.accent-amber { border-top-color: var(--amber-500); }
.track-card.accent-coral { border-top-color: var(--coral-500); }

.track-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--blue-50); color: var(--blue-600);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.35rem; margin-bottom: 1rem;
}
.track-card h3 { margin: 0 0 0.55rem; font-size: 1.16rem; font-weight: 800; color: var(--slate-950); }
.track-card p { margin: 0 0 1rem; font-size: 0.94rem; color: var(--slate-600); flex-grow: 1; }
.track-link { font-weight: 800; font-size: 0.92rem; color: var(--blue-600); text-decoration: none; }
.track-link:hover { text-decoration: underline; }

/* ==========================================================================
   6. Syllabus Grid + Feature Split Banner
   ========================================================================== */
.syllabus-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem;
}
.syllabus-card {
    background: #ffffff; border: 1px solid var(--slate-200);
    border-radius: var(--radius-md); padding: 1.55rem; box-shadow: var(--shadow-sm);
}
.syllabus-num {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.2rem 0.65rem; border-radius: 6px;
    background: var(--blue-50); color: var(--blue-700);
    font-size: 0.82rem; font-weight: 800; margin-bottom: 0.65rem;
}
.syllabus-card h3 { margin: 0 0 0.45rem; font-size: 1.15rem; font-weight: 800; color: var(--slate-950); }
.syllabus-card p { margin: 0; font-size: 0.94rem; color: var(--slate-600); }

/* ==========================================================================
   7. 3-Column Study Tracks / Packages (Netmart Elevated Center Card!)
   ========================================================================== */
.pricing-grid-3 {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch;
}
.pricing-card {
    background: #ffffff; border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-lg); padding: 2rem 1.65rem;
    display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-sm);
}
.pricing-card.is-featured {
    border: 2.5px solid var(--blue-600); box-shadow: var(--shadow-lg); transform: translateY(-6px);
}
.popular-pill {
    position: absolute; top: -15px; right: 50%; transform: translateX(50%);
    background: var(--amber-500); color: var(--slate-950);
    padding: 0.3rem 1.05rem; border-radius: var(--radius-pill);
    font-size: 0.84rem; font-weight: 900; white-space: nowrap;
}
.pricing-card h3 { margin: 0 0 0.35rem; font-size: 1.4rem; font-weight: 900; color: var(--slate-950); }
.pricing-sub { margin: 0 0 1rem; font-size: 0.94rem; color: var(--slate-600); }
.pricing-note {
    background: var(--amber-50); border: 1px solid var(--amber-100);
    color: var(--amber-600); border-radius: 10px; padding: 0.55rem 0.85rem;
    font-size: 0.88rem; font-weight: 700; margin-bottom: 1.25rem;
}
.pricing-list {
    list-style: none; margin: 0 0 1.75rem; padding: 0;
    display: flex; flex-direction: column; gap: 0.7rem; flex-grow: 1;
}
.pricing-list li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.95rem; color: var(--slate-800); }

/* ==========================================================================
   8. FAQ Accordion, Latest Posts with Featured Images & Full Contact Form
   ========================================================================== */
.faq-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.faq-item { background: #ffffff; border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden; }
.faq-item.is-open { border-color: var(--blue-600); }
.faq-heading { margin: 0; }
.faq-trigger {
    width: 100%; background: transparent; border: 0; padding: 1.1rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between; gap: 0.85rem;
    text-align: right; font-family: inherit; font-size: 1.02rem; font-weight: 700;
    color: var(--slate-950); cursor: pointer;
}
.faq-trigger:hover { background: var(--slate-50); }
.faq-icon {
    width: 28px; height: 28px; border-radius: 8px; background: var(--blue-50);
    color: var(--blue-600); display: inline-flex; align-items: center; justify-content: center;
    font-weight: 900; flex-shrink: 0;
}
.faq-item.is-open .faq-icon { background: var(--blue-600); color: #ffffff; transform: rotate(45deg); }
.faq-panel { padding: 0 1.25rem 1.15rem; color: var(--slate-600); font-size: 0.95rem; border-top: 1px solid var(--slate-100); }
.faq-panel[hidden] { display: none; }
.faq-panel p { margin: 0.75rem 0 0; }

/* Latest Posts Grid with Featured Images */
.posts-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.post-card {
    background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-md);
    overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-600); }
.post-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--slate-100); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-cat {
    position: absolute; top: 12px; right: 12px; background: var(--blue-600); color: #ffffff;
    padding: 0.2rem 0.7rem; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 700;
}
.post-body { padding: 1.35rem; display: flex; flex-direction: column; flex-grow: 1; }
.post-date { font-size: 0.84rem; color: var(--slate-400); font-weight: 600; margin-bottom: 0.4rem; }
.post-card h2, .post-card h3 { margin: 0 0 0.55rem; font-size: 1.14rem; line-height: 1.38; }
.post-card h2 a, .post-card h3 a { color: var(--slate-950); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--blue-600); text-decoration: underline; }
.post-card p { margin: 0 0 1rem; font-size: 0.94rem; color: var(--slate-600); flex-grow: 1; }

/* Full Contact Section */
.contact-grid {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: start;
}
.contact-card-dark {
    background: var(--slate-950); color: #ffffff; border-radius: var(--radius-lg); padding: 2.25rem;
}
.contact-card-dark h2 { margin: 0 0 0.75rem; font-size: 1.85rem; color: #ffffff; }
.contact-card-dark p { color: #cbd5e1; }
.contact-list { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.contact-list a { color: #93c5fd; font-weight: 700; }

.contact-card-light {
    background: #ffffff; border: 1.5px solid var(--slate-200); border-radius: var(--radius-lg);
    padding: 2.25rem; box-shadow: var(--shadow-md);
}
.contact-card-light fieldset { border: 0; padding: 0; margin: 0; }
.contact-card-light legend { font-size: 1.4rem; font-weight: 900; color: var(--slate-950); margin-bottom: 0.35rem; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 700; font-size: 0.94rem; color: var(--slate-800); margin-bottom: 0.35rem; }
.form-control {
    width: 100%; padding: 0.75rem 0.95rem; font-family: inherit; font-size: 1rem;
    border: 1.5px solid var(--slate-200); border-radius: 10px; background: var(--slate-50); color: var(--slate-950);
}
.form-control:focus { background: #ffffff; border-color: var(--blue-600); }
.form-status { margin-top: 0.9rem; padding: 0.85rem 1rem; border-radius: 10px; font-weight: 700; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: var(--emerald-100); color: #14532d; }
.form-status.is-error { background: var(--coral-100); color: #7f1d1d; }

/* Inner Pages */
.page-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%); color: #ffffff; padding-block: 3.25rem;
}
.page-banner h1 { margin: 0.4rem 0 0; font-size: clamp(1.85rem, 3.5vw, 2.65rem); font-weight: 900; }
.breadcrumbs { font-size: 0.9rem; color: #bfdbfe; }
.breadcrumbs a { color: #ffffff; }
.prose-card {
    max-width: 880px; margin: 0 auto; background: #ffffff; border: 1px solid var(--slate-200);
    border-radius: var(--radius-md); padding: 2.4rem; font-size: 1.06rem; line-height: 1.85;
}
.prose-card h2, .prose-card h3 { color: var(--slate-950); margin-top: 1.85rem; }

/* Footer + Floating WhatsApp + Mobile Sticky Bar */
.site-footer {
    background: var(--slate-950); color: #cbd5e1; padding-top: 4rem; padding-bottom: 6rem;
    border-top: 4px solid var(--blue-600);
}
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.1fr; gap: 2rem; padding-bottom: 2.25rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-footer h2, .site-footer h3 { color: #ffffff; font-size: 1.1rem; margin: 0 0 0.9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: #cbd5e1; text-decoration: none; font-size: 0.94rem; }
.footer-links a:hover { color: #ffffff; text-decoration: underline; }
.footer-bottom { padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }

.floating-whatsapp {
    position: fixed; bottom: 24px; left: 24px; z-index: 880;
    display: inline-flex; align-items: center; gap: 0.55rem;
    background: var(--emerald-600); color: #ffffff; padding: 0.8rem 1.25rem;
    border-radius: var(--radius-pill); text-decoration: none; font-weight: 800;
    box-shadow: 0 12px 28px rgba(21, 128, 61, 0.4); border: 2px solid #ffffff;
}
.floating-whatsapp:hover { background: #166534; color: #ffffff; }

.mobile-sticky-bar {
    display: none; position: fixed; bottom: 0; inset-inline: 0; z-index: 890;
    background: rgba(15, 23, 42, 0.97); border-top: 2px solid var(--blue-500);
    padding: 0.6rem 0.85rem; grid-template-columns: 1fr 1fr; gap: 0.65rem;
}

/* SILO Pages: Split Feature, Visual Showcase, Accessible Table, Articles Toolbar */
.split-feature {
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center;
}
.visual-showcase-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem;
}
.visual-card {
    background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-md);
    overflow: hidden; box-shadow: var(--shadow-sm);
}
.visual-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.visual-card figcaption { padding: 1rem 1.2rem; }
.visual-card strong { display: block; font-size: 1.05rem; color: var(--slate-950); margin-bottom: 0.2rem; }
.visual-card span { font-size: 0.9rem; color: var(--slate-600); }

.table-wrap {
    margin-top: 2.5rem; overflow-x: auto; border-radius: var(--radius-md);
    border: 1px solid var(--slate-200); background: #ffffff; box-shadow: var(--shadow-sm);
}
.am-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.am-table caption {
    padding: 1rem 1.25rem; font-size: 1.1rem; font-weight: 800; text-align: right;
    background: var(--blue-50); color: var(--slate-950); border-bottom: 1px solid var(--slate-200);
}
.am-table th, .am-table td { padding: 0.9rem 1.15rem; border-bottom: 1px solid var(--slate-200); text-align: right; }
.am-table thead th { background: var(--slate-950); color: #ffffff; font-weight: 700; }
.am-table tbody th { background: var(--slate-50); color: var(--slate-950); font-weight: 700; }

.articles-toolbar {
    display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem;
}
.search-bar-form { display: flex; gap: 0.6rem; max-width: 560px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.cat-pill {
    display: inline-block; padding: 0.45rem 1rem; border-radius: var(--radius-pill);
    background: #ffffff; border: 1px solid var(--slate-200); color: var(--slate-800);
    text-decoration: none; font-weight: 700; font-size: 0.9rem;
}
.cat-pill:hover, .cat-pill.is-active { background: var(--blue-600); color: #ffffff; border-color: var(--blue-600); }

.pagination-wrap { margin-top: 2.5rem; display: flex; justify-content: center; gap: 0.45rem; flex-wrap: wrap; }
.pagination-wrap .page-numbers {
    padding: 0.5rem 0.9rem; border-radius: 8px; border: 1px solid var(--slate-200);
    background: #ffffff; color: var(--slate-950); text-decoration: none; font-weight: 700;
}
.pagination-wrap .page-numbers.current { background: var(--blue-600); color: #ffffff; border-color: var(--blue-600); }

.footer-a11y-badge {
    display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.85rem;
    padding: 0.48rem 0.9rem; border-radius: 8px; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(147,197,253,0.4); color: #ffffff; text-decoration: none;
    font-size: 0.88rem; font-weight: 700;
}
.footer-a11y-badge:hover { background: var(--blue-600); color: #ffffff; }

/* ==========================================================================
   9. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
    .hero-grid, .split-feature { grid-template-columns: 1fr; }
    .tracks-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .syllabus-grid, .pricing-grid-3, .posts-grid-3, .visual-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .primary-nav, .header-whatsapp, .header-soft-cta { display: none; }
    .mobile-menu-btn { display: inline-flex; }
    .hero-form-row { grid-template-columns: 1fr; }
    .faq-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    :root { --header-h: 68px; }
    .container { padding-inline: 1rem; }
    .section { padding-block: 2.75rem; }
    .header-inner { gap: 0.5rem; }
    .site-brand { gap: 0.5rem; min-width: 0; flex: 1 1 auto; }
    .brand-badge { width: 38px; height: 38px; font-size: 1.1rem; flex-shrink: 0; }
    .brand-text { min-width: 0; }
    .brand-name { font-size: 0.96rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .brand-sub { display: none; }
    .header-call, .floating-whatsapp { display: none; }
    .mobile-menu-btn { height: 40px; padding: 0 0.75rem; font-size: 0.88rem; flex-shrink: 0; }
    .mobile-sticky-bar { display: grid; }
    .hero-pastel { padding-block: 2rem 2.75rem; }
    .hero-pastel h1 { font-size: 1.85rem; }
    .hero-accent-line { font-size: 1.2rem; }
    .hero-lead { font-size: 1rem; }
    .hero-checks { flex-direction: column; gap: 0.5rem; }
    .hero-form-card { padding: 1.1rem; }
    .hero-form-row { grid-template-columns: 1fr; }
    .hero-form-row .btn { width: 100%; white-space: normal; }
    .btn { white-space: normal; text-align: center; }
    .tracks-grid-4, .syllabus-grid, .pricing-grid-3, .posts-grid-3, .visual-showcase-grid, .form-2col, .footer-grid { grid-template-columns: 1fr; }
    .search-bar-form { flex-direction: column; }
    .pricing-card.is-featured { transform: none; }
    .hero-trust-float { position: static; margin-top: 0.9rem; }
    .contact-card-dark, .contact-card-light { padding: 1.4rem 1.15rem; }
    .prose-card { padding: 1.4rem 1.1rem; }
    .site-footer { padding-bottom: 6.5rem; }
}
