/*=====================================
  ROOT VARIABLES
=====================================*/
:root {
    /* Surfaces */
    --paper: #f2f6f2;
    --paper-deep: #e3ebe5;
    --panel: #fafcfa;

    /* Text */
    --ink: #1a2c26;
    --ink-soft: #4e635c;
    --ink-faint: #7e8f88;

    /* Lines */
    --line: #c7d2c8;

    /* Accents */
    --cobalt: #2b4c82;
    --violet: #6C4092;
    --amber: #DE9F3B;
    --clay: #A85F35;

    /* Navbar gradient */
    --nav-blue: #00BFFF;
    --nav-green: #663399;

    /* Navbar tokens */
    --nav-text: #0a1a1f;
    --nav-divider: rgba(0, 0, 0, .15);

    /* Purple glow (used everywhere for consistency) */
    --glow: 200, 162, 255;

    /* Shape */
    --radius: 12px;
    --radius-sm: 6px;
    --radius-lg: 20px;

    /* Layout */
    --container-max: 1400px;
    --container-pad: 1.5rem;
    --nav-row-gap: 0.75rem;

     /* Fonts */
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

    /* Brand */
    --brand: #2b4c82;
    --brand-soft: #6C4092;
    --brand-dark: #1c345c;

    /* Line variations */
    --line-strong: #b8c4bd;
    --line-soft: #e5ebe7;

    /* States */
    --success: #2f9e5c;
    --success-dark: #053d1c;
    --danger: #c0392b;
    --danger-dark: #7a1f15;

    /* Motion */
    --dur-fast: .18s;
    --dur-mid: .28s;
    --ease-out: cubic-bezier(.2, .8, .3, 1);
    --ease-bounce: cubic-bezier(.2, .9, .3, 1.15);

    /* Font size for logo (already in file, keep) */
    --logo-size: 58px;

}

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

html {
    scroll-padding-top: 120px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    font: inherit;
    cursor: pointer;
}

/* Headings */
h1, h2, h3, h4 {
    line-height: 1.25;
    color: var(--ink);
    margin: 0 0 1rem;
    font-weight: 650;
    letter-spacing: -0.3px;
}

h1 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p {
    margin: 0 0 1rem;
    color: var(--ink-soft);
}

ul {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
}

li {
    margin-bottom: 0.4rem;
    color: var(--ink-soft);
}

strong {
    color: var(--ink);
    font-weight: 650;
}

/*=====================================
  CONTAINER
=====================================*/
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-inline: var(--container-pad);
}

/*=====================================
  BUTTONS (global)
=====================================*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 550;
    letter-spacing: 0.2px;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;

    transition:
        transform .2s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .3s ease,
        color .25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn:focus-visible {
    outline: 2px solid rgba(var(--glow), .9);
    outline-offset: 4px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--nav-blue), var(--nav-green));
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.btn-primary:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
    filter: brightness(1.06);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .35);
}

.btn-whatsapp:hover {
    background: #1ebe5a;
    box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
}

.btn-call {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.btn-call:hover {
    background: rgba(255, 255, 255, .22);
    border-color: #fff;
}

/*=====================================
  NAVBAR SHELL
=====================================*/
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    color: var(--nav-text);

    background: linear-gradient(
        90deg,
        var(--nav-blue) 0%,
        #3a7fbe 50%,
        var(--nav-green) 100%
    );

    border-top: 1px solid rgba(255, 255, 255, .35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .25) inset,
        0 2px 8px rgba(0, 0, 0, .10);

    transition: background .35s ease, box-shadow .35s ease;
 
}

.navbar.is-scrolled {
    background: rgba(240, 245, 250, .78);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    border-top-color: rgba(255, 255, 255, .55);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .35) inset,
        0 6px 24px rgba(10, 26, 31, .10);
}

.nav-container {
    display: flex;
    flex-direction: column;
    gap: var(--nav-row-gap);
    padding-block: 0.75rem;
}

/*=====================================
  NAV — ROW 1
=====================================*/
.nav-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

/* Logo */
.logo-wrapper {
    display: flex;
    flex-direction: column;   /* stack: logo on top, text below */
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    text-decoration: none;
}


.company-logo {
    height: var(--logo-size, 58px);
    width: auto;
    object-fit: contain;
    flex-shrink: 0;

    /* Blow away the white ring by blending into the navbar */
    mix-blend-mode: lighten;

    /* Boost the logo's own colors so they survive the blend */
    filter: brightness(1.15) contrast(1.1) saturate(1.2);

    border-radius: 0;
    background: transparent;
}

.logo-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(0.85rem, 1.6vw, 1.15rem);
    font-weight: 900;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.logo-text .g1 {
    background: linear-gradient(180deg, #5fd4ff, #2a8cff);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.logo-text .g2 {
    background: linear-gradient(180deg, #d58bff, #8a3cff);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}

/* Tagline */
.nav-tagline {
    margin: 0;
    text-align: center;
    font-size: clamp(0.95rem, 1.6vw, 1.35rem);
    font-weight: 300;
    font-style: italic;
    color: var(--nav-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-tagline em {
    font-style: italic;
    font-weight: 600;
    color: var(--nav-text);
}

/* Search */
.nav-search {
    position: relative;
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 0.5rem;
    color: var(--nav-text);
}

.nav-search-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--nav-text);
    padding: 6px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .15s ease;
}

.nav-search-toggle:hover {
    background: rgba(0, 0, 0, .08);
    transform: scale(1.05);
}

.nav-search-toggle .icon-close { display: none; }
.nav-search.open .nav-search-toggle .icon-search { display: none; }
.nav-search.open .nav-search-toggle .icon-close  { display: block; }

.nav-search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-search-form input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--nav-text);
    color: var(--nav-text);
    padding: 0.4rem 2rem 0.4rem 0.25rem;
    font-size: 0.95rem;
    outline: none;
    width: clamp(140px, 18vw, 220px);
    transition: width .25s ease, border-color .2s ease;
}

.nav-search-form input::placeholder {
    color: var(--nav-text);
    opacity: 0.7;
}

.nav-search-form input:focus {
    width: clamp(180px, 22vw, 280px);
    border-color: var(--nav-text);
    border-bottom-width: 2px;
}

.nav-search-submit {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    color: var(--nav-text);
    display: flex;
    align-items: center;
    padding: 4px;
    transition: transform .15s ease;
}

.nav-search-submit:hover { transform: scale(1.1); }

/*=====================================
  NAV — ROW 2
=====================================*/
.nav-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--nav-divider);
    padding-top: 0.75rem;
    flex-wrap: wrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;

    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 550;
    letter-spacing: 0.1px;

    color: var(--nav-text);
    text-decoration: none;
    background: transparent;
    border: 1.5px solid transparent;

    transition:
        background .25s ease,
        border-color .25s ease,
        box-shadow .3s ease,
        color .25s ease,
        transform .2s ease;
}

.nav-link:hover {
    background: rgba(var(--glow), .14);
    border-color: rgba(var(--glow), .55);
    box-shadow:
        0 0 0 1px rgba(var(--glow), .12),
        0 0 16px rgba(var(--glow), .28),
        inset 0 0 10px rgba(var(--glow), .08);
    transform: translateY(-1px);
}

.nav-link:focus-visible {
    outline: 2px solid rgba(var(--glow), .85);
    outline-offset: 3px;
}

.nav-link.active {
    background: rgba(var(--glow), .16);
    border-color: rgba(var(--glow), .6);
    box-shadow:
        0 0 0 1px rgba(var(--glow), .18),
        0 0 18px rgba(var(--glow), .32);
}

.nav-link.active::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--violet);
    box-shadow: 0 0 8px rgba(var(--glow), .8);
    transform: translateX(-50%);
    animation: dot-pop .4s ease;
}

@keyframes dot-pop {
    from { opacity: 0; transform: translateX(-50%) scale(.3); }
    to   { opacity: 1; transform: translateX(-50%) scale(1); }
}

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

/* Caret */
.caret {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    margin-left: 2px;
    border-radius: 1px;
    transition: transform .3s cubic-bezier(.2, .8, .3, 1);
    opacity: 0.75;
}

.has-dropdown { position: relative; }

.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret {
    transform: rotate(-135deg) translateY(-1px);
    opacity: 1;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, 8px);

    min-width: 240px;
    padding: 0.5rem;

    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    color: var(--ink);
    list-style: none;
    margin: 0;

    border-radius: 14px;
    border: 1px solid rgba(var(--glow), .35);
    box-shadow:
        0 18px 40px rgba(10, 26, 31, .18),
        0 0 24px rgba(var(--glow), .25);

    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 20;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    animation: dropdown-drop .35s cubic-bezier(.2, .9, .3, 1.15);
}

@keyframes dropdown-drop {
    0%   { transform: translate(-50%, 8px) scale(.96); opacity: 0; }
    60%  { transform: translate(-50%, -2px) scale(1.01); opacity: 1; }
    100% { transform: translate(-50%, 0) scale(1); opacity: 1; }
}

.dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, .94);
    border-left: 1px solid rgba(var(--glow), .35);
    border-top: 1px solid rgba(var(--glow), .35);
    transform: translateX(-50%) rotate(45deg);
    border-radius: 2px 0 0 0;
}

