:root {
    --crimson: #8B0000;
    --crimson-light: #A50000;
    --crimson-muted: rgba(139, 0, 0, 0.12);
    --gold: #C9A84C;
    --off-white: #F2EDE6;
    --charcoal: #1A1A1A;
    --mid-gray: #3D3D3D;
    --light-gray: #9A9A9A;
    --panel: #111111;
    --theme-transition-duration: 0.35s;
    --theme-icon-transition-duration: 0.25s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0D0D0D;
    color: var(--off-white);
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

body.light-mode {
    --off-white: #1A1A1A;
    --light-gray: #525252;
    --charcoal: #F4F4F4;
    --panel: #FFFFFF;
    background: #FFFFFF;
    color: var(--off-white);
}

body,
nav,
#about,
#services,
#contact,
#vision,
#qhse,
.service-card,
.form-group input,
.form-group textarea,
.footer-bottom p {
    transition: background-color var(--theme-transition-duration) ease, color var(--theme-transition-duration) ease, border-color var(--theme-transition-duration) ease;
}

ion-icon {
  font-size: 2rem;
  color: var(--crimson-light);
  vertical-align: middle;
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    height: 72px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(139, 0, 0, 0.3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    width: 6rem;
    height: 6rem;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--crimson);
    transition: width 0.3s;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--off-white);
    background: var(--crimson);
    border: none;
    padding: 10px 24px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.nav-cta:hover {
    background: var(--crimson-light);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: transparent;
    border: 1px solid rgba(242, 237, 230, 0.3);
    border-radius: 999px;
    color: var(--off-white);
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 110;
}

.theme-toggle ion-icon {
    font-size: 1rem;
    color: currentColor;
    transition: transform var(--theme-icon-transition-duration) ease, opacity var(--theme-icon-transition-duration) ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    border-color: rgba(242, 237, 230, 0.65);
}

.theme-toggle ion-icon.is-switching {
    opacity: 0.35;
    transform: rotate(35deg) scale(0.85);
}

body.light-mode .theme-toggle {
    border-color: rgba(26, 26, 26, 0.25);
}

body.light-mode .theme-toggle:hover,
body.light-mode .theme-toggle:focus-visible {
    border-color: rgba(26, 26, 26, 0.6);
}

/* ─── HERO ─── */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 5vw 10vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.9) 40%, rgba(0, 0, 0, 0.3) 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.8) 20%, transparent 60%),
        url('./images/techmira_hero_rig.webp') center/cover no-repeat;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-accent-line {
    position: absolute;
    top: 0;
    left: 5vw;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--crimson) 40%, transparent);
    opacity: 0.4;
}

.hero-content {
    position: relative;
    max-width: 720px;
}

.hero-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--crimson);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-tag::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--crimson);
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
}

.hero-title em {
    font-style: normal;
    color: var(--crimson);
    display: block;
}

.hero-sub {
    font-size: 1rem;
    font-weight: 300;
    color: var(--light-gray);
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 44px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--off-white);
    background: var(--crimson);
    border: none;
    padding: 14px 36px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--crimson-light);
    transform: translateY(-2px);
}

.btn-ghost {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--off-white);
    background: transparent;
    border: 1px solid rgba(242, 237, 230, 0.3);
    padding: 14px 36px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
}

.btn-ghost:hover {
    border-color: var(--crimson);
    color: var(--crimson);
}

.hero-stat-strip {
    position: absolute;
    right: 5vw;
    bottom: 10vh;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-end;
}

.stat-item {
    text-align: right;
}

.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    line-height: 1;
    color: var(--crimson);
}

.stat-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--light-gray);
}

.stat-divider {
    width: 40px;
    height: 1px;
    background: rgba(139, 0, 0, 0.4);
    margin-left: auto;
    margin-top: 8px;
}

