/* =====================================================
   KEYNETWORK - Corporate Stylesheet
   ===================================================== */

:root {
    --color-navy: #0a2540;
    --color-navy-dark: #061a30;
    --color-blue: #0066cc;
    --color-blue-light: #3b82f6;
    --color-accent: #00a3e0;
    --color-bg: #ffffff;
    --color-bg-alt: #f5f8fc;
    --color-bg-dark: #0a2540;
    --color-border: #e2e8f0;
    --color-text: #1a2b4a;
    --color-text-muted: #5a6a85;
    --color-text-light: #ffffff;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.06);
    --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12);
    --radius: 6px;
    --radius-lg: 12px;
    --container: 1200px;
    --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Helvetica, Arial, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--color-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-navy); }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 0.6em; }
h3 { font-size: 1.4rem; margin-bottom: 0.5em; }
h4 { font-size: 1.15rem; margin-bottom: 0.4em; }

p { margin-bottom: 1em; color: var(--color-text-muted); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* =============== TOP BAR =============== */
.topbar {
    background: var(--color-navy-dark);
    color: #cbd5e1;
    font-size: 0.83rem;
    padding: 8px 0;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.topbar-info span { margin-right: 18px; }
.topbar-info > a { margin-left: 18px; }
.topbar-info > a:first-child { margin-left: 0; }
.topbar-info i { margin-right: 6px; color: var(--color-accent); }

/* =============== HEADER =============== */
.header {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}
.logo:hover { opacity: 0.88; }
.logo img {
    height: 52px;
    width: auto;
    display: block;
    max-width: 300px;
}
.footer .logo img {
    height: 50px;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
}
.logo-mark, .logo-tag { display: none; }
@media (max-width: 600px) {
    .logo img { height: 42px; max-width: 240px; }
}

/* =============== NAV =============== */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav a {
    color: var(--color-text);
    font-weight: 500;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    position: relative;
}
.nav a:hover { background: var(--color-bg-alt); color: var(--color-blue); }
.nav a.active { color: var(--color-blue); }

.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a::after {
    content: " ▾";
    font-size: 0.7em;
    opacity: 0.6;
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    z-index: 50;
}
.nav-item-dropdown:hover .dropdown,
.nav-item-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--color-text);
    font-size: 0.92rem;
}
.dropdown a:hover { background: var(--color-bg-alt); color: var(--color-blue); }

.nav-cta {
    background: var(--color-blue);
    color: #fff !important;
    padding: 10px 20px !important;
    margin-left: 8px;
    font-weight: 600 !important;
}
.nav-cta:hover {
    background: var(--color-navy) !important;
    color: #fff !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--color-navy);
    cursor: pointer;
}

/* =============== BUTTONS =============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary { background: var(--color-blue); color: #fff; }
.btn-primary:hover { background: var(--color-navy); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--color-blue); border-color: var(--color-blue); }
.btn-outline:hover { background: var(--color-blue); color: #fff; }
.btn-light { background: #fff; color: var(--color-navy); }
.btn-light:hover { background: var(--color-bg-alt); color: var(--color-navy); }
.btn-ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

/* =============== HERO =============== */
.hero {
    background:
        linear-gradient(135deg, rgba(10,37,64,0.92), rgba(0,102,204,0.85)),
        radial-gradient(circle at 80% 20%, rgba(0,163,224,0.4), transparent 60%);
    background-color: var(--color-navy);
    color: #fff;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 24px; max-width: 850px; }
.hero .lead {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 720px;
    margin-bottom: 36px;
}
.hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.hero .badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 8px var(--color-success);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* =============== PAGE HEADER =============== */
.page-header {
    background: linear-gradient(135deg, var(--color-navy), #163e6e);
    color: #fff;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 30%, rgba(0,163,224,0.25), transparent 50%);
}
.page-header .container { position: relative; }
.page-header h1 { color: #fff; margin-bottom: 12px; }
.page-header .breadcrumb {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.page-header .breadcrumb a { color: var(--color-accent); }
.page-header p { color: rgba(255,255,255,0.85); max-width: 680px; font-size: 1.1rem; }

/* =============== SECTIONS =============== */
.section { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-navy); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.8); }

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}
.eyebrow {
    color: var(--color-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: block;
}
.section-head p { font-size: 1.1rem; }

/* =============== CARDS =============== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}
.card:hover {
    border-color: var(--color-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-text-muted); font-size: 0.95rem; }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--color-blue);
}
.card-link::after { content: " →"; transition: transform var(--transition); }
.card-link:hover::after { transform: translateX(3px); }

/* =============== FEATURES =============== */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.feature-row:not(:last-child) { margin-bottom: 80px; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--color-blue), var(--color-navy));
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 4rem;
    position: relative;
}

