:root {
    /* Logo-derived palette — primary matches the deep navy-indigo of the JYC letterforms */
    --primary:      #1c2157;   /* Logo dark navy-indigo — used for headings, nav, footer */
    --primary-mid:  #253080;   /* Mid-navy for hover states, accents */
    --secondary:    #2f5de3;   /* Vibrant cobalt-blue accent — same hue family, lighter */
    --secondary-hover: #1e46c7;

    --text-main:    #1c2157;   /* Body text same as primary for tight brand coherence */
    --text-body:    #2c3566;   /* Slightly lighter for long-form body copy */
    --text-light:   #5a6498;   /* Muted blue-grey for supporting text */

    --bg-light:     #eef0fa;   /* Very light indigo tint for section backgrounds */
    --bg-mid:       #dde1f5;   /* Slightly richer tint for cards/borders */
    --white:        #FFFFFF;
    --border:       #c5caeb;   /* Soft indigo border */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; color: var(--primary); letter-spacing: -1px; }
h2.section-title { font-size: 2.5rem; color: var(--primary); margin-bottom: 2rem; position: relative; }
h2.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin-top: 15px;
}
.text-center h2.section-title::after,
h2.section-title.text-center::after { margin: 15px auto 0; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 1.7rem;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    line-height: 1.2;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}
.btn-primary:hover {
    background-color: var(--primary-mid);
    border-color: var(--primary-mid);
    color: var(--white);
}
.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}
.btn-full { width: 100%; text-align: center; padding: 1rem; font-size: 1rem; }

/* Navbar */
.navbar {
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
}
.logo {
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 42px;
}
.logo-img {
    height: 92px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
}
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.45rem;
    margin-left: 4.5rem;
}
.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}
.nav-static-item,
.mobile-static-item,
.footer-static-link {
    cursor: default;
}
.nav-contact {
    min-width: 126px;
    padding: 1rem 1.9rem;
    border-radius: 2px;
    text-align: center;
    background: var(--primary);
    border-color: var(--primary);
    margin-left: auto;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.nav-contact:hover,
.nav-contact.active-btn {
    background: var(--primary-mid);
    border-color: var(--primary-mid);
    color: var(--white);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}
.nav-links a.active {
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 2px;
}

/* Dropdown Nav */
.nav-dropdown {
    position: relative;
}
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: default;
}
.dropdown-caret {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
    display: inline-block;
}
.nav-dropdown:hover .dropdown-caret {
    transform: rotate(180deg);
}
.dropdown-menu {
    visibility: hidden;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(15,45,110,0.14);
    min-width: 280px;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    transform: translateX(-50%) translateY(-6px);
}
.dropdown-menu-wide {
    min-width: 430px;
}
.nav-dropdown::after {
    content: ''; position: absolute;
    top: 100%; left: -20px; right: -20px; height: 40px; background: transparent;
}
.nav-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    border-radius: 6px;
    margin: 0 0.25rem;
    cursor: default;
}
.dropdown-menu li a:hover,
.dropdown-menu li a.active {
    background: transparent;
    color: var(--text-main);
    border-bottom: none;
    padding-bottom: 0.65rem;
}
.dropdown-menu li a.active {
    color: var(--text-main);
    font-weight: 600;
}
/* Arrow pointer for dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid var(--border);
}
.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid var(--white);
}

/* Hero (Home) */
.hero {
    padding: 7rem 0;
    background: linear-gradient(180deg, #f8faff 0%, #eef2ff 100%);
}
.hero-content {
    max-width: 1040px;
}
.hero-sub {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    max-width: 700px;
}
.hero-actions {
    display: flex;
    gap: 1rem;
}
.hero-home .hero-actions {
    margin-top: 2.5rem;
}
.hero-home .hero-actions .btn {
    border-radius: 2px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    min-width: 210px;
    text-align: center;
    padding: 1rem 1.85rem;
}
.hero-home .hero-actions .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.hero-home .hero-actions .btn-outline {
    background: #eef2ff;
    border-color: var(--primary);
    color: var(--primary);
}
.hero-home .hero-actions .btn-primary:hover,
.hero-home .hero-actions .btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Inner Page Hero */
.page-hero {
    padding: 5rem 0 4.5rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-mid) 100%);
}
.page-hero-dark {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
}
.page-hero-content { max-width: 700px; }
.page-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: block;
}
.page-hero-dark .page-label { color: rgba(255,255,255,0.6); }
.page-hero h1 { margin-bottom: 1.5rem; }
.page-hero .hero-sub {
    color: var(--text-main);
    font-weight: 400;
}

