/* =========================================================
   DATA CONNECT — Main Stylesheet
   =========================================================
   Quick map:
   1. COLORS & SETTINGS
   2. BASE
   3. SMOOTH SCROLL OFFSET
   4. NAVBAR
   5. HOME (HERO)
   6. SCROLL REVEAL
   7. ABOUT
   8. SECTION TITLE
   9. SERVICES
   10. PRODUCTS PAGE
   11. GET STARTED (CTA)
   12. CONTACT
   13. LOCATION
   14. FOOTER
   15. REDUCED MOTION
   ========================================================= */

/* ---------------------------------------------------------
   1. COLORS & SETTINGS
   --------------------------------------------------------- */
:root {
    /* Dark — matched to logo black field */
    --navy-950: #05080c;
    --navy-900: #0a1018;

    /* Single brand blue — #0059A9 and same-hue shades only */
    --blue-700: #004785;
    --blue-600: #0059a9;
    --blue-500: #0059a9;
    --blue-400: #5ba3d4;
    --blue-100: #e8f1f8;
    --blue-50: #f3f7fb;
    --icon-gradient: linear-gradient(135deg, var(--blue-400), var(--blue-700));

    /* Neutrals only (no second accent color) */
    --slate-900: #12161c;
    --slate-700: #3d4654;
    --slate-500: #6b7585;
    --slate-400: #9aa3b0;
    --slate-200: #dce1e8;
    --slate-100: #eef1f5;
    --white: #ffffff;

    /* Fonts — tech display + readable body */
    --font-display: "Space Grotesk", system-ui, sans-serif;
    --font-body: "DM Sans", system-ui, sans-serif;

    /* Sizes */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 999px;
    --shadow-sm: 0 4px 16px rgba(5, 8, 12, 0.06);
    --shadow-md: 0 12px 32px rgba(5, 8, 12, 0.1);
    --shadow-lg: 0 24px 48px rgba(5, 8, 12, 0.14);
    --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    --nav-height: 64px;
    --content-max: 1140px;
    --section-pad-y: clamp(40px, 6vh, 80px);
    --section-pad-x: clamp(16px, 4vw, 8%);

    /* Fallback scroll gap (JS updates this live) */
    --scroll-offset: 96px;
}

/* ---------------------------------------------------------
   2. BASE
   --------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
:root {
    scroll-behavior: auto;
    scroll-padding-top: var(--scroll-offset);
}

html {
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--slate-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--slate-900);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    transition: color var(--transition), background var(--transition),
                transform var(--transition), box-shadow var(--transition),
                border-color var(--transition);
}

:focus-visible {
    outline: 2px solid var(--blue-500);
    outline-offset: 3px;
}

/* ---------------------------------------------------------
   3. SMOOTH SCROLL OFFSET
   Keeps section titles below the fixed navbar
   --------------------------------------------------------- */
section[id] {
    scroll-margin-top: var(--scroll-offset);
}

#home {
    scroll-margin-top: 0;
}

/* ---------------------------------------------------------
   4. NAVBAR
   Background/blur live on a ::before overlay so only opacity
   animates — no backdrop-filter or background-color jumps.
   --------------------------------------------------------- */
.skip-link {
    position: absolute;
    left: 12px;
    top: -56px;
    z-index: 2000;
    padding: 8px 14px;
    background: var(--blue-600);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.skip-link:focus {
    top: 12px;
    color: var(--white);
}

.custom-navbar {
    background: transparent;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    isolation: isolate;
}

.custom-navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: #05080c;
    border-bottom: 1px solid rgba(0, 89, 169, 0.18);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    opacity: var(--nav-solid, 0);
    transform: translateZ(0);
    will-change: opacity;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

html.nav-booting .custom-navbar::before {
    transition: none !important;
}

html.nav-boot-solid .custom-navbar::before {
    opacity: 1;
}

.custom-navbar.is-nav-animating::before {
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-navbar.is-scrolling::before {
    transition: opacity 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-navbar.scrolled::before,
.custom-navbar.is-menu-open::before {
    opacity: var(--nav-solid, 1);
}

.custom-navbar .container {
    position: relative;
    z-index: 1;
}

body.nav-open {
    overflow: hidden;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #000;
    border: 1px solid rgba(0, 89, 169, 0.45);
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 2px 14px rgba(0, 89, 169, 0.35);
    flex-shrink: 0;
}

.navbar-brand img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    position: relative;
}

.brand-data { color: var(--white); }
.brand-connect { color: var(--blue-400); }

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 89, 169, 0.35);
}

.navbar-toggler-icon {
    filter: invert(1) brightness(1.8);
}

.nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    margin: 0 2px;
    padding: 6px 10px !important;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background: var(--blue-400);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

@media (max-width: 400px) {
    .brand-text { display: none; }
}

