/* =====================================================
   IFCN — Independent Facilitator & Consultant of Nigeria
   Stylesheet (mobile-first, Nigerian green/gold theme)
   ===================================================== */

:root {
    --green-900: #064e2c;
    --green-700: #0a7a3f;
    --green-500: #15a052;
    --green-50:  #e8f6ee;
    --gold-500:  #d4a017;
    --gold-400:  #e6b740;
    --gold-50:   #fdf6e3;
    --ink-900:   #0f1d16;
    --ink-700:   #2b3a31;
    --ink-500:   #586a60;
    --muted:     #7a8a82;
    --bg:        #ffffff;
    --bg-soft:   #f6faf7;
    --bg-card:   #ffffff;
    --line:      #e6ede9;
    --danger:    #c0392b;

    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 6px rgba(6, 78, 44, 0.06);
    --shadow:    0 10px 30px rgba(6, 78, 44, 0.10);
    --shadow-lg: 0 25px 60px rgba(6, 78, 44, 0.18);

    --font-sans: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --max-w: 1180px;
}

/* ----------- Base reset ----------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink-900);
    background: var(--bg);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); margin: 0 0 .6em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 600; }
p  { margin: 0 0 1em; color: var(--ink-700); }

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* ----------- Buttons ----------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s;
    text-align: center;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    color: #fff;
    box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.7);
}
.btn-outline:hover { background: #fff; color: var(--green-900); }

/* ----------- Topbar ----------- */
.topbar {
    background: var(--green-900);
    color: #fff;
    font-size: .8rem;
    padding: 8px 0;
}
.topbar a { color: #fff; opacity: .92; margin-left: 16px; }
.topbar a:hover { color: var(--gold-400); }
.topbar-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: var(--gold-400); margin-right: 6px; vertical-align: middle;
    box-shadow: 0 0 0 0 rgba(212,160,23,.6); animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(212,160,23,.6); }
    70%  { box-shadow: 0 0 0 8px rgba(212,160,23,0); }
    100% { box-shadow: 0 0 0 0 rgba(212,160,23,0); }
}

/* ----------- Navbar ----------- */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand-text strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--green-900); letter-spacing: .4px; }
.brand-text small { display: block; font-size: .68rem; color: var(--ink-500); letter-spacing: .3px; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--ink-700); font-weight: 500; font-size: .88rem; position: relative; }
.nav-links a:not(.btn-nav)::after {
    content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
    background: var(--gold-500); transition: width .25s ease;
}
.nav-links a:not(.btn-nav):hover::after { width: 100%; }
.btn-nav {
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    color: #fff !important; padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.nav-toggle {
    display: none; background: transparent; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span {
    display: block; width: 26px; height: 3px; background: var(--green-900);
    border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ----------- Hero ----------- */
.hero {
    position: relative;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(6,78,44,.85), rgba(10,122,63,.7)),
        url('../images/nigerian-students-classroom.jpg') center/cover no-repeat;
    padding: 80px 0 100px;
    overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: auto -10% -40% auto;
    width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
    background: radial-gradient(closest-side, rgba(212,160,23,.35), transparent 70%);
    z-index: 0; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero-eyebrow {
    display: inline-block; background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25); padding: 6px 14px;
    border-radius: 999px; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--gold-400); margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 .accent { color: var(--gold-400); }
.hero p { color: rgba(255,255,255,.92); font-size: 1.05rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges .badge {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.25);
    padding: 12px 18px; border-radius: var(--radius);
    backdrop-filter: blur(6px);
    min-width: 130px;
}
.hero-badges .badge strong {
    display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-400);
}
.hero-badges .badge span { font-size: .8rem; color: rgba(255,255,255,.85); }

