/* ============================================================
   Timewize Systems PLC — public website design system
   Modern, professional one-page site
   ============================================================ */

:root {
    --tw-navy: #0b1f3a;
    --tw-navy-2: #12305a;
    --tw-navy-deep: #071530;
    --tw-orange: #ff6e2b;          /* brand warm accent (logo only) */
    --tw-accent: #ff6e2b;        /* primary brand accent */
    --tw-accent-2: #ff8e53;
    --tw-accent-deep: #d9541a;
    --tw-accent-soft: rgba(255, 110, 43, .12);
    --tw-accent-shadow: rgba(255, 110, 43, .30);
    --tw-orange-2: #ff8e53;
    --tw-green: #009961;
    --tw-green-2: #28c08a;

    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #5b6b80;
    --line: rgba(15, 23, 42, .09);
    --line-2: rgba(15, 23, 42, .16);

    --bg: #ffffff;
    --bg-soft: #f5f7fa;
    --bg-deep: #071530;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 20px rgba(15, 23, 42, .05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, .06), 0 18px 44px rgba(15, 23, 42, .09);
    --shadow-lg: 0 10px 24px rgba(15, 23, 42, .08), 0 30px 70px rgba(15, 23, 42, .14);

    --grad-accent: linear-gradient(135deg, var(--tw-accent) 0%, var(--tw-accent-2) 100%);
    --grad-navy: linear-gradient(135deg, var(--tw-navy) 0%, var(--tw-navy-2) 100%);
    --grad-tech: linear-gradient(135deg, #00bf76 0%, #2fd39a 100%);
    --grad-green: linear-gradient(135deg, var(--tw-green) 0%, var(--tw-green-2) 100%);

    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-head: "Outfit", var(--font-body);

    --header-h: 84px;
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--tw-navy);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 .6em;
}

p { margin: 0 0 1rem; }

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

img { max-width: 100%; }

::selection { background: var(--tw-accent); color: #fff; }

:focus-visible {
    outline: 3px solid rgba(255, 110, 43, .55);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container { width: 100%; max-width: 1240px; padding-inline: 24px; margin-inline: auto; }

.section { padding: 108px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 76px 0; }

.section-head { max-width: 760px; margin: 0 0 58px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tw-accent);
    background: rgba(255, 110, 43, .10);
    border: 1px solid rgba(255, 110, 43, .18);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tw-accent);
}

.eyebrow--green { color: var(--tw-green); background: rgba(0, 153, 97, .10); border-color: rgba(0, 153, 97, .18); }
.eyebrow--green::before { background: var(--tw-green); }

.section-title h2 {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.06rem;
    color: var(--muted);
    margin: 0;
    max-width: 62ch;
}

.section-head--center p { margin-inline: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 26px;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

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

.btn-accent {
    color: #fff;
    background: var(--grad-accent);
    box-shadow: 0 12px 26px rgba(255, 110, 43, .32);
}

.btn-accent:hover { color: #fff; box-shadow: 0 18px 34px rgba(255, 110, 43, .40); }

.btn-navy {
    color: #fff;
    background: var(--grad-navy);
    box-shadow: 0 12px 26px rgba(11, 31, 58, .28);
}

.btn-navy:hover { color: #fff; box-shadow: 0 18px 34px rgba(11, 31, 58, .34); }

.btn-ghost {
    color: var(--tw-navy);
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--line-2);
}

.btn-ghost:hover { color: var(--tw-navy); box-shadow: inset 0 0 0 1.5px var(--tw-navy); }

.btn-light {
    color: var(--tw-navy);
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.btn-light:hover { color: var(--tw-navy); }

.btn-outline-light {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .34);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, .16); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: .93rem;
    color: var(--tw-accent);
    transition: gap .25s ease, color .25s ease;
}

.link-arrow i { transition: transform .25s ease; }

.link-arrow:hover { color: var(--tw-navy); gap: 12px; }

.link-arrow:hover i { transform: translateX(3px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 21, 48, .42) 0%, rgba(7, 21, 48, .16) 52%, transparent 100%);
    opacity: 1;
    transition: opacity .35s ease;
    pointer-events: none;
}

body.scrolled .site-header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(15, 23, 42, .06);
}

body.scrolled .site-header::before { opacity: 0; }

.site-header__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 22px;
    width: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
    transition: transform .3s ease;
}

