/* ═══════════════════════════════════════
   POLYNICE SECURITY GROUP
   ═══════════════════════════════════════ */

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

:root {
    --bg:          #0a0a0a;
    --white:       #ffffff;
    --off-white:   #e8e8e8;
    --gray-100:    #f5f5f5;
    --gray-200:    #d0d0d0;
    --gray-300:    #a0a0a0;
    --gray-400:    #707070;
    --gray-500:    #505050;
    --gray-600:    #333333;
    --gray-700:    #1a1a1a;
    --green:       #00c853;
    --green-glow:  rgba(0, 200, 83, 0.3);

    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', 'SF Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--green); color: var(--bg); }

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3rem;
    transition: padding 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav.scrolled .nav-inner {
    padding: 0.85rem 3rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
}

.nav-logo-mark {
    color: var(--green);
    font-size: 0.7rem;
}

.nav-logo-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--white);
    color: var(--bg);
    border-color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.35s ease;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Dark overlay — heavier on left for text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.55) 45%,
            rgba(0, 0, 0, 0.30) 100%
        ),
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.3) 0%,
            transparent 30%,
            transparent 70%,
            rgba(0, 0, 0, 0.6) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--green);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    max-width: 700px;
    margin-bottom: 1.75rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-200);
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.85rem 2rem;
    background: var(--white);
    color: var(--bg);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--white);
}

/* Hero bottom bar */
.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--white);
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    letter-spacing: 0.02em;
}

.hero-stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-scroll span {
    font-size: 0.75rem;
    color: var(--gray-400);
    letter-spacing: 0.04em;
}

.hero-scroll-line {
    width: 40px;
    height: 1px;
    background: var(--gray-500);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { left: -100%; }
    50%  { left: 0; }
    100% { left: 100%; }
}

/* ── Sections (shared) ── */
.section {
    padding: 7rem 0;
}

.section-alt {
    background: var(--gray-700);
}

.section-img {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#programs .section-bg-img {
    object-position: center bottom;
}

.section-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.45);
}

.section-img .section-inner {
    position: relative;
    z-index: 2;
}

.section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-header {
    max-width: 640px;
    margin-bottom: 4rem;
}

.section-header .section-desc {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
}

.section-header .section-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.6);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--green);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.section-desc {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-300);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Services ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.75rem;
    transition: background 0.3s ease;
}

.service-card:hover {
    background: rgba(0, 0, 0, 0.2);
}

.service-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-300);
}

.service-card:hover h3 {
    color: var(--green);
    transition: color 0.3s ease;
}

/* ── Technology ── */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2.25rem;
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.5);
}

.tech-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.tech-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.tech-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--green);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--green-glow);
}

.tech-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.tech-card p {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.tech-meter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-meter-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.tech-meter-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--fill);
    background: var(--green);
    border-radius: 2px;
}

.tech-meter-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* ── Programs / Process ── */
.programs-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.process-step {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.45);
}

.process-number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.process-step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-300);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.program-card {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.program-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.2);
}

.program-featured {
    border-color: rgba(0, 200, 83, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.program-featured:hover {
    border-color: rgba(0, 200, 83, 0.35);
    background: rgba(0, 0, 0, 0.15);
}

.program-level {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.level-1 { color: var(--gray-400); }
.level-2 { color: #0a84ff; }
.level-3 { color: var(--green); }
.level-4 { color: #ff6b35; }

.program-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.program-desc {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.program-card ul {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.program-card li {
    font-size: 0.9375rem;
    color: var(--gray-300);
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    line-height: 1.5;
}

.program-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    background: var(--gray-500);
    border-radius: 50%;
    transform: translateY(-50%);
}

.program-featured li::before {
    background: var(--green);
}

.program-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-400);
    text-decoration: none;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.3s ease;
}

.program-cta:hover {
    color: var(--white);
}

.program-cta span {
    transition: transform 0.3s ease;
}

.program-cta:hover span {
    transform: translateX(4px);
}

/* ── About ── */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-body {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 1.25rem;
}

.about-emphasis {
    color: var(--white);
    font-weight: 400;
}

.about-credentials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 3.5rem;
}

.credential {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.credential:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.15);
}

.credential-icon {
    width: 36px;
    height: 36px;
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
}

.credential-icon svg {
    width: 100%;
    height: 100%;
}

.credential h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.credential p {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--gray-300);
    line-height: 1.6;
}

/* ── Contact ── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-desc {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-info-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    text-transform: uppercase;
}

.contact-info-value {
    font-size: 0.9375rem;
    color: var(--gray-200);
}

.contact-form-wrap {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.optional {
    font-weight: 300;
    color: var(--gray-500);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23707070' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.85rem 2rem;
    background: var(--white);
    color: var(--bg);
    border: 1px solid var(--white);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: transparent;
    color: var(--white);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--green);
    min-height: 1.5em;
}

/* ── Footer ── */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-mark {
    color: var(--green);
    font-size: 0.6rem;
}

.footer-logo-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.footer-legal,
.footer-copy {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ── Mobile ── */
@media (max-width: 900px) {
    .nav-inner { padding: 1rem 1.5rem; }
    .nav.scrolled .nav-inner { padding: 0.75rem 1.5rem; }

    /* Solid background on mobile when scrolled so hamburger is always visible */
    .nav.scrolled {
        background: rgba(10, 10, 10, 0.98);
    }

    .nav-links, .nav-right {
        display: none;
    }

    /* Prevent scroll when menu is open */
    body.nav-open {
        overflow: hidden;
    }

    .nav-links, .nav-right {
        display: none !important;
    }

    .nav-toggle {
        display: flex;
        position: relative;
    }

    body.nav-open .nav-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-bottom {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.25rem 1.5rem;
    }

    .hero-stats {
        width: 100%;
        justify-content: space-between;
        gap: 0;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-scroll {
        display: none;
    }

    .section { padding: 5rem 0; }
    .section-inner { padding: 0 1.5rem; }

    .services-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .programs-grid { grid-template-columns: 1fr; }
    .programs-process { grid-template-columns: 1fr; }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-credentials { padding-top: 0; }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row { grid-template-columns: 1fr; }

    .footer-top { flex-direction: column; gap: 1.25rem; }
    .footer-links { flex-wrap: wrap; gap: 1rem; justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .footer-inner { padding: 0 1.5rem; }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-stat {
        width: 45%;
    }
}

/* ── Mobile Menu Overlay ── */
.mobile-menu {
    display: none;
}

body.nav-open .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
}

body.nav-open .mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: #0a0a0a;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2.5rem;
    gap: 2rem;
}

body.nav-open .mobile-menu-panel a {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

body.nav-open .mobile-menu-panel a:hover {
    color: var(--white);
}

body.nav-open .mobile-menu-panel .mobile-menu-cta {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    text-align: center;
    color: var(--white);
    font-weight: 500;
}

/* Desktop: hide mobile menu entirely */
@media (min-width: 901px) {
    .mobile-menu {
        display: none !important;
    }
}