.hero-visual { display: flex; justify-content: center; }
.hero-logo {
    width: clamp(220px, 30vw, 360px);
    height: clamp(220px, 30vw, 360px);
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    padding: 14px;
    box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 6px rgba(212,160,23,.4);
    animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* ----------- Sections ----------- */
.section { padding: 90px 0; }
.section.about      { background: var(--bg); }
.section.registration { background: linear-gradient(180deg, var(--bg-soft), #fff); }
.section.services   { background: var(--bg-soft); }
.section.process    { background: linear-gradient(160deg, var(--green-900), var(--green-700)); color: #fff; }
.section.fees       { background: var(--bg); }
.section.apply      { background: var(--bg-soft); }
.section.faq        { background: var(--bg); }

.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head.light h2, .section-head.light p { color: #fff; }
.section-head.light .section-eyebrow { color: var(--gold-400); }
.section-eyebrow {
    display: inline-block;
    color: var(--green-700);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .78rem;
    margin-bottom: 10px;
}
.section-head p { color: var(--ink-500); }

/* ----------- Two-column layouts ----------- */
.two-col {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.two-col.reverse .col-image { order: 2; }

/* ----------- Post-JAMB / Post-UTME section ----------- */
.post-jamb {
    background: var(--bg-soft);
}
.post-jamb-row {
    align-items: flex-start;
}
.post-jamb-row .col-text {
    min-width: 0;
}
.post-jamb .lead {
    font-size: 1.05rem;
}
.post-jamb-subhead {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--ink-900);
}
.post-jamb-features {
    display: grid;
    gap: 14px;
    margin-bottom: 4px;
}
.pj-feature {
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}
.pj-feature h4 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green-900);
    font-family: var(--font-sans);
}
.pj-feature p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink-700);
}
.post-jamb-highlights {
    margin-top: 12px;
}
.post-jamb-cta {
    margin: 1.5rem 0 1rem;
    color: var(--ink-700);
}
.post-jamb-cta em {
    display: block;
    margin-top: 10px;
    color: var(--green-700);
    font-style: normal;
    font-weight: 600;
}
.post-jamb-btn {
    margin-top: 8px;
}
.post-jamb-logos {
    width: 100%;
    min-width: 0;
}
.post-jamb-logos-label {
    font-weight: 600;
    color: var(--ink-700);
    margin: 0 0 16px;
    font-size: 0.95rem;
    line-height: 1.45;
}
/* 4 columns × 2 rows (8 schools); 2 columns on small screens */
.univ-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: clamp(12px, 2.2vw, 18px);
    width: 100%;
    margin: 0;
}
.post-jamb-logos .univ-logo-grid {
    max-width: none;
}
.univ-logo-grid figure {
    margin: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.univ-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    padding: clamp(10px, 1.8vw, 16px);
    box-sizing: border-box;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.univ-logo-grid img {
    width: auto;
    height: auto;
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    object-position: center;
    display: block;
    border: none;
    box-shadow: none;
    background: transparent;
}
.univ-logo-grid figcaption {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-700);
    line-height: 1.25;
    word-break: break-word;
}
.univ-logo-foot {
    margin: 14px 0 0;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 640px) {
    .univ-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.col-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
}
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--ink-700);
}
.checklist li::before {
    content: "";
    position: absolute; left: 0; top: 14px;
    width: 14px; height: 14px;
    background: var(--green-500);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--green-50);
}

/* ----------- CAC registration ----------- */
.registration-details {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
}
.registration-details p {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin: 0;
    padding: 12px 14px;
}
.cac-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 18px;
}
.cac-card img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.cac-card p {
    color: var(--ink-500);
    font-size: .9rem;
    margin: 14px 0 0;
    text-align: center;
}

/* ----------- Services grid ----------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--green-500);
}
.service-card.highlight {
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    color: #fff; border: 0;
}
.service-card.highlight h3, .service-card.highlight p { color: #fff; }
.service-card.highlight .service-icon { background: var(--gold-400); color: var(--green-900); }
.service-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--green-50);
    color: var(--green-700);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .9rem; letter-spacing: 1px;
    margin-bottom: 14px;
}

/* ----------- Process steps ----------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}
.step {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    padding: 28px 22px;
    backdrop-filter: blur(4px);
    transition: transform .25s ease, background .25s ease;
}
.step:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); }
.step-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--gold-400);
    display: block; margin-bottom: 10px;
    font-weight: 700;
}
.step h3 { color: #fff; }
.step p  { color: rgba(255,255,255,.85); margin-bottom: 0; }

/* ----------- Fees ----------- */
.lead { font-size: 1.05rem; }
.guarantee-card {
    background: var(--gold-50);
    border-left: 5px solid var(--gold-500);
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    margin: 20px 0 18px;
}
.guarantee-card h3 { color: var(--green-900); margin-bottom: 4px; }
.legal-note {
    background: #fff5f4;
    border: 1px solid #f4cccb;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 22px;
}
.legal-note h4 { color: var(--danger); margin: 0 0 6px; font-family: var(--font-sans); font-size: .95rem; text-transform: uppercase; letter-spacing: 1px; }
.legal-note p { margin: 0; color: var(--ink-700); font-size: .9rem; }