.brand:hover { transform: translateY(-2px); }

.brand img { max-height: 30px; width: auto; }

.site-nav { margin-left: auto; }

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .88);
    transition: color .25s ease, background .25s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--tw-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.site-nav a:hover { color: #fff; }

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

body.scrolled .site-nav a { color: var(--ink-2); }
body.scrolled .site-nav a:hover,
body.scrolled .site-nav a.active { color: var(--tw-navy); }

.site-nav__social {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 10px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, .18);
}

body.scrolled .site-nav__social { border-left-color: var(--line); }

.site-nav__social a {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 10px;
    font-size: .95rem;
    color: rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .07);
}

.site-nav__social a::after { display: none; }

.site-nav__social a:hover { background: var(--tw-accent); color: #fff; }

body.scrolled .site-nav__social a { color: var(--muted); background: var(--bg-soft); }
body.scrolled .site-nav__social a:hover { color: #fff; background: var(--tw-accent); }

.header-cta { margin-left: 8px; padding: 13px 24px; }

/* mobile toggle */
.mobile-nav-toggle {
    margin-left: auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 13px;
    font-size: 1.5rem;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
    cursor: pointer;
}

body.scrolled .mobile-nav-toggle { color: var(--tw-navy); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); }

body.mobile-nav-active .mobile-nav-toggle { color: #fff; background: var(--tw-navy); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: stretch;
    padding: 0;
    background: var(--bg-deep);
    overflow: hidden;
}

.hero .swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .swiper-slide {
    display: flex;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

/* the legacy template absolutely positions every .hero img — reset it here */
.hero img { position: static; inset: auto; }

.hero .swiper-slide > .container {
    position: relative;
    z-index: 4;
    width: 100%;
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 150px;
}

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

.hero-bg-glow {
    position: absolute;
    inset: 0;
    /* the field starts as the primary orange on the left and flows
       through amber into the technology green on the right */
    background:
        radial-gradient(520px 560px at -10% 48%, rgba(255, 118, 48, .98) 0%, rgba(255, 110, 43, .70) 32%, rgba(214, 78, 22, .30) 54%, transparent 70%),
        radial-gradient(640px 560px at 4% 38%, rgba(255, 146, 70, .60) 0%, rgba(255, 146, 70, .20) 42%, transparent 66%),
        radial-gradient(820px 640px at 17% 54%, rgba(150, 195, 80, .38) 0%, transparent 60%),
        radial-gradient(1250px 900px at 30% 48%, rgba(0, 191, 118, .82) 0%, rgba(0, 169, 97, .56) 32%, rgba(0, 118, 78, .32) 54%, transparent 74%),
        radial-gradient(860px 680px at 8% 88%, rgba(0, 194, 168, .52) 0%, transparent 62%),
        radial-gradient(760px 560px at 36% 2%, rgba(120, 245, 205, .40) 0%, transparent 66%),
        radial-gradient(700px 540px at 88% 22%, rgba(0, 169, 97, .26) 0%, transparent 62%),
        radial-gradient(760px 580px at 24% 96%, rgba(0, 196, 180, .26) 0%, transparent 62%),
        linear-gradient(90deg, rgba(132, 48, 10, .60) 0%, rgba(74, 84, 26, .40) 18%, rgba(0, 58, 40, .34) 40%, rgba(0, 58, 40, .10) 58%, transparent 70%);
    animation: hero-aurora 24s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

/* slow, organic drift of the colour field */
@keyframes hero-aurora {
    0%   { transform: translate3d(-1.5%, 1%, 0) scale(1.02); }
    50%  { transform: translate3d(1.5%, -1.5%, 0) scale(1.06); }
    100% { transform: translate3d(0%, 1.5%, 0) scale(1.03); }
}

/* keeps the headline legible on top of the orange field */
.hero-bg-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(620px 500px at 30% 50%, rgba(7, 21, 48, .80) 0%, rgba(7, 21, 48, .42) 55%, transparent 82%),
        linear-gradient(100deg, rgba(7, 21, 48, .16) 0%, rgba(7, 21, 48, .40) 30%, rgba(7, 21, 48, .28) 60%, rgba(7, 21, 48, .12) 100%);
}

/* a slow sheen sweeping across the orange side */
.hero-bg-wrapper::before {
    content: "";
    position: absolute;
    top: -30%;
    bottom: -30%;
    left: -40%;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .07) 42%, rgba(255, 190, 130, .12) 52%, rgba(150, 255, 214, .10) 60%, transparent);
    transform: rotate(12deg);
    animation: hero-sheen 14s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hero-sheen {
    0%, 62% { left: -45%; opacity: 0; }
    68% { opacity: 1; }
    100% { left: 120%; opacity: 0; }
}

/* framed slide artwork */
.hero-visual { position: relative; }

.hero-visual__frame {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
    aspect-ratio: 4 / 3;
}

.hero .hero-visual__img {
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* neutralise the legacy template overlay */
.hero::before { display: none; }

.hero-visual__glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 21, 48, 0) 55%, rgba(7, 21, 48, .55) 100%);
    pointer-events: none;
}