.dropdown a {
    display: block;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
    border-radius: 8px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.dropdown a:hover {
    background: linear-gradient(135deg, rgba(0, 191, 255, .10), rgba(102, 51, 153, .10));
    color: var(--cobalt);
    transform: translateX(2px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    margin-left: auto;
    color: var(--nav-text);
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--nav-text);
    position: relative;
    transition: 0.3s ease;
    border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    background: var(--nav-text);
}

.hamburger::before { top: -8px; }
.hamburger::after  { top: 8px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/*=====================================
  HERO
=====================================*/
.hero {
    position: relative;
    min-height: clamp(520px, 82vh, 780px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    padding-block: clamp(3rem, 7vw, 5rem);
    isolation: isolate;
    text-align: center;
}

.hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-bg-scrim {
    background:
        radial-gradient(60% 55% at 50% 50%, rgba(12, 24, 48, .55) 0%, rgba(12, 24, 48, 0) 100%),
        linear-gradient(0deg, rgba(12, 24, 48, .25) 0%, rgba(12, 24, 48, 0) 40%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: var(--ink);

    /* Slight zoom for cinematic feel */
    transform: scale(1.03);

    /* Filter softens the video so text stays readable */
    filter: brightness(0.85) saturate(1.05) contrast(1.02);

    /* Avoid video controls flashing on some browsers */
    pointer-events: none;
}


.hero-container {
    position: relative;
    z-index: 1;
    display: block;
    max-width: var(--container-max);
    margin-inline: auto;
    width: 100%;
  
}

.hero-content {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4.8vw, 3.5rem);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -0.6px;
    color: #fff;
    margin: 0 auto 1.5rem;
    max-width: 20ch;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
   
  
}

.hero-title em {
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, #7fdcff 0%, #c8a2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.hero-actions .btn {
   
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border: 1.5px solid rgba(var(--glow), .55);
    box-shadow:
        0 0 0 1px rgba(var(--glow), .15),
        0 0 18px rgba(var(--glow), .28),
        inset 0 0 12px rgba(var(--glow), .08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-actions .btn:hover {
    background: rgba(var(--glow), .12);
    border-color: rgba(var(--glow), .85);
    box-shadow:
        0 0 0 1px rgba(var(--glow), .25),
        0 0 28px rgba(var(--glow), .45),
        inset 0 0 16px rgba(var(--glow), .14);
}

/* Preserve brand color for WhatsApp inside hero */
.hero-actions .btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, .35);
}

.hero-actions .btn-whatsapp:hover {
    background: #1ebe5a;
    border-color: #1ebe5a;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .5);
}

/*=====================================
  SERVICE STRIP
=====================================*/
.services-strip {
    background: var(--paper);
    padding-block: clamp(2.5rem, 5vw, 4rem);
    position: relative;
}

.services-strip .container {
    transform: translateY(calc(-1 * clamp(1.5rem, 4vw, 3rem)));
    margin-bottom: calc(-1 * clamp(1.5rem, 4vw, 3rem));
}

.hero-services {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.hero-service {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.35rem 1.25rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow:
        0 6px 16px rgba(10, 26, 31, .06),
        0 2px 4px rgba(10, 26, 31, .04);
    transition: transform .25s ease, box-shadow .25s ease;
    text-align: left;
}

.hero-service:hover {
    transform: translateY(-4px);
    box-shadow:
        0 14px 32px rgba(10, 26, 31, .12),
        0 4px 8px rgba(10, 26, 31, .06);
}

.service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--nav-blue), var(--nav-green));
    box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}

.hero-service h3 {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
    font-weight: 650;
    color: var(--ink);
}

.hero-service p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

/*=====================================
  PAGE SECTIONS
=====================================*/
.section {
    padding-block: clamp(3rem, 6vw, 5rem);
    background: var(--paper);
}

.section + .section {
    border-top: 1px solid var(--line);
}

.section-intro {
    padding-block: clamp(2rem, 4vw, 3rem);
    background: var(--paper-deep);
}

.section-heading {
    text-align: center;
    margin: 0;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    position: relative;
    padding-bottom: 0.75rem;
}

.section-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--nav-blue), var(--nav-green));
}

.section h2 {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--nav-blue), var(--nav-green));
}

.section h3 { margin-top: 1.5rem; }

/*=====================================
  SECTION HEADER PATTERN
  (reusable across all sections)
=====================================*/
.section-head {
    max-width: 780px;
    margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.section-eyebrow {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    margin-bottom: 0.85rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--violet);
    background: rgba(var(--glow), .12);
    border: 1px solid rgba(var(--glow), .35);
    border-radius: 999px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.15;
    margin: 0 0 0.85rem;
    color: var(--ink);
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    border-radius: 2px;
    margin-top: 0.85rem;
    background: linear-gradient(90deg, var(--nav-blue), var(--nav-green));
}

.section-subtitle {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
}

/*=====================================
  RESEARCH — SPLIT LAYOUT
=====================================*/
.research-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ---------- Visual (image + overlay quote) ---------- */
.research-visual {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(10, 26, 31, .18),
        0 6px 16px rgba(10, 26, 31, .08);
    aspect-ratio: 4 / 5;
    max-height: 640px;
    position: sticky;
    top: 140px;             /* sticks while scrolling content on desktop */
    align-self: start;
}

.research-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s cubic-bezier(.2, .8, .3, 1);
}

.research-visual:hover img {
    transform: scale(1.04);
}

/* Dark gradient overlay so the quote reads */
.research-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(10, 26, 31, 0) 40%,
            rgba(10, 26, 31, .55) 70%,
            rgba(10, 26, 31, .88) 100%
        ),
        linear-gradient(
            135deg,
            rgba(0, 191, 255, .08),
            rgba(102, 51, 153, .12)
        );
    z-index: 1;
    pointer-events: none;
}

/* Overlay quote */
.research-visual-quote {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    z-index: 2;
    color: #fff;
}

.quote-mark {
    display: block;
    font-family: Georgia, serif;
    font-size: 3rem;
    line-height: 1;
    color: rgba(255, 255, 255, .45);
    margin-bottom: -0.5rem;
}

.research-visual-quote p {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.35;
    font-style: italic;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.research-visual-quote strong {
    display: block;
    font-style: normal;
    font-weight: 700;
    background: linear-gradient(135deg, #7fdcff, #c8a2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ---------- Content ---------- */
.research-content {
    min-width: 0;
}

.research-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.18rem);
    line-height: 1.65;
    color: var(--ink);
    margin: 0 0 1.25rem;
}

.research-lead strong {
    color: var(--cobalt);
    font-weight: 650;
}

.research-content > p {
    line-height: 1.7;
    margin: 0 0 2rem;
    max-width: 60ch;
}

/* ---------- Feature grid ---------- */
.research-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.research-feature {
    position: relative;
    padding: 1.1rem 1.15rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow:
        0 4px 14px rgba(10, 26, 31, .05),
        0 1px 3px rgba(10, 26, 31, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.research-feature:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--glow), .45);
    box-shadow:
        0 12px 28px rgba(10, 26, 31, .10),
        0 0 20px rgba(var(--glow), .18);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    color: #fff;
    background: linear-gradient(135deg, var(--nav-blue), var(--nav-green));
    box-shadow:
        0 6px 14px rgba(0, 0, 0, .12),
        0 0 14px rgba(var(--glow), .25);
}

.research-feature h4 {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--ink);
    letter-spacing: -0.1px;
}

.research-feature p {
    margin: 0;
    font-size: 0.83rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

/*=====================================
  RESEARCH — CTA BAND
=====================================*/
.research-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;

    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--radius-lg);

    background:
        radial-gradient(120% 120% at 0% 0%, rgba(0, 191, 255, .18), transparent 60%),
        radial-gradient(120% 120% at 100% 100%, rgba(102, 51, 153, .20), transparent 60%),
        linear-gradient(135deg, var(--cobalt), var(--violet));

    color: #fff;
    box-shadow:
        0 20px 50px rgba(10, 26, 31, .20),
        0 0 40px rgba(var(--glow), .18);

    position: relative;
    overflow: hidden;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.research-cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, .03) 0 2px,
            transparent 2px 8px
        );
    pointer-events: none;
}

.research-cta-band .cta-text {
    flex: 1 1 380px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.research-cta-band h3 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    letter-spacing: -0.2px;
}

.research-cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 60ch;
}

.research-cta-band .btn {
    flex-shrink: 0;
    background: #fff;
    color: var(--cobalt);
    border: none;
    font-weight: 650;
    padding: 0.85rem 1.5rem;
    box-shadow:
        0 8px 22px rgba(0, 0, 0, .2),
        0 0 24px rgba(255, 255, 255, .25);
    position: relative;
    z-index: 1;
}

.research-cta-band .btn:hover {
    background: #fff;
    color: var(--violet);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .28),
        0 0 32px rgba(255, 255, 255, .35);
    transform: translateY(-2px);
}

/*=====================================
  RESEARCH — NOTE
=====================================*/
.research-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;

    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--ink-faint);

    padding: 1rem 1.15rem;
    background: var(--paper-deep);
    border-left: 3px solid var(--line);
    border-radius: 6px;
    margin: 0;
}

.note-icon {
    flex-shrink: 0;
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--ink-soft);
}

/*=====================================
  RESEARCH — RESPONSIVE
=====================================*/
@media (max-width: 900px) {
    .research-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .research-visual {
        position: relative;      /* unsticks on mobile */
        top: auto;
        aspect-ratio: 16 / 10;
        max-height: 420px;
    }

    .research-features {
        grid-template-columns: 1fr 1fr;
    }

    .research-cta-band {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .research-cta-band .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .research-features {
        grid-template-columns: 1fr;
    }

    .research-visual {
        aspect-ratio: 4 / 3;
    }
}

/*=====================================
  TECH — SPLIT LAYOUT
=====================================*/
.tech-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Visual (image + overlay quote) */
.tech-visual {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(10, 26, 31, .18),
        0 6px 16px rgba(10, 26, 31, .08);
    aspect-ratio: 4 / 5;
    max-height: 640px;
    position: sticky;
    top: 140px;
    align-self: start;
}

.tech-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s cubic-bezier(.2, .8, .3, 1);
}

.tech-visual:hover img {
    transform: scale(1.04);
}