/* ----------- Testimonials ----------- */
.testimonial-strip {
    background: var(--green-900);
    padding: 60px 0;
    color: #fff;
}
.t-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.t-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    padding: 22px;
    display: flex; gap: 18px; align-items: center;
    margin: 0;
}
.t-card img {
    width: 90px; height: 90px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--gold-400); flex-shrink: 0;
}
.t-card blockquote {
    margin: 0; color: #fff; font-style: italic; font-size: .98rem;
}
.t-card cite {
    display: block; font-style: normal; margin-top: 10px;
    color: var(--gold-400); font-size: .85rem;
}

/* ----------- Partners section ----------- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 16px;
}
.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 16px;
    box-shadow: var(--shadow-sm);
}
.partner-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--green-900); }
.partner-card p { margin: 6px 0; color: var(--ink-700); font-size: .95rem; }
.partners-note { margin-top: 20px; }
.partners-note h4 { margin: 0 0 10px; color: var(--green-900); }
.partners-note .muted { color: var(--muted); margin-top: 10px; }

/* head office card emphasis */
.partner-card.head-office {
    border: 2px solid var(--green-700);
    background: linear-gradient(180deg, rgba(10,122,63,0.04), #fff);
}

/* ----------- Application form ----------- */
.form-wrap {
    background: #fff;
    padding: 48px clamp(20px, 4vw, 56px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.ifcn-form { margin-top: 10px; }
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 22px;
}
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: 6px;
}
.field label span { color: var(--danger); }
.field input,
.field select,
.field textarea {
    font-family: inherit;
    font-size: .95rem;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink-900);
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 0;
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px rgba(21,160,82,.15);
}
.field input.invalid,
.field select.invalid,
.field textarea.invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(192,57,43,.12);
}
.field textarea { resize: vertical; min-height: 100px; }
.field.consent label {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .9rem; font-weight: 400; color: var(--ink-700);
    cursor: pointer;
}
.field.consent input { width: 18px; height: 18px; margin-top: 3px; }