@media (max-width: 991px) {
    .navbar-nav {
        padding: 16px 0 8px;
        gap: 4px;
    }

    .nav-link {
        padding: 10px 12px !important;
        border-radius: 8px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 89, 169, 0.18);
    }

    .logo-badge {
        width: 34px;
        height: 34px;
    }
}

/* ---------------------------------------------------------
   5. HOME (HERO)
   --------------------------------------------------------- */
.home {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: #02060c;
    overflow: hidden;
    box-sizing: border-box;
}

/* Dark overlay — stronger on the text side for readability */
.overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        100deg,
        rgba(2, 6, 12, 0.72) 0%,
        rgba(2, 6, 12, 0.45) 38%,
        rgba(2, 6, 12, 0.18) 62%,
        rgba(2, 6, 12, 0.35) 100%
    );
}

/* Full-bleed starfield backdrop across the hero */
.hero-galaxy {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("../images/background.webp") center / cover no-repeat;
    opacity: 1;
    filter: brightness(1) contrast(1.05);
}

.home::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(5, 8, 12, 0.35));
}

.home .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hero text — same .reveal motion as the rest of the site */
.hero-panel {
    position: relative;
    max-width: 640px;
    padding: 8px 0;
}

.home h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.2vw, 3.15rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
    overflow-wrap: break-word;
    word-break: break-word;
}

.home h1 span {
    color: var(--blue-400);
}

.home p {
    color: rgba(219, 228, 239, 0.92);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.hero-buttons .btn-outline {
    padding: 14px 30px;
    font-weight: 700;
    color: var(--white);
    border-color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--blue-700);
}

.hero-buttons .btn-outline:active {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.85);
    color: var(--blue-700);
}

@media (max-width: 480px) {
    .hero-buttons {
        width: 100%;
    }

    .hero-buttons .cta-btn,
    .hero-buttons .btn-outline {
        flex: 1 1 auto;
        justify-content: center;
    }
}

@keyframes fadeInCenter {
    from { opacity: 0; transform: scale(0.55); }
    to   { opacity: 1; transform: scale(1); }
}

/* Hero-visual entrance: clean settle-in, no overshoot */
@keyframes dcHeroEntrance {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

/* Right-side Earth image (desktop only), anchored to the hero's
   bottom-right corner. The source image is a transparent-background
   render with the globe sitting toward its bottom-right, so pinning
   it to the corner (and letting .home's overflow:hidden trim the
   overflow) reads as the planet rising into frame. */
.hero-visual {
    position: absolute;
    right: -9%;
    bottom: -65%;
    width: clamp(680px, 75vw, 1250px);
    z-index: 1;
    pointer-events: none;
    transform-origin: bottom right;
}

@media (min-width: 992px) {
    .hero-visual {
        animation: dcHeroEntrance 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s both;
    }
}

.hero-earth-img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 48px rgba(80, 160, 255, 0.35));
}

@media (max-width: 991px) {
    .home {
        min-height: 100dvh;
        min-height: 100svh;
        padding-top: calc(var(--nav-height) + 12px);
        padding-bottom: 28px;
    }

    .hero-galaxy {
        opacity: 0.55;
        animation: none;
    }

    .overlay {
        background: linear-gradient(
            180deg,
            rgba(2, 6, 12, 0.55) 0%,
            rgba(2, 6, 12, 0.35) 50%,
            rgba(2, 6, 12, 0.5) 100%
        );
    }

}

/* ---------------------------------------------------------
   6. SCROLL REVEAL
   Fade-in once when section enters the viewport
   --------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

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

/* ---------------------------------------------------------
   6b. REPEAT VISIT — page already seen this browser session
   (class set by the inline head script). Skip straight to the
   settled state for one-shot entrance effects. Continuous
   ambient animations (globe spin, satellite orbit, starfield,
   hero lines) are untouched — only first-view "arrival"
   animations are frozen.
   --------------------------------------------------------- */
html.repeat-visit .reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

html.repeat-visit .hero-visual {
    animation: none;
    opacity: 1;
    transform: none;
}

/* ---------------------------------------------------------
   7. ABOUT
   --------------------------------------------------------- */
.about {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(48px, 6vh, 80px) var(--section-pad-x);
    gap: clamp(28px, 4vw, 56px);
    background: var(--white);
    flex-wrap: wrap;
    overflow: hidden;
    box-sizing: border-box;
}

