/* ============================================================
   Linze Mızrak — Brand tokens
============================================================ */
:root {
    --c-blue: #1E9BD7;
    --c-blue-bright: #2BB1F0;
    --c-blue-dark: #0F6FA0;
    --c-ink: #0F1620;
    --c-charcoal: #1A2230;
    --c-steel: #38424F;
    --c-mist: #8893A1;
    --c-line: rgba(255, 255, 255, 0.08);
    --c-line-dark: rgba(15, 22, 32, 0.08);
    --c-surface: #F5F7FA;
    --c-white: #FFFFFF;

    --font-display: 'Rajdhani', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --max-w: 1280px;
    --pad: clamp(1.25rem, 4vw, 2.5rem);
    --radius: 14px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --nav-h: 88px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--c-ink);
    background: var(--c-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

/* ============================================================
   Navigation — bigger logo, glass effect
============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid var(--c-line-dark);
    transition: transform 0.4s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav--hidden {
    transform: translateY(-100%);
}

.nav--inverted {
    background: rgba(15, 22, 32, 0.55);
    border-bottom-color: var(--c-line);
    color: var(--c-white);
}

.nav__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0rem var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--nav-h);
}

.nav__brand {
    display: flex;
    align-items: center;
}

.nav__logo {
    height: 80px;
    width: auto;
    transition: filter 0.3s var(--ease);
}

.nav--inverted .nav__logo {
    filter: brightness(0) invert(1);
}

.nav__links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav__links a {
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--c-charcoal);
    transition: color 0.2s var(--ease);
    position: relative;
}

.nav--inverted .nav__links a {
    color: rgba(255, 255, 255, 0.85);
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.nav__links a:hover { color: var(--c-blue); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.65rem 1.3rem;
    border: 1.5px solid var(--c-blue);
    border-radius: 999px;
    color: var(--c-blue);
    transition: all 0.25s var(--ease);
}

.nav__cta:hover {
    background: var(--c-blue);
    color: var(--c-white);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(30, 155, 215, 0.3);
}

.nav--inverted .nav__cta {
    color: var(--c-blue-bright);
    border-color: var(--c-blue-bright);
}

.nav--inverted .nav__cta:hover {
    background: var(--c-blue-bright);
    color: var(--c-ink);
}

@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__cta { font-size: 0.82rem; padding: 0.5rem 1rem; }
    .nav__logo { height: 64px; }
    :root { --nav-h: 88px; }
}

/* ============================================================
   Buttons (used in sales banner & elsewhere)
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 1rem 1.8rem;
    border-radius: 999px;
    transition: all 0.3s var(--ease);
    border: 1.5px solid transparent;
    white-space: nowrap;
}
.btn--primary {
    background: var(--c-blue);
    color: var(--c-white);
    box-shadow: 0 12px 32px -8px rgba(30, 155, 215, 0.5);
}
.btn--primary:hover {
    background: var(--c-blue-bright);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -8px rgba(30, 155, 215, 0.6);
}
.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================================
   HERO = Scroll-driven video animation (PINNED)
   Outer section provides scroll distance.
   Inner sticky container is 100vh — the visual stage.
============================================================ */
.hero-scroll {
    position: relative;
    height: 600vh;            /* total scroll distance for full video */
    background: var(--c-ink);
}

.hero-scroll__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--c-ink);
}

.hero-scroll__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero-scroll__overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Strong veil for text legibility — uniform base + center darkening */
    background:
        radial-gradient(ellipse 65% 50% at 50% 50%,
            rgba(15, 22, 32, 0.70) 0%,
            rgba(15, 22, 32, 0.45) 60%,
            rgba(15, 22, 32, 0.30) 100%),
        linear-gradient(180deg,
            rgba(15, 22, 32, 0.75) 0%,
            rgba(15, 22, 32, 0.45) 25%,
            rgba(15, 22, 32, 0.40) 50%,
            rgba(15, 22, 32, 0.65) 100%);
}