.tech-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(10, 26, 31, 0) 40%,
            rgba(10, 26, 31, .55) 70%,
            rgba(10, 26, 31, .88) 100%
        ),
        linear-gradient(
            135deg,
            rgba(0, 191, 255, .10),
            rgba(102, 51, 153, .14)
        );
    z-index: 1;
    pointer-events: none;
}

.tech-visual-quote {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    z-index: 2;
    color: #fff;
}

.tech-visual-quote p {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.35;
    font-style: italic;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.tech-visual-quote strong {
    display: block;
    font-style: normal;
    font-weight: 700;
    background: linear-gradient(135deg, #7fdcff, #c8a2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Content */
.tech-content { min-width: 0; }

.tech-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.18rem);
    line-height: 1.65;
    color: var(--ink);
    margin: 0 0 1.25rem;
}

.tech-lead strong {
    color: var(--cobalt);
    font-weight: 650;
}

.tech-content > p {
    line-height: 1.7;
    margin: 0 0 2rem;
    max-width: 60ch;
}

/* Feature grid */
.tech-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.tech-feature {
    position: relative;
    padding: 1.15rem 1.15rem 1.35rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow:
        0 4px 14px rgba(10, 26, 31, .05),
        0 1px 3px rgba(10, 26, 31, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
}

.tech-feature:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--glow), .45);
    box-shadow:
        0 12px 28px rgba(10, 26, 31, .10),
        0 0 20px rgba(var(--glow), .18);
}

.tech-feature h4 {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--ink);
    letter-spacing: -0.1px;
}

.tech-feature p {
    margin: 0 0 0.75rem;
    font-size: 0.83rem;
    line-height: 1.5;
    color: var(--ink-soft);
    flex: 1 1 auto;
}

/* Price tag */
.feature-price {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.2px;
    color: var(--violet);
    background: rgba(var(--glow), .12);
    border: 1px solid rgba(var(--glow), .30);
    border-radius: 999px;
}

/*=====================================
  TECH — CTA BAND (matches Research)
=====================================*/
.tech-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;

    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--radius-lg);

    background:
        radial-gradient(120% 120% at 0% 0%, rgba(0, 191, 255, .18), transparent 60%),
        radial-gradient(120% 120% at 100% 100%, rgba(102, 51, 153, .20), transparent 60%),
        linear-gradient(135deg, var(--cobalt), var(--violet));

    color: #fff;
    box-shadow:
        0 20px 50px rgba(10, 26, 31, .20),
        0 0 40px rgba(var(--glow), .18);

    position: relative;
    overflow: hidden;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.tech-cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, .03) 0 2px,
            transparent 2px 8px
        );
    pointer-events: none;
}

.tech-cta-band .cta-text {
    flex: 1 1 380px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.tech-cta-band h3 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    letter-spacing: -0.2px;
}

.tech-cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 60ch;
}

.tech-cta-band .btn {
    flex-shrink: 0;
    background: #fff;
    color: var(--cobalt);
    border: none;
    font-weight: 650;
    padding: 0.85rem 1.5rem;
    box-shadow:
        0 8px 22px rgba(0, 0, 0, .2),
        0 0 24px rgba(255, 255, 255, .25);
    position: relative;
    z-index: 1;
}

.tech-cta-band .btn:hover {
    background: #fff;
    color: var(--violet);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .28),
        0 0 32px rgba(255, 255, 255, .35);
    transform: translateY(-2px);
}

/* Note */
.tech-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;

    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--ink-faint);

    padding: 1rem 1.15rem;
    background: var(--paper-deep);
    border-left: 3px solid var(--line);
    border-radius: 6px;
    margin: 0;
}

/*=====================================
  TECH — RESPONSIVE
=====================================*/
@media (max-width: 900px) {
    .tech-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-visual {
        position: relative;
        top: auto;
        aspect-ratio: 16 / 10;
        max-height: 420px;
    }

    .tech-features {
        grid-template-columns: 1fr 1fr;
    }

    .tech-cta-band {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .tech-cta-band .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .tech-features {
        grid-template-columns: 1fr;
    }

    .tech-visual {
        aspect-ratio: 4 / 3;
    }
}

/*=====================================
  TRANSPORT — SPLIT LAYOUT
=====================================*/
.transport-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ---------- Visual (full-bleed image + overlay quote) ---------- */
.transport-visual {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(10, 26, 31, .18),
        0 6px 16px rgba(10, 26, 31, .08);
    aspect-ratio: 4 / 5;
    max-height: 640px;
    position: sticky;
    top: 140px;
    align-self: start;
}

.transport-visual img {
    width: 100%;
    height: 100%;
    /* Cover = fills frame edge-to-edge, crops as needed */
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .8s cubic-bezier(.2, .8, .3, 1);
}

.transport-visual:hover img {
    transform: scale(1.04);
}

/* Overlay gradient + quote */
.transport-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(10, 26, 31, 0) 40%,
            rgba(10, 26, 31, .55) 70%,
            rgba(10, 26, 31, .88) 100%
        ),
        linear-gradient(
            135deg,
            rgba(0, 191, 255, .10),
            rgba(102, 51, 153, .14)
        );
    z-index: 1;
    pointer-events: none;
}

.transport-visual-quote {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    z-index: 2;
    color: #fff;
}

.transport-visual-quote p {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.35;
    font-style: italic;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.transport-visual-quote strong {
    display: block;
    font-style: normal;
    font-weight: 700;
    background: linear-gradient(135deg, #7fdcff, #c8a2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/*=====================================
  MAINTENANCE — SPLIT LAYOUT
=====================================*/
.maintenance-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ---------- LEFT: sticky intro image ---------- */
.maintenance-visual {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(10, 26, 31, .18),
        0 6px 16px rgba(10, 26, 31, .08);
    aspect-ratio: 4 / 5;
    max-height: 640px;
    position: sticky;
    top: 140px;
    align-self: start;
}

.maintenance-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .8s cubic-bezier(.2, .8, .3, 1);
}

.maintenance-visual:hover img {
    transform: scale(1.04);
}

/* Gradient overlay for quote readability */
.maintenance-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(10, 26, 31, 0) 40%,
            rgba(10, 26, 31, .55) 70%,
            rgba(10, 26, 31, .88) 100%
        ),
        linear-gradient(
            135deg,
            rgba(0, 191, 255, .10),
            rgba(102, 51, 153, .14)
        );
    z-index: 1;
    pointer-events: none;
}

/* Overlay quote */
.maintenance-visual-quote {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    z-index: 2;
    color: #fff;
}

.maintenance-visual-quote p {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.35;
    font-style: italic;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.maintenance-visual-quote strong {
    display: block;
    font-style: normal;
    font-weight: 700;
    background: linear-gradient(135deg, #7fdcff, #c8a2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ---------- RIGHT: 2×2 sub-service grid ---------- */
.maintenance-content {
    min-width: 0;
}

.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.9rem, 2vw, 1.25rem);
}

.maintenance-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow:
        0 6px 20px rgba(10, 26, 31, .06),
        0 2px 4px rgba(10, 26, 31, .04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display: flex;
    flex-direction: column;
}

.maintenance-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--glow), .40);
    box-shadow:
        0 18px 40px rgba(10, 26, 31, .12),
        0 0 24px rgba(var(--glow), .16);
}

.maintenance-media {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: var(--paper-deep);
}

.maintenance-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 191, 255, .05),
        rgba(102, 51, 153, .08)
    );
    pointer-events: none;
}

.maintenance-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .8s cubic-bezier(.2, .8, .3, 1);
}

.maintenance-card:hover .maintenance-media img {
    transform: scale(1.06);
}

.maintenance-body {
    padding: 1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1 1 auto;
}

.maintenance-body h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 650;
    color: var(--ink);
    letter-spacing: -0.2px;
}

.maintenance-body p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

/*=====================================
  MAINTENANCE — CTA BAND
=====================================*/
.maintenance-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;

    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--radius-lg);

    background:
        radial-gradient(120% 120% at 0% 0%, rgba(0, 191, 255, .18), transparent 60%),
        radial-gradient(120% 120% at 100% 100%, rgba(102, 51, 153, .20), transparent 60%),
        linear-gradient(135deg, var(--cobalt), var(--violet));

    color: #fff;
    box-shadow:
        0 20px 50px rgba(10, 26, 31, .20),
        0 0 40px rgba(var(--glow), .18);

    position: relative;
    overflow: hidden;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.maintenance-cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, .03) 0 2px,
            transparent 2px 8px
        );
    pointer-events: none;
}

.maintenance-cta-band .cta-text {
    flex: 1 1 380px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.maintenance-cta-band h3 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    letter-spacing: -0.2px;
}

.maintenance-cta-band p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, .88);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 60ch;
}

/* Small pill tags inside the CTA */
.cta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cta-tags li {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 550;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    margin: 0;
}

.maintenance-cta-band .btn {
    flex-shrink: 0;
    background: #fff;
    color: var(--cobalt);
    border: none;
    font-weight: 650;
    padding: 0.85rem 1.5rem;
    box-shadow:
        0 8px 22px rgba(0, 0, 0, .2),
        0 0 24px rgba(255, 255, 255, .25);
    position: relative;
    z-index: 1;
}

.maintenance-cta-band .btn:hover {
    background: #fff;
    color: var(--violet);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .28),
        0 0 32px rgba(255, 255, 255, .35);
    transform: translateY(-2px);
}

/* Note */
.maintenance-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--ink-faint);
    padding: 1rem 1.15rem;
    background: var(--paper-deep);
    border-left: 3px solid var(--line);
    border-radius: 6px;
    margin: 0;
}