/* Sections */
.section { padding: 5rem 0; }
.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary); }
.section-subtitle { max-width: 800px; margin: 0 auto 4rem; font-size: 1.2rem; color: var(--text-light); }
.cta-section { background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-mid) 100%); }

/* Grids */
.double-column { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem;}

/* Feature List */
.feature-list { list-style: none; }
.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 1.5rem;
}
.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Cards */
.card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15,45,110,0.07);
    border-top: 4px solid var(--secondary);
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }
.card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 1rem; }
.card p { font-size: 0.95rem; color: var(--text-light); }

/* Numbered Cards */
.card-numbered { position: relative; padding-top: 3rem; }
.card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-light);
    line-height: 1;
}

/* How We Deliver Steps */
.deliver-step {
    text-align: center;
    padding: 2rem 1.5rem;
}
.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.deliver-step h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.deliver-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Content Box (Dark background) */
.content-box {
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
}
.content-box h4 { color: var(--white); font-size: 1.25rem; margin-bottom: 0.5rem; }
.content-box p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* Focus Area Cards */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.focus-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--white);
    min-height: 96px;
    padding: 1.3rem 1.45rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    box-shadow: none;
}
.focus-card:hover {
    background: var(--white);
    border-color: var(--border);
    box-shadow: none;
    transform: none;
}
.focus-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0;
    color: var(--primary);
}
.focus-body h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0; }

/* Focus Area Detail Page */
.focus-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    align-items: start;
}
.focus-detail-main p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.focus-detail-lead {
    font-size: 1.2rem !important;
    color: var(--text-main) !important;
    font-weight: 400;
    border-left: 4px solid var(--secondary);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem !important;
}
.focus-detail-list {
    list-style: none;
    margin-bottom: 2rem;
}
.focus-detail-list li {
    padding: 0.85rem 0 0.85rem 1.5rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.5;
}
.focus-detail-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}
.focus-detail-close {
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--text-main) !important;
    font-style: italic;
}

/* Sidebar */
.focus-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}
.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(15,45,110,0.06);
}
.sidebar-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1rem;
}
.sidebar-card-accent {
    background: var(--bg-light);
    border-color: var(--secondary);
    border-left: 4px solid var(--secondary);
}
.sidebar-list {
    list-style: none;
}
.sidebar-list li {
    padding: 0.45rem 0;
    color: var(--text-main);
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li::before {
    content: '·';
    color: var(--secondary);
    font-size: 1.2rem;
    line-height: 1;
}

/* Explore Other Focus Areas Grid */
.focus-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}
.focus-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(15,45,110,0.04);
    line-height: 1.35;
}
.focus-nav-card:hover {
    border-color: var(--secondary);
    background: var(--bg-light);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15,45,110,0.1);
}
.focus-nav-icon {
    font-size: 1.75rem;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-direct-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-direct-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    padding: 2.75rem;
}
.contact-direct-card h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}
.contact-direct-card p {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 620px;
}
.contact-direct-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}
.contact-direct-info {
    padding-top: 0.5rem;
}
.contact-form-wrap {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    box-shadow: 0 10px 40px rgba(15,45,110,0.08);
    padding: 3rem;
}
.contact-form-wrap h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.75rem;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}
.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.required-star { color: var(--secondary); font-weight: 700; }
.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s;
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(47,126,245,0.12);
}
.form-group textarea { resize: vertical; }
.contact-form .btn {
    min-width: 180px;
}
.form-success {
    margin-top: 1rem;
    color: #1a8b4a;
    font-weight: 600;
    font-size: 0.95rem;
}
.form-error {
    margin-top: 1rem;
    color: #b42318;
    font-weight: 600;
    font-size: 0.95rem;
}
.honeypot-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Contact Info Sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.info-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.info-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-block h4 { color: var(--primary); font-size: 1rem; margin-bottom: 0.25rem; }
.info-block p { color: var(--text-light); font-size: 0.9rem; }
.highlight-block {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    flex-direction: column;
    border-left: 4px solid var(--secondary);
    gap: 0;
}
.highlight-block h4 { margin-bottom: 0.75rem; }

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 2rem 0;
    font-size: 0.9rem;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: 0;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.footer-brand h3 { margin-bottom: 0; }