.about-bg {
    position: absolute;
    top: -20%;
    right: -8%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 89, 169, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.about-image {
    flex: 1 1 320px;
    position: relative;
    z-index: 1;
}

.about-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-frame::after {
    content: "";
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 45%;
    height: 45%;
    border: 2px solid var(--blue-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-frame:hover img {
    transform: scale(1.03);
}

.about-content {
    flex: 1 1 340px;
    position: relative;
    z-index: 1;
}

.about-content h4 {
    font-family: var(--font-body);
    letter-spacing: 0.14em;
    margin-bottom: 14px;
    color: var(--blue-400);
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    margin-bottom: 20px;
    color: var(--navy-950);
    letter-spacing: -0.02em;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--slate-700);
    margin-bottom: 28px;
}

.about-content .btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: transparent;
    color: var(--blue-600);
    border: 1.5px solid var(--blue-600);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.about-content .btn-primary:hover {
    background: var(--blue-600);
    color: var(--white);
}

.about-content .btn-primary:active {
    background: var(--blue-700);
    border-color: var(--blue-700);
    color: var(--white);
}

/* ---------------------------------------------------------
   8. SECTION TITLE
   --------------------------------------------------------- */
.section-title {
    text-align: center;
    max-width: 920px;
    margin: 0 auto clamp(20px, 3.5vh, 32px);
}

.section-title span {
    display: inline-block;
    font-family: var(--font-display);
    color: var(--blue-400);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    position: relative;
    padding-bottom: 10px;
}

.section-title span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--blue-400);
    border-radius: 2px;
}

.section-title h2 {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    margin: 12px 0 8px;
    letter-spacing: -0.02em;
    color: var(--navy-900);
}

.section-title p {
    color: var(--slate-500);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Reusable outline button — pairs with .cta-btn / .btn-primary on light sections */
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1.5px solid var(--blue-600);
    background: transparent;
    color: var(--blue-600);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
    background: var(--blue-600);
    color: var(--white);
    border-color: var(--blue-600);
}

.btn-outline:active {
    background: var(--blue-700);
    border-color: var(--blue-700);
    color: var(--white);
}

.btn-outline i {
    flex: 0 0 auto;
    line-height: 1;
}

.section-cta {
    text-align: center;
    margin-top: clamp(20px, 3.5vh, 36px);
    position: relative;
    z-index: 1;
}

/* ---------------------------------------------------------
   9. SERVICES
   --------------------------------------------------------- */
.services {
    position: relative;
    display: block;
    padding: clamp(48px, 6vh, 80px) 0;
    background: var(--slate-100);
    overflow: hidden;
    box-sizing: border-box;
}

.services-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: none;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    padding: clamp(20px, 2.5vh, 28px) 24px;
    transition: transform var(--transition), box-shadow var(--transition),
                border-color var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 210px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.service-card:hover,
a.service-card:focus-visible {
    color: inherit;
}

.service-card:focus,
.service-card:focus-visible {
    outline: none;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 89, 169, 0.22);
}

.service-card--expandable {
    transition: box-shadow var(--transition), border-color var(--transition);
}

.service-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-100);
    color: var(--blue-600);
    border-radius: 12px;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: background var(--transition), color var(--transition),
                box-shadow var(--transition);
}

.service-card:hover .icon {
    background: var(--icon-gradient);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(0, 89, 169, 0.26);
}

.service-head h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--navy-900);
    min-height: 2.7em;
    display: flex;
    align-items: center;
}

.service-card p {
    margin: 0;
    color: var(--slate-700);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
}

@media (max-width: 991px) {
    .service-head h3 {
        min-height: 0;
    }
}

/* ---------------------------------------------------------
   9b. SERVICES — HOME OVERVIEW (static top-3 grid)
   --------------------------------------------------------- */
.services-preview-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 24px;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .services-preview-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

/* ---------------------------------------------------------
   9c. SERVICES — FULL LIST (dedicated page)
   Premium expandable cards — ghost index numbers, gradient
   accents, pill-style toggle. Auto-fill grid so new cards can
   be dropped in with no layout changes required.
   --------------------------------------------------------- */
.services-full {
    position: relative;
    min-height: 0;
    padding: clamp(48px, 7vh, 88px) 0;
    background: var(--slate-100);
    box-sizing: border-box;
    overflow: hidden;
}