/* ─── MARQUEE STRIP ─── */
.marquee-strip {
    background: var(--crimson);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-inner span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin: 0 32px;
    color: rgba(255, 255, 255, 0.85);
}

.marquee-inner span.dot {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
    font-size: 0.5rem;
    vertical-align: middle;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ─── SECTION SHARED ─── */
section {
    padding: 120px 5vw;
}

.section-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--crimson);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--crimson);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

/* ─── ABOUT ─── */
#about {
    background: var(--charcoal);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-frame {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.about-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.5s, transform 0.5s;
}

.about-img-frame:hover img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.about-img-frame::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 1px solid var(--crimson);
    z-index: 1;
    pointer-events: none;
}

.about-year-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--crimson);
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.about-year-badge .yr {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    line-height: 1;
}

.about-year-badge .yr-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #B0B0B0;
    margin-bottom: 20px;
}

.about-text p strong {
    color: var(--off-white);
    font-weight: 500;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.highlight-item {
    border-left: 2px solid var(--crimson);
    padding-left: 16px;
}

.highlight-item h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 0.82rem;
    color: var(--light-gray);
    margin: 0;
    line-height: 1.5;
}

/* ─── VISION MISSION ─── */
#vision {
    background: #0D0D0D;
    position: relative;
    overflow: hidden;
}

.vm-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(8rem, 20vw, 22rem);
    color: rgba(139, 0, 0, 0.04);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.05em;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
}

.vm-card {
    padding: 64px 56px;
    position: relative;
}

.vm-card:first-child {
    background: var(--panel);
    border: 1px solid rgba(139, 0, 0, 0.2);
}

.vm-card:last-child {
    background: var(--crimson);
}

.vm-icon {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    font-size: 1.4rem;
}

.vm-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--off-white);
}

.vm-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

.vm-icon ion-icon {
    color: var(--off-white);
}

/* ─── SERVICES ─── */
#services {
    background: var(--charcoal);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
    flex-wrap: wrap;
    gap: 24px;
}

.services-header-left {
    max-width: 480px;
}

.services-header p {
    color: var(--light-gray);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 340px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.service-card {
    background: #1A1A1A;
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: background 0.3s;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--crimson);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: #1E1E1E;
}

.service-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: rgba(139, 0, 0, 0.15);
    line-height: 1;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.service-card:hover .service-num {
    color: rgba(139, 0, 0, 0.3);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
    color: var(--off-white);
}

.service-desc {
    font-size: 0.88rem;
    color: var(--light-gray);
    line-height: 1.7;
}

/* ─── QHSE ─── */
#qhse {
    background: #0D0D0D;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

.qhse-text .section-title {
    margin-bottom: 20px;
}

.qhse-text>p {
    font-size: 1rem;
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.qhse-pillars {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.qhse-pillar {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s;
}

.qhse-pillar:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pillar-letter {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--crimson);
    min-width: 36px;
    line-height: 1;
}

.pillar-info h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.pillar-info p {
    font-size: 0.85rem;
    color: var(--light-gray);
    line-height: 1.6;
}

.qhse-visual {
    position: relative;
}

.qhse-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.qhse-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.5s, transform 0.5s;
}

.qhse-img-wrap:hover img {
    filter: grayscale(0);
    transform: scale(1.04);
}

.qhse-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(139, 0, 0, 0.6), transparent 60%);
}

.qhse-img-label {
    position: absolute;
    bottom: 32px;
    left: 32px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.08em;
    color: var(--off-white);
    line-height: 1;
}

/* ─── CTA BANNER ─── */
#cta {
    background: var(--crimson);
    padding: 100px 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: 'TECHMIRA';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 12vw, 14rem);
    color: rgba(0, 0, 0, 0.12);
    pointer-events: none;
    letter-spacing: 0.05em;
}

.cta-text .section-title {
    margin-bottom: 12px;
}

.cta-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 420px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}

.btn-white {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--crimson);
    background: var(--off-white);
    border: none;
    padding: 16px 40px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}