.hero-tech-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 3; }

.tech-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 78% 30%, #000 0%, transparent 68%);
    -webkit-mask-image: radial-gradient(circle at 78% 30%, #000 0%, transparent 68%);
}

.hero-spotlight {
    position: absolute;
    width: 620px;
    height: 620px;
    right: -160px;
    top: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 110, 43, .30), transparent 62%);
    filter: blur(12px);
}

/* warm vertical edge light down the left of the hero */
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--tw-accent) 20%, var(--tw-accent-2) 42%, var(--tw-green) 68%, transparent);
    opacity: .85;
    z-index: 7;
    pointer-events: none;
}

.neural-node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffb07a;
    box-shadow: 0 0 0 5px rgba(255, 140, 80, .18);
    opacity: .8;
    animation: tw-float 9s ease-in-out infinite;
}

.node-a { top: 22%; right: 30%; }
.node-b { top: 58%; right: 18%; animation-delay: -2s; background: #ffb07a; box-shadow: 0 0 0 5px rgba(255, 140, 80, .16); }
.node-c { top: 34%; right: 44%; animation-delay: -4s; background: #63e6b6; box-shadow: 0 0 0 5px rgba(255, 176, 108, .16); }
.node-d { top: 72%; right: 38%; animation-delay: -6s; }
.node-e { top: 16%; right: 12%; animation-delay: -1s; }
.node-f { top: 46%; right: 52%; animation-delay: -3s; }
.node-g { top: 80%; right: 24%; animation-delay: -5s; }
.node-h { top: 26%; left: 8%; animation-delay: -2.5s; width: 12px; height: 12px; }
.node-i { top: 68%; left: 16%; animation-delay: -6.5s; width: 8px; height: 8px; }

@keyframes tw-float {
    0%, 100% { transform: translateY(0); opacity: .55; }
    50% { transform: translateY(-18px); opacity: 1; }
}

.hero-content { position: relative; z-index: 4; max-width: 660px; }

/* scroll-linked parallax */
.hero .hero-content {
    transform: translate3d(0, calc(var(--hero-scroll, 0) * 32px), 0);
    will-change: transform;
}

.hero .hero-visual {
    transform: translate3d(0, calc(var(--hero-scroll, 0) * 56px), 0);
    will-change: transform;
}

.hero .hero-controls-wrapper {
    transform: translate3d(0, calc(var(--hero-scroll, 0) * 18px), 0);
    opacity: calc(1 - var(--hero-scroll, 0) * 1.2);
}

.app-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: #dbe6f5;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(8px);
    margin-bottom: 26px;
}

.pulse-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tw-green-2);
    box-shadow: 0 0 0 4px rgba(40, 192, 138, .22);
    animation: tw-pulse 2.4s infinite;
}

@keyframes tw-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(40, 192, 138, .22); }
    50% { box-shadow: 0 0 0 8px rgba(40, 192, 138, .04); }
}