.services-full::before {
    content: "";
    position: absolute;
    top: -12%;
    right: -6%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 89, 169, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.services-full .container {
    position: relative;
    z-index: 1;
}

.services-full-grid {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    align-items: start;
    gap: 28px;
    /* Prevent browser scroll-anchoring jumps when cards expand/collapse */
    overflow-anchor: none;
}

.service-card--expandable {
    cursor: pointer;
    height: auto;
    min-height: 225px;
    padding: 22px 24px 20px;
    user-select: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-anchor: none;
    position: relative;
    border-radius: var(--radius-lg);
    border-color: rgba(226, 232, 240, 0.75);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.service-card--expandable:hover {
    box-shadow: var(--shadow-lg);
}

.service-card--expandable.is-open {
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 89, 169, 0.26);
}

/* Accent color — single brand blue, kept consistent across every
   card; the gradient adds depth without introducing a second hue */
.service-card--expandable.accent-blue,
.service-card--expandable.accent-amber,
.service-card--expandable.accent-teal,
.service-card--expandable.accent-coral,
.service-card--expandable.accent-purple,
.service-card--expandable.accent-pink {
    --accent: var(--blue-600);
    --accent-bg: var(--blue-100);
    --accent-text: var(--blue-600);
    --accent-gradient: var(--icon-gradient);
}

.service-card--expandable .service-head {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    gap: 14px;
}

.service-card--expandable .service-head h3 {
    min-height: 2.4em;
    font-size: 1.08rem;
    letter-spacing: -0.01em;
}

.service-card--expandable .icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    border-radius: 13px;
    background: var(--accent-bg);
    color: var(--accent-text);
    box-shadow: inset 0 0 0 1px rgba(0, 89, 169, 0.08);
    transition: background var(--transition), color var(--transition),
                box-shadow var(--transition);
}

.service-card--expandable:hover .icon,
.service-card--expandable.is-open .icon {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 89, 169, 0.26);
}

.service-card--expandable .service-teaser {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--slate-700);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card--expandable.is-open .service-teaser {
    display: block;
    overflow: visible;
}

.service-card--expandable .service-details {
    position: relative;
    z-index: 1;
    height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
}

.service-card--expandable .service-details.is-animating {
    transition:
        height 0.4s ease,
        opacity 0.28s ease,
        margin-top 0.35s ease;
}

.service-card--expandable.is-open .service-details {
    opacity: 1;
    margin-top: 16px;
}

.service-card--expandable .service-details-inner {
    min-height: 0;
    padding-top: 16px;
    border-top: 1px dashed rgba(0, 89, 169, 0.2);
}

/* Grouped offerings (e.g. Consultancy Services) get a small
   pill-style label so each type reads as its own cluster */
.service-card--expandable .service-details-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 14px 0 10px;
    padding: 4px 12px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--blue-600);
    background: var(--blue-50);
    border-radius: var(--radius-full);
}

.service-card--expandable .service-details-label::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue-600);
    flex-shrink: 0;
}

.service-card--expandable .service-details-label:first-child {
    margin-top: 0;
}

.service-card--expandable .service-details ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--slate-700);
    font-size: 0.89rem;
    line-height: 1.55;
}

.service-card--expandable .service-details ul li {
    position: relative;
    padding-left: 20px;
}

.service-card--expandable .service-details ul li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 0.62em;
    width: 6px;
    height: 6px;
    background: var(--blue-500);
    border-radius: 2px;
    transform: translateY(-50%) rotate(45deg);
}

.service-card--expandable .service-details li + li {
    margin-top: 8px;
}

/* Nested sub-lists (e.g. Active/Passive Deployments under a parent
   bullet) — set apart in a soft panel with a finer, hollow marker
   so they clearly read as children of the bullet above them. */
.service-card--expandable .service-details ul ul {
    margin: 8px 0 0;
    padding: 10px 14px;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
    border-left: 2px solid var(--blue-400);
}

.service-card--expandable .service-details ul ul li {
    color: var(--slate-500);
    font-size: 0.85rem;
    padding-left: 15px;
}

.service-card--expandable .service-details ul ul li::before {
    width: 4px;
    height: 4px;
    background: var(--blue-400);
    border-radius: 50%;
    transform: translateY(-50%);
    left: 0;
}

.service-card--expandable .service-details ul ul li + li {
    margin-top: 6px;
}

.service-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue-600);
    position: relative;
    z-index: 1;
}

.service-card--expandable.is-open .service-toggle {
    color: var(--blue-700);
}

.service-toggle::after {
    content: "";
    width: 0.45em;
    height: 0.45em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin-top: -0.15em;
}

.service-card--expandable.is-open .service-toggle::after {
    transform: rotate(-135deg);
    margin-top: 0.15em;
}

/* ---------------------------------------------------------
   9d. SERVICE COVERAGE MAP (services.html)
   --------------------------------------------------------- */
.coverage-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0 32px;
    background:
        radial-gradient(ellipse 50% 60% at 80% 20%, rgba(0, 89, 169, 0.22), transparent 58%),
        linear-gradient(160deg, #000000 0%, var(--navy-900) 100%);
    box-sizing: border-box;
}

.coverage-section > .container {
    display: flex;
    flex-direction: column;
}

.coverage-header {
    text-align: center;
    max-width: none;
    width: 100%;
    margin: 0 auto 14px;
    flex-shrink: 0;
}

.coverage-header span {
    display: inline-block;
    font-family: var(--font-display);
    color: var(--blue-400);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    position: relative;
    padding-bottom: 10px;
}