.btn-white:hover {
    background: #fff;
    transform: translateY(-2px);
}

.btn-outline-white {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--off-white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 16px 40px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    display: inline-block;
}

.btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ─── CONTACT / FOOTER ─── */
#contact {
    background: var(--charcoal);
    padding: 100px 5vw 60px;
}

.contact-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    align-items: start;
}

.contact-info-block h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.04em;
    margin-bottom: 32px;
    color: var(--off-white);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-detail:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-detail-icon {
    width: 36px;
    height: 36px;
    background: var(--crimson-muted);
    border: 1px solid rgba(139, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-text strong {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--crimson);
    margin-bottom: 4px;
}

.contact-detail-text span {
    font-size: 0.95rem;
    color: var(--light-gray);
}

.contact-form-block h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.04em;
    margin-bottom: 32px;
    color: var(--off-white);
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--off-white);
    font-family: 'Barlow', sans-serif;
    font-size: 0.9rem;
    padding: 14px 18px;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

.footer-rc {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--crimson);
    text-transform: uppercase;
}

/* ─── SCROLL ANIMATION ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {

    #about,
    #qhse,
    .contact-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .vm-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .about-visual {
        order: -1;
    }

    .nav-links {
        display: none;
    }

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

    #cta {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    section {
        padding: 80px 5vw;
    }

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

    .about-highlights {
        grid-template-columns: 1fr;
    }
}
/* ─── VISUALLY HIDDEN (SEO / A11Y) ─── */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── NAV ACTIVE LINK ─── */
.nav-links a.active {
    color: var(--off-white);
}
.nav-links a.active::after {
    width: 100%;
    background: var(--crimson);
}

/* ─── HAMBURGER BUTTON ─── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--off-white);
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.light-mode nav {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(139, 0, 0, 0.18);
}
body.light-mode .nav-links a {
    color: #4F4F4F;
}
body.light-mode .hamburger span {
    background: #1A1A1A;
}
body.light-mode #about,
body.light-mode #services,
body.light-mode #contact {
    background: #F4F4F4;
}
body.light-mode #vision,
body.light-mode #qhse {
    background: #FFFFFF;
}
body.light-mode #vision .vm-card:first-child p {
    color: rgba(26, 26, 26, 0.75);
}
body.light-mode .service-card {
    background: #FFFFFF;
}
body.light-mode .service-card:hover {
    background: #F7F7F7;
}
body.light-mode .form-group input,
body.light-mode .form-group textarea {
    background: #FFFFFF;
    border-color: rgba(26, 26, 26, 0.14);
    color: #1A1A1A;
}
body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
    color: rgba(26, 26, 26, 0.45);
}
body.light-mode .footer-bottom p {
    color: rgba(26, 26, 26, 0.5);
}
body.light-mode #hero,
body.light-mode #hero .hero-sub,
body.light-mode #hero .hero-tag,
body.light-mode #hero .hero-title,
body.light-mode #hero .btn-ghost {
    color: #F2EDE6;
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100dvh;
    background: #111111;
    border-left: 1px solid rgba(139, 0, 0, 0.3);
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 80px 40px 40px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
    right: 0;
}
.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mobile-menu ul li a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 0.06em;
    color: var(--off-white);
    text-decoration: none;
    display: block;
    transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu ul li a:hover {
    color: var(--crimson);
    padding-left: 8px;
}
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--off-white);
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: color 0.2s;
}
.mobile-menu-close:hover {
    color: var(--crimson);
}

/* ─── MOBILE OVERLAY ─── */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}
.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ─── FORM ERROR BANNER ─── */
.form-error-banner {
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.5);
    color: #ff6b6b;
    padding: 14px 18px;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
    border-radius: 0;
}

/* ─── RESPONSIVE: show hamburger ─── */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    .nav-cta {
        display: none;
    }
    .nav-controls {
        gap: 10px;
    }
}
