/* ═══════════════════════════════
   SASO SABER — Shared Stylesheet
   ═══════════════════════════════ */

@import url('https://unpkg.com/@phosphor-icons/web@2.1.1/src/regular/style.css');

/* ─ ICON SIZING ─ */
.ph {
    vertical-align: -0.18em;
    line-height: 1;
    font-size: 1.05em;
}
a .ph, button .ph { font-size: 1em; }

/* ─ RESET & BASE ─ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bottle:   #1B4332;
    --forest:   #2D6A4F;
    --yellow:   #F5C518;
    --yellow-d: #D4A800;
    --offwhite: #F9F7F2;
    --ink:      #111612;
    --muted:    #5C7268;
    --border:   #DDE5E0;
    --white:    #FFFFFF;
    --radius:   4px;
}

html { scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

.wrap {
    max-width: 1160px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* ─ BUTTONS ─ */
.btn-y {
    display: inline-block;
    background: var(--yellow);
    color: var(--bottle);
    font-weight: 800;
    padding: .8rem 1.75rem;
    border-radius: var(--radius);
    font-size: .95rem;
    transition: background .15s;
}
.btn-y:hover { background: var(--yellow-d); }

.btn-ghost {
    display: inline-block;
    border: 2px solid rgba(255,255,255,.3);
    color: var(--white);
    padding: .8rem 1.75rem;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 600;
    transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: var(--yellow); background: rgba(245,197,24,.08); }

.btn-outline {
    display: inline-block;
    border: 2px solid var(--bottle);
    color: var(--bottle);
    padding: .65rem 1.4rem;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 700;
    transition: background .15s, color .15s;
}
.btn-outline:hover { background: var(--bottle); color: var(--white); }

/* ─ TOPBAR ─ */
#topbar {
    background: var(--bottle);
    color: #A8C5B5;
    font-size: .82rem;
    padding: .5rem 0;
    letter-spacing: .01em;
}
#topbar .wrap {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
#topbar a { color: #C8DDD4; transition: color .15s; }
#topbar a:hover { color: var(--yellow); }
.tb-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.tb-pill {
    background: var(--yellow);
    color: var(--bottle);
    font-weight: 700;
    font-size: .75rem;
    padding: .2rem .65rem;
    border-radius: 2px;
    letter-spacing: .04em;
}

/* ─ HEADER ─ */
#hdr {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--white);
    border-bottom: 3px solid var(--yellow);
}
#hdr .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1rem;
    gap: 1.5rem;
}
.logo {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--bottle);
    letter-spacing: -.03em;
    line-height: 1;
}
.logo span { color: var(--yellow); }

#nav { display: flex; gap: .2rem; align-items: center; }
#nav a {
    padding: .4rem .75rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--ink);
    border-radius: var(--radius);
    transition: background .15s, color .15s;
}
#nav a:hover,
#nav a[aria-current="page"] {
    background: var(--offwhite);
    color: var(--forest);
}
.hdr-cta {
    display: inline-block;
    background: var(--yellow);
    color: var(--bottle);
    font-weight: 800;
    font-size: .88rem;
    padding: .55rem 1.25rem;
    border-radius: var(--radius);
    letter-spacing: .01em;
    transition: background .15s;
    white-space: nowrap;
}
.hdr-cta:hover { background: var(--yellow-d); }

/* ─ SECTION HELPERS ─ */
.section { padding: 5rem 0; }
.section-alt { background: var(--offwhite); border-top: 1px solid var(--border); }
.section-dark { background: var(--bottle); color: var(--white); }

.sec-label {
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--forest);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
}
.sec-label::before {
    content: "";
    width: 20px;
    height: 2px;
    background: var(--yellow);
    display: block;
    flex-shrink: 0;
}
.section-dark .sec-label { color: var(--yellow); }
.section-dark .sec-label::before { background: var(--yellow); }

.sec-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--bottle);
}
.section-dark .sec-title { color: var(--white); }

.sec-body {
    font-size: 1rem;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.75;
    margin-top: .75rem;
}

/* ─ BREADCRUMB ─ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color .15s; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ─ PAGE HERO (inner pages) ─ */
.pg-hero {
    background: var(--bottle);
    color: var(--white);
    padding: 3.5rem 0 4rem;
}
.pg-hero h1 {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 1rem;
    max-width: 700px;
}
.pg-hero p {
    font-size: 1.05rem;
    color: #9DC4B4;
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.pg-hero-btns { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ─ PAGE BODY GRID ─ */
.pg-body { padding: 4rem 0 5rem; }
.pg-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3.5rem;
    align-items: start;
}
.pg-main > * + * { margin-top: 3rem; }

/* ─ CONTENT SECTIONS ─ */
.cs { }
.cs h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--bottle);
    letter-spacing: -.02em;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--yellow);
    display: inline-block;
    margin-bottom: .85rem;
}
.cs p { font-size: .95rem; color: var(--muted); line-height: 1.75; margin-top: .5rem; }
.cs p + p { margin-top: .65rem; }