.coverage-header span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--blue-400);
    border-radius: 2px;
}

.coverage-header h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    margin: 12px 0 8px;
    letter-spacing: -0.02em;
    color: var(--white);
}

.coverage-header p {
    color: var(--slate-400);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .coverage-header p {
        white-space: normal;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }
}

.coverage-map-wrap {
    max-width: var(--content-max);
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#coverage-map {
    width: 100%;
    /* Fixed height — avoids mobile browser chrome (dvh) resizing the map */
    height: 440px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 89, 169, 0.35);
    box-shadow:
        0 0 0 1px rgba(0, 89, 169, 0.12),
        0 16px 40px rgba(0, 0, 0, 0.45);
    background: #c5d4e0;
    z-index: 0;
}

#coverage-map .leaflet-container {
    font-family: var(--font-body);
    background: #c5d4e0;
}

#coverage-map .leaflet-control-zoom {
    border: 1px solid rgba(0, 89, 169, 0.28) !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

#coverage-map .leaflet-control-zoom a {
    color: var(--navy-900);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 89, 169, 0.18);
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 16px;
}

#coverage-map .leaflet-control-zoom a:hover {
    background: rgba(0, 89, 169, 0.12);
    color: var(--blue-600);
}

#coverage-map .leaflet-control-attribution {
    font-size: 10px;
    color: rgba(15, 23, 42, 0.7);
    background: rgba(255, 255, 255, 0.85);
}

#coverage-map .leaflet-control-attribution a {
    color: var(--blue-600);
}

/* Kill Leaflet's default white box on divIcon markers */
#coverage-map .svc-marker-wrap.leaflet-div-icon,
#coverage-map .leaflet-marker-icon {
    background: transparent !important;
    border: none !important;
    overflow: visible !important;
}

/* Branded city markers + hover-only labels */
.svc-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    pointer-events: auto;
    cursor: pointer;
}

.svc-marker-icon {
    display: block;
    width: 32px;
    height: 32px;
    position: relative;
    opacity: 0.88;
    filter:
        drop-shadow(0 0 1px rgba(0, 89, 169, 0.55))
        drop-shadow(0 1px 3px rgba(5, 8, 12, 0.28));
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.svc-marker-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.svc-marker-label {
    position: absolute;
    left: calc(100% + 4px);
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #0a1018;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 89, 169, 0.28);
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(5, 8, 12, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 2;
}

.svc-marker.is-left .svc-marker-label {
    left: auto;
    right: calc(100% + 4px);
    transform: translateY(-50%) translateX(4px);
}

.svc-marker.is-above .svc-marker-label {
    left: 50%;
    right: auto;
    top: auto;
    bottom: calc(100% + 4px);
    transform: translateX(-50%) translateY(4px);
}

.svc-marker.is-below .svc-marker-label {
    left: 50%;
    right: auto;
    top: calc(100% + 4px);
    transform: translateX(-50%) translateY(-4px);
}

.svc-marker:hover,
.svc-marker.is-active {
    z-index: 10;
}

.svc-marker:hover .svc-marker-icon,
.svc-marker.is-active .svc-marker-icon {
    transform: scale(1.12);
    opacity: 1;
    filter:
        drop-shadow(0 0 2px #0059a9)
        drop-shadow(0 0 8px rgba(0, 89, 169, 0.7))
        drop-shadow(0 2px 6px rgba(5, 8, 12, 0.3));
}

.svc-marker:hover .svc-marker-label,
.svc-marker.is-active .svc-marker-label {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    color: #0a1018;
    border-color: rgba(0, 89, 169, 0.4);
}

.svc-marker.is-left:hover .svc-marker-label,
.svc-marker.is-left.is-active .svc-marker-label {
    transform: translateY(-50%) translateX(0);
}

.svc-marker.is-above:hover .svc-marker-label,
.svc-marker.is-above.is-active .svc-marker-label {
    transform: translateX(-50%) translateY(0);
}

.svc-marker.is-below:hover .svc-marker-label,
.svc-marker.is-below.is-active .svc-marker-label {
    transform: translateX(-50%) translateY(0);
}

.coverage-legend {
    position: absolute;
    left: clamp(8px, 1.6vw, 14px);
    bottom: clamp(8px, 1.6vw, 14px);
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(4px, 1.1vw, 10px);
    margin: 0;
    padding: clamp(6px, 1.3vw, 12px) clamp(8px, 1.5vw, 14px);
    font-size: clamp(0.62rem, 1.7vw, 0.8rem);
    font-weight: 600;
    color: var(--slate-700);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 89, 169, 0.22);
    border-radius: clamp(8px, 1.2vw, 12px);
    box-shadow: 0 8px 24px rgba(5, 8, 12, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
}

.coverage-legend-item {
    display: grid;
    grid-template-columns: clamp(16px, 3vw, 30px) 1fr;
    align-items: center;
    column-gap: clamp(5px, 1vw, 10px);
    line-height: 1.2;
    min-height: clamp(16px, 3vw, 30px);
}

.coverage-legend-swatch {
    width: clamp(14px, 2.4vw, 22px);
    height: clamp(2px, 0.35vw, 3px);
    border-radius: 3px;
    background: var(--blue-600);
    opacity: 0.85;
    box-shadow: 0 0 0 2px #fff;
    justify-self: center;
    align-self: center;
    flex-shrink: 0;
}

.coverage-legend-dot {
    width: clamp(16px, 3vw, 30px);
    height: clamp(16px, 3vw, 30px);
    border-radius: 0;
    background: none;
    border: none;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    flex-shrink: 0;
}

.coverage-legend-dot img {
    width: clamp(12px, 2.4vw, 22px);
    height: clamp(12px, 2.4vw, 22px);
    display: block;
    object-fit: contain;
    opacity: 0.9;
}

@media (max-width: 991px) {
    #coverage-map {
        height: 340px;
    }

    #coverage-map .leaflet-control-zoom a {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .coverage-section {
        padding: 20px 0 24px;
    }

    #coverage-map {
        height: 280px;
    }

    .coverage-legend {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        left: 8px;
        bottom: 8px;
        gap: 8px;
        padding: 5px 8px;
        font-size: 0.62rem;
        max-width: calc(100% - 88px);
    }

    .coverage-legend-item {
        grid-template-columns: 14px auto;
        column-gap: 5px;
        min-height: 0;
    }

    .coverage-legend-swatch {
        width: 12px;
        height: 2px;
        box-shadow: none;
    }

    .coverage-legend-dot,
    .coverage-legend-dot img {
        width: 14px;
        height: 14px;
    }

    #coverage-map .leaflet-control-zoom a {
        width: 26px;
        height: 26px;
        line-height: 26px;
        font-size: 13px;
    }

    .svc-marker {
        width: 30px;
        height: 30px;
    }

    .svc-marker-icon {
        width: 28px;
        height: 28px;
    }

    .svc-marker-label {
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svc-marker-icon,
    .svc-marker-label {
        transition: none;
    }
}