.form-actions {
    margin-top: 26px;
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.form-actions .btn { min-width: 220px; }
.form-note { margin: 0; font-size: .85rem; color: var(--ink-500); }
.form-message {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: .92rem;
    display: none;
}
.form-message.success {
    display: block; background: var(--green-50); color: var(--green-900);
    border: 1px solid var(--green-500);
}
.form-message.error {
    display: block; background: #fff5f4; color: var(--danger);
    border: 1px solid #f4cccb;
}

/* ----------- FAQ ----------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 12px;
    background: var(--bg-card);
    transition: border-color .2s, background .2s;
}
.faq-list details[open] { border-color: var(--green-500); background: var(--bg-soft); }
.faq-list summary {
    font-weight: 600; cursor: pointer; color: var(--ink-900);
    list-style: none; position: relative; padding-right: 30px;
}
.faq-list summary::after {
    content: "+";
    position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    font-size: 1.3rem; color: var(--green-700); transition: transform .25s;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 10px 0 0; color: var(--ink-700); }

/* ----------- Footer ----------- */
.footer {
    background: #06301c;
    color: #cfe2d6;
    padding-top: 50px;
}
.footer-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 36px;
}
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { width: 50px; height: 50px; border-radius: 50%; }
.footer-brand strong { color: #fff; font-family: var(--font-display); font-size: 1.2rem; display: block; }
.footer-brand small { color: rgba(255,255,255,.7); font-size: .78rem; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #cfe2d6; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact p { margin: 0 0 6px; color: #cfe2d6; font-size: .92rem; }
.footer-contact strong { color: #fff; font-weight: 600; }
.footer-contact a { color: var(--gold-400); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; color: #fff; }
.footer-address { line-height: 1.55; max-width: 22rem; }
.footer-office-heading { margin-top: 14px !important; margin-bottom: 4px !important; }
.footer-phones { line-height: 1.45; }
.phone-sep { opacity: .65; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
    text-align: center;
    font-size: .85rem;
    color: rgba(255,255,255,.6);
}

/* ----------- Reveal-on-scroll animation ----------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
    .container { padding: 0 18px; }
    .topbar-row {
        justify-content: center;
        text-align: center;
    }
    .topbar-right {
        display: flex;
        justify-content: center;
        gap: 14px;
        width: 100%;
    }
    .topbar-right a { margin-left: 0; }
    .hero { padding: 48px 0 68px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text { order: 2; }
    .hero-visual { order: 1; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-logo {
        width: min(58vw, 280px);
        height: min(58vw, 280px);
        padding: 10px;
    }
    .hero-actions, .hero-badges { justify-content: center; }
    .hero-actions .btn { white-space: normal; }

    .two-col { grid-template-columns: 1fr; gap: 36px; }
    .two-col.reverse .col-image { order: 0; }

    .t-grid { grid-template-columns: 1fr; }
    .footer-row { grid-template-columns: 1fr; text-align: center; }
    .footer-brand, .footer-links { justify-content: center; align-items: center; }
    .footer-links { flex-direction: row; flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 1024px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 20px 22px;
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform .2s ease, opacity .2s ease;
    }
    .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
    .nav-links a {
        padding: 12px 4px;
        border-bottom: 1px solid var(--line);
    }
    .nav-links a:last-child { border-bottom: 0; }
    .btn-nav { text-align: center; margin-top: 10px; }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .form-grid { grid-template-columns: 1fr; }
    .brand-text small { display: none; }
    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-badges .badge {
        flex: 1 1 100%;
        min-width: 0;
    }
    .service-grid,
    .steps {
        grid-template-columns: 1fr;
    }
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .form-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    h1 { font-size: clamp(2rem, 10vw, 2.55rem); }
    h2 { font-size: clamp(1.45rem, 8vw, 2rem); }

    .topbar { font-size: .72rem; }
    .topbar-row {
        justify-content: center;
        text-align: center;
    }
    .topbar-right {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .topbar-right a {
        margin: 0;
    }

    .nav-row { padding: 10px 0; }
    .brand { min-width: 0; }
    .brand-logo { width: 42px; height: 42px; flex: 0 0 42px; }
    .brand-text strong { font-size: 1.05rem; }
    .nav-links { padding-left: 16px; padding-right: 16px; }

    .hero {
        padding: 34px 0 56px;
        min-height: auto;
    }
    .hero-content { gap: 22px; }
    .hero-logo {
        width: min(68vw, 240px);
        height: min(68vw, 240px);
        padding: 10px;
    }
    .hero-eyebrow {
        font-size: .68rem;
        letter-spacing: 1.2px;
        margin-bottom: 12px;
    }
    .hero p { font-size: .98rem; }
    .hero-actions {
        flex-direction: column;
        gap: 10px;
        margin: 22px 0 24px;
    }
    .hero-actions .btn {
        width: 100%;
        white-space: normal;
    }
    .hero-badges { gap: 10px; }
    .hero-badges .badge {
        flex: 1 1 100%;
        min-width: 0;
        padding: 11px 12px;
    }

    .section { padding: 54px 0; }
    .section-head { margin-bottom: 30px; }
    .two-col { gap: 26px; }
    .col-image img {
        max-height: 300px;
        border-radius: var(--radius);
    }
    .service-grid,
    .steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-card,
    .step {
        padding: 22px 18px;
    }
    .cac-card { padding: 12px; }

    .t-card {
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
    }
    .t-card img {
        width: 76px;
        height: 76px;
    }

    .form-wrap {
        padding: 30px 16px;
        border-radius: var(--radius);
    }
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .form-actions .btn {
        width: 100%;
        min-width: 0;
    }
    .field.consent label {
        font-size: .84rem;
    }
    .faq-list details { padding: 14px 16px; }
    .footer { padding-top: 38px; }
}