/* ---- Top trust badges (visible on hero) ---- */
.hero-scroll__badges {
    position: absolute;
    top: calc(var(--nav-h) + 1rem);
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding-inline: var(--pad);
    flex-wrap: wrap;
    pointer-events: none;
    animation: fadeIn 1.4s 0.3s var(--ease) both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.95rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(15, 22, 32, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-badge__icon {
    color: var(--c-blue-bright);
    font-size: 0.95rem;
    line-height: 1;
}

@media (max-width: 640px) {
    .hero-scroll__badges { display: none; }
}

/* ---- Intro stage (visible at scroll start, fades out as scroll progresses) */
.stage--intro {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--nav-h) var(--pad) 4rem;
    color: var(--c-white);
    /* opacity is animated by JS via --intro-opacity */
    opacity: var(--intro-opacity, 1);
    transform: translateY(calc((1 - var(--intro-opacity, 1)) * -32px));
    transition: opacity 0.1s linear, transform 0.1s linear;
    will-change: opacity, transform;
}

.stage__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-blue-bright);
    padding: 0.55rem 1.1rem;
    border: 1px solid rgba(43, 177, 240, 0.35);
    border-radius: 999px;
    margin-bottom: 2rem;
    background: rgba(43, 177, 240, 0.06);
    backdrop-filter: blur(6px);
    animation: fadeUp 0.9s var(--ease) both;
}

.stage__title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 8.5vw, 6.5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    /* Multi-layer shadow for crisp legibility against busy CNC background */
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 8px 24px rgba(0, 0, 0, 0.6),
        0 16px 48px rgba(0, 0, 0, 0.4);
    animation: fadeUp 1s 0.1s var(--ease) both;
}

.stage__title--accent {
    color: var(--c-white);
    /* Same multi-layer drop shadow as the rest of the title for crisp legibility */
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 8px 24px rgba(0, 0, 0, 0.6),
        0 16px 48px rgba(0, 0, 0, 0.4);
}

@keyframes shineText {
    to { background-position: 200% center; }
}

.stage__lead {
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: 640px;
    line-height: 1.6;
    padding: 0.6rem 1.2rem;
    background: rgba(15, 22, 32, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
    animation: fadeUp 1.1s 0.2s var(--ease) both;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.stage__scroll-hint {
    position: absolute;
    bottom: 6rem;             /* above the progress bar */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    animation: fadeIn 1.4s 1s var(--ease) both;
}

.stage__scroll-line {
    width: 1px;
    height: 56px;
    background: rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
}

.stage__scroll-line::after {
    content: '';
    position: absolute;
    top: -56px;
    left: 0;
    width: 100%;
    height: 56px;
    background: linear-gradient(180deg, transparent, var(--c-blue-bright));
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    to { transform: translateY(112px); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---- Captions (one shows at a time, mutually exclusive) ---- */
.captions {
    position: absolute;
    inset: 0;
    pointer-events: none;
    padding: var(--nav-h) var(--pad) 7rem;
    max-width: var(--max-w);
    margin: 0 auto;
}

.caption {
    position: absolute;
    top: 50%;
    left: var(--pad);
    transform: translateY(-50%) translateX(-32px);
    max-width: 480px;
    color: var(--c-white);
    opacity: 0;
    transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
    /* never collide with intro by stacking under it semantically;
       only the active caption fades in */
}

.caption--visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.caption__num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    color: var(--c-blue-bright);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(43, 177, 240, 0.4);
}

.caption__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5.4vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 0.8rem;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 8px 24px rgba(0, 0, 0, 0.6),
        0 16px 48px rgba(0, 0, 0, 0.4);
}

.caption__desc {
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.7),
        0 4px 14px rgba(0, 0, 0, 0.5);
}

/* ---- Bottom progress indicator ---- */
.hero-scroll__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2rem;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding-inline: var(--pad);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--c-white);
    pointer-events: none;
}

.hero-scroll__progress-bar {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.14);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.hero-scroll__progress-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--c-blue), var(--c-blue-bright));
    transition: width 0.05s linear;
    box-shadow: 0 0 16px rgba(43, 177, 240, 0.6);
}

.hero-scroll__progress-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.75);
    min-width: 4ch;
    text-align: right;
}

@media (max-width: 768px) {
    .hero-scroll { height: 480vh; }
    .stage__scroll-hint { bottom: 5rem; }
    .caption { left: var(--pad); right: var(--pad); max-width: 100%; }
}

/* ============================================================
   Section helpers
============================================================ */
.section__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-blue);
    margin-bottom: 1rem;
}

.section__eyebrow--light { color: var(--c-blue-bright); }

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: var(--c-ink);
    margin-bottom: 1rem;
}

.section__title--light { color: var(--c-white); }

.section__lead {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--c-steel);
    max-width: 640px;
}