/* ---------------------------------------------------------
   10. PRODUCTS PAGE
   --------------------------------------------------------- */
.page-hero {
    position: relative;
    min-height: clamp(220px, 36vh, 340px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 40px) 0 56px;
    background: #02060c;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/background.webp") center / cover no-repeat;
    filter: brightness(1) contrast(1.05);
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 70% at 50% 45%, rgba(2, 6, 12, 0.12), rgba(2, 6, 12, 0.55) 100%),
        radial-gradient(circle at 88% 18%, rgba(0, 89, 169, 0.22), transparent 42%),
        radial-gradient(circle at 12% 88%, rgba(0, 89, 169, 0.18), transparent 40%);
}

.page-hero-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.page-hero-stars svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.page-hero-stars circle {
    fill: #e8f2ff;
}

.page-hero h1 {
    position: relative;
    z-index: 1;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0;
    letter-spacing: -0.02em;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

/* ---------------------------------------------------------
   10b. PRODUCTS — HOME OVERVIEW (brief teaser)
   --------------------------------------------------------- */
.products-preview {
    position: relative;
    display: block;
    padding: clamp(48px, 6vh, 80px) 0;
    background: var(--white);
    box-sizing: border-box;
}

.products-preview-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 24px;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .products-preview-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

/* ---------------------------------------------------------
   10c. PRODUCTS — FULL CATALOGUE (dedicated page)
   Auto-fill grid so new product cards can be dropped in
   with no layout changes required.
   --------------------------------------------------------- */
.products-catalogue {
    min-height: 0;
    padding: clamp(48px, 7vh, 88px) 0;
    background: var(--slate-100);
    box-sizing: border-box;
}

.products-grid {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    padding: clamp(20px, 2.5vh, 28px) 24px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition),
                border-color var(--transition);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    min-height: 210px;
    text-decoration: none;
    color: inherit;
}

a.product-card {
    cursor: pointer;
}

a.product-card:hover,
a.product-card:focus-visible {
    color: inherit;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 89, 169, 0.22);
}

.product-card:hover .icon {
    background: var(--icon-gradient);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(0, 89, 169, 0.26);
}

.product-card .icon {
    margin: 0;
}

.product-card h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--navy-900);
    min-height: 2.7em;
    display: flex;
    align-items: center;
}

.product-card p {
    margin: 0;
    color: var(--slate-700);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
    display: block;
    align-items: unset;
    justify-content: unset;
}

.product-card.product-card-placeholder {
    border-style: solid;
    border-color: rgba(226, 232, 240, 0.9);
}