/*=====================================
  MAINTENANCE — RESPONSIVE
=====================================*/
@media (max-width: 900px) {
    .maintenance-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .maintenance-visual {
        position: relative;
        top: auto;
        aspect-ratio: 16 / 10;
        max-height: 420px;
    }

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

    .maintenance-cta-band {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .maintenance-cta-band .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .maintenance-grid {
        grid-template-columns: 1fr;
    }

    .maintenance-visual {
        aspect-ratio: 4 / 3;
    }
}

/*=====================================
  PROJECTS — GROUPS
=====================================*/
.projects-group {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.projects-group:last-of-type {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* ---------- Group header ---------- */
.group-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.group-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--nav-blue), var(--nav-green));
    box-shadow:
        0 6px 14px rgba(0, 0, 0, .12),
        0 0 14px rgba(var(--glow), .25);
}

.group-title {
    margin: 0 0 0.15rem;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 650;
    color: var(--ink);
    letter-spacing: -0.2px;
}

.group-sub {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

/*=====================================
  CREDENTIAL CARD — 3-ENTRY FEATURE
=====================================*/
.credential-card {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;

    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow:
        0 10px 30px rgba(10, 26, 31, .08),
        0 3px 8px rgba(10, 26, 31, .04);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    transition: border-color .3s ease, box-shadow .3s ease;
}

.credential-card:hover {
    border-color: rgba(var(--glow), .40);
    box-shadow:
        0 20px 45px rgba(10, 26, 31, .12),
        0 0 24px rgba(var(--glow), .16);
}

/* ---------- LEFT: sticky image + quote ---------- */
.credential-media {
    position: sticky;
    top: 140px;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--paper-deep);
    box-shadow:
        0 8px 22px rgba(10, 26, 31, .08),
        0 2px 6px rgba(10, 26, 31, .04);
}

.credential-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .8s cubic-bezier(.2, .8, .3, 1);
}

.credential-card:hover .credential-media img {
    transform: scale(1.04);
}

/* Dark gradient + purple tint overlay */
.credential-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(10, 26, 31, 0) 45%,
            rgba(10, 26, 31, .55) 75%,
            rgba(10, 26, 31, .88) 100%
        ),
        linear-gradient(
            135deg,
            rgba(0, 191, 255, .10),
            rgba(102, 51, 153, .14)
        );
    z-index: 1;
    pointer-events: none;
}

/* Overlay quote */
.credential-visual-quote {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    z-index: 2;
    color: #fff;
}

.credential-visual-quote p {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    line-height: 1.35;
    font-style: italic;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.credential-visual-quote strong {
    display: block;
    font-style: normal;
    font-weight: 700;
    background: linear-gradient(135deg, #7fdcff, #c8a2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ---------- RIGHT: credential list ---------- */
.credential-list {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 3vw, 1.75rem);
    min-width: 0;
}

.credential-entry {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
    border-bottom: 1px solid var(--line);
}

.credential-entry:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* Colored glow dot before each entry (desktop only) */
.credential-entry::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nav-blue), var(--nav-green));
    box-shadow: 0 0 10px rgba(var(--glow), .55);
    display: none;
}

.credential-entry h3 {
    margin: 0;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.3;
    letter-spacing: -0.2px;
    color: var(--ink);
    font-weight: 650;
}

.credential-entry p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 62ch;
}

/* Show dot when there's room */
@media (min-width: 901px) {
    .credential-entry {
        padding-left: 1rem;
    }
    .credential-entry::before {
        display: block;
    }
}

/*=====================================
  WEBSITE GRID
=====================================*/
.website-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.website-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow:
        0 6px 20px rgba(10, 26, 31, .06),
        0 2px 4px rgba(10, 26, 31, .04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.website-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--glow), .40);
    box-shadow:
        0 18px 40px rgba(10, 26, 31, .12),
        0 0 24px rgba(var(--glow), .16);
}

/* In-progress cards get an amber-tinted border + glow */
.website-card.is-in-progress {
    border-color: rgba(222, 159, 59, .35);
}

.website-card.is-in-progress:hover {
    border-color: rgba(222, 159, 59, .60);
    box-shadow:
        0 18px 40px rgba(10, 26, 31, .12),
        0 0 24px rgba(222, 159, 59, .20);
}

/* ---------- Media ---------- */
.website-media {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: var(--paper-deep);
}

.website-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 191, 255, .05),
        rgba(102, 51, 153, .08)
    );
    pointer-events: none;
    z-index: 1;
}

.website-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .8s cubic-bezier(.2, .8, .3, 1);
}

.website-card:hover .website-media img {
    transform: scale(1.06);
}

/* ---------- Status badges ---------- */
.status-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* In Progress — amber */
.status-badge:not(.is-live) {
    color: #4a2c00;
    background: linear-gradient(135deg, #ffd48a, var(--amber));
}

/* Live — green */
.status-badge.is-live {
    color: #053d1c;
    background: linear-gradient(135deg, #9fe6b3, #4bb76a);
}

/* ---------- Body ---------- */
.website-body {
    padding: 1.15rem 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1 1 auto;
}

.website-body h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
    letter-spacing: -0.2px;
    color: var(--ink);
    font-weight: 650;
}

.website-body p {
    margin: 0;
    font-size: 0.87rem;
    line-height: 1.55;
    color: var(--ink-soft);
    flex: 1 1 auto;
}

/*=====================================
  SHARED — TAG + INLINE LINK
=====================================*/
.project-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.3rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: var(--violet);
    background: rgba(var(--glow), .12);
    border-radius: 999px;
}

.link-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-start;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cobalt);
    border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease, gap .2s ease;
}

.link-inline:hover {
    color: var(--violet);
    border-bottom-color: currentColor;
    gap: 0.55rem;
}

.link-inline svg {
    transition: transform .2s ease;
}

.link-inline:hover svg {
    transform: translateX(2px);
}

/* Muted / disabled state */
.link-inline.is-muted {
    color: var(--ink-faint);
    cursor: default;
    font-weight: 550;
    letter-spacing: 0.2px;
}

.link-inline.is-muted:hover {
    color: var(--ink-faint);
    border-bottom-color: transparent;
    gap: 0.35rem;
}

/*=====================================
  PROJECTS — CTA BAND
=====================================*/
.projects-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;

    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--radius-lg);

    background:
        radial-gradient(120% 120% at 0% 0%, rgba(0, 191, 255, .18), transparent 60%),
        radial-gradient(120% 120% at 100% 100%, rgba(102, 51, 153, .20), transparent 60%),
        linear-gradient(135deg, var(--cobalt), var(--violet));

    color: #fff;
    box-shadow:
        0 20px 50px rgba(10, 26, 31, .20),
        0 0 40px rgba(var(--glow), .18);

    position: relative;
    overflow: hidden;
}

.projects-cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, .03) 0 2px,
            transparent 2px 8px
        );
    pointer-events: none;
}

.projects-cta-band .cta-text {
    flex: 1 1 380px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.projects-cta-band h3 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    letter-spacing: -0.2px;
}

.projects-cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 60ch;
}

.projects-cta-band .btn {
    flex-shrink: 0;
    background: #fff;
    color: var(--cobalt);
    border: none;
    font-weight: 650;
    padding: 0.85rem 1.5rem;
    box-shadow:
        0 8px 22px rgba(0, 0, 0, .2),
        0 0 24px rgba(255, 255, 255, .25);
    position: relative;
    z-index: 1;
}

.projects-cta-band .btn:hover {
    background: #fff;
    color: var(--violet);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .28),
        0 0 32px rgba(255, 255, 255, .35);
    transform: translateY(-2px);
}

/*=====================================
  PROJECTS — RESPONSIVE
=====================================*/
@media (max-width: 1100px) {
    .website-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .website-card:last-child {
        grid-column: 1 / -1;
        max-width: 520px;
    }
}

@media (max-width: 900px) {
    .credential-card {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .credential-media {
        position: relative;   /* unsticky on mobile */
        top: auto;
        aspect-ratio: 16 / 10;
    }

    .credential-list {
        gap: 1.5rem;
    }

    .projects-cta-band {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .projects-cta-band .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .website-grid {
        grid-template-columns: 1fr;
    }

    .website-card:last-child {
        max-width: none;
    }

    .credential-card {
        padding: 1rem;
    }
}

/*=====================================
  PROJECTS — REDUCED MOTION
=====================================*/
@media (prefers-reduced-motion: reduce) {
    .credential-media img,
    .website-media img,
    .website-card,
    .credential-card {
        transition: none;
        transform: none;
    }
}

/*=====================================
  ABOUT — SPLIT LAYOUT (Founder)
=====================================*/
.about-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.about-visual {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(10, 26, 31, .18),
        0 6px 16px rgba(10, 26, 31, .08);
    aspect-ratio: 4 / 5;
    max-height: 560px;
    background: var(--paper-deep);
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .8s cubic-bezier(.2, .8, .3, 1);
}

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

.about-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(10, 26, 31, 0) 45%,
            rgba(10, 26, 31, .55) 75%,
            rgba(10, 26, 31, .88) 100%
        ),
        linear-gradient(
            135deg,
            rgba(0, 191, 255, .10),
            rgba(102, 51, 153, .14)
        );
    z-index: 1;
    pointer-events: none;
}

.about-visual-quote {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    z-index: 2;
    color: #fff;
}

.about-visual-quote p {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.35;
    font-style: italic;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.about-visual-quote strong {
    display: block;
    font-style: normal;
    font-weight: 700;
    background: linear-gradient(135deg, #7fdcff, #c8a2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Content */
.about-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.about-name {
    margin: 0;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    letter-spacing: -0.4px;
    color: var(--ink);
    font-weight: 650;
    line-height: 1.15;
}

.about-lead {
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.65;
    color: var(--ink);
    margin: 0;
}

.about-lead strong {
    color: var(--cobalt);
    font-weight: 650;
}

.about-content > p {
    line-height: 1.7;
    margin: 0;
    max-width: 62ch;
}

.about-content > p strong {
    color: var(--violet);
    font-weight: 650;
}

/*=====================================
  ABOUT — CREDENTIALS TRIO
=====================================*/
.about-credentials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.about-cred {
    background: #fff;
    border-radius: var(--radius);
    padding: clamp(1.25rem, 2.5vw, 1.6rem);
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow:
        0 6px 20px rgba(10, 26, 31, .06),
        0 2px 4px rgba(10, 26, 31, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.about-cred:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--glow), .40);
    box-shadow:
        0 14px 32px rgba(10, 26, 31, .10),
        0 0 20px rgba(var(--glow), .16);
}

.about-cred-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, var(--nav-blue), var(--nav-green));
    box-shadow:
        0 6px 14px rgba(0, 0, 0, .12),
        0 0 14px rgba(var(--glow), .25);
}