.hero h1 {
    font-size: clamp(2.3rem, 4.6vw, 3.9rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 22px;
    text-wrap: balance;
}

.hero .lead {
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.75;
    color: #c3d2e6;
    max-width: 56ch;
    margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-actions .btn { padding: 16px 30px; }

/* glass stat card */
.floating-card-wrapper { position: relative; }

.glass-card {
    position: relative;
    z-index: 3;
    margin-top: -58px;
    margin-left: -40px;
    width: max-content;
    max-width: 92%;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(18px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .34);
}

.glass-card .card-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 1.35rem;
    color: #fff;
    background: var(--grad-accent);
    box-shadow: 0 14px 28px rgba(255, 110, 43, .34);
    margin-bottom: 16px;
}

.card-stats { display: flex; gap: 30px; }

.stat-item .stat-val {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.stat-item .stat-lab {
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9fb3cd;
}

.blob { position: absolute; border-radius: 50%; filter: blur(28px); opacity: .5; }
.blob-1 { width: 200px; height: 200px; top: -40px; right: -30px; background: rgba(255, 110, 43, .40); }
.blob-2 { width: 160px; height: 160px; bottom: -50px; left: -40px; background: rgba(0, 153, 97, .38); }

/* hero bottom bar */
.hero-controls-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    z-index: 6;
}

.hero-controls-wrapper .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.slider-counter { position: relative; }

.slider-counter-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    color: #fff;
    cursor: pointer;
}

.slider-counter-current {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.slider-counter-divider { width: 26px; height: 1px; background: rgba(255, 255, 255, .4); }

.slider-counter-total { font-size: .9rem; color: #a9bbd4; }

.slider-progress-track {
    display: block;
    width: 70px;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .22);
    overflow: hidden;
}

.slider-progress-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: var(--tw-accent);
    transition: width .4s ease;
}

.slider-counter-btn > i { font-size: .9rem; opacity: .8; transition: transform .3s ease; }
.slider-counter-btn[aria-expanded="true"] > i { transform: rotate(180deg); }

.slide-jump-list {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    width: min(340px, 78vw);
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(9, 21, 40, .92);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
}

.slide-jump-list.open { opacity: 1; visibility: visible; transform: none; }

.slide-jump-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #c8d6e9;
    text-align: left;
    font-size: .88rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.slide-jump-item:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.slide-jump-item .idx { font-family: var(--font-head); font-weight: 700; color: var(--tw-accent); }
.slide-jump-item .title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.slider-controls { display: flex; align-items: center; gap: 10px; }

.custom-nav {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease, border-color .25s ease;
}

.custom-nav:hover { background: var(--tw-accent); border-color: transparent; transform: translateY(-2px); }

.hero .swiper-pagination {
    position: static;
    width: auto;
    display: flex;
    gap: 8px;
    padding-inline: 0;
    margin: 0 auto;
}

.hero .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, .35);
    opacity: 1;
    transition: width .3s ease, background .3s ease;
}

.hero .swiper-pagination-bullet-active { width: 30px; border-radius: 999px; background: var(--tw-accent); }