.product-card.product-card-placeholder p {
    color: var(--slate-500);
}

/* ---------------------------------------------------------
   11. GET STARTED (CTA)
   --------------------------------------------------------- */
.cta-section {
    display: block;
    padding: clamp(28px, 4vh, 48px) clamp(16px, 4vw, 5%);
    box-sizing: border-box;
}

.cta {
    width: 100%;
    padding: clamp(48px, 8vh, 72px) 6%;
    background: #02060c;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-galaxy {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("../images/background.webp") center / cover no-repeat;
    filter: brightness(1) contrast(1.05);
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 70% at 50% 45%, rgba(2, 6, 12, 0.25), rgba(2, 6, 12, 0.72) 100%),
        radial-gradient(circle at 88% 18%, rgba(0, 89, 169, 0.28), transparent 42%),
        radial-gradient(circle at 12% 88%, rgba(0, 89, 169, 0.22), transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.cta-stars svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cta-stars circle {
    animation: none;
    fill: #e8f2ff;
}

.cta h2 {
    color: var(--white);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    margin: 0 0 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cta p {
    color: rgba(219, 234, 254, 0.88);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--blue-600);
    color: var(--white);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, color 0.2s ease;
}

.cta-btn:hover {
    background: var(--blue-700);
    color: var(--white);
}

.cta-btn:active {
    background: var(--blue-800, #004a8c);
    color: var(--white);
}

.cta-btn i {
    flex: 0 0 auto;
    line-height: 1;
}

@media (max-width: 600px) {
    .cta-section {
        padding: clamp(32px, 5vh, 48px) 4%;
    }

    .cta {
        padding: 48px 6%;
    }
}

/* ---------------------------------------------------------
   12. CONTACT
   --------------------------------------------------------- */
.contact {
    display: block;
    padding: clamp(48px, 6vh, 80px) clamp(16px, 4vw, 6%) clamp(64px, 8vh, 96px);
    background: var(--white);
    box-sizing: border-box;
}

.contact-header {
    text-align: center;
    margin-bottom: clamp(18px, 3vh, 28px);
}

.contact-header p {
    font-family: var(--font-body);
    color: var(--blue-400);
    font-weight: 700;
    letter-spacing: 0.14em;
    font-size: 1.15rem;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contact-header h2 {
    font-size: clamp(1.55rem, 2.8vw, 2rem);
    color: var(--navy-900);
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.contact-form {
    max-width: 760px;
    margin: auto;
    background: var(--blue-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3.5vh, 36px) clamp(18px, 3vw, 32px);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field-row {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.field {
    flex: 1 1 220px;
    min-width: 0;
    margin-bottom: 4px;
}

.field-error {
    display: block;
    min-height: 1em;
    margin-top: 4px;
    font-size: 0.78rem;
    color: #b42318;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    background: var(--white);
    color: var(--slate-900);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--slate-400);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(0, 89, 169, 0.12);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
    border-color: #b42318;
    box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
    margin-bottom: 0;
    min-height: 100px;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 4px;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--blue-600);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox input.is-invalid {
    outline: 2px solid #b42318;
    outline-offset: 2px;
}

.checkbox label {
    font-size: 0.92rem;
    color: var(--slate-500);
    cursor: pointer;
    margin: 0;
}

.form-status {
    display: none;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    line-height: 1.5;
}

.form-status.is-success,
.form-status.is-error,
.form-status.is-pending {
    display: block;
}

.form-status.is-success {
    background: #e8f6ee;
    color: #0f6b38;
    border: 1px solid #b5e0c5;
}

.form-status.is-error {
    background: #fdecec;
    color: #b42318;
    border: 1px solid #f2c2c2;
}

.form-status.is-pending {
    background: var(--white);
    color: var(--blue-700);
    border: 1px solid var(--slate-200);
}

.form-status a {
    color: inherit;
    font-weight: 600;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--blue-600);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, opacity 0.2s ease;
    margin-top: 4px;
}

.submit-btn:hover:not(:disabled) {
    background: var(--blue-700);
}

.submit-btn:active:not(:disabled) {
    background: var(--blue-800, #004a8c);
}

.submit-btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .contact-form {
        padding: 28px 20px;
    }
}

/* ---------------------------------------------------------
   13. LOCATION
   --------------------------------------------------------- */
.location-section {
    display: block;
    padding: clamp(56px, 8vh, 96px) clamp(16px, 3vw, 4%);
    background:
        radial-gradient(ellipse 45% 50% at 90% 80%, rgba(0, 89, 169, 0.2), transparent 55%),
        linear-gradient(160deg, #000000 0%, var(--navy-900) 100%);
    position: relative;
    box-sizing: border-box;
}

.location-content {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.15fr);
    align-items: stretch;
    gap: clamp(24px, 4vw, 56px);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.section-tag {
    color: var(--blue-400);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.location-info h2 {
    color: var(--white);
    font-size: clamp(1.45rem, 2.6vw, 1.85rem);
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.company-name {
    color: var(--slate-400);
    font-size: 1rem;
    margin: 4px 0 22px;
    font-weight: 500;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--slate-400);
    font-size: 0.95rem;
    margin-bottom: 14px;
    line-height: 1.55;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item strong {
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.info-item a {
    color: var(--slate-400);
    text-decoration: none;
}

.info-item a:hover {
    color: var(--blue-400);
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 89, 169, 0.18);
    color: var(--blue-400);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.map {
    min-width: 0;
    display: flex;
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: clamp(240px, 42vh, 420px);
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 89, 169, 0.28);
}

@media (max-width: 900px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .map iframe {
        min-height: 260px;
        height: 42vh;
        max-height: 360px;
    }
}

/* ---------------------------------------------------------
   14. FOOTER
   --------------------------------------------------------- */
.site-footer {
    background: #000000;
    border-top: 1px solid rgba(0, 89, 169, 0.18);
    padding: 18px 4%;
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-copy {
    margin: 0;
    color: var(--slate-400);
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 991px) {
    .about {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding-top: clamp(48px, 7vh, 72px);
        padding-bottom: clamp(48px, 7vh, 72px);
    }

    .about-image,
    .about-content {
        flex: 1 1 auto;
        width: 100%;
        max-width: 640px;
        margin-inline: auto;
    }

    .about-image img {
        aspect-ratio: 16 / 10;
        max-height: 34vh;
        width: 100%;
        object-fit: cover;
    }

    .cta-section {
        min-height: 0;
    }

    .services,
    .products-preview {
        min-height: 0;
        align-items: flex-start;
    }

    .contact,
    .location-section {
        min-height: 0;
        justify-content: flex-start;
    }

    .products-preview-grid,
    .services-preview-grid {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    :root {
        --section-pad-y: clamp(28px, 4.5vh, 44px);
        --nav-height: 56px;
    }

    .home h1 {
        font-size: clamp(1.5rem, 7.5vw, 2.25rem);
    }

    .home p {
        font-size: 0.98rem;
    }

    .about-content h2,
    .section-title h2,
    .contact-header h2,
    .location-info h2 {
        font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    }

    .section-title p {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .service-card,
    .product-card {
        padding: 16px 14px;
    }

    .service-card p,
    .product-card p {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .service-card--expandable {
        padding: 22px 18px 18px;
    }

    .services-full-grid {
        gap: 18px;
    }

    .contact-form {
        padding: 20px 14px;
    }

    .page-hero {
        min-height: 180px;
        padding: calc(var(--nav-height) + 24px) 0 36px;
    }
}

@media (min-width: 992px) and (max-height: 900px) {
    :root {
        --section-pad-y: clamp(24px, 3.5vh, 44px);
    }

    .about-content p,
    .section-title p,
    .home p {
        line-height: 1.6;
    }

    .service-card,
    .product-card {
        padding: 16px 18px;
    }

    .contact-header {
        margin-bottom: 14px;
    }

    .contact-form {
        padding: 20px 24px;
    }

    .contact-form textarea {
        height: 88px;
        min-height: 80px;
    }

    .field-error {
        min-height: 0.9em;
    }
}

/* ---------------------------------------------------------
   15. REDUCED MOTION
   Respects OS "reduce motion" setting
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html,
    :root {
        scroll-behavior: auto;
    }

    .custom-navbar::before {
        transition: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-galaxy {
        animation: none !important;
    }

}
/* ---------------------------------------------------------
   FLOATING WHATSAPP BUTTON
   --------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 34px;
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0 14px;
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 1.4rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    text-decoration: none;
    z-index: 999;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, padding 0.25s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background: #1ebe5b;
    color: var(--white);
    transform: scale(1.04);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
    outline: none;
    padding: 0 18px 0 14px;
}

.whatsapp-float i {
    line-height: 1;
    flex: 0 0 auto;
}

.whatsapp-label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-body);
    opacity: 0;
    transition: max-width 0.25s ease, opacity 0.2s ease, margin-left 0.25s ease;
}

.whatsapp-float:hover .whatsapp-label,
.whatsapp-float:focus-visible .whatsapp-label {
    max-width: 120px;
    opacity: 1;
    margin-left: 8px;
}

@media (max-width: 576px) {
    .whatsapp-float {
        left: 14px;
        bottom: 26px;
        height: 42px;
        padding: 0 12px;
        font-size: 1.25rem;
    }

    .whatsapp-float:hover,
    .whatsapp-float:focus-visible {
        padding: 0 14px 0 12px;
    }
}