.about-cred h4 {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--ink);
}

.about-cred ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.about-cred li {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--ink-soft);
    padding-left: 0.85rem;
    position: relative;
    margin: 0;
}

.about-cred li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nav-blue), var(--nav-green));
}

.about-cred li strong {
    color: var(--ink);
    font-weight: 650;
}

/*=====================================
  ABOUT — WHAT WE DO STRIP
=====================================*/
.about-services {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(0, 191, 255, .08), transparent 60%),
        radial-gradient(120% 120% at 100% 100%, rgba(102, 51, 153, .10), transparent 60%),
        var(--paper);
    border: 1px solid rgba(var(--glow), .18);
}

.about-services-title {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--violet);
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-services-grid li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    font-weight: 550;
    color: var(--ink);
    margin: 0;
}

.about-service-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nav-blue), var(--nav-green));
    box-shadow: 0 0 10px rgba(var(--glow), .55);
}

/*=====================================
  ABOUT — MISSION & VISION
=====================================*/
.about-mv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.about-mv-card {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow:
        0 10px 30px rgba(10, 26, 31, .06),
        0 3px 8px rgba(10, 26, 31, .04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    overflow: hidden;
}

.about-mv-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--glow), .40);
    box-shadow:
        0 20px 45px rgba(10, 26, 31, .10),
        0 0 24px rgba(var(--glow), .16);
}

/* Left-edge accent stripe */
.about-mv-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    border-radius: 0 4px 4px 0;
}

.about-mv-card.is-mission::before {
    background: linear-gradient(180deg, var(--nav-blue), var(--cobalt));
}

.about-mv-card.is-vision::before {
    background: linear-gradient(180deg, var(--violet), var(--nav-green));
}

.about-mv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 1rem;
    background: rgba(var(--glow), .10);
    border: 1px solid rgba(var(--glow), .25);
}

.about-mv-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.about-mv-card h3 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    color: var(--ink);
    letter-spacing: -0.2px;
}

.about-mv-card p {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--ink-soft);
}

.about-mv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-mv-tags li {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--violet);
    background: rgba(var(--glow), .12);
    border: 1px solid rgba(var(--glow), .30);
    border-radius: 999px;
    margin: 0;
}

/*=====================================
  ABOUT — CTA BAND
=====================================*/
.about-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;

    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--radius-lg);

    background:
        radial-gradient(120% 120% at 0% 0%, rgba(0, 191, 255, .18), transparent 60%),
        radial-gradient(120% 120% at 100% 100%, rgba(102, 51, 153, .20), transparent 60%),
        linear-gradient(135deg, var(--cobalt), var(--violet));

    color: #fff;
    box-shadow:
        0 20px 50px rgba(10, 26, 31, .20),
        0 0 40px rgba(var(--glow), .18);

    position: relative;
    overflow: hidden;
}

.about-cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, .03) 0 2px,
            transparent 2px 8px
        );
    pointer-events: none;
}

.about-cta-band .cta-text {
    flex: 1 1 380px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.about-cta-band h3 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    letter-spacing: -0.2px;
}

.about-cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 60ch;
}

.about-cta-band .btn {
    flex-shrink: 0;
    background: #fff;
    color: var(--cobalt);
    border: none;
    font-weight: 650;
    padding: 0.85rem 1.5rem;
    box-shadow:
        0 8px 22px rgba(0, 0, 0, .2),
        0 0 24px rgba(255, 255, 255, .25);
    position: relative;
    z-index: 1;
}

.about-cta-band .btn:hover {
    background: #fff;
    color: var(--violet);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .28),
        0 0 32px rgba(255, 255, 255, .35);
    transform: translateY(-2px);
}

/*=====================================
  PARTNERS
=====================================*/
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 3vw, 1.75rem);
}

.partner-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow:
        0 8px 24px rgba(10, 26, 31, .06),
        0 2px 6px rgba(10, 26, 31, .04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--glow), .40);
    box-shadow:
        0 18px 40px rgba(10, 26, 31, .12),
        0 0 24px rgba(var(--glow), .16);
}

/* The "become a partner" card is subtler */
.partner-card.is-cta {
    background: linear-gradient(
        135deg,
        rgba(0, 191, 255, .05),
        rgba(102, 51, 153, .06)
    );
    border: 1.5px dashed rgba(var(--glow), .45);
}

.partner-card.is-cta:hover {
    border-style: solid;
    border-color: rgba(var(--glow), .65);
}

/* ---------- Partner logo tile ---------- */
.partner-logo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* Neutral background — the logo image sits on top */
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);

    box-shadow:
        0 8px 20px rgba(10, 26, 31, .08),
        0 2px 6px rgba(10, 26, 31, .04);
}

/* The logo image fills the tile cleanly */
.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;      /* keeps the full logo visible, no cropping */
    padding: 8px;              /* small breathing space so it doesn't touch edges */
    display: block;
}

/* Placeholder variant — still used by the "Next Partner Is You" card */
.partner-logo.is-placeholder {
    background: rgba(var(--glow), .10);
    border: 1.5px dashed rgba(var(--glow), .55);
    box-shadow: none;
    color: var(--violet);
}

.partner-logo.is-placeholder .partner-logo-fallback {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    color: var(--violet);
}
.partner-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.partner-body h3 {
    margin: 0;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.3;
    letter-spacing: -0.2px;
    color: var(--ink);
    font-weight: 650;
}

.partner-body h3 a {
    color: var(--cobalt);
    border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.partner-body h3 a:hover {
    color: var(--violet);
    border-bottom-color: currentColor;
}

.partner-body p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--ink-soft);
}

/*=====================================
  ABOUT & PARTNERS — RESPONSIVE
=====================================*/
@media (max-width: 1100px) {
    .about-credentials {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-credentials .about-cred:last-child {
        grid-column: 1 / -1;
    }
    .about-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .about-visual {
        aspect-ratio: 16 / 10;
        max-height: 420px;
    }

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

    .about-mv {
        grid-template-columns: 1fr;
    }

    .about-cta-band {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .about-cta-band .btn {
        width: 100%;
        justify-content: center;
    }

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

@media (max-width: 600px) {
    .about-credentials {
        grid-template-columns: 1fr;
    }
    .about-credentials .about-cred:last-child {
        grid-column: auto;
    }

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

    .partner-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*=====================================
  ABOUT & PARTNERS — REDUCED MOTION
=====================================*/
@media (prefers-reduced-motion: reduce) {
    .about-visual img,
    .about-cred,
    .about-mv-card,
    .partner-card {
        transition: none;
        transform: none;
    }
}

/* ---------- Content ---------- */
.transport-content { min-width: 0; }

.transport-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.18rem);
    line-height: 1.65;
    color: var(--ink);
    margin: 0 0 1.25rem;
}

.transport-lead strong {
    color: var(--cobalt);
    font-weight: 650;
}

.transport-content > p {
    line-height: 1.7;
    margin: 0 0 2rem;
    max-width: 60ch;
}

/* ---------- Feature grid ---------- */
.transport-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.transport-feature {
    position: relative;
    padding: 1.15rem 1.15rem 1.25rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow:
        0 4px 14px rgba(10, 26, 31, .05),
        0 1px 3px rgba(10, 26, 31, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.transport-feature:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--glow), .45);
    box-shadow:
        0 12px 28px rgba(10, 26, 31, .10),
        0 0 20px rgba(var(--glow), .18);
}

.transport-feature h4 {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--ink);
    letter-spacing: -0.1px;
}

.transport-feature p {
    margin: 0;
    font-size: 0.83rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

/*=====================================
  TRANSPORT — CTA BAND
=====================================*/
.transport-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;

    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--radius-lg);

    background:
        radial-gradient(120% 120% at 0% 0%, rgba(0, 191, 255, .18), transparent 60%),
        radial-gradient(120% 120% at 100% 100%, rgba(102, 51, 153, .20), transparent 60%),
        linear-gradient(135deg, var(--cobalt), var(--violet));

    color: #fff;
    box-shadow:
        0 20px 50px rgba(10, 26, 31, .20),
        0 0 40px rgba(var(--glow), .18);

    position: relative;
    overflow: hidden;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.transport-cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, .03) 0 2px,
            transparent 2px 8px
        );
    pointer-events: none;
}

.transport-cta-band .cta-text {
    flex: 1 1 380px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.transport-cta-band h3 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    letter-spacing: -0.2px;
}

.transport-cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 60ch;
}

.transport-cta-band .btn {
    flex-shrink: 0;
    background: #fff;
    color: var(--cobalt);
    border: none;
    font-weight: 650;
    padding: 0.85rem 1.5rem;
    box-shadow:
        0 8px 22px rgba(0, 0, 0, .2),
        0 0 24px rgba(255, 255, 255, .25);
    position: relative;
    z-index: 1;
}

.transport-cta-band .btn:hover {
    background: #fff;
    color: var(--violet);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .28),
        0 0 32px rgba(255, 255, 255, .35);
    transform: translateY(-2px);
}

/* Note */
.transport-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;

    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--ink-faint);

    padding: 1rem 1.15rem;
    background: var(--paper-deep);
    border-left: 3px solid var(--line);
    border-radius: 6px;
    margin: 0;
}