.swipe-hint {
    position: absolute;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

/* ============================================================
   Hero — advanced slide system
   ============================================================ */

/* per-slide accent theming */
.hero .swiper-slide { --slide-accent: #ff6e2b; --slide-accent-2: #ff8e53; }
.hero .swiper-slide[data-accent="emerald"] { --slide-accent: #00bf76; --slide-accent-2: #2fd39a; }
.hero .swiper-slide[data-accent="teal"] { --slide-accent: #00c2a8; --slide-accent-2: #3fe0d0; }
.hero .swiper-slide[data-accent="azure"] { --slide-accent: #2f7bff; --slide-accent-2: #63a4ff; }

.hero .app-tagline { border-color: color-mix(in srgb, var(--slide-accent) 40%, transparent); }

.pulse-icon {
    background: var(--slide-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--slide-accent) 24%, transparent);
}

.glass-card .card-icon {
    background: linear-gradient(135deg, var(--slide-accent), var(--slide-accent-2));
    box-shadow: 0 14px 28px color-mix(in srgb, var(--slide-accent) 38%, transparent);
}

.slider-progress-fill { background: var(--slide-accent); }

.hero .swiper-pagination-bullet-active { background: var(--slide-accent); }

/* Ken Burns on the active artwork */
.hero .swiper-slide-active .hero-visual__img {
    animation: kenburns 11s ease-out forwards;
}

@keyframes kenburns {
    from { transform: scale(1.01) translate3d(0, 0, 0); }
    to { transform: scale(1.12) translate3d(0, -1.2%, 0); }
}

/* staggered content reveal */
.hero-js .hero-content .app-tagline,
.hero-js .hero-content .hero-title,
.hero-js .hero-content .lead,
.hero-js .hero-content .hero-actions {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}

.hero-js .hero-content .is-in {
    opacity: 1;
    transform: none;
}

/* per-word headline reveal */
.hero-title .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.hero-title .word > span {
    display: inline-block;
    transform: translateY(105%);
    transition: transform .85s cubic-bezier(.22, 1, .36, 1);
}

.hero-title.is-in .word > span { transform: none; }

/* circular autoplay progress ring */
.custom-nav.slider-toggle { position: relative; }

.toggle-ring {
    position: absolute;
    inset: -3px;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    transform: rotate(-90deg);
    pointer-events: none;
}

.toggle-ring circle {
    fill: none;
    stroke-width: 2;
}

.toggle-ring__track { stroke: rgba(255, 255, 255, .16); }

.toggle-ring__fill {
    stroke: var(--slide-accent, #ff6e2b);
    stroke-linecap: round;
    stroke-dasharray: 138.2;
    stroke-dashoffset: 138.2;
    transition: stroke-dashoffset .2s linear;
}

/* filmstrip navigator */
.hero-filmstrip {
    position: absolute;
    left: max(24px, calc((100vw - 1240px) / 2 + 24px));
    bottom: 112px;
    z-index: 6;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    width: auto;
    max-width: min(600px, calc(100vw - 48px));
}

.filmstrip-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    flex: 0 1 190px;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(10px);
    color: #cfdaea;
    text-align: left;
    cursor: pointer;
    opacity: .55;
    transition: opacity .3s ease, background .3s ease, border-color .3s ease, transform .3s ease;
}

.filmstrip-item:hover { opacity: .85; transform: translateY(-3px); }

.filmstrip-item.is-active {
    opacity: 1;
    background: rgba(255, 255, 255, .10);
    border-color: color-mix(in srgb, var(--slide-accent, #ff6e2b) 45%, transparent);
    transform: translateY(-3px);
}

.filmstrip-thumb {
    width: 52px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
}

.filmstrip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.filmstrip-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.filmstrip-index {
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--slide-accent, #ff6e2b);
}

.filmstrip-title {
    font-size: .78rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filmstrip-bar {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .12);
    overflow: hidden;
    opacity: 0;
    transition: opacity .3s ease;
}

.filmstrip-item.is-active .filmstrip-bar { opacity: 1; }

.filmstrip-bar-fill {
    display: block;
    height: 100%;
    width: 0;
    background: var(--slide-accent, #ff6e2b);
    border-radius: 2px;
}

/* scroll hint */
.hero-scroll-hint {
    position: absolute;
    left: 16px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    transition: opacity .4s ease, transform .4s ease;
}

.hero-scroll-hint:hover { color: #fff; }

.hero-scroll-hint.is-hidden { opacity: 0; transform: translateY(-50%) translateX(-12px); pointer-events: none; }

.hero-scroll-hint__text {
    writing-mode: vertical-rl;
    letter-spacing: .28em;
}

.hero-scroll-hint__line {
    width: 1px;
    height: 52px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .5), transparent);
    position: relative;
    overflow: hidden;
}

.hero-scroll-hint__line::after {
    content: "";
    position: absolute;
    top: -46px;
    left: 0;
    width: 1px;
    height: 46px;
    background: linear-gradient(180deg, transparent, var(--slide-accent, #ff6e2b));
    animation: scroll-cue 2.2s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes scroll-cue {
    0% { transform: translateY(0); }
    60%, 100% { transform: translateY(92px); }
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   Cards & content blocks
   ============================================================ */
.tw-card {
    position: relative;
    height: 100%;
    padding: 32px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.tw-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(11, 31, 58, .14); }

.tw-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.tw-card p { color: var(--muted); margin: 0; font-size: .96rem; }

.icon-chip {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 1.35rem;
    color: #fff;
    background: var(--grad-tech);
    box-shadow: 0 12px 24px rgba(0, 191, 118, .26);
    margin-bottom: 22px;
    transition: transform .3s ease, background .3s ease;
}

.tw-card:hover .icon-chip { transform: translateY(-3px) scale(1.04); background: var(--grad-accent); box-shadow: 0 14px 26px rgba(255, 110, 43, .30); }

.card-index {
    position: absolute;
    top: 22px;
    right: 26px;
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 700;
    color: rgba(11, 31, 58, .06);
    line-height: 1;
    transition: color .3s ease;
}

.tw-card:hover .card-index { color: rgba(255, 110, 43, .14); }

/* about */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.pillar {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 32px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.pillar__icon {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 15px;
    font-size: 1.25rem;
    color: #fff;
    background: var(--grad-green);
    box-shadow: 0 12px 24px rgba(0, 153, 97, .26);
}

.pillar--navy .pillar__icon { background: var(--grad-tech); box-shadow: 0 12px 24px rgba(0, 191, 118, .26); }

.pillar h3 { font-size: 1.12rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); margin: 0; font-size: .95rem; }

.values-card { grid-column: 1 / -1; }

.values-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 28px;
}

.values-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: .95rem;
    color: var(--ink-2);
}

.about .values-list li i,
.values-list li i {
    color: #00a862;
    font-size: 1.1rem;
    margin-top: 2px;
    padding-right: 0;
}

/* stats */
.stats-wrap {
    padding: 60px 0;
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.stats-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 340px at 12% 0%, rgba(255, 110, 43, .20), transparent 60%),
        radial-gradient(700px 340px at 88% 100%, rgba(0, 153, 97, .22), transparent 60%);
}

.stats-wrap .container { position: relative; z-index: 2; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.stat-tile {
    text-align: center;
    padding: 34px 20px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    transition: transform .3s ease, background .3s ease;
}

.stat-tile:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .10); }

.stat-tile .purecounter,
.stat-tile .stat-number {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 10px;
}

.stat-tile p {
    margin: 0;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a9bbd4;
}

.stats-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }

.stats-head h3 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }

.stats-head p { color: #a9bbd4; margin: 0; }

/* logo + people cards */
.logo-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

.logo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.logo-card__media {
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 20px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.logo-card__media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .62;
    transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}

.logo-card:hover .logo-card__media img { filter: grayscale(0); opacity: 1; transform: scale(1.05); }

.logo-card h3 { font-size: 1.05rem; margin-bottom: 8px; }

.logo-card p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }

.person-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 26px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

.person-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.person-card__photo {
    width: 112px;
    height: 112px;
    padding: 4px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--grad-accent);
    box-shadow: 0 14px 30px rgba(255, 110, 43, .28);
}

.person-card__photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #fff;
}

.person-card h3 { font-size: 1.08rem; margin-bottom: 4px; }

.person-card__role {
    display: block;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tw-green);
    margin-bottom: 12px;
}

.person-card p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }

.social-links { display: flex; align-items: center; gap: 10px; margin-top: auto; }

.social-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--muted);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.social-icon:hover { background: #00a862; color: #fff; transform: translateY(-3px); }

/* team directory */
.team-rail {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    width: max-content;
    max-width: 100%;
    margin: -18px auto 44px;
    padding: 11px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

.team-rail__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--muted);
}

.team-rail__item i { color: var(--tw-green); font-size: .95rem; }
.team-rail__item strong { color: var(--tw-navy); font-size: .95rem; }
.team-rail__divider { width: 1px; height: 18px; background: var(--line); }

.team-card {
    --team-tone: var(--tw-accent);
    --team-tone-soft: rgba(255, 110, 43, .14);
    display: grid;
    grid-template-columns: minmax(180px, 42%) minmax(0, 1fr);
    height: 100%;
    min-height: 310px;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.team-card--green { --team-tone: var(--tw-green); --team-tone-soft: rgba(0, 153, 97, .14); }
.team-card--blue { --team-tone: #2f7bff; --team-tone-soft: rgba(47, 123, 255, .14); }
.team-card--teal { --team-tone: #00a99d; --team-tone-soft: rgba(0, 169, 157, .14); }

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 23, 42, .15);
    box-shadow: var(--shadow-lg);
}

.team-card__media {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: var(--bg-deep);
    border-right: 1px solid rgba(15, 23, 42, .06);
}

.team-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 34%;
    transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

.team-card:hover .team-card__media img { transform: scale(1.055); }

.team-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(5, 16, 30, .10) 0%, rgba(5, 16, 30, .02) 42%, rgba(5, 16, 30, .74) 100%),
        linear-gradient(135deg, var(--team-tone-soft), transparent 48%);
    pointer-events: none;
}

.team-card__index,
.team-card__icon,
.team-card__role { position: absolute; z-index: 2; }

