/* Tech Tron Innovations - site styles */

:root {
    --paper: #F5EFEB;
    --card: #FFFFFF;
    --ink: #2F4156;
    --navy: #2F4156;
    --brand-ink: #180E54;
    --navy-2: #263646;
    --slate: #5E6E7E;
    --teal: #567C8D;
    --teal-deep: #456576;
    --sky: #C8D9E6;
    --sky-soft: #E3EDF3;
    --line: rgba(47, 65, 86, .16);
    --line-dark: rgba(255, 255, 255, .16);
    --disp: "Fraunces", Georgia, serif;
    --body: "Barlow", sans-serif;
    --mono: "Barlow Semi Condensed", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--body);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }

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

h1, h2, h3 {
    font-family: var(--disp);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.01em;
}
h3 { font-weight: 600; }
h1 { font-size: clamp(38px, 5.2vw, 64px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 22px; }

.kicker {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal-deep);
    margin-bottom: 16px;
}
.kicker .wp {
    display: inline-block;
    border: 1px solid currentColor;
    padding: 2px 8px;
    margin-right: 12px;
}
.sub { color: var(--slate); max-width: 640px; margin-top: 14px; font-size: 17px; }

/* rail */
.rail {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 40px;
    width: 1px;
    background-image: linear-gradient(to bottom, var(--line) 55%, transparent 45%);
    background-size: 1px 12px;
    z-index: 3;
    display: none;
}
.rail-marker {
    position: absolute;
    left: -16px;
    top: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    filter: drop-shadow(0 6px 8px rgba(47, 65, 86, .22));
    animation: rail-bob 3.2s ease-in-out infinite;
}
.rail-marker:hover { filter: drop-shadow(0 9px 12px rgba(47, 65, 86, .3)); }
.rail-marker:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.rail-marker svg { display: block; width: 100%; height: 100%; }
@keyframes rail-bob {
    0%, 100% { transform: translateY(-3px); }
    50% { transform: translateY(3px); }
}
@media (min-width: 1360px) {
    .rail { display: block; }
}
@media (max-width: 1359px) {
    .rail { display: block; width: 0; background: none; }
    .rail-marker { position: fixed; top: auto !important; left: auto; right: 20px; bottom: 22px; width: 44px; height: 44px; z-index: 6; }
}

/* header */
.site-head {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 248, 246, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-head.stuck { box-shadow: 0 6px 22px rgba(16, 27, 45, .08); }
.head-row { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
    font-family: var(--disp);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--brand-ink);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--brand-ink); border-bottom-color: var(--brand-ink); }