/*=====================================
  TRANSPORT — RESPONSIVE
=====================================*/
@media (max-width: 900px) {
    .transport-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .transport-visual {
        position: relative;
        top: auto;
        aspect-ratio: 16 / 10;
        max-height: 420px;
    }

    .transport-features {
        grid-template-columns: 1fr 1fr;
    }

    .transport-cta-band {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .transport-cta-band .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .transport-features {
        grid-template-columns: 1fr;
    }

    .transport-visual {
        aspect-ratio: 4 / 3;
    }
}

/*=====================================
  PROJECTS
=====================================*/
.project {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}

.project:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project img {
    width: 100%;
    max-width: 560px;
    border-radius: var(--radius);
    margin: 0 0 1rem;
    box-shadow:
        0 12px 30px rgba(10, 26, 31, .10),
        0 3px 8px rgba(10, 26, 31, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.project img:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 40px rgba(10, 26, 31, .14),
        0 6px 14px rgba(10, 26, 31, .08);
}

.project a {
    display: inline-block;
    font-weight: 600;
    color: var(--cobalt);
    margin-bottom: 0.5rem;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, color .2s ease;
}

.project a:hover {
    color: var(--violet);
    border-bottom-color: currentColor;
}

.project p {
    max-width: 720px;
    margin: 0;
}

/*=====================================
  PARTNERS
=====================================*/
#partners a {
    display: inline-block;
    font-weight: 600;
    color: var(--cobalt);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, color .2s ease;
}

#partners a:hover {
    color: var(--violet);
    border-bottom-color: currentColor;
}

/*=========================================
  REQUEST FORM
==========================================*/
.contact-split {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}

/* ---------- Left: quick info ---------- */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.05rem 1.15rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow:
        0 4px 14px rgba(10, 26, 31, .04),
        0 1px 3px rgba(10, 26, 31, .03);
    transition: transform var(--dur-mid) ease, box-shadow var(--dur-mid) ease, border-color var(--dur-mid) ease;
}

.contact-option:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--glow), .35);
    box-shadow:
        0 12px 28px rgba(10, 26, 31, .09),
        0 0 18px rgba(var(--glow), .12);
}

.contact-option-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--nav-blue), var(--nav-green));
    box-shadow: 0 6px 14px rgba(0, 0, 0, .10), 0 0 10px rgba(var(--glow), .18);
}

.contact-option h3 {
    margin: 0 0 0.1rem;
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--ink);
}

.contact-option p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.83rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

/* What happens next */
.contact-hours {
    margin-top: 0.5rem;
    padding: 1.2rem 1.15rem;
    background: var(--paper-deep);
    border-radius: var(--radius);
    border: 1px solid var(--line-soft);
}

.contact-hours h4 {
    margin: 0 0 0.75rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ink);
}

.next-steps {
    margin: 0;
    padding-left: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    list-style: decimal;
}

.next-steps li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
}

.next-steps li::marker {
    color: var(--brand-soft);
    font-weight: 700;
}

/* ---------- Right: form ---------- */
.contact-form {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow:
        0 10px 30px rgba(10, 26, 31, .06),
        0 3px 8px rgba(10, 26, 31, .03);
}

/* Fieldset + legend */
.form-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.form-fieldset:last-of-type {
    margin-bottom: 0;
}

.form-legend {
    display: flex;
    align-items: center;
    gap: 0.6rem;

    margin-bottom: 1rem;
    padding: 0;

    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.1px;
    color: var(--ink);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;
    border-radius: 50%;

    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;

    background: linear-gradient(135deg, var(--nav-blue), var(--nav-green));
    box-shadow: 0 4px 10px rgba(0, 0, 0, .10);
}

/* Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.form-group label {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1px;
    color: var(--ink);
}

.required-mark { color: var(--brand-soft); font-weight: 700; }
.optional-mark {
    color: var(--ink-faint);
    font-weight: 400;
    font-size: 0.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;

    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--ink);

    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);

    outline: none;
    transition: border-color var(--dur-fast) ease, background var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--ink-faint);
    opacity: 0.85;
}

.form-group select {
    appearance: none;
    -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 24 24' fill='none' stroke='%234a5a55' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.4rem;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.55;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(43, 76, 130, .12);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
    border-color: #c0392b;
    background: #fff5f4;
}

.form-group input.is-invalid:focus,
.form-group select.is-invalid:focus,
.form-group textarea.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .15);
}

/* ---------- Radio service cards ---------- */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.radio-card {
    position: relative;
    display: block;
    cursor: pointer;
    margin: 0;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-body {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    padding: 0.85rem 0.95rem;

    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);

    transition:
        background var(--dur-fast) ease,
        border-color var(--dur-fast) ease,
        box-shadow var(--dur-fast) ease,
        transform var(--dur-fast) ease;
}

.radio-card:hover .radio-body {
    border-color: rgba(var(--glow), .45);
    background: #fff;
    transform: translateY(-1px);
}

.radio-card input:checked + .radio-body {
    background: rgba(var(--glow), .08);
    border-color: rgba(var(--glow), .65);
    box-shadow:
        0 0 0 1px rgba(var(--glow), .18),
        0 0 16px rgba(var(--glow), .18);
}

.radio-card input:focus-visible + .radio-body {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}

.radio-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    background: linear-gradient(135deg, var(--nav-blue), var(--nav-green));
    box-shadow: 0 4px 10px rgba(0, 0, 0, .10), 0 0 8px rgba(var(--glow), .15);
}

.radio-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.radio-text strong {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.radio-text em {
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.76rem;
    color: var(--ink-faint);
    line-height: 1.35;
}

.radio-card--wide {
    grid-column: 1 / -1;
}

/* ---------- Checkbox ---------- */
.form-check {
    margin-top: 1rem;
}

.check-line {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;

    font-family: var(--font-body);
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--ink-soft);
    cursor: pointer;
}

.check-line input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;

    accent-color: var(--brand);
    cursor: pointer;
}

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

/* ---------- Actions ---------- */
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.form-actions .btn {
    position: relative;
    min-width: 190px;
}

.btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.btn.is-loading .btn-label,
.btn.is-loading .btn-arrow { opacity: 0; }

.btn.is-loading .btn-spinner { display: inline-block; }

.btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }

.form-alt {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--ink-faint);
}

.form-alt a {
    color: var(--brand);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.form-alt a:hover {
    color: var(--brand-soft);
    border-bottom-color: currentColor;
}

/* ---------- Status ---------- */
.form-status {
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.5;
    display: none;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
}

.form-status.is-visible { display: block; }

.form-status.is-success {
    color: var(--success-dark);
    background: rgba(47, 158, 92, .12);
    border: 1px solid rgba(47, 158, 92, .30);
}

.form-status.is-error {
    color: #7a1f15;
    background: rgba(192, 57, 43, .10);
    border: 1px solid rgba(192, 57, 43, .28);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .contact-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form { padding: 1.35rem; }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .radio-grid { grid-template-columns: 1fr; }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .btn { width: 100%; }
    .form-alt { text-align: center; }
}

.radio-card.is-invalid .radio-body {
    border-color: #c0392b;
    background: #fff5f4;
}

.check-line.is-invalid {
    color: #c0392b;
}

/*=========================================
  SUCCESS MODAL
==========================================*/
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(10, 26, 31, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-mid) ease, visibility var(--dur-mid) ease;
}

.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal-backdrop[hidden] { display: none; }

.modal {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: var(--panel);
    color: var(--ink);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem 1.75rem;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .30);
    transform: translateY(12px) scale(.98);
    transition: transform var(--dur-mid) var(--ease-out);
}

.modal-backdrop.is-open .modal { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute;
    top: 0.7rem; right: 0.7rem;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--ink-faint);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, .06);
    color: var(--ink);
    transform: rotate(90deg);
}

.modal-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--nav-blue), var(--nav-green));
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18), 0 0 22px rgba(var(--glow), .28);
    animation: modal-check-pop .5s var(--ease-bounce);
}

@keyframes modal-check-pop {
    0%   { transform: scale(.6); opacity: 0; }
    70%  { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--ink);
}

.modal-desc {
    margin: 0 0 1.35rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--ink-soft);
}

.modal-ref {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    padding: 0.85rem 1rem;
    margin-bottom: 1.35rem;
    background: var(--paper-deep);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}

.modal-ref-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.modal-ref-value {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--brand);
}

.modal-next {
    text-align: left;
    padding: 1rem 1.15rem;
    margin-bottom: 1.35rem;
    background: rgba(var(--glow), .06);
    border: 1px solid rgba(var(--glow), .18);
    border-radius: var(--radius);
}

.modal-next h3 {
    margin: 0 0 0.55rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--brand-soft);
}

.modal-next ol {
    margin: 0;
    padding-left: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.modal-next li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
}

.modal-next li::marker {
    color: var(--brand-soft);
    font-weight: 700;
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.modal-actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
}

.btn-outline {
    background: transparent;
    color: var(--brand);
    border: 1.5px solid var(--brand);
}

.btn-outline:hover {
    background: var(--brand);
    color: #fff;
}

body.modal-open { overflow: hidden; }

/*=========================================
  FORM RESPONSIVE
==========================================*/
@media (max-width: 900px) {
    .contact-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-form { padding: 1.35rem; }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .radio-grid { grid-template-columns: 1fr; }
    .form-actions { flex-direction: column; align-items: stretch; }
    .form-actions .btn { width: 100%; }
    .form-alt { text-align: center; }
}

@media (max-width: 480px) {
    .modal { padding: 1.75rem 1.25rem 1.35rem; }
    .modal-title { font-size: 1.2rem; }
    .modal-actions { flex-direction: column; }
    .modal-actions .btn { width: 100%; }
}