.footer-brand p { color: rgba(255,255,255,0.7); }
.footer-links, .footer-legal { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a, .footer-links span, .footer-legal a { color: rgba(255,255,255,0.8); }
.footer-links a:hover, .footer-legal a:hover { color: var(--white); }
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.linkedin-icon {
    width: 1.05em;
    height: 1.05em;
    flex-shrink: 0;
    stroke-width: 2.2;
}

/* Home Hero — minimal, statement-only */
.hero-home {
    padding: 5.6rem 0 6rem;
}
.hero-home .hero-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}
.hero-home h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    max-width: 1030px;
}
.hero-home .hero-sub {
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    max-width: 820px;
}
.hero-home .hero-desc {
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 780px;
    margin-bottom: 0;
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.capability-card {
    display: flex;
    gap: 1.25rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15,45,110,0.07);
    border-top: 4px solid var(--secondary);
    transition: transform 0.3s, box-shadow 0.3s;
}
.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15,45,110,0.12);
}
.capability-card-wide {
    grid-column: span 3;
    flex-direction: row;
    align-items: flex-start;
}
.capability-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.1rem;
}
.capability-body h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.capability-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Dummy Placeholder (coming-soon pages) */
.dummy-placeholder {
    background: var(--bg-light);
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 5rem 3rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.dummy-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}
.dummy-placeholder h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.dummy-placeholder p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.2s;
    z-index: 301;
    flex-shrink: 0;
}
.hamburger:hover { background: var(--bg-light); }
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
}
/* Active (open) state — animate into X */
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU DRAWER
   ============================================================ */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 299;
    pointer-events: none;
}
.mobile-menu.is-open {
    pointer-events: all;
}
/* Backdrop */
.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 33, 87, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu.is-open .mobile-menu-backdrop {
    opacity: 1;
}
/* Drawer panel */
.mobile-menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--secondary);
    box-shadow: 0 12px 40px rgba(28,33,87,0.18);
    padding: 5rem 1.5rem 2rem;
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 100vh;
    overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu-panel {
    transform: translateY(0);
}
/* Mobile nav links */
.mobile-nav-links {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}
.mobile-nav-links li {
    border-bottom: 1px solid var(--border);
}
.mobile-nav-links li:last-child { border-bottom: none; }
.mobile-nav-links > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}
.mobile-nav-links > li > a:hover,
.mobile-nav-links > li > a.active { color: var(--secondary); }
/* Mobile dropdown toggle */
.mobile-dropdown-toggle {
    cursor: pointer;
}
.mobile-dropdown-caret {
    font-size: 0.7rem;
    color: var(--text-light);
    transition: transform 0.25s ease;
}
.mobile-dropdown-toggle.open .mobile-dropdown-caret {
    transform: rotate(180deg);
}
/* Mobile sub-menu */
.mobile-submenu {
    display: none;
    list-style: none;
    padding: 0 0 0.5rem 1rem;
    margin: 0;
}
.mobile-submenu.open { display: block; }
.mobile-submenu li a {
    display: block;
    padding: 0.6rem 0.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    border-bottom: 1px solid var(--bg-mid);
    transition: color 0.2s;
    cursor: default;
}
.mobile-submenu li:last-child a { border-bottom: none; }
.mobile-submenu li a:hover { color: var(--text-body); }
.mobile-submenu li a.active { color: var(--text-body); font-weight: 600; }
/* Mobile CTA button */
.mobile-menu-cta {
    display: block;
    text-align: center;
    padding: 0.9rem 1.5rem;
    background: var(--secondary);
    color: var(--white) !important;
    font-weight: 700;
    border-radius: 6px;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s;
}
.mobile-menu-cta:hover { background: var(--primary); }

