:root {
    --blue: #30358f;
    --red: #ed3237;
    --ink: #111827;
    --muted: #637083;
    --line: #d9e0ec;
    --paper: #f5f7fb;
    --steel: #182033;
    --cyan: #20c7d9;
    --yellow: #f5c84c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
}

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

.site-shell { overflow: hidden; }

.nav-shell {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 14px clamp(18px, 4vw, 54px);
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(17, 24, 39, .08);
    backdrop-filter: blur(18px);
}

.brand img { height: 54px; display: block; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    font-size: 14px;
    font-weight: 700;
    color: #26324a;
}

.nav-links a { position: relative; white-space: nowrap; }
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 800;
}

.nav-cta {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 12px 32px rgba(48, 53, 143, .22);
}

.hero {
    position: relative;
    min-height: 720px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 72px);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(5, 12, 32, .96), rgba(18, 25, 58, .88) 48%, rgba(18, 25, 58, .55)),
        url("/redesign/images/hero-bearings.jpg") center / cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(0deg, rgba(255,255,255,1), rgba(255,255,255,0));
    pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; max-width: 870px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--yellow);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

h1, h2, h3 { line-height: 1.05; margin: 0; }

.hero h1 {
    margin-top: 18px;
    font-size: clamp(42px, 7vw, 92px);
    max-width: 900px;
}

.hero p {
    max-width: 760px;
    margin: 24px 0 0;
    font-size: clamp(18px, 2vw, 23px);
    color: rgba(255,255,255,.86);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button.primary { background: var(--red); color: #fff; box-shadow: 0 18px 44px rgba(237, 50, 55, .26); }
.button.ghost { border: 1px solid rgba(255,255,255,.42); color: #fff; background: rgba(255,255,255,.08); }

.bearing-stage {
    position: relative;
    z-index: 2;
    min-height: 430px;
    display: grid;
    place-items: center;
    filter: drop-shadow(0 34px 60px rgba(0,0,0,.4));
}

.bearing-orbit {
    position: absolute;
    width: min(38vw, 430px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 34px solid rgba(255,255,255,.2);
    outline: 2px solid rgba(255,255,255,.32);
    animation: spin 18s linear infinite;
}

.bearing-orbit::before,
.bearing-orbit::after,
.bearing-core {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.bearing-orbit::before { inset: 42px; border: 2px solid rgba(255,255,255,.5); }
.bearing-orbit::after { inset: 98px; border: 22px solid rgba(32,199,217,.45); box-shadow: inset 0 0 40px rgba(255,255,255,.18); }
.bearing-core { width: 112px; aspect-ratio: 1; background: radial-gradient(circle, #fff, #9ba8c0 58%, #2b344d 60%); }

.bearing-orbit span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    aspect-ratio: 1;
    margin: -17px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #fff, #bac6d8 48%, #66738b 70%);
    transform: rotate(calc(var(--i) * 45deg)) translateY(-170px);
}
.bearing-orbit span:nth-child(1){--i:0}.bearing-orbit span:nth-child(2){--i:1}.bearing-orbit span:nth-child(3){--i:2}.bearing-orbit span:nth-child(4){--i:3}.bearing-orbit span:nth-child(5){--i:4}.bearing-orbit span:nth-child(6){--i:5}.bearing-orbit span:nth-child(7){--i:6}.bearing-orbit span:nth-child(8){--i:7}

.motion-lines {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,.38);
    animation: spin 8s linear infinite reverse;
}

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

.proof-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: -64px clamp(20px, 5vw, 72px) 0;
    position: relative;
    z-index: 4;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(17,24,39,.14);
}
.proof-strip div { background: #fff; padding: 24px; }
.proof-strip strong { display: block; font-size: 34px; color: var(--blue); }
.proof-strip span { color: var(--muted); font-weight: 700; }

.section {
    padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
}
.section.soft { background: var(--paper); }
.section.split {
    display: grid;
    grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.section-head { max-width: 820px; margin-bottom: 34px; }
.section h2 { font-size: clamp(34px, 4.4vw, 64px); color: var(--steel); margin-top: 14px; }
.section p { font-size: 18px; color: var(--muted); }

.product-grid,
.feature-grid,
.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.product-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--steel);
    color: #fff;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.product-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
    transform: scale(1.02);
    transition: transform .5s ease, opacity .5s ease;
}
.product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3,8,24,.9), rgba(3,8,24,.12));
}
.product-card span,
.product-card p { position: relative; z-index: 2; }
.product-card span { font-size: 25px; font-weight: 900; }
.product-card p { color: rgba(255,255,255,.82); margin-bottom: 0; }
.product-card:hover img { transform: scale(1.1); opacity: .92; }

.feature,
.branch-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 16px 50px rgba(17,24,39,.06);
}
.feature { font-weight: 800; color: #26324a; }

.branch-band {
    background: #071430;
    color: #fff;
}
.branch-band h2 { color: #fff; }
.branch-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.branch-card h3 { color: #fff; margin-bottom: 8px; }
.branch-card p, .branch-card span, .branch-card a { display: block; color: rgba(255,255,255,.78); margin-top: 6px; }

.product-hero { grid-template-columns: minmax(0, 1fr) minmax(300px, 520px); }
.product-hero-img {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 1.1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 34px 90px rgba(0,0,0,.35);
}

.tag-cloud { display: flex; gap: 12px; flex-wrap: wrap; }
.tag-cloud span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; font-weight: 800; color: var(--blue); }

.footer {
    display: grid;
    grid-template-columns: 1.4fr .7fr .7fr;
    gap: 32px;
    padding: 54px clamp(20px, 5vw, 72px);
    background: #101827;
    color: rgba(255,255,255,.78);
}
.footer img { height: 58px; background: #fff; border-radius: 8px; padding: 6px; }
.footer strong { display: block; color: #fff; margin-bottom: 10px; }
.footer a, .footer span { display: block; margin: 7px 0; }

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
    .nav-shell { align-items: flex-start; flex-wrap: wrap; }
    .nav-links { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding-bottom: 4px; }
    .hero, .section.split, .product-hero { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .bearing-stage { min-height: 320px; }
    .proof-strip { grid-template-columns: repeat(2, 1fr); margin-top: 0; border-radius: 0; }
    .footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .nav-cta { display: none; }
    .hero { padding-top: 54px; }
    .proof-strip { grid-template-columns: 1fr; }
    .bearing-orbit { width: 280px; border-width: 24px; }
    .bearing-orbit span { transform: rotate(calc(var(--i) * 45deg)) translateY(-112px); }
}