/*=========================================
  REDUCED MOTION
==========================================*/
@media (prefers-reduced-motion: reduce) {
    .file-item,
    .modal-icon,
    .btn-spinner {
        animation: none;
    }
    .contact-option,
    .radio-body,
    .file-drop,
    .modal {
        transition: none;
    }
}

/*=====================================
  FOOTER
=====================================*/
.footer {
    background:
        radial-gradient(1200px 500px at 80% 0%, rgba(0, 191, 255, .08), transparent 60%),
        radial-gradient(900px 400px at 0% 100%, rgba(102, 51, 153, .10), transparent 60%),
        #0a1419;
    color: rgba(255, 255, 255, .78);
    padding-block: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, .06);
    position: relative;
    overflow: hidden;
}

/* Top highlight line */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--glow), .35),
        transparent
    );
}

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

/*=====================================
  FOOTER — MAIN GRID
=====================================*/
.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

/*=====================================
  FOOTER — BRAND COLUMN
=====================================*/
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-bottom: 0.25rem;
    transition: transform .2s ease, opacity .2s ease;
}

.footer-logo:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.footer-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    mix-blend-mode: screen;
    filter: brightness(1.15) contrast(0.95) saturate(1.05);
    opacity: 0.92;
}

.footer-brand-name {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: -0.2px;
    color: #fff;
}

.footer-brand-tag {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .58);
    max-width: 32ch;
}

/*=====================================
  FOOTER — LINK COLUMNS
=====================================*/
.footer-col h4 {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--nav-blue), var(--nav-green));
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col li {
    margin: 0;
}

.footer-col a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 450;
    color: rgba(255, 255, 255, .68);
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(2px);
}

/*=====================================
  FOOTER — SOCIAL ICONS
=====================================*/
.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-social svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, .55);
    transition: color .2s ease, transform .2s ease;
}

.footer-social a:hover svg {
    color: #fff;
    transform: scale(1.1);
}