/* ─ CHECK LIST ─ */
.check-list { display: grid; gap: .45rem; margin-top: .85rem; }
.check-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .92rem;
    color: var(--muted);
    line-height: 1.55;
}
.check-item::before {
    content: "✓";
    background: var(--yellow);
    color: var(--bottle);
    font-size: .68rem;
    font-weight: 900;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: .1rem;
}

/* ─ STEP LIST ─ */
.step-list { counter-reset: step; display: grid; gap: 0; margin-top: .85rem; }
.step-li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: .25rem 1rem;
    padding-block: 1.25rem;
    border-top: 1px solid var(--border);
    align-items: start;
}
.step-li:last-child { border-bottom: 1px solid var(--border); }
.step-li::before {
    content: counter(step);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--yellow);
    letter-spacing: -.04em;
    line-height: 1.15;
}
.step-li-body h3 {
    font-size: .97rem;
    font-weight: 700;
    color: var(--bottle);
    margin-bottom: .3rem;
}
.step-li-body p {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ─ INFO BOX ─ */
.info-box {
    background: var(--offwhite);
    border-left: 4px solid var(--yellow);
    padding: 1.1rem 1.4rem;
    margin-top: 1rem;
}
.info-box p {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

/* ─ INNER FAQ ─ */
.faq-inner { display: grid; gap: .5rem; margin-top: .85rem; }
.faq-inner details {
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.faq-inner details[open] { border-color: var(--forest); }
.faq-inner summary {
    padding: .9rem 1.1rem;
    font-weight: 600;
    font-size: .93rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--ink);
}
.faq-inner summary::-webkit-details-marker { display: none; }
.faq-inner summary::after {
    content: "+";
    color: var(--forest);
    font-size: 1.1rem;
    font-weight: 400;
    flex-shrink: 0;
}
.faq-inner details[open] summary::after { content: "−"; }
.faq-inner details p {
    padding: 0 1.1rem .9rem;
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

/* ─ SIDEBAR ─ */
.pg-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sidebar-cta {
    background: var(--bottle);
    color: var(--white);
    padding: 1.75rem;
}
.sidebar-cta h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: .5rem;
}
.sidebar-cta p {
    font-size: .85rem;
    color: #9DC4B4;
    margin-bottom: 1.25rem;
    line-height: 1.65;
}
.sidebar-cta .btn-y {
    width: 100%;
    text-align: center;
    display: block;
}
.sidebar-contact {
    border: 1px solid var(--border);
    padding: 1.25rem;
    background: var(--offwhite);
}
.sidebar-contact h4 {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: .85rem;
}
.sidebar-contact a {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
    padding-block: .4rem;
    border-bottom: 1px solid var(--border);
}
.sidebar-contact a:last-child { border-bottom: none; }
.sidebar-contact a:hover { color: var(--forest); }
.sidebar-links {
    border: 1px solid var(--border);
    padding: 1.25rem;
}
.sidebar-links h4 {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: .85rem;
}
.sidebar-links nav { display: flex; flex-direction: column; gap: 0; }
.sidebar-links nav a {
    font-size: .88rem;
    color: var(--forest);
    padding-block: .4rem;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}
.sidebar-links nav a:last-child { border-bottom: none; }
.sidebar-links nav a:hover { color: var(--bottle); }

/* ─ FORM STYLES ─ */
.fg { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg .full { grid-column: 1/-1; }
.field { display: flex; flex-direction: column; gap: .3rem; }
label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .03em;
    text-transform: uppercase;
}
input, select, textarea {
    padding: .65rem .85rem;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: inherit;
    font-size: .95rem;
    color: var(--ink);
    border-radius: 0;
    transition: border-color .15s;
    width: 100%;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(45,106,79,.1);
}
textarea { resize: vertical; min-height: 110px; }
.submit-btn {
    background: var(--bottle);
    color: var(--white);
    border: none;
    padding: .9rem 2.25rem;
    font-size: .95rem;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: .02em;
    transition: background .15s;
    font-family: inherit;
    border-radius: 0;
}
.submit-btn:hover { background: var(--forest); }

/* ─ TABLE STYLE ─ */
.data-table { width: 100%; border-collapse: collapse; margin-top: .85rem; }
.data-table th {
    background: var(--bottle);
    color: var(--white);
    text-align: left;
    padding: .75rem 1rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.data-table td {
    padding: .75rem 1rem;
    font-size: .9rem;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.data-table tr:nth-child(even) td { background: var(--offwhite); }
.data-table td strong { color: var(--ink); }

/* ─ CATEGORY TAGS ─ */
.tag-group { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.tag {
    background: var(--offwhite);
    border: 1px solid var(--border);
    padding: .4rem .85rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--bottle);
    border-radius: 2px;
}
.tag-dark {
    background: var(--bottle);
    color: var(--white);
    border-color: var(--bottle);
}

/* ─ FOOTER ─ */
#footer { background: #111612; color: #7A9E8E; }
.footer-top {
    padding: 3.5rem 0 2.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    border-bottom: 1px solid #2A3B33;
}
.footer-logo {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -.03em;
    margin-bottom: .85rem;
    line-height: 1;
}
.footer-logo span { color: var(--yellow); }
.footer-about { font-size: .85rem; line-height: 1.7; }
.footer-disclaimer {
    margin-top: 1rem;
    font-size: .78rem;
    color: #4A6659;
    line-height: 1.65;
}
.footer-col h3 {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1rem;
}
.footer-col nav { display: flex; flex-direction: column; gap: .45rem; }
.footer-col nav a { font-size: .85rem; color: #7A9E8E; transition: color .15s; }
.footer-col nav a:hover { color: var(--yellow); }
.footer-address { font-style: normal; display: flex; flex-direction: column; gap: .5rem; }
.footer-address a { font-size: .85rem; color: #7A9E8E; transition: color .15s; }
.footer-address a:hover { color: var(--yellow); }
.footer-address span { font-size: .85rem; }
.footer-bottom {
    padding: 1.1rem 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .8rem;
    color: #4A6659;
}
.footer-bottom nav { display: flex; gap: 1rem; }
.footer-bottom nav a { color: #4A6659; transition: color .15s; }
.footer-bottom nav a:hover { color: var(--yellow); }

/* ─ FLOATING WA ─ */
#wa {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 300;
    background: #25D366;
    color: var(--white);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,.28);
    transition: transform .2s;
}
#wa:hover { transform: scale(1.1); }

/* ═══════════════════════════════
   ANIMATIONS
   ═══════════════════════════════ */

/* ─ SUMMARY ARROW — rotates + into × on open ─ */
.faq-inner summary::after,
details.fq summary::after {
    display: inline-block;
    line-height: 1;
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}
/* keep content as "+" so the rotation stays clean */
.faq-inner details[open] summary::after,
details.fq[open] summary::after {
    content: "+";
    transform: rotate(45deg);
}

/* ─ SUMMARY HOVER ─ */
.faq-inner summary { transition: background 0.18s ease; }
.faq-inner summary:hover { background: var(--offwhite); }
details.fq summary { transition: background 0.18s ease; }
details.fq summary:hover { background: rgba(255,255,255,.06); }

/* ─ NAV UNDERLINE SLIDE ─ */
#nav a { position: relative; }
#nav a::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--yellow);
    border-radius: 1px;
    transition: left 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                right 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
#nav a:hover::after,
#nav a[aria-current="page"]::after { left: 0.6rem; right: 0.6rem; }

/* ─ BUTTONS ─ */
.btn-y, .btn-ghost, .btn-outline, .hdr-cta, .submit-btn {
    transition: background 0.18s ease, border-color 0.18s ease,
                color 0.18s ease, transform 0.12s ease;
}
.btn-y:active, .btn-ghost:active, .btn-outline:active,
.hdr-cta:active, .submit-btn:active { transform: translateY(1px); }

/* ─ CARD HOVERS ─ */
.saber-card {
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.saber-card:hover {
    border-color: var(--forest);
    box-shadow: 0 4px 16px rgba(27,67,50,.1);
}
.step-li { transition: background 0.15s ease; }
.step-li:hover { background: var(--offwhite); }

/* ─ INPUTS ─ */
input, select, textarea {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ─ SCROLL FADE-UP (JS adds .anim-fade-up then .in-view) ─ */
.anim-fade-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-fade-up.in-view { opacity: 1; transform: translateY(0); }

/* ─ PAGE HERO ENTRANCE ─ */
@keyframes slide-up {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.pg-hero h1, #hero h1 {
    animation: slide-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pg-hero p, #hero p {
    animation: slide-up 0.55s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pg-hero-btns, .hero-btns {
    animation: slide-up 0.55s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ─ SIDEBAR CTA PULSE ─ */
@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245,197,24,0); }
    55%       { box-shadow: 0 0 0 7px rgba(245,197,24,.18); }
}
.sidebar-cta .btn-y { animation: cta-pulse 3.2s ease-in-out infinite; }
.sidebar-cta .btn-y:hover { animation: none; }

/* ─ FLOATING WA ─ */
@keyframes wa-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}
#wa {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: wa-float 2.8s ease-in-out infinite;
}
#wa:hover {
    animation: none;
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(37,211,102,.45);
}

/* ─ HAMBURGER BUTTON (shown only on mobile via media query) ─ */
#nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}
#nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--bottle);
    border-radius: 1px;
    transition: transform .25s ease, opacity .2s ease;
}
#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─ RESPONSIVE ─ */

/* Tablet landscape */
@media (max-width: 960px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .pg-grid { grid-template-columns: 1fr; }
    .pg-sidebar { position: static; }
    .fg { grid-template-columns: 1fr; }
    .fg .full { grid-column: 1; }
}

/* Small tablet */
@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .pg-hero { padding: 2.5rem 0 3rem; }
    .pg-hero h1 { font-size: clamp(1.5rem, 6vw, 2.25rem); }
    .sec-title { font-size: clamp(1.35rem, 5vw, 2rem); }
    .step-li { grid-template-columns: 2rem 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
    /* topbar: hide to save space */
    #topbar { display: none; }

    /* header */
    #hdr .wrap { position: relative; }
    .hdr-cta { display: none; }
    #nav-toggle { display: flex; }

    /* mobile nav dropdown */
    #nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        border-bottom: 3px solid var(--yellow);
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: .25rem 0 .75rem;
        box-shadow: 0 8px 28px rgba(0,0,0,.12);
        z-index: 199;
    }
    /* opening */
    #nav.open {
        display: flex;
        animation: mobile-nav-open .32s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    /* closing — keeps display:flex while exit animation plays */
    #nav.closing {
        display: flex;
        pointer-events: none;
        animation: mobile-nav-close .22s ease forwards;
    }
    /* staggered link slide-in */
    #nav.open a { animation: mobile-nav-item .24s ease both; }
    #nav.open a:nth-child(1) { animation-delay: .04s; }
    #nav.open a:nth-child(2) { animation-delay: .09s; }
    #nav.open a:nth-child(3) { animation-delay: .14s; }
    #nav.open a:nth-child(4) { animation-delay: .19s; }
    #nav.open a:nth-child(5) { animation-delay: .24s; }
    #nav.open a:nth-child(6) { animation-delay: .29s; }
    #nav a {
        padding: .75rem 1.5rem;
        font-size: .95rem;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
        font-weight: 500;
    }
    #nav a:last-child { border-bottom: none; }
    #nav a:hover, #nav a[aria-current="page"] { background: var(--offwhite); }
    #nav a::after { display: none; }

    /* sections */
    .section { padding: 2.5rem 0; }
    .pg-hero { padding: 1.75rem 0 2.25rem; }
    .pg-hero h1 { font-size: clamp(1.4rem, 7vw, 2rem); margin-bottom: .75rem; }
    .pg-hero p { font-size: .95rem; margin-bottom: 1.25rem; }

    /* buttons stack full-width */
    .btn-y, .btn-ghost { display: block; width: 100%; text-align: center; }
    .pg-hero-btns, .hero-btns { flex-direction: column; }

    /* footer */
    .footer-top { grid-template-columns: 1fr; gap: 1.75rem; padding-top: 2.5rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: .4rem; }
    .footer-bottom nav { flex-wrap: wrap; gap: .5rem; }

    /* sidebar: single column */
    .pg-sidebar { grid-template-columns: 1fr; }

    /* scrollable table */
    .data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .data-table { min-width: 480px; }

    /* form */
    .fg { grid-template-columns: 1fr; }
    .fg .full { grid-column: 1; }

    /* sidebar CTA pulse off (perf) */
    .sidebar-cta .btn-y { animation: none; }
}

/* Small mobile */
@media (max-width: 420px) {
    .wrap { padding-inline: 1rem; }
    .pg-hero h1 { font-size: clamp(1.25rem, 8vw, 1.75rem); }
    .logo { font-size: 1.05rem; }
}

/* ─ MOBILE NAV KEYFRAMES ─ */
@keyframes mobile-nav-open {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes mobile-nav-close {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-8px); }
}
@keyframes mobile-nav-item {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
}