/* ============================================================
   Sales banner — sales-active CTA strip
============================================================ */
.sales-banner {
    position: relative;
    background: linear-gradient(135deg, var(--c-blue-dark) 0%, var(--c-blue) 50%, var(--c-blue-bright) 100%);
    color: var(--c-white);
    padding: clamp(2rem, 4vw, 3rem) 0;
    overflow: hidden;
}

.sales-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.12), transparent 35%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08), transparent 35%);
    pointer-events: none;
}

.sales-banner__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.sales-banner__pulse {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFD600;
    box-shadow: 0 0 0 0 rgba(255, 214, 0, 0.6);
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 214, 0, 0.7); }
    70%  { box-shadow: 0 0 0 18px rgba(255, 214, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 214, 0, 0); }
}

.sales-banner__content {
    padding-left: 2rem;
}

.sales-banner__badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    background: #FFD600;
    color: var(--c-ink);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.6rem;
}

.sales-banner__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.sales-banner__sub {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
}

.sales-banner__sub strong {
    font-weight: 700;
    color: var(--c-white);
}

.sales-banner__cta {
    background: var(--c-white);
    color: var(--c-blue-dark);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.3);
}

.sales-banner__cta:hover {
    background: var(--c-ink);
    color: var(--c-white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .sales-banner__inner { grid-template-columns: 1fr; text-align: left; }
    .sales-banner__pulse { display: none; }
    .sales-banner__content { padding-left: 0; }
    .sales-banner__cta {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================================
   Gallery + Showcase video
============================================================ */
.gallery {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--c-white);
}

.gallery__head {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.gallery__head .section__lead {
    margin-inline: auto;
}

/* ---- Showcase video ---- */
.showcase-video {
    position: relative;
    width: 100%;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    border-radius: 18px;
    overflow: hidden;
    background: var(--c-ink);
    box-shadow: 0 30px 80px -24px rgba(15, 22, 32, 0.3);
    border: 1px solid rgba(15, 22, 32, 0.08);
}

.showcase-video__media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--c-ink);
}

.showcase-video__caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.4rem;
    background: linear-gradient(180deg, rgba(15, 22, 32, 0.95), var(--c-ink));
    color: var(--c-white);
    flex-wrap: wrap;
}

.showcase-video__label {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-blue-bright);
}

.showcase-video__hint {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ---- Photo grid (asymmetric: 1 wide + 3 small) ---- */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.gallery__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--c-surface);
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
}

.gallery__item--wide {
    grid-column: span 6;
    aspect-ratio: 21 / 9;
}

.gallery__item:not(.gallery__item--wide) {
    grid-column: span 2;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.gallery__item:hover img {
    transform: scale(1.04);
    filter: saturate(1.1);
}

.gallery__item figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.25rem;
    display: flex;
    align-items: flex-end;
    gap: 0.85rem;
    color: var(--c-white);
    background: linear-gradient(180deg, transparent 0%, rgba(15, 22, 32, 0.85) 100%);
    transform: translateY(calc(100% - 4.5rem));
    transition: transform 0.5s var(--ease);
}

.gallery__item:hover figcaption {
    transform: translateY(0);
}

.gallery__caption-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--c-blue-bright);
    line-height: 1;
}

.gallery__caption-text {
    font-size: 0.92rem;
    line-height: 1.4;
    padding-bottom: 0.2rem;
}

@media (max-width: 900px) {
    .gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
    .gallery__item:not(.gallery__item--wide) { grid-column: span 1; }
}

@media (max-width: 560px) {
    .gallery__grid { grid-template-columns: 1fr; }
    .gallery__item--wide,
    .gallery__item:not(.gallery__item--wide) { grid-column: span 1; aspect-ratio: 4 / 3; }
    .gallery__item figcaption { transform: translateY(0); background: linear-gradient(180deg, transparent 30%, rgba(15, 22, 32, 0.9) 100%); }
}

/* ============================================================
   Features
============================================================ */
.features {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--c-surface);
}

.features__head {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.features__head .section__lead { margin-inline: auto; }

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.features__grid--5 {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
    .features__grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .features__grid--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .features__grid--5 { grid-template-columns: 1fr; }
}

.feature {
    position: relative;
    background: var(--c-white);
    border: 1px solid rgba(15, 22, 32, 0.06);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: transform 0.4s var(--ease),
                box-shadow 0.4s var(--ease),
                border-color 0.4s var(--ease),
                background 0.4s var(--ease);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-blue), var(--c-blue-bright));
    transition: width 0.4s var(--ease);
}