.feature-list { list-style: none; margin-top: 24px; }
.feature-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    color: var(--color-text);
}
.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    width: 22px;
    height: 22px;
    background: var(--color-blue);
    color: #fff;
    font-size: 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* =============== STATS =============== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    text-align: center;
}
.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--color-accent), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* =============== PARTNERS =============== */
.partner-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    align-items: center;
}
.partner-logo {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    color: var(--color-navy);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
    transition: all var(--transition);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-logo:hover {
    border-color: var(--color-blue);
    box-shadow: var(--shadow-sm);
}

/* =============== TESTIMONIALS =============== */
.testimonial {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}
.testimonial::before {
    content: "\201C";
    position: absolute;
    top: 8px;
    left: 22px;
    font-size: 5rem;
    color: var(--color-blue);
    opacity: 0.15;
    line-height: 1;
    font-family: Georgia, serif;
}
.testimonial-text {
    color: var(--color-text);
    font-size: 1.02rem;
    font-style: italic;
    margin-bottom: 18px;
    position: relative;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-blue), var(--color-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}
.author-name { font-weight: 700; color: var(--color-navy); }
.author-role { color: var(--color-text-muted); font-size: 0.85rem; }

/* =============== CTA STRIP =============== */
.cta-strip {
    background: linear-gradient(135deg, var(--color-blue), var(--color-navy));
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.cta-strip h2 { color: #fff; margin-bottom: 16px; }
.cta-strip p { color: rgba(255,255,255,0.9); max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; }

/* =============== FORMS =============== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.92rem;
}
.form-group label .required { color: #dc2626; }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    color: var(--color-text);
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.12);
}
.form-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.form-success {
    background: #ecfdf5;
    border: 1px solid var(--color-success);
    color: #065f46;
    padding: 16px;
    border-radius: var(--radius);
    margin-top: 16px;
    display: none;
}

/* =============== FOOTER =============== */
.footer {
    background: var(--color-navy-dark);
    color: #cbd5e1;
    padding: 70px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}
.footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: #cbd5e1; font-size: 0.92rem; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo-tag { color: #94a3b8; }
.footer p { color: #94a3b8; font-size: 0.92rem; margin-bottom: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #cbd5e1; font-size: 0.92rem; }
.footer-contact i { color: var(--color-accent); width: 18px; padding-top: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
}
.footer-bottom a { color: #94a3b8; }

.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}
.socials a:hover { background: var(--color-blue); color: #fff; }

/* =============== ICONS =============== */
.icn { width: 24px; height: 24px; display: inline-block; vertical-align: middle; }

/* =============== INDUSTRY / GENERIC TILES =============== */
.tile {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all var(--transition);
}
.tile:hover { border-color: var(--color-blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tile-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-navy));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* =============== CASE STUDIES =============== */
.case-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.case-img {
    background: linear-gradient(135deg, var(--color-blue), var(--color-navy));
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 3rem;
}
.case-body { padding: 28px; }
.case-tag {
    display: inline-block;
    background: var(--color-bg-alt);
    color: var(--color-blue);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

/* =============== BLOG =============== */
.blog-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-img {
    background: linear-gradient(135deg, #163e6e, var(--color-blue));
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 2.5rem;
}
.blog-body { padding: 24px; }
.blog-meta { color: var(--color-text-muted); font-size: 0.83rem; margin-bottom: 8px; }
.blog-card h3 { font-size: 1.15rem; }

/* =============== FAQ =============== */
.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-q {
    padding: 20px 24px;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--color-blue);
    transition: transform var(--transition);
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
    padding: 0 24px 20px;
    color: var(--color-text-muted);
}

/* =============== TIMELINE =============== */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--color-blue);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--color-blue);
}
.timeline-year { color: var(--color-blue); font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }

/* =============== JOB CARDS =============== */
.job-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    transition: all var(--transition);
}
.job-card:hover { border-color: var(--color-blue); box-shadow: var(--shadow-sm); }
.job-info h3 { font-size: 1.1rem; margin-bottom: 6px; }
.job-meta { color: var(--color-text-muted); font-size: 0.9rem; }
.job-meta span { margin-right: 16px; }

/* =============== CERT BADGES =============== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.cert-badge {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--transition);
}
.cert-badge:hover { border-color: var(--color-blue); box-shadow: var(--shadow-sm); }
.cert-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-blue), var(--color-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
}
.cert-badge h4 { font-size: 0.95rem; margin-bottom: 4px; }
.cert-badge p { font-size: 0.82rem; margin: 0; }

/* =============== UTILITY =============== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.muted { color: var(--color-text-muted); }
.divider { height: 1px; background: var(--color-border); margin: 60px 0; }

.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    background: #eff6ff;
    border-left: 4px solid var(--color-blue);
    color: var(--color-text);
    margin: 24px 0;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 1024px) {
    .nav { gap: 0; }
    .nav a { padding: 8px 10px; font-size: 0.88rem; }
}

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 320px;
        max-width: 85vw;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 24px;
        gap: 4px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 99;
        overflow-y: auto;
    }
    .nav.open { right: 0; }
    .nav a {
        padding: 14px 16px;
        font-size: 1rem;
        border-bottom: 1px solid var(--color-border);
        border-radius: 0;
    }
    .dropdown {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        background: var(--color-bg-alt);
    }
    .nav-cta { margin-left: 0; margin-top: 12px; text-align: center; }
    .feature-row { grid-template-columns: 1fr; gap: 30px; }
    .feature-row.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .hero { padding: 70px 0 80px; }
    .section { padding: 60px 0; }
    .topbar { font-size: 0.78rem; }
    .topbar-info span { margin-right: 10px; display: inline-block; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
