/* =========================================================
   AusPrep Fulfilment — Theme Stylesheet (en-AU)
   ========================================================= */

:root {
    --primary:   #f26722;
    --primary-d: #d9531a;
    --accent:    #f9a826;
    --ink:       #16223f;
    --body:      #475569;
    --muted:     #94a3b8;
    --line:      #e5e9ef;
    --bg:        #ffffff;
    --bg-soft:   #f4f6f9;
    --bg-ink:    #f2f5f9;

    /* OZ Prep — orange brand on clean neutral surfaces */
    --grad-sky:   linear-gradient(160deg, #ffffff 0%, #f7f9fb 45%, #eef2f6 100%);
    --grad-soft:  linear-gradient(180deg, #fafbfc 0%, #eef2f6 100%);
    --grad-brand: linear-gradient(135deg, #f26722 0%, #f9a826 100%);
    --grad-panel: linear-gradient(150deg, #ffffff 0%, #f6f8fb 100%);
    --grad-hero:  linear-gradient(170deg, #ffffff 0%, #f7f9fb 50%, #eef2f6 100%);

    --radius:    18px;
    --radius-sm: 12px;
    --shadow:    0 10px 30px rgba(22, 34, 63, .08);
    --shadow-lg: 0 24px 60px rgba(22, 34, 63, .14);
    --shadow-blue: 0 18px 45px rgba(242, 103, 34, .22);
    --container: 1200px;

    --ff-head: 'Plus Jakarta Sans', system-ui, sans-serif;
    --ff-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--ff-body);
    color: var(--body);
    background: var(--grad-sky);
    background-attachment: fixed;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--ff-head); color: var(--ink); line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: 1.3rem; }

a { color: inherit; text-decoration: none; transition: color .2s; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--ff-head); font-weight: 600; font-size: .98rem;
    padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { box-shadow: 0 22px 50px rgba(242, 103, 34,.32); filter: saturate(1.1); }
.btn--ghost { background: rgba(255,255,255,.6); color: var(--ink); border-color: var(--line); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { box-shadow: var(--shadow-lg); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.05rem; }

/* ---------- Sections / utilities ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--soft { background: var(--grad-soft); }
.section--ink { background: var(--grad-hero); color: var(--body); position: relative; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--ink); }

.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: var(--ff-head); font-weight: 700; font-size: .8rem;
    letter-spacing: .08em; text-transform: uppercase; color: var(--primary);
    background: linear-gradient(135deg, rgba(242, 103, 34,.12), rgba(249, 168, 38,.12));
    border: 1px solid rgba(242, 103, 34,.18);
    padding: .4rem .85rem; border-radius: 999px;
    margin-bottom: 1rem;
}
.section-head p { margin-top: .75rem; font-size: 1.08rem; }
.lead { font-size: 1.12rem; color: var(--body); }

/* ---------- Top bar ---------- */
.topbar { background: linear-gradient(135deg, #f4f7fa, #eef2f6); color: var(--ink); font-size: .85rem; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 1rem; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .4rem; color: var(--body); }
.topbar a:hover { color: var(--primary); }
.topbar__left { display: flex; gap: 1.5rem; }
.topbar__right { display: flex; gap: 1.25rem; align-items: center; }
.topbar__social { display: flex; gap: .65rem; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(242, 245, 249,.82));
    backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.site-header.is-stuck { box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--ff-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.brand__logo { height: 42px; width: auto; max-width: 200px; display: block; }
.brand--light { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__list { display: flex; gap: 1.5rem; }
.nav__link { font-family: var(--ff-head); font-weight: 500; color: var(--ink); position: relative; padding: .4rem 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--primary); transition: width .25s; }
.nav__link:hover, .nav__link.is-active { color: var(--primary); }
.nav__link.is-active::after, .nav__link:hover::after { width: 100%; }
.nav__close, .nav__toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; }

/* ---------- Nav dropdown (Services) ---------- */
.nav__item--dropdown { position: relative; }
.nav__dropdown-toggle {
    background: none; border: none; cursor: pointer; color: var(--ink);
    display: inline-flex; align-items: center; padding: .25rem; margin-left: .15rem;
    pointer-events: none; /* desktop: caret only, hover drives the menu */
}
.nav__dropdown-toggle svg { transition: transform .25s; }
.nav__item--dropdown:hover .nav__dropdown-toggle svg { transform: rotate(180deg); color: var(--primary); }

.nav__dropdown {
    position: absolute; top: 100%; left: -.5rem; min-width: 250px;
    max-height: 70vh; overflow-y: auto;
    background: var(--grad-panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg); padding: .5rem; margin-top: .65rem;
    display: grid; gap: .1rem; z-index: 60;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
/* invisible bridge so the menu stays open while moving the cursor down */
.nav__item--dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: .7rem; }
.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
    display: flex; align-items: center; gap: .35rem; padding: .6rem .85rem; border-radius: 9px;
    font-family: var(--ff-head); font-weight: 500; font-size: .95rem; color: var(--ink);
    transition: background .2s, color .2s;
}
.nav__dropdown a:hover { background: linear-gradient(135deg, rgba(242, 103, 34,.1), rgba(249, 168, 38,.1)); color: var(--primary); }
.nav__dropdown-all { border-top: 1px solid var(--line); margin-top: .25rem; padding-top: .25rem; }
.nav__dropdown-all a { color: var(--primary); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-hero); overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -20%; right: -10%; width: 640px; height: 640px; background: radial-gradient(circle, rgba(242, 103, 34,.18), transparent 70%); pointer-events: none; z-index: 0; }
.hero::after { content: ""; position: absolute; bottom: -25%; left: -5%; width: 540px; height: 540px; background: radial-gradient(circle, rgba(249, 168, 38,.18), transparent 70%); pointer-events: none; z-index: 0; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: clamp(3rem, 6vw, 5.5rem) 0; }
.hero__slide { display: none; }
.hero__slide.is-active { display: block; animation: fadeUp .6s ease; }
.hero h1 { margin: 1rem 0; }
.hero__text { font-size: 1.15rem; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__trust { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust strong { font-family: var(--ff-head); font-size: 1.6rem; color: var(--ink); }
.hero__trust span { font-size: .85rem; color: var(--muted); }

.hero__visual { position: relative; }
.hero__card {
    background: var(--grad-panel); border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius);
    box-shadow: var(--shadow-blue); padding: 1.5rem;
}
.hero__card-img { aspect-ratio: 4/3; border-radius: var(--radius-sm); background: linear-gradient(135deg, #fde7d6, #fff5ec); display: grid; place-items: center; color: var(--primary); overflow: hidden; }
.hero__card-img svg { width: 96px; height: 96px; opacity: .8; }
.hero__card-img img { width: 100%; height: 100%; object-fit: cover; }
/* Hero slide images switch in sync with the text slides */
.hero__slide-img { display: none; }
.hero__slide-img.is-active { display: grid; animation: fadeUp .6s ease; }
.hero__badge {
    position: absolute; bottom: -18px; left: -18px; background: #fff; border-radius: var(--radius-sm);
    box-shadow: var(--shadow); padding: .9rem 1.1rem; display: flex; align-items: center; gap: .6rem;
    font-family: var(--ff-head); font-weight: 600; font-size: .9rem; color: var(--ink);
}
.hero__badge .ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(249, 168, 38,.14); color: var(--accent); }
.hero__dots { display: flex; gap: .5rem; margin-top: 1.75rem; }
.hero__dot { width: 10px; height: 10px; border-radius: 999px; border: none; background: var(--line); cursor: pointer; transition: width .25s, background .25s; }
.hero__dot.is-active { width: 28px; background: var(--primary); }

/* ---------- Logos / trust ---------- */
.trustbar { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.trustbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.trustbar p { font-family: var(--ff-head); font-weight: 600; color: var(--muted); font-size: .9rem; }
.trustbar__logos { display: flex; gap: 2.5rem; flex-wrap: wrap; font-family: var(--ff-head); font-weight: 800; color: #c2c9d6; font-size: 1.2rem; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--grad-panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2rem; transition: transform .2s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(242, 103, 34,.25); }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, rgba(242, 103, 34,.14), rgba(249, 168, 38,.14)); color: var(--primary); margin-bottom: 1.25rem; }
.card__media { aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; margin-bottom: 1.25rem; background: linear-gradient(135deg, #fde7d6, #fff5ec); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .96rem; }
.card__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.1rem; font-family: var(--ff-head); font-weight: 600; color: var(--primary); }
.card__link:hover { gap: .6rem; }

/* pain cards (icon left) */
.pain { display: flex; gap: 1rem; align-items: flex-start; }
.pain__icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: rgba(255,90,90,.1); color: #e2574c; }
.solution .pain__icon { background: rgba(249, 168, 38,.12); color: var(--accent); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.5rem; }
.stat__value { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-size: .95rem; margin-top: .25rem; }
.section--ink .stat__label { color: var(--muted); }

/* ---------- Steps / process ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4.5rem; }
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; left: 0; top: 0; font-family: var(--ff-head); font-weight: 800;
    font-size: 1.4rem; color: #fff; background: var(--grad-brand); box-shadow: var(--shadow-blue);
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
}

/* ---------- Feature list (check items) ---------- */
.checklist { display: grid; gap: .75rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; }
.checklist svg { flex: none; color: var(--accent); margin-top: 3px; }

/* ---------- Pricing ---------- */
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem; transition: transform .2s, box-shadow .25s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card--featured { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.price-card__tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-family: var(--ff-head); font-weight: 600; font-size: .78rem; padding: .35rem .9rem; border-radius: 999px; }
.price-card h3 { font-size: 1.15rem; color: var(--primary); }
.price-card__price { font-family: var(--ff-head); font-weight: 800; font-size: 2.4rem; color: var(--ink); margin: .5rem 0 0; }
.price-card__unit { color: var(--muted); font-size: .9rem; }
.price-card__desc { margin: 1rem 0 1.5rem; font-size: .95rem; }
.price-card .checklist { margin-bottom: 1.75rem; }
.price-card .btn { width: 100%; justify-content: center; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.quote__stars { display: flex; gap: .2rem; color: #f5b301; margin-bottom: 1rem; }
.quote p { color: var(--ink); font-size: 1.05rem; }
.quote__author { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; }
.quote__author strong { display: block; font-family: var(--ff-head); color: var(--ink); }
.quote__author span { font-size: .85rem; color: var(--muted); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { max-width: 820px; margin-inline: auto; }
.acc { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 1rem; background: #fff; overflow: hidden; }
.acc__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; background: none; border: none; cursor: pointer; padding: 1.25rem 1.5rem; font-family: var(--ff-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.acc__q svg { flex: none; transition: transform .25s; color: var(--primary); }
.acc.is-open .acc__q svg { transform: rotate(45deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc__a-inner { padding: 0 1.5rem 1.25rem; }

/* ---------- Blog ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .25s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__img { aspect-ratio: 16/10; background: linear-gradient(135deg, #fde7d6, #fff5ec); display: grid; place-items: center; color: var(--primary); overflow: hidden; }
.post-card__img svg { width: 64px; height: 64px; opacity: .7; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-card__meta { display: flex; gap: 1rem; font-size: .82rem; color: var(--muted); margin-bottom: .6rem; }
.post-card__cat { color: var(--primary); font-weight: 600; }
.post-card h3 { margin-bottom: .6rem; }
.post-card h3 a:hover { color: var(--primary); }
.post-card__body p { font-size: .94rem; flex: 1; }
.post-card .card__link { margin-top: 1rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad-hero); color: var(--body); padding: clamp(3rem, 6vw, 5rem) 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; top: -30%; right: -5%; width: 540px; height: 540px; background: radial-gradient(circle, rgba(242, 103, 34,.18), transparent 70%); pointer-events: none; z-index: 0; }
.page-hero::after { content: ""; position: absolute; bottom: -40%; left: -8%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(249, 168, 38,.16), transparent 70%); pointer-events: none; z-index: 0; }
.page-hero__inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin-inline: auto; }
.page-hero h1 { color: var(--ink); }
.page-hero p { margin-top: 1rem; font-size: 1.1rem; }
.breadcrumb { display: flex; gap: .5rem; justify-content: center; font-size: .88rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { color: var(--primary-d); }

/* ---------- Article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article__meta { display: flex; gap: 1.25rem; color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.article__hero { aspect-ratio: 16/7; border-radius: var(--radius); background: linear-gradient(135deg, #fde7d6, #fff5ec); display: grid; place-items: center; color: var(--primary); margin-bottom: 2rem; overflow: hidden; }
.article__hero svg { width: 90px; height: 90px; opacity: .7; }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article p { margin-bottom: 1.25rem; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-info { display: grid; gap: 1.25rem; }
.contact-info__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info__item .ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(242, 103, 34,.1); color: var(--primary); }
.contact-info__item strong { font-family: var(--ff-head); color: var(--ink); display: block; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--ff-head); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
    width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font-family: var(--ff-body); font-size: .98rem; color: var(--ink); background: var(--bg-soft); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: .95rem; margin-bottom: 1.25rem; }
.alert--success { background: rgba(249, 168, 38,.12); color: #0a7d6c; border: 1px solid rgba(249, 168, 38,.3); }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(120deg, var(--primary), var(--primary-d)); color: #fff; }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2.5rem, 5vw, 3.5rem) 0; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,.85); margin-top: .35rem; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, #f2f5f9 0%, #e9eef4 100%); color: var(--body); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .94rem; border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h4 { color: var(--ink); font-size: 1.05rem; margin-bottom: 1.1rem; }
.site-footer__col ul { display: grid; gap: .65rem; }
.site-footer__col a:hover { color: var(--primary); }
.site-footer__about p { margin: 1rem 0 1.25rem; max-width: 38ch; }
.site-footer__social { display: flex; gap: .65rem; }
.site-footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(242, 103, 34,.1); color: var(--primary); transition: background .2s, color .2s, transform .2s; }
.site-footer__social a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-2px); }
.site-footer__contact li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .8rem; }
.site-footer__contact svg { flex: none; color: var(--primary); margin-top: 2px; }
.site-footer__bottom { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; align-items: center; }

/* Agency credit — premium gradient brand name */
.site-footer__credit { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); }
.site-footer__credit > span { letter-spacing: .01em; }
.site-footer__credit a {
    display: inline-flex; align-items: center; gap: .25rem;
    font-family: var(--ff-head); font-weight: 800; letter-spacing: .015em;
    background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
    position: relative; transition: filter .2s, transform .2s;
}
.site-footer__credit a svg { stroke: var(--primary); transition: transform .25s; }
.site-footer__credit a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
    background: var(--grad-brand); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-footer__credit a:hover { filter: saturate(1.15) brightness(1.05); }
.site-footer__credit a:hover::after { transform: scaleX(1); }
.site-footer__credit a:hover svg { transform: translate(2px, -2px); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 1.5rem; bottom: 1.5rem; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 40; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top__icon { transform: rotate(180deg); }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { order: -1; max-width: 480px; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .topbar { display: none; }
    .nav__toggle { display: inline-flex; }
    /* backdrop-filter on the header would trap the fixed drawer inside the
       header box, so disable it on mobile to restore viewport positioning.
       Header must also sit ABOVE the scrim so its child drawer is clickable. */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; z-index: 60; }
    .nav {
        position: fixed; inset: 0 0 0 auto; width: min(330px, 86%);
        height: 100dvh; overflow-y: auto;
        /* Apple-style frosted glass */
        background: rgba(255,255,255,.62);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        backdrop-filter: blur(30px) saturate(180%);
        border-left: 1px solid rgba(255,255,255,.55);
        flex-direction: column; align-items: flex-start;
        padding: 5rem 2rem 2rem; box-shadow: -24px 0 70px rgba(22, 34, 63,.20);
        transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); z-index: 70;
    }
    .nav.is-open { transform: translateX(0); }
    .nav__list { flex-direction: column; gap: 1.25rem; width: 100%; }
    .nav__close { display: block; position: absolute; top: 1.25rem; right: 1.25rem; }
    .nav__cta { margin-top: 1rem; }

    /* Dropdown becomes an inline accordion on mobile */
    .nav__item--dropdown { display: flex; flex-wrap: wrap; align-items: center; width: 100%; }
    .nav__item--dropdown .nav__link { flex: 1; }
    .nav__item--dropdown::after { content: none; }
    .nav__dropdown-toggle { display: inline-flex; pointer-events: auto; color: var(--primary); }
    .nav__item--dropdown.is-open .nav__dropdown-toggle svg { transform: rotate(180deg); }
    .nav__dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; background: transparent;
        padding: 0 0 0 .25rem; margin: 0; min-width: 0; width: 100%;
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .nav__item--dropdown.is-open .nav__dropdown { max-height: 360px; margin-top: .75rem; }
    .nav__dropdown a { padding: .55rem .5rem; font-size: .92rem; }
    .nav__dropdown-all { border-top: 1px solid var(--line); }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .form__row { grid-template-columns: 1fr; }
    .cta-strip__inner { flex-direction: column; align-items: flex-start; }
    body.nav-open { overflow: hidden; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(22, 34, 63,.18); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .3s; z-index: 45; }
    .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 480px) {
    .stats { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; }
}