.nav a.active { color: var(--brand-ink); border-bottom-color: var(--brand-ink); }
.nav a.nav-cta { color: #fff; background: var(--brand-ink); padding: 9px 22px; border-radius: 6px; border-bottom: 0; text-align: center; transition: background .2s ease; }
.nav a.nav-cta:hover { color: #fff; background: #2a1c70; border-bottom: 0; }
.nav a.nav-cta.active { color: #fff; background: var(--brand-ink); border-bottom: 0; }
.head-phone {
    font-family: var(--mono);
    font-size: 14px;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 9px 14px;
    white-space: nowrap;
}
.head-phone:hover { border-color: var(--teal); color: var(--teal-deep); }
.burger { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 44px; cursor: pointer; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--ink); }
.nav-backdrop { display: none; }

/* buttons */
.btn {
    font-family: var(--disp);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    padding: 14px 26px;
    border: 1px solid transparent;
    transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--teal); color: #fff; }
.btn-amber:hover { background: #61899C; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost-light:hover { border-color: var(--sky); color: var(--sky); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* hero */
.hero {
    position: relative;
    padding: 72px 0 64px;
    background:
        radial-gradient(760px 420px at 78% 4%, rgba(86, 124, 141, .14), transparent 60%),
        repeating-linear-gradient(to right, rgba(16, 27, 45, .035) 0 1px, transparent 1px 88px),
        repeating-linear-gradient(to bottom, rgba(16, 27, 45, .035) 0 1px, transparent 1px 88px),
        var(--paper);
    border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 560px; }
.lead { color: var(--slate); font-size: 18px; max-width: 540px; margin-top: 22px; }

.plate {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 34px 28px 20px;
    position: relative;
}
.plate::before, .plate::after,
.craft-img::before, .craft-img::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid var(--teal);
    pointer-events: none;
}
.plate::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.plate::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.plate img { margin: 0 auto; }
.hero .plate img { animation: hover-float 5.5s ease-in-out infinite; }
@keyframes hover-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.plate figcaption { font-size: 11.5px; letter-spacing: .18em; color: var(--slate); margin-top: 22px; border-top: 1px dashed var(--line); padding-top: 12px; }

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    background: var(--card);
    margin-top: 64px;
}
.stat { padding: 26px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num {
    display: block;
    font-family: var(--disp);
    font-weight: 500;
    font-size: clamp(32px, 3.6vw, 46px);
    line-height: 1;
    color: var(--ink);
}
.stat-label {
    display: block;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--slate);
    margin-top: 10px;
}

/* sections */
.sec { padding: 96px 0; }
.sec-head { margin-bottom: 48px; }
#fleet .sec-head, #industries .sec-head, #field .sec-head { text-align: center; }
#fleet .sec-head .sub, #industries .sec-head .sub, #field .sec-head .sub { margin-left: auto; margin-right: auto; }
#industries .btn-row, #field .btn-row, #fleet .btn-row { justify-content: center; }
.sec-dark {
    background:
        radial-gradient(720px 400px at 85% 0%, rgba(200, 217, 230, .12), transparent 60%),
        var(--navy);
    color: #fff;
}
.sec-dark .sub { color: #BFD0DC; }
.sec-dark .kicker { color: var(--sky); }

/* about */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about-body { font-size: 19px; line-height: 1.75; color: var(--ink); }
.about-chips { display: flex; flex-direction: column; gap: 12px; }
.about-chips span {
    border: 1px solid var(--line);
    border-left: 3px solid var(--teal);
    background: var(--sky-soft);
    padding: 14px 18px;
    font-size: 12.5px;
    letter-spacing: .16em;
}

/* fleet */
.fleet-grid { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.fleet-grid .craft { flex: 0 0 calc((100% - 52px) / 3); }
.craft { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.craft-img { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.craft-img::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; opacity: 0; transition: opacity .2s ease; }
.craft-img::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; opacity: 0; transition: opacity .2s ease; }
.craft:hover .craft-img::before, .craft:hover .craft-img::after { opacity: 1; }
.craft-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 18px; }
.craft:nth-child(4) .craft-img img { object-fit: cover; padding: 0; }
.craft-body { padding: 24px 26px 28px; }
.craft-tag { font-size: 12px; letter-spacing: .22em; color: var(--teal-deep); margin-bottom: 8px; }

.mini { list-style: none; margin-top: 14px; }
.mini li { padding: 7px 0 7px 20px; position: relative; color: var(--slate); border-top: 1px dashed var(--line); font-size: 15.5px; }
.mini li:first-child { border-top: 0; }
.mini li::before { content: "+"; position: absolute; left: 0; color: var(--teal-deep); font-family: var(--mono); }
.sec-dark .mini li { color: #B8C2CF; border-top-color: var(--line-dark); }
.sec-dark .mini li::before { color: var(--sky); }

.payload { margin-top: 44px; border: 1px solid var(--line); background: var(--card); padding: 22px 26px; }
.payload-title { font-size: 12px; letter-spacing: .22em; color: var(--teal-deep); margin-bottom: 14px; }
.payload-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.payload-chips span { border: 1px solid var(--line); padding: 8px 14px; font-size: 14px; color: var(--ink); background: var(--sky-soft); }

/* training */
.train-media { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; margin-bottom: 54px; }
.train-stack { display: flex; flex-direction: column; gap: 26px; }
.shot { position: relative; border: 1px solid var(--line-dark); background: var(--navy-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.train-stack .shot img { aspect-ratio: 21 / 8; }
.shot-tall img { aspect-ratio: 3 / 4; }
.shot figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(14, 23, 38, .85);
    color: var(--teal);
    font-size: 11px;
    letter-spacing: .18em;
    padding: 8px 14px;
}
.course { border: 1px solid var(--line-dark); padding: 30px; }
.course-title { font-size: 12px; letter-spacing: .22em; color: var(--sky); margin-bottom: 22px; }
.course-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.alt-strip {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 26px;
    border: 1px solid var(--line-dark);
    border-left: 3px solid var(--teal);
    padding: 26px 30px;
}
.alt-num { font-family: var(--disp); font-weight: 500; font-size: clamp(38px, 4.5vw, 58px); line-height: 1; color: var(--sky); white-space: nowrap; }
.alt-strip p { color: #B8C2CF; max-width: 560px; }

/* industries */
.ind-grid { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.ind-grid .ind-card { flex: 0 0 calc((100% - 52px) / 3); }
.ind-card { background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.ind-card-img { aspect-ratio: 16 / 9; overflow: hidden; }
.ind-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ind-card:hover .ind-card-img img { transform: scale(1.04); }
.ind-card-body { padding: 26px 28px 30px; }
.ind-tag { font-family: var(--mono); text-transform: uppercase; letter-spacing: .2em; font-size: 12.5px; color: var(--teal-deep); }
.ind-list { list-style: none; margin-top: 22px; }
.ind-list li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; color: var(--ink); font-size: 16px; border-bottom: 1px dashed var(--line); }
.ind-list li:last-child { border-bottom: 0; }
.ind-list .plus { color: var(--teal); font-weight: 600; flex: none; }

/* mission steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); padding: 26px 24px 30px; position: relative; }
.step-num { display: inline-block; font-size: 13px; letter-spacing: .2em; color: var(--teal-deep); border: 1px solid var(--teal); padding: 4px 10px; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--slate); font-size: 15.5px; }
.step::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -27px;
    width: 28px;
    border-top: 1px dashed var(--line);
}
.step:last-child::after { display: none; }

/* gallery */
.gallery { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.gallery .g-item { flex: 0 0 calc((100% - 44px) / 3); }
.g-item { position: relative; border: 1px solid var(--line); background: var(--card); overflow: hidden; cursor: zoom-in; }
.g-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.g-item:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(24, 14, 84, .93); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 5vh 4vw; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 92vw; max-height: 82vh; object-fit: contain; background: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.lightbox-cap { color: #fff; margin-top: 16px; font-size: 13px; letter-spacing: .12em; text-align: center; }
.lightbox-close { position: absolute; top: 20px; right: 26px; width: 44px; height: 44px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { color: var(--sky); }
.g-item figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(14, 23, 38, .85);
    color: #fff;
    font-size: 10.5px;
    letter-spacing: .16em;
    padding: 7px 12px;
}

/* contact */
.cta { padding-bottom: 110px; }
.contact-rows { margin-top: 44px; border-top: 1px solid var(--line-dark); max-width: 760px; }
.c-row { display: flex; gap: 26px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.c-label { width: 92px; flex: 0 0 auto; font-size: 12px; letter-spacing: .2em; color: var(--sky); }
.c-row a { color: #fff; text-decoration: none; }
.c-row a:hover { color: var(--sky); }
.c-row span:not(.c-label) { color: #B8C2CF; }


/* whatsapp */
.wa-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 54px;
    height: 54px;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(14, 23, 38, .28);
    z-index: 30;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-2px); }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero .plate img { animation: none; }
    .btn, .g-item img { transition: none; }
    .rail-marker { animation: none; }
}

/* responsive */
@media (max-width: 1080px) {
    .hero-grid { gap: 40px; }
}
@media (max-width: 991px) {
    .nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 0;
        padding: 10px 24px 18px;
        align-items: stretch;
    }
    .nav.open { display: flex; }
    .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
    .nav a.nav-cta { margin-top: 12px; padding: 12px 22px; }
    .nav a:last-child { border-bottom: 0; }
    .head-phone { margin-left: auto; }
    .burger { display: flex; margin-left: auto; }
    .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(16, 27, 45, .45); opacity: 0; visibility: hidden; z-index: 15; transition: opacity .25s ease, visibility .25s ease; }
    .nav-backdrop.show { opacity: 1; visibility: visible; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1, .lead { max-width: none; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .about-grid { grid-template-columns: 1fr; gap: 34px; }
    .fleet-grid .craft { flex-basis: calc((100% - 26px) / 2); }
    .train-media { grid-template-columns: 1fr; }
    .shot-tall img { aspect-ratio: 16 / 10; }
    .course-cols { grid-template-columns: 1fr; gap: 26px; }
    .ind-grid .ind-card { flex-basis: 100%; }
    .steps { grid-template-columns: 1fr 1fr; }
    .step::after { display: none; }
    .gallery .g-item { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 600px) {
    .sec { padding: 68px 0; }
    .hero { padding: 52px 0 48px; }
    .head-row { gap: 14px; }
    .head-phone { display: none; }
    .stats { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
    .fleet-grid .craft { flex-basis: 100%; }
    .gallery .g-item { flex-basis: 100%; }
    .alt-strip { flex-direction: column; align-items: flex-start; gap: 16px; }
    .c-row { flex-direction: column; gap: 6px; }
    .c-label { width: auto; }
    .foot-bottom { padding-bottom: 88px; }
    .plate { padding: 24px 18px 16px; }
}

/* ============ multi-page additions ============ */

/* page banner (internal pages) */
.page-hero {
    position: relative;
    padding: 72px 0 58px;
    background:
        radial-gradient(680px 380px at 82% 0%, rgba(86, 124, 141, .14), transparent 60%),
        repeating-linear-gradient(to right, rgba(47, 65, 86, .035) 0 1px, transparent 1px 88px),
        repeating-linear-gradient(to bottom, rgba(47, 65, 86, .035) 0 1px, transparent 1px 88px),
        var(--paper);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); max-width: 760px; }
.page-hero .lead { color: var(--slate); font-size: 18px; max-width: 620px; margin-top: 18px; }
.crumb { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-top: 22px; }
.crumb a { color: var(--teal-deep); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* trusted by */
.trusted { text-align: center; }
.trusted .sec-head { margin-bottom: 40px; }
.logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.logo-cell {
    background: var(--card);
    border: 1px solid var(--line);
    aspect-ratio: 3 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    transition: border-color .2s ease, transform .2s ease;
}
.logo-cell:hover { border-color: var(--teal); transform: translateY(-3px); }
.logo-cell img { max-height: 74px; width: auto; object-fit: contain; }
.trusted-note { font-size: 14px; color: var(--slate); margin-top: 22px; }

/* solutions detail blocks */
.craft-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 46px 0;
    border-top: 1px solid var(--line);
}
.craft-row:first-of-type { border-top: 0; }
.craft-row.flip .craft-row-media { order: 2; }
.craft-row-media { border: 1px solid var(--line); background: var(--card); padding: 26px; }
.craft-row-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.craft-row-body .eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; color: var(--teal-deep); margin-bottom: 10px; }
.craft-row-body h3 { font-size: 28px; margin-bottom: 14px; }
.craft-row-body p { color: var(--slate); margin-bottom: 16px; }
.spec-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }

/* industries detail */
.ind-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ind-block { background: var(--card); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.ind-img { aspect-ratio: 16 / 9; background: #eef3f5; overflow: hidden; }
.ind-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ind-block:hover .ind-img img { transform: scale(1.04); }
.ind-body { padding: 20px 22px 24px; }
.ind-block h3 { font-size: 19px; margin-bottom: 8px; }
.ind-block p { color: var(--slate); font-size: 14.5px; line-height: 1.6; }
.ind-cluster-label { font-family: var(--mono); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; color: var(--teal-deep); margin: 40px 0 18px; padding-top: 26px; border-top: 1px solid var(--line); }
.ind-cluster-label:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.form { background: var(--card); border: 1px solid var(--line); padding: 34px; }
.enquire-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: stretch; }
.enquire-media { border: 1px solid var(--line); overflow: hidden; min-height: 440px; }
.enquire-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.enquire-grid .form { padding: 30px; }
.enquire-grid .field { margin-bottom: 14px; }
.enquire-grid .field input, .enquire-grid .field textarea { padding: 9px 12px; }
.enquire-grid .field textarea { min-height: 92px; }
@media (max-width: 820px) { .enquire-grid { grid-template-columns: 1fr; gap: 24px; } .enquire-media { min-height: 240px; order: 2; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; color: var(--teal-deep); margin-bottom: 8px; }
.field input, .field textarea {
    width: 100%;
    font-family: var(--body);
    font-size: 16px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 13px 14px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13.5px; color: var(--slate); margin-top: 6px; }
.contact-aside .info-row { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-aside .info-row:first-child { border-top: 0; }
.contact-aside .info-label { font-family: var(--mono); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--teal-deep); margin-bottom: 6px; }
.contact-aside a { color: var(--ink); text-decoration: none; }
.contact-aside a:hover { color: var(--teal-deep); }
.map-frame { margin-top: 26px; border: 1px solid var(--line); line-height: 0; }
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(.3); }

/* ============ footer redesign ============ */
.site-foot { background: var(--brand-ink); color: #C7CEE0; position: relative; }
.foot-accent { height: 3px; background: linear-gradient(to right, var(--teal), var(--sky)); }
.foot-top {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 44px;
    padding: 64px 24px 44px;
}
.foot-panel {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-self: start;
}
.foot-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.foot-brand p { font-size: 15px; max-width: 360px; margin-bottom: 22px; color: #AAB0CB; }
.foot-social { display: flex; gap: 12px; }
.foot-social a {
    width: 40px; height: 40px;
    border: 1px solid var(--line-dark);
    display: flex; align-items: center; justify-content: center;
    color: var(--sky);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.foot-social a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.foot-social svg { width: 18px; height: 18px; }
.foot-col h4 {
    font-family: var(--mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12.5px;
    color: var(--sky);
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 22px;
}
.foot-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--teal), var(--sky));
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-col ul.foot-explore-list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 30px; }
.foot-col a { color: #C7CEE0; text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: #fff; }
.foot-contact { font-style: normal; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.foot-contact a { color: #C7CEE0; text-decoration: none; }
.foot-contact a:hover { color: #fff; }
.foot-contact span { display: block; color: #AAB0CB; }
.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line-dark);
    padding: 22px 24px 26px;
    font-size: 13.5px;
    max-width: 1180px;
    margin: 0 auto;
}
.foot-bottom a { color: var(--sky); text-decoration: none; }
.foot-bottom a:hover { color: #fff; }
.to-top { font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; }

@media (max-width: 991px) {
    .logo-grid { grid-template-columns: repeat(3, 1fr); }
    .craft-row { grid-template-columns: 1fr; gap: 26px; }
    .craft-row.flip .craft-row-media { order: 0; }
    .ind-detail { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 34px; }
    .foot-top { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 600px) {
    .ind-detail { grid-template-columns: 1fr; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .spec-cols { grid-template-columns: 1fr; }
    .foot-top { grid-template-columns: 1fr; }
    .foot-panel { grid-template-columns: 1fr; gap: 28px; }
    .foot-bottom { padding-bottom: 88px; }
    .page-hero { padding: 52px 0 44px; }
}

/* keep footer copyright clear of the floating WhatsApp button */
@media (min-width: 601px) and (max-width: 1300px) {
    .foot-bottom { padding-bottom: 82px; }
}

/* contact form feedback + honeypot (CMS) */
.form-alert { padding: 14px 16px; margin-bottom: 20px; font-size: 14.5px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.form-alert.ok { border-color: #567C8D; background: var(--sky-soft); color: var(--navy); }
.form-alert.err { border-color: #B4534F; background: #FBEEED; color: #7A2F2C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* privacy / prose + links page + footer legal (CMS) */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--disp); font-weight: 600; font-size: 24px; margin: 34px 0 12px; color: var(--navy); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--slate); margin-bottom: 16px; font-size: 16.5px; line-height: 1.75; }
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.link-list { list-style: none; }
.link-list li { border-top: 1px dashed var(--line); }
.link-list li:first-child { border-top: 0; }
.link-list a { display: block; padding: 11px 2px; color: var(--navy); text-decoration: none; font-size: 16px; }
.link-list a:hover { color: var(--teal-deep); }
.link-list .ext { font-size: 12px; color: var(--teal); }
.foot-legal a { color: var(--sky); text-decoration: none; }
.foot-legal a:hover { color: #fff; }
.foot-legal .sep { opacity: .5; margin: 0 4px; }
@media (max-width: 820px) { .links-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .links-grid { grid-template-columns: 1fr; } }

/* ============================================================
   404 error state — "signal lost" telemetry panel
   ============================================================ */
.err { border-bottom: 1px solid var(--line); }
.err-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center; min-height: 60vh; padding: 64px 0; }
.err-num { font-family: var(--disp); font-weight: 600; line-height: .82; font-size: clamp(112px, 19vw, 280px); color: var(--navy); letter-spacing: -.03em; margin: 0 0 6px -4px; }
.err-num span { color: var(--sky); }
.err-main h1 { font-family: var(--disp); font-weight: 600; font-size: clamp(25px, 3.2vw, 38px); color: var(--navy); margin: 0 0 14px; max-width: 15ch; line-height: 1.08; }
.err-sub { color: var(--slate); font-size: 17.5px; line-height: 1.6; max-width: 44ch; margin: 0 0 28px; }
.err-tele { border-top: 1px solid var(--line); max-width: 470px; }
.err-tele .row { display: flex; gap: 18px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.err-tele b { color: var(--teal-deep); min-width: 152px; font-weight: 600; }
.err-tele span { color: var(--slate); }
.err-nav { background: var(--card); border: 1px solid var(--line); padding: 28px 30px 32px; }
.err-nav .lbl { font-family: var(--mono); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--teal-deep); margin: 0 0 6px; }
.err-nav a { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; border-top: 1px solid var(--line); color: var(--navy); text-decoration: none; font-family: var(--disp); font-weight: 600; font-size: 19px; transition: color .2s ease, padding .2s ease; }
.err-nav a .arw { font-family: var(--mono); color: var(--teal); font-size: 17px; transition: transform .2s ease; }
.err-nav a:hover { color: var(--teal-deep); padding-left: 10px; }
.err-nav a:hover .arw { transform: translateX(5px); }
.err-nav a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ============================================================
   Links directory — grouped cards
   ============================================================ */
.dir-group { margin-top: 48px; }
.dir-group:first-child { margin-top: 0; }
.dir-head { display: flex; align-items: center; gap: 18px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .2em; font-size: 13px; color: var(--teal-deep); margin: 0 0 22px; }
.dir-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dir-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.dir-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 122px; border: 1px solid var(--line); background: var(--card); padding: 22px 24px; text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.dir-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(47, 65, 86, .09); }
.dir-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.dir-card .arw { position: absolute; top: 18px; right: 22px; font-family: var(--mono); font-size: 16px; color: var(--teal); transition: transform .2s ease; }
.dir-card:hover .arw { transform: translate(3px, -3px); }
.dir-name { font-family: var(--disp); font-weight: 600; font-size: 21px; color: var(--navy); line-height: 1.15; }
.dir-meta { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--slate); margin-top: 10px; }

/* ============================================================
   Legal page — prose + sticky contents rail
   ============================================================ */
.legal-grid { display: grid; grid-template-columns: 1fr 250px; gap: 56px; align-items: start; }
.legal-body { max-width: none; }
.legal-body h2 { font-family: var(--disp); font-weight: 600; font-size: 25px; margin: 40px 0 14px; color: var(--navy); scroll-margin-top: 100px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--slate); margin-bottom: 16px; font-size: 16.5px; line-height: 1.78; }
.legal-aside { position: sticky; top: 100px; }
.legal-aside .lbl { font-family: var(--mono); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--teal-deep); margin: 0 0 14px; }
.legal-toc { list-style: none; margin: 0 0 32px; }
.legal-toc li { border-top: 1px dashed var(--line); }
.legal-toc li:first-child { border-top: 0; }
.legal-toc a { display: block; padding: 10px 0; color: var(--navy); text-decoration: none; font-size: 15px; line-height: 1.4; transition: color .2s ease; }
.legal-toc a:hover { color: var(--teal-deep); }
.legal-toc a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.legal-card { border: 1px solid var(--line); background: var(--card); padding: 22px; }
.legal-card p { font-size: 14.5px; color: var(--slate); margin: 0 0 10px; line-height: 1.6; }
.legal-card a { color: var(--teal-deep); text-decoration: none; font-family: var(--mono); font-size: 13.5px; letter-spacing: .04em; word-break: break-word; }
.legal-card a:hover { text-decoration: underline; }

/* ---- responsive: 404 / legal ---- */
@media (max-width: 860px) {
    .err-grid { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding: 46px 0 58px; }
    .err-tele { max-width: none; }
    .legal-grid { grid-template-columns: 1fr; gap: 40px; }
    .legal-aside { position: static; }
}

/* ============================================================
   Three capabilities (What we build)
   ============================================================ */
.capabilities { position: relative; padding: 92px 0 84px; background: var(--paper); }
.cap-bg { position: absolute; top: 0; left: 0; right: 0; height: 56%; background-size: cover; background-position: center; }
.capabilities > .container { position: relative; }
.capabilities .sec-head { text-align: center; margin-bottom: 46px; }
.capabilities .kicker { color: var(--sky); }
.capabilities h2 { color: #fff; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cap-card { background: #fff; border: 1px solid var(--line); padding: 40px 34px 36px; box-shadow: 0 26px 54px rgba(24, 14, 84, .16); display: flex; flex-direction: column; }
.cap-icon { color: var(--teal); display: inline-flex; }
.cap-icon svg { width: 52px; height: 52px; }
.cap-card h3 { font-family: var(--disp); font-weight: 600; font-size: 23px; color: var(--navy); margin: 24px 0 14px; }
.cap-card p { color: var(--slate); font-size: 15px; line-height: 1.72; margin-bottom: 24px; }
.cap-more { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 600; color: var(--teal-deep); text-decoration: none; }
.cap-more i { width: 26px; height: 1px; background: currentColor; display: inline-block; transition: width .2s ease; }
.cap-more:hover i { width: 42px; }
@media (max-width: 900px) {
    .cap-bg { height: 100%; }
    .cap-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Solutions segments
   ============================================================ */
.seg-head { max-width: 760px; margin-bottom: 38px; }
.seg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.seg-card { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--teal); padding: 28px 30px 30px; }
.seg-card h3 { font-family: var(--disp); font-weight: 600; font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.seg-card p { color: var(--slate); font-size: 15px; line-height: 1.65; }
.seg-card .cap-more { margin-top: 16px; }
.sec-tint { background: #efe8e0; }
@media (max-width: 760px) { .seg-grid { grid-template-columns: 1fr; } }

/* reCAPTCHA v3 */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note { display: block; margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--slate); }
.recaptcha-note a { color: var(--teal); }