.team-card__index {
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(6, 20, 36, .55);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.team-card__index::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--team-tone);
    box-shadow: 0 0 0 3px var(--team-tone-soft);
}

.team-card__icon {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.05rem;
    color: #fff;
    background: rgba(6, 20, 36, .50);
    border: 1px solid rgba(255, 255, 255, .20);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.team-card:hover .team-card__icon {
    background: var(--team-tone);
    border-color: transparent;
    transform: translateY(-2px);
}

.team-card__role {
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.team-card__role-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--team-tone);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .14);
}

.team-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px 28px 24px;
    background: #fff;
}

.team-card__body::before {
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--team-tone);
    transition: width .3s ease;
}

.team-card:hover .team-card__body::before { width: 54px; }

.team-card__body h3 {
    font-size: 1.12rem;
    line-height: 1.32;
    margin: 0 0 10px;
}

.team-card__body p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.62;
}

.team-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
}

.team-card__tags li {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
    line-height: 1;
    color: #42556d;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.team-card__tags li::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--team-tone);
    vertical-align: 1px;
    opacity: .85;
}

.team-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

.team-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--team-tone);
}

.team-card__link i { font-size: .9rem; transition: transform .25s ease; }
.team-card__link:hover i { transform: translate(2px, -2px); }

.team-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

.team-card__meta i { color: var(--team-tone); font-size: .8rem; }

@media (max-width: 575.98px) {
    .team-rail {
        margin-top: -6px;
        margin-bottom: 32px;
        padding: 13px 18px;
        border-radius: 22px;
    }

    .team-rail__divider { display: none; }

    .team-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .team-card__media {
        min-height: 0;
        aspect-ratio: 16 / 10;
        border-right: 0;
        border-bottom: 1px solid rgba(15, 23, 42, .06);
    }

    .team-card__body { padding: 22px 22px 20px; }
    .team-card__role { font-size: .64rem; }
}

/* service + app cards */
.service-card .icon,
.app-card .icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    font-size: 1.4rem;
    color: #fff;
    background: var(--grad-tech);
    box-shadow: 0 12px 24px rgba(0, 191, 118, .26);
    margin-bottom: 22px;
    transition: transform .3s ease, background .3s ease;
}

.service-card:hover .icon,
.app-card:hover .icon { transform: translateY(-3px); background: var(--grad-accent); box-shadow: 0 14px 26px rgba(255, 110, 43, .30); }

.service-card h3,
.app-card h3 { font-size: 1.14rem; margin-bottom: 10px; }

.service-card p,
.app-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }

.contact-card {
    padding: 32px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-list { display: grid; gap: 18px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }

.contact-item__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.15rem;
    color: #fff;
    background: var(--grad-tech);
    box-shadow: 0 10px 20px rgba(0, 191, 118, .24);
}

.contact-item h3 { font-size: .95rem; margin-bottom: 2px; }
.contact-item p { color: var(--muted); margin: 0; font-size: .93rem; word-break: break-word; }