/* ============================================================
   RESPONSIVE — TABLET  (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
    /* Nav */
    .navbar { padding: 1rem 0; }
    .nav-container { justify-content: space-between; gap: 1rem; }
    .nav-links { display: none !important; }
    .nav-container > .btn { display: none; }   /* hide desktop Contact btn */
    .hamburger { display: flex; }
    .mobile-menu { display: block; }

    /* Typography */
    h1 { font-size: 2.4rem; letter-spacing: -0.5px; }
    h2.section-title { font-size: 1.9rem; }
    .hero-home h1 { font-size: 2.4rem; }
    .hero-home .hero-sub { font-size: 1.12rem; line-height: 1.6; }
    .hero-home .hero-desc { font-size: 1rem; line-height: 1.65; }

    /* Hero */
    .hero-home { padding: 4rem 0 3.5rem; }
    .page-hero { padding: 3.5rem 0 3rem; }

    /* Sections */
    .section { padding: 3.5rem 0; }
    .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }

    /* Grids → single column */
    .double-column,
    .grid-3,
    .grid-2,
    .footer-content,
    .focus-grid,
    .contact-layout,
    .contact-direct-layout,
    .capabilities-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    /* Misc layout */
    .capability-card-wide { grid-column: span 1; }
    .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
    .focus-card { gap: 1rem; }
    .contact-direct-card { padding: 2.25rem; }
    .contact-direct-card h2 { font-size: 1.8rem; }
    .focus-detail-layout { grid-template-columns: 1fr; gap: 2rem; }
    .focus-detail-sidebar { position: static; }
    .focus-nav-grid { grid-template-columns: repeat(2, 1fr); }

    /* Footer stacks */
    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-links, .footer-legal { flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

    /* Contact */
    .contact-layout { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 2rem 1.25rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE  (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .container { padding: 0 1.1rem; }
    .logo { height: 36px; }
    .logo-img { height: 80px; }
    .hamburger { width: 38px; height: 38px; }

    /* Typography */
    h1 { font-size: 1.95rem; }
    h2.section-title { font-size: 1.6rem; }
    .hero-home h1 { font-size: 1.95rem; }
    .hero-home .hero-sub { font-size: 1rem; line-height: 1.55; }
    .page-label { font-size: 0.75rem; }

    /* Hero */
    .hero-home { padding: 3rem 0 2.75rem; }
    .page-hero { padding: 2.75rem 0 2.25rem; }

    /* Sections */
    .section { padding: 2.5rem 0; }

    /* Cards */
    .card, .capability-card, .focus-card { padding: 1.5rem 1.25rem; }
    .focus-card { gap: 0.9rem; }
    .focus-icon { font-size: 1.55rem; }
    .contact-direct-card { padding: 1.75rem 1.25rem; }
    .contact-direct-actions { flex-direction: column; }
    .contact-direct-actions .btn { width: 100%; text-align: center; }
    .sidebar-card { padding: 1.25rem; }
    .focus-nav-grid { grid-template-columns: 1fr; }
    .focus-detail-lead { font-size: 1.05rem !important; padding-left: 1rem; }

    /* Buttons */
    .btn { padding: 0.75rem 1.2rem; font-size: 0.9rem; }
    .hero-actions { flex-direction: column; gap: 0.75rem; }
    .hero-actions .btn { width: 100%; text-align: center; }

    /* Dummy placeholder */
    .dummy-placeholder { padding: 3rem 1.5rem; }

    /* Footer */
    .footer { padding: 1.75rem 0; }
    .footer-links, .footer-legal { flex-direction: column; gap: 0.5rem; }
}