/* Subtle brand colors on hover */
.footer-social li:nth-child(1) a:hover svg { color: #25D366; }  /* WhatsApp */
.footer-social li:nth-child(2) a:hover svg { color: #1877f2; }  /* Facebook */
.footer-social li:nth-child(3) a:hover svg { color: #ffd48a; }  /* Email */
.footer-social li:nth-child(4) a:hover svg { color: #0a66c2; }  /* LinkedIn */

/*=====================================
  FOOTER — LEGAL STRIP
=====================================*/
.footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, .48);
}

.footer-legal p {
    margin: 0;
    color: inherit;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-legal-links li {
    margin: 0;
    position: relative;
}

.footer-legal-links li + li::before {
    content: "";
    position: absolute;
    left: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, .18);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-legal-links a:hover {
    color: #fff;
}

/*=====================================
  FOOTER — RESPONSIVE
=====================================*/
@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/*=====================================
  FLOATING WHATSAPP BUTTON
=====================================*/
.whatsapp-fab {
    position: fixed;
    bottom: clamp(1rem, 3vw, 1.5rem);
    right: clamp(1rem, 3vw, 1.5rem);
    z-index: 999;

    display: inline-flex;
    align-items: center;
    gap: 0.6rem;

    padding: 0.85rem 1.1rem;
    border-radius: 999px;

    color: #fff;
    background: #25D366;

    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;

    box-shadow:
        0 8px 22px rgba(37, 211, 102, .45),
        0 4px 12px rgba(0, 0, 0, .18),
        0 0 0 0 rgba(37, 211, 102, .55);

    /* Glow pulse */
    animation: wa-glow 2.6s ease-in-out infinite;
    transition: transform .25s ease, box-shadow .25s ease, background .2s ease;
}

.whatsapp-fab:hover {
    background: #1ebe5a;
    transform: translateY(-2px);
    box-shadow:
        0 12px 28px rgba(37, 211, 102, .6),
        0 6px 16px rgba(0, 0, 0, .22),
        0 0 0 0 rgba(37, 211, 102, .6);
    animation-play-state: paused;
}

.whatsapp-fab:focus-visible {
    outline: 2px solid #25D366;
    outline-offset: 4px;
}

.whatsapp-fab svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.whatsapp-fab-label {
    white-space: nowrap;
}

@keyframes wa-glow {
    0%, 100% {
        box-shadow:
            0 8px 22px rgba(37, 211, 102, .45),
            0 4px 12px rgba(0, 0, 0, .18),
            0 0 0 0 rgba(37, 211, 102, .55);
    }
    50% {
        box-shadow:
            0 8px 26px rgba(37, 211, 102, .6),
            0 4px 12px rgba(0, 0, 0, .18),
            0 0 0 14px rgba(37, 211, 102, 0);
    }
}

/* Compact circle on phones */
@media (max-width: 520px) {
    .whatsapp-fab {
        padding: 0.75rem;
        width: 54px;
        height: 54px;
        justify-content: center;
    }

    .whatsapp-fab-label {
        display: none;
    }
}

/*=====================================
  FOOTER + FAB — REDUCED MOTION
=====================================*/
@media (prefers-reduced-motion: reduce) {
    .footer-logo,
    .footer-col a,
    .footer-social svg,
    .footer-legal-links a,
    .whatsapp-fab {
        transition: none;
        transform: none;
        animation: none;
    }
}

/*=====================================
  UTILITIES
=====================================*/
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/*=====================================
  RESPONSIVE — LARGE TABLETS
=====================================*/
@media (max-width: 1100px) {
    .nav-menu { gap: 0.4rem; }
    .nav-link { font-size: 0.88rem; padding: 0.5rem 0.85rem; }
    .hero-services { grid-template-columns: repeat(2, 1fr); }
}

/*=====================================
  RESPONSIVE — TABLETS
=====================================*/
@media (max-width: 900px) {
    :root { --container-pad: 1.25rem; }
    html { scroll-padding-top: 90px; }

    /* NAV */
    .nav-top {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo   actions"
            "tag    actions";
        align-items: center;
        gap: 0.25rem 0.75rem;
    }

    .logo-wrapper { grid-area: logo; }
    .nav-tagline  { grid-area: tag; text-align: left; font-size: 0.85rem; }
    .nav-search   { grid-area: actions; }

    .nav-toggle { display: block; }

    .nav-bottom {
        border-top: none;
        padding-top: 0;
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        background: var(--panel);
        border-radius: var(--radius);
        box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease, padding .35s ease;
        z-index: 50;
    }

    .nav-menu.open {
        max-height: 80vh;
        overflow-y: auto;
        padding: 0.5rem 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--line);
    }

    .nav-menu li:last-child { border-bottom: none; }

    .nav-link {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        padding: 0.9rem 1.25rem;
        font-size: 1rem;
        border-radius: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .nav-link:hover {
        background: rgba(var(--glow), .10);
        box-shadow: none;
        transform: none;
    }

    .nav-link.active::before { display: none; }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, .04);
        border-radius: 0;
        border: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
        animation: none;
    }

    .dropdown::before { display: none; }

    .has-dropdown.open .dropdown { max-height: 400px; }

    .dropdown a { padding-left: 2rem; color: var(--ink-soft); }
    .dropdown a:hover { background: rgba(0, 0, 0, .06); color: var(--cobalt); }

    .has-dropdown.open .caret { transform: rotate(-135deg); }

    /* Search mobile */
    .nav-search-toggle { display: inline-flex; }

    .nav-search-form {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 0.5rem;
        background: var(--panel);
        border-radius: var(--radius);
        box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
        padding: 0.5rem 0.75rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
        z-index: 60;
        border: none;
    }

    .nav-search-form input {
        border: none;
        width: 220px;
        max-width: 70vw;
    }

    .nav-search.open .nav-search-form input {
        border-bottom: 1px solid var(--nav-text);
    }

    .nav-search.open .nav-search-form {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-search-form input:focus {
        width: 260px;
        max-width: 75vw;
        border-bottom-width: 2px;
    }

    /* Hero */
    .hero { min-height: auto; padding-block: 4rem; }
    .hero-content { max-width: 100%; }
    .hero-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }

    .hero-bg-scrim {
        background:
            radial-gradient(
                140% 100% at 50% 50%,
                rgba(10, 26, 31, .55) 0%,
                rgba(10, 26, 31, .75) 60%,
                rgba(10, 26, 31, .88) 100%
            ),
            linear-gradient(
                0deg,
                rgba(10, 26, 31, .45) 0%,
                rgba(10, 26, 31, 0)   50%
            );
    }
}

/*=====================================
  RESPONSIVE — PHONES
=====================================*/
@media (max-width: 600px) {
    .hero-services { grid-template-columns: 1fr; }

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

    .hero-actions .btn { width: 100%; }

    .services-strip .container {
        transform: none;
        margin-bottom: 0;
    }

    .service-card { padding: 1.25rem; }
    .service-cta,
    .research-cta { padding: 1.25rem; }
}

@media (max-width: 520px) {
    :root { --container-pad: 1rem; }

    .company-logo { height: 42px; }
    .logo-text    { font-size: 1.05rem; }

    .nav-search-form input { width: 180px; max-width: 65vw; }
    .nav-search-form input:focus { width: 220px; max-width: 70vw; }
}

/*=====================================
  ACCESSIBILITY
=====================================*/
:focus-visible {
    outline: 2px solid rgba(var(--glow), .9);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/*=====================================================================
  REVISION 2 — consistency, navigation, footer, icons
  Loaded last on purpose: overrides the first-draft rules above.
=====================================================================*/
:root {
    --font-head: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* calmer brand gradient: same blue → purple story, lower saturation */
    --nav-blue: #1e6fae;
    --nav-green: #4a2f87;
    --nav-text: #ffffff;
    --nav-divider: rgba(255, 255, 255, .18);
    --glow: 120, 140, 220;
    --card-shadow: 0 1px 2px rgba(16, 32, 40, .05), 0 6px 18px rgba(16, 32, 40, .05);
}

/* ---------- Typography: one heading face, one body face ---------- */
body, a, button, input, .btn, .nav-link, .dropdown a, .footer-col a { font-family: var(--font-body); }
:is(h1, h2, h3, h4, h5),
.logo-text, .hero-title, .quote-mark, .about-name, .footer-brand-name,
:is(.research, .tech, .transport, .maintenance, .credential, .about)-visual-quote p {
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: -0.01em;
}
.nav-link, .btn { font-weight: 500; letter-spacing: 0; }

/* ---------- Navbar: one compact row on desktop ---------- */
.navbar { background: linear-gradient(90deg, var(--nav-blue), var(--nav-green)); border-top: 0; }
.navbar.is-scrolled { background: rgba(26, 42, 92, .92); }
.nav-tagline { display: none; }
.company-logo {
    width: var(--logo-size, 58px); height: var(--logo-size, 58px); padding: 1px;
    background: transparent; border-radius: 50%; object-fit: contain;
    mix-blend-mode: normal; filter: none; opacity: 1;
    
}
.logo-text {  font-size: clamp(0.85rem, 1.6vw, 1.15rem);; color: #fff; }
.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, .14); border-color: transparent; box-shadow: none; transform: none;
}
.nav-link.active::before { background: #fff; box-shadow: none; }
.nav-search-toggle:hover { background: rgba(255, 255, 255, .14); }

@media (min-width: 901px) {
    html { scroll-padding-top: 76px; }
    .nav-container { flex-direction: row; align-items: center; gap: 1.5rem; padding-block: .5rem; }
    .nav-top { display: contents; }
    .logo-wrapper { order: 1; }
    .nav-bottom { order: 2; flex: 1; border: 0; padding: 0; justify-content: flex-end; flex-wrap: nowrap; }
    .nav-menu { flex: 0 1 auto; flex-wrap: nowrap; justify-content: flex-end; gap: .15rem; }
    .nav-link { padding: .45rem .85rem; font-size: .92rem; }
    .nav-search { order: 3; }
    .nav-search-form input { width: clamp(110px, 11vw, 160px); }
    .nav-search-form input:focus { width: clamp(150px, 15vw, 210px); }

    /* hero fills the first screen below the bar instead of hiding behind it */
    .hero { min-height: clamp(420px, calc(100svh - 60px - 3rem), 680px); padding-block: 3rem; }
}
@media (max-width: 900px) {
    html { scroll-padding-top: 72px; }
    .nav-container { padding-block: .5rem; }
    .nav-top { grid-template-areas: "logo actions"; }
    .nav-menu .nav-link, .nav-search-form input { color: var(--ink); }
    .nav-search-form input { border-bottom-color: var(--ink); }
    .nav-search-form input::placeholder { color: var(--ink-soft); }
    .nav-search-submit { color: var(--ink); }
}
.hero-bg-scrim {
    background: radial-gradient(120% 100% at 50% 50%, rgba(12, 24, 48, .38) 0%, rgba(12, 24, 48, .58) 70%, rgba(12, 24, 48, .78) 100%);
}

/* ---------- Section rhythm: remove the stray rules, alternate tone ---------- */
.section h2::after, .section-title::after, .section-heading::after { content: none; display: none; }
.section + .section { border-top: 0; }
.section-tech, .section-maintenance, .section-about, .section-contact { background: var(--panel); }
.section-head { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.section-title, .section h2 { padding-bottom: 0; margin-bottom: .6rem; }
.section-intro { padding-block: clamp(1.75rem, 3vw, 2.5rem); }
.section-intro .section-subtitle { text-align: center; margin-top: .4rem; }

/* ---------- One card language for Solutions, Projects, About, Partners, Contact ---------- */
:is(.hero-service, .research-feature, .tech-feature, .transport-feature, .maintenance-card,
    .website-card, .partner-card, .about-cred, .about-mv-card, .credential-entry, .contact-card) {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transform: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
:is(.hero-service, .research-feature, .tech-feature, .transport-feature, .maintenance-card,
    .website-card, .partner-card, .about-cred, .about-mv-card, .credential-entry, .contact-card):hover {
    transform: none;
    border-color: rgba(var(--glow), .6);
    box-shadow: 0 2px 4px rgba(16, 32, 40, .06), 0 12px 28px rgba(16, 32, 40, .09);
}
.about-mv-card::before, .credential-entry::before { display: none; }
:is(.research, .tech, .transport, .maintenance, .about, .credential)-visual, .credential-media { border-radius: var(--radius-lg); }
.website-card.is-in-progress { border-color: var(--line); box-shadow: var(--card-shadow); }
.feature-icon, .service-icon, .about-cred-icon, .group-icon { box-shadow: none; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contact-card { display: block; padding: 1.25rem; color: inherit; }
.contact-card h4 { margin: 0 0 .25rem; }
.contact-card p { margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Icons: live, with a slot for real photography later ---------- */
.service-icon, .feature-icon, .about-cred-icon, .group-icon { position: relative; overflow: hidden; }
.icon-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
:is(.service-icon, .feature-icon, .about-cred-icon, .group-icon):has(.icon-img) svg { display: none; }
:is(.service-icon, .feature-icon, .about-cred-icon, .group-icon) svg { animation: icon-float 5s ease-in-out infinite; }
:is(.service-icon, .feature-icon, .about-cred-icon, .group-icon) svg [pathLength] {
    stroke-dasharray: 1; animation: icon-draw 7s ease-in-out infinite;
}
:is(.service-icon, .feature-icon, .about-cred-icon, .group-icon) svg [pathLength]:nth-child(2) { animation-delay: .25s; }
:is(.service-icon, .feature-icon, .about-cred-icon, .group-icon) svg [pathLength]:nth-child(3) { animation-delay: .5s; }
@keyframes icon-draw { 0% { stroke-dashoffset: 1; } 25%, 100% { stroke-dashoffset: 0; } }
@keyframes icon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(2px); }

/* ---------- Footer: compact and on-palette ---------- */
.footer {
    background: linear-gradient(135deg, #16284d 0%, #26214f 100%);
    color: rgba(255, 255, 255, .8);
    padding-block: clamp(2rem, 4vw, 2.75rem) 1.25rem;
    border-top: 0;
}
.footer::before { display: none; }
.footer-main { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-bottom: 1.5rem; margin-bottom: 1rem; border-color: rgba(255, 255, 255, .14); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.footer .logo-wrapper { align-items: flex-start; }
.footer-brand-name { font-size: 1.1rem; }
.footer-brand-tag { font-size: .85rem; color: rgba(255, 255, 255, .7); }
.footer-col h4 { font-size: .95rem; text-transform: none; letter-spacing: 0; margin-bottom: .75rem; padding-bottom: 0; }
.footer-col h4::after { display: none; }
.footer-col ul { gap: .45rem; }
.footer-col a { font-size: .9rem; font-weight: 400; color: rgba(255, 255, 255, .78); transform: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; transform: none; }
.footer-legal { font-size: .82rem; color: rgba(255, 255, 255, .65); }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-main { grid-template-columns: 1fr; } }

/*=====================================================================
  REVISION 3 — mobile navigation, hero overlay on phones
=====================================================================*/
@media (max-width: 900px) {
    /* the desktop :hover/:focus-within rule was sliding the dropdown off-screen */
    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown {
        position: static; left: auto; transform: none; opacity: 1; visibility: visible; min-width: 0; width: 100%;
    }
    .dropdown { left: auto; width: 100%; min-width: 0; }
    .dropdown li { border-bottom: 0; }
    .has-dropdown.open .dropdown { max-height: 480px; padding: .25rem 0 .5rem; }
    .dropdown a { display: block; color: var(--ink-soft); font-size: .95rem; padding: .7rem 1.25rem .7rem 2.25rem; }
    .nav-menu .nav-link { color: var(--ink); }
    .nav-menu .nav-link:hover, .nav-menu .nav-link.active, .nav-menu .nav-link:focus-visible {
        background: rgba(var(--glow), .12); color: var(--ink);
    }
    .nav-menu.open { max-height: calc(100dvh - 120px); }
    .nav-toggle { color: #fff; }
    .company-logo { width: 52px; height: 52px; }
    .logo-wrapper { max-width: 100%; }
    .footer .logo-wrapper { align-items: flex-start; }
    .hero-bg-scrim {
        background: radial-gradient(120% 90% at 50% 50%, rgba(12, 24, 48, .5) 0%, rgba(12, 24, 48, .3) 100%);
    }
}
@media (max-width: 380px) {
    .logo-text { font-size: .8rem; letter-spacing: 0; }
    .nav-container { padding-inline: .75rem; }
}

/* Logo size lives here: change one number. */
:root { --logo-size: 58px; }

@media (max-width: 900px) {
    :root { --logo-size: 42px; }
    .nav-container { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .5rem; padding-block: .45rem; }
    .nav-top { display: contents; }
    .logo-wrapper { grid-column: 1; flex-direction: row; justify-content: flex-start; gap: .6rem; }
    .nav-search { grid-column: 2; position: relative; }
    .nav-bottom { grid-column: 3; position: static; padding: 0; border: 0; }
    .nav-menu { left: .75rem; right: .75rem; top: calc(100% + .25rem); }
    .nav-menu.open { max-height: calc(100dvh - 90px); }
    .company-logo { width: var(--logo-size); height: var(--logo-size); }
    .footer .logo-wrapper .company-logo { width: 52px; height: 52px; }
}

@media (max-width: 900px) {
    .logo-wrapper, .nav-search, .nav-bottom { grid-row: 1; align-self: center; }
    .nav-toggle { margin: 0; padding: .4rem; }
}

/* Footer: logo first, and keep the floating WhatsApp button off the legal links */
.footer .logo-wrapper { order: -1; }
.footer { padding-bottom: 4.5rem; }