.contact-note {
    margin-top: 26px;
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    background: rgba(0, 153, 97, .08);
    border: 1px solid rgba(0, 153, 97, .16);
    font-size: .9rem;
    color: #0a6b46;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.form-card {
    padding: 36px 34px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .93rem; margin-bottom: 26px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

.form-control {
    width: 100%;
    padding: 15px 18px;
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--ink);
    background: var(--bg-soft);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    outline: none;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.form-control::placeholder { color: #97a5b7; }

.form-control:focus {
    background: #fff;
    border-color: var(--tw-navy);
    box-shadow: 0 0 0 4px rgba(11, 31, 58, .08);
}

textarea.form-control { min-height: 148px; resize: vertical; }

.form-card button[type="submit"] {
    width: 100%;
    padding: 16px 28px;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: .98rem;
    font-weight: 600;
    color: #fff;
    background: var(--grad-accent);
    box-shadow: 0 14px 28px rgba(255, 110, 43, .30);
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.form-card button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(255, 110, 43, .38); }

#form-response { font-size: .9rem; margin-bottom: 12px; }
#form-response .alert { border-radius: var(--radius-sm); padding: 12px 16px; border: 0; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    position: relative;
    padding: 78px 0 0;
    background: var(--bg-deep);
    color: #9fb3cd;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 320px at 10% 0%, rgba(255, 110, 43, .18), transparent 62%),
        radial-gradient(700px 320px at 90% 100%, rgba(0, 153, 97, .18), transparent 62%);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 54px;
}

.footer-brand .brand { background: rgba(255, 255, 255, .95); margin-bottom: 20px; }

.footer-brand p { color: #9fb3cd; font-size: .94rem; margin-bottom: 22px; max-width: 34ch; }

.footer-title {
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }

.footer-links a {
    color: #9fb3cd;
    font-size: .93rem;
    transition: color .25s ease, padding-left .25s ease;
}

.footer-links a:hover { color: #fff; padding-left: 6px; }

.footer-contact { display: grid; gap: 14px; font-size: .93rem; }

.footer-contact div { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact i { color: var(--tw-accent); margin-top: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .10);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .87rem;
    color: #8aa0bd;
}

.footer-bottom strong { color: #fff; font-weight: 600; }

.footer-bottom a { color: #8aa0bd; }
.footer-bottom a:hover { color: var(--tw-accent); }

/* ============================================================
   Scroll top + preloader
   ============================================================ */
.scroll-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 1040;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--grad-accent);
    box-shadow: 0 12px 26px rgba(255, 110, 43, .34);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}

.scroll-top.active { opacity: 1; visibility: visible; transform: none; }

.scroll-top:hover { transform: translateY(-3px); }

/* the branded preloader above replaces the legacy spinner entirely */

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1399px) {
    .hero-scroll-hint { display: none; }
}

@media (max-width: 1199px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 1199px) {
    .hero-filmstrip { display: none !important; }
}

@media (max-width: 991px) {
    :root { --header-h: 72px; }

    .section:not(.hero) { padding: 78px 0; }
    .section-head { margin-bottom: 42px; }

    .header-cta { display: none; }

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        margin: 0;
        padding: 18px 24px 28px;
        background: rgba(7, 21, 48, .97);
        backdrop-filter: blur(18px);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform .35s ease, opacity .35s ease, visibility .35s ease;
        max-height: calc(100svh - var(--header-h));
        overflow-y: auto;
    }

    body.mobile-nav-active .site-nav { transform: none; opacity: 1; visibility: visible; }

    body.mobile-nav-active { overflow: hidden; }

    .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }

    .site-nav a { width: 100%; padding: 14px 16px; font-size: 1rem; border-radius: 12px; }

    .site-nav a::after { display: none; }

    .site-nav a:hover,
    .site-nav a.active { background: rgba(255, 255, 255, .08); color: #fff; }

    .site-nav__social { margin: 14px 0 0; padding: 16px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }

    body.scrolled .site-nav a { color: rgba(255, 255, 255, .88); }
    body.scrolled .site-nav a:hover,
    body.scrolled .site-nav a.active { color: #fff; }

    .hero { min-height: auto; }
    .hero .swiper { position: relative; }
    .hero .swiper-slide { height: auto; }
    .hero .swiper-slide > .container { padding-top: calc(var(--header-h) + 56px); padding-bottom: 120px; }

    .hero-controls-wrapper { bottom: 28px; }
    .hero .swiper-pagination { display: none; }
    .slider-counter-total, .slider-progress-track { display: none; }
    .custom-nav { width: 44px; height: 44px; }

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

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

    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
}

@media (max-width: 767px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .stat-tile { padding: 24px 12px; }

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

    .form-card { padding: 28px 22px; }

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

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .container { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ============================================================
   Form feedback
   ============================================================ */
.form-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 500;
    text-align: left;
}

.form-note--busy { color: #8a5a00; background: #fff6e5; border: 1px solid #f7dfae; }
.form-note--ok { color: #0a6b46; background: #e7f7f0; border: 1px solid #b9e6d2; }
.form-note--err { color: #a11a1a; background: #fdeceb; border: 1px solid #f6cfcb; }

.form-note i { font-size: 1.05rem; }

/* contact links (mailto / tel) */
.contact-item p a {
    color: var(--tw-navy);
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 23, 42, .18);
    transition: color .25s ease, border-color .25s ease;
}

.contact-item p a:hover { color: var(--tw-accent); border-bottom-color: var(--tw-accent); }

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.footer-contact a:hover { color: #fff; text-decoration: underline; }

.footer-contact .sep { opacity: .55; margin: 0 3px; }