/* Unified hover: blue background, white text */
.feature:hover {
    transform: translateY(-4px);
    background: linear-gradient(160deg, var(--c-blue-dark), var(--c-blue));
    border-color: transparent;
    box-shadow: 0 24px 48px -16px rgba(30, 155, 215, 0.45);
}

.feature:hover::before { width: 100%; }

.feature__icon {
    width: 48px;
    height: 48px;
    color: var(--c-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 155, 215, 0.08);
    border-radius: 12px;
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.feature__icon svg {
    width: 26px;
    height: 26px;
}

.feature:hover .feature__icon {
    background: rgba(255, 255, 255, 0.18);
    color: var(--c-white);
}

.feature__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--c-ink);
    line-height: 1.2;
    transition: color 0.3s var(--ease);
}

.feature__desc {
    font-size: 0.93rem;
    color: var(--c-steel);
    line-height: 1.55;
    transition: color 0.3s var(--ease);
}

.feature:hover .feature__title { color: var(--c-white); }
.feature:hover .feature__desc  { color: rgba(255, 255, 255, 0.9); }

/* ============================================================
   Contact
============================================================ */
.contact {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background:
        radial-gradient(ellipse at top right, rgba(30, 155, 215, 0.18), transparent 55%),
        radial-gradient(ellipse at bottom left, rgba(30, 155, 215, 0.1), transparent 50%),
        var(--c-ink);
    color: var(--c-white);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

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

.contact__lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
    line-height: 1.7;
    margin-top: 0.5rem;
}

.contact__cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact__card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
    position: relative;
}

.contact__card:not(.contact__card--static):hover {
    background: rgba(30, 155, 215, 0.08);
    border-color: rgba(43, 177, 240, 0.4);
    transform: translateX(4px);
}

.contact__card-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-blue-bright);
    margin-bottom: 0.5rem;
}

.contact__card-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--c-white);
    line-height: 1.4;
}

.contact__card-arrow {
    position: absolute;
    right: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-blue-bright);
    font-size: 1.4rem;
    opacity: 0.5;
    transition: all 0.3s var(--ease);
}

.contact__card:hover .contact__card-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(4px);
}

/* ============================================================
   Footer
============================================================ */
.footer {
    padding: 3rem 0 2.5rem;
    background: #050A11;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer__tagline {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-blue-bright);
    margin-bottom: 0.4rem;
}
.footer__copy {
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.footer__credit {
    display: inline-block;
    opacity: 0.6;
    transition: opacity 0.3s var(--ease);
}
.footer__credit:hover { opacity: 1; }
.footer__credit img {
    height: 18px;
    width: auto;
    display: block;
}

/* ============================================================
   Loader
============================================================ */
.loader {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--c-ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.loader--hidden { opacity: 0; visibility: hidden; }

.loader__spinner {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--c-blue-bright);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

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

.loader__text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   Lightbox
============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(5, 10, 17, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    /* desktop: leave wide left/right gutter so image never overlaps nav arrows */
    padding: 5rem 7rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox--open {
    opacity: 1;
    visibility: visible;
}

.lightbox__figure {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: scale(0.96);
    transition: transform 0.4s var(--ease);
}

.lightbox--open .lightbox__figure {
    transform: scale(1);
}

.lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 10rem);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
    background: var(--c-ink);
}

.lightbox__caption {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    text-align: center;
    max-width: 720px;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(15, 22, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--c-white);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    line-height: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.lightbox__close {
    top: 1.4rem;
    right: 1.4rem;
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    font-size: 2.2rem;
    font-weight: 300;
}

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

.lightbox__close:hover,
.lightbox__nav:hover {
    background: var(--c-blue);
    border-color: var(--c-blue);
}

.lightbox__close:hover {
    transform: rotate(90deg);
}

.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-4px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(4px); }

.lightbox__counter {
    position: absolute;
    bottom: 1.4rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1100px) {
    .lightbox { padding: 5rem 4.5rem; }
}

@media (max-width: 640px) {
    .lightbox { padding: 4rem 0.5rem 4rem; }
    .lightbox__close { top: 0.8rem; right: 0.8rem; width: 40px; height: 40px; }
    .lightbox__nav { width: 44px; height: 44px; font-size: 1.8rem; }
    .lightbox__nav--prev { left: 0.5rem; }
    .lightbox__nav--next { right: 0.5rem; }
    .lightbox__img { max-height: calc(100vh - 8rem); }
    .lightbox__counter { bottom: 0.8rem; }
}

body.lightbox-open { overflow: hidden; }

@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;
    }
}
