﻿/* =========================================================
   BARODA HI-TECH ALLOYS
   HOME PAGE — MODERN CORPORATE DESIGN
   Colour System:
   Deep Navy  #071A33
   Royal Blue #0B5CAD
   Bright Blue #2478C9
   Accent Red #C62828
   Light Blue #F3F7FC
   ========================================================= */

:root {
    --home-navy: #071a33;
    --home-navy-2: #0b2d55;
    --home-blue: #0b5cad;
    --home-blue-2: #2478c9;
    --home-blue-soft: #eaf3fc;
    --home-red: #c62828;
    --home-red-2: #e13b3b;
    --home-white: #ffffff;
    --home-text: #142235;
    --home-muted: #607084;
    --home-border: #dce5ef;
    --home-bg: #f5f8fc;
    --home-shadow: 0 18px 50px rgba(7, 26, 51, 0.10);
    --home-shadow-hover: 0 24px 65px rgba(7, 26, 51, 0.16);
    --home-radius: 18px;
}


/* =========================================================
   GLOBAL HOME PAGE REFINEMENT
   ========================================================= */

body {
    background: #ffffff;
    color: var(--home-text);
}

main#main {
    overflow: hidden;
}

.sec {
    position: relative;
    padding-top: clamp(75px, 8vw, 115px);
    padding-bottom: clamp(75px, 8vw, 115px);
}

    .sec .wrap,
    .hero .wrap,
    .band .wrap,
    .stats .wrap {
        position: relative;
        z-index: 2;
    }


    /* =========================================================
   TYPOGRAPHY
   ========================================================= */

    .sec h2,
    .hero h1,
    .band h2 {
        letter-spacing: -0.035em;
    }

    .sec h2 {
        color: var(--home-navy);
        font-weight: 700;
        line-height: 1.12;
    }

    .sec p {
        color: var(--home-muted);
        line-height: 1.78;
    }

.kicker {
    color: var(--home-red) !important;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 12px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 760px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--home-navy);
}

.hero__m {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

    .hero__m video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.02);
    }

    .hero__m::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient( 90deg, rgba(7, 26, 51, 0.97) 0%, rgba(7, 26, 51, 0.82) 34%, rgba(7, 26, 51, 0.47) 68%, rgba(7, 26, 51, 0.72) 100% );
    }

    .hero__m::after {
        content: "";
        position: absolute;
        z-index: 2;
        width: 520px;
        height: 520px;
        right: -170px;
        top: -180px;
        border: 1px solid rgba(255,255,255,0.10);
        border-radius: 50%;
        box-shadow: 0 0 0 70px rgba(36,120,201,0.05), 0 0 0 140px rgba(198,40,40,0.04);
    }

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    background: linear-gradient( to top, rgba(7,26,51,0.75), transparent );
    pointer-events: none;
}

.hero__in {
    position: relative;
    z-index: 5;
    max-width: 850px;
    padding-top: 90px;
}

    .hero__in .kicker {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        color: #ff9999 !important;
        margin-bottom: 22px;
    }

        .hero__in .kicker::before {
            content: "";
            width: 42px;
            height: 3px;
            background: var(--home-red);
            border-radius: 10px;
        }

.hero h1 {
    color: #ffffff;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1.02;
    max-width: 850px;
    margin-bottom: 26px;
    font-weight: 750;
    text-shadow: 0 8px 35px rgba(0,0,0,0.28);
}

.hero__in > p {
    max-width: 750px;
    color: rgba(255,255,255,0.88);
    font-size: 18px;
    line-height: 1.8;
}

.hero .btns {
    margin-top: 34px;
    gap: 14px;
}

.hero .btn--fill {
    background: var(--home-red);
    border-color: var(--home-red);
    box-shadow: 0 12px 28px rgba(198,40,40,0.28);
}

    .hero .btn--fill:hover {
        background: var(--home-red-2);
        border-color: var(--home-red-2);
        transform: translateY(-2px);
    }

.hero .btn--ghost {
    border-color: rgba(255,255,255,0.48);
    color: #ffffff;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
}

    .hero .btn--ghost:hover {
        border-color: #ffffff;
        background: rgba(255,255,255,0.12);
    }


/* =========================================================
   HERO FACTS
   ========================================================= */

.hero__facts {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 90px;
    padding-bottom: 34px;
}

.hero__fact {
    min-height: 125px;
    padding: 23px 24px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.14);
    border-top: 3px solid var(--home-red);
    border-radius: 13px;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.13);
}

    .hero__fact b {
        display: block;
        color: #ffffff;
        font-size: 29px;
        line-height: 1.1;
        margin-bottom: 10px;
    }

    .hero__fact span {
        color: rgba(255,255,255,0.72);
        font-size: 13px;
        line-height: 1.5;
    }


/* =========================================================
   INTRO / COMPANY SECTION
   ========================================================= */

.duo {
    align-items: center;
}

    .duo .rv > .kicker {
        display: inline-block;
        margin-bottom: 15px;
    }

    .duo h2 {
        margin-bottom: 23px;
    }

    .duo .lede {
        color: var(--home-text);
        font-size: 19px;
        line-height: 1.72;
        font-weight: 500;
    }

    .duo p:not(.lede) {
        font-size: 16px;
    }

.mosaic {
    position: relative;
}

    .mosaic .fig {
        overflow: hidden;
        border-radius: var(--home-radius);
        box-shadow: var(--home-shadow);
        border: 1px solid rgba(7,26,51,0.08);
    }

        .mosaic .fig img {
            transition: transform .6s ease;
        }

        .mosaic .fig:hover img {
            transform: scale(1.045);
        }


/* =========================================================
   BUTTONS
   ========================================================= */

.sec .btn--line {
    border-color: var(--home-blue);
    color: var(--home-blue);
    background: #ffffff;
}

    .sec .btn--line:hover {
        color: #ffffff;
        background: var(--home-blue);
        border-color: var(--home-blue);
        transform: translateY(-2px);
    }


/* =========================================================
   PRODUCT SECTION
   ========================================================= */

.sec--mist {
    background: linear-gradient( 180deg, #f4f8fc 0%, #eef4fa 100% );
}

.head-row {
    align-items: flex-end;
    gap: 30px;
}

.head h2 {
    margin-bottom: 16px;
}

.head p {
    max-width: 720px;
    font-size: 17px;
}

.tiles {
    margin-top: 48px;
    gap: 22px;
}

.tile {
    background: #ffffff;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(7,26,51,0.07);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

    .tile:hover {
        transform: translateY(-7px);
        box-shadow: var(--home-shadow-hover);
        border-color: rgba(11,92,173,0.28);
    }

    .tile .fig {
        position: relative;
        overflow: hidden;
        background: var(--home-navy);
    }

        .tile .fig::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient( 180deg, transparent 50%, rgba(7,26,51,0.30) );
            pointer-events: none;
        }

        .tile .fig img {
            transition: transform .65s ease;
        }

    .tile:hover .fig img {
        transform: scale(1.065);
    }

.tile__b {
    padding: 26px 26px 29px;
}

.tile__k {
    display: inline-block;
    color: var(--home-red) !important;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    margin-bottom: 10px;
}

.tile h3 {
    color: var(--home-navy);
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.tile p {
    font-size: 15px;
    line-height: 1.7;
}

.arw {
    color: var(--home-blue) !important;
    font-weight: 750;
    transition: color .25s ease, padding .25s ease;
}

    .arw:hover {
        color: var(--home-red) !important;
    }


/* =========================================================
   STATS
   ========================================================= */

.stats {
    position: relative;
    background: linear-gradient( 125deg, #06172d 0%, #0a2e57 52%, #0b5cad 100% );
    border-top: 4px solid var(--home-red);
    padding: 62px 0;
    overflow: hidden;
}

    .stats::before {
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.08);
        right: -180px;
        top: -260px;
    }

    .stats .wrap {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

.stat {
    position: relative;
    padding: 10px 35px;
    border-right: 1px solid rgba(255,255,255,0.14);
}

    .stat:first-child {
        padding-left: 0;
    }

    .stat:last-child {
        border-right: 0;
    }

    .stat b {
        display: block;
        color: #ffffff;
        font-size: clamp(30px, 3vw, 43px);
        line-height: 1;
        margin-bottom: 12px;
    }

    .stat span {
        display: block;
        color: rgba(255,255,255,0.68);
        font-size: 13px;
        line-height: 1.5;
    }


/* =========================================================
   WORKS / EQUIPMENT
   ========================================================= */

.spec {
    margin-top: 32px;
}

    .spec > div {
        position: relative;
        padding: 17px 20px 17px 22px;
        margin-bottom: 9px;
        border: 1px solid var(--home-border);
        border-left: 4px solid var(--home-blue);
        border-radius: 8px;
        background: #f8fbff;
    }

    .spec dt {
        color: var(--home-red);
        font-weight: 800;
        margin-bottom: 4px;
    }

    .spec dd {
        color: var(--home-muted);
        line-height: 1.6;
    }

.player {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--home-shadow);
    border: 1px solid rgba(7,26,51,0.12);
}

    .player::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, transparent 50%, rgba(7,26,51,0.60) );
        pointer-events: none;
    }

.player__btn {
    transition: transform .25s ease, background .25s ease;
}

    .player__btn:hover {
        transform: translate(-50%, -50%) scale(1.08);
        background: var(--home-red);
    }


/* =========================================================
   DARK / GLOBAL REACH SECTION
   ========================================================= */

.sec--dark {
    position: relative;
    background: radial-gradient( circle at 85% 15%, rgba(36,120,201,0.22), transparent 30% ), linear-gradient( 135deg, #06172d 0%, #092c52 55%, #071a33 100% );
    color: #ffffff;
}

    .sec--dark h2 {
        color: #ffffff;
    }

    .sec--dark p {
        color: rgba(255,255,255,0.72);
    }

    .sec--dark .kicker {
        color: #ff9292 !important;
    }

    .sec--dark .btn--ghost {
        border-color: rgba(255,255,255,0.45);
        color: #ffffff;
    }

        .sec--dark .btn--ghost:hover {
            background: var(--home-red);
            border-color: var(--home-red);
        }

.map-key {
    margin-top: 22px;
}

    .map-key span {
        color: rgba(255,255,255,0.68);
    }


/* =========================================================
   QUALITY
   ========================================================= */

.ticks {
    padding-left: 0;
}

    .ticks li {
        position: relative;
        padding-left: 30px;
        margin-bottom: 13px;
        color: var(--home-muted);
        line-height: 1.65;
    }

        .ticks li::before {
            color: var(--home-red);
        }

.certs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
}

.cert {
    min-height: 205px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--home-border);
    border-top: 4px solid var(--home-blue);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(7,26,51,0.07);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .cert:hover {
        transform: translateY(-5px);
        box-shadow: var(--home-shadow);
    }

.cert--g {
    border-top-color: var(--home-blue-2);
}

.cert--r {
    border-top-color: var(--home-red);
}

.cert__s {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 12px;
    background: var(--home-blue-soft);
    color: var(--home-blue);
    text-align: center;
    font-size: 14px;
    line-height: 1.15;
}

.cert--r .cert__s {
    background: #fff0f0;
    color: var(--home-red);
}

.cert h4 {
    color: var(--home-navy);
    margin-bottom: 5px;
}

.cert p {
    font-size: 13px;
}


/* =========================================================
   SPLIT CTA
   ========================================================= */

.split-cta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: var(--home-navy);
}

    .split-cta > a {
        position: relative;
        min-height: 440px;
        overflow: hidden;
        background: var(--home-navy);
    }

        .split-cta > a::after {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 1;
            background: linear-gradient( 180deg, rgba(7,26,51,0.04) 15%, rgba(7,26,51,0.94) 100% );
        }

        .split-cta > a:first-child::before {
            content: "";
            position: absolute;
            z-index: 2;
            left: 0;
            top: 0;
            bottom: 0;
            width: 5px;
            background: var(--home-blue);
        }

        .split-cta > a:last-child::before {
            content: "";
            position: absolute;
            z-index: 2;
            left: 0;
            top: 0;
            bottom: 0;
            width: 5px;
            background: var(--home-red);
        }

    .split-cta img {
        transition: transform .7s ease;
    }

    .split-cta > a:hover img {
        transform: scale(1.06);
    }

    .split-cta > a > div {
        position: relative;
        z-index: 4;
    }

    .split-cta h3 {
        color: #ffffff;
        font-size: clamp(26px, 3vw, 38px);
        line-height: 1.12;
        max-width: 580px;
    }

    .split-cta p {
        color: rgba(255,255,255,0.75);
        max-width: 570px;
        line-height: 1.7;
    }

    .split-cta .arw {
        color: #ffffff !important;
    }

        .split-cta .arw:hover {
            color: #ff9999 !important;
        }


/* =========================================================
   NEWS
   ========================================================= */

.cols.c3 {
    gap: 22px;
}

.post {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    box-shadow: 0 8px 30px rgba(7,26,51,0.07);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .post:hover {
        transform: translateY(-6px);
        box-shadow: var(--home-shadow-hover);
    }

    .post .fig {
        overflow: hidden;
    }

        .post .fig img {
            transition: transform .6s ease;
        }

    .post:hover .fig img {
        transform: scale(1.055);
    }

.post__b {
    padding: 24px 25px 28px;
}

.post__m {
    margin-bottom: 12px;
}

    .post__m b {
        color: var(--home-red);
        text-transform: uppercase;
        letter-spacing: .08em;
        font-size: 11px;
    }

    .post__m span {
        color: #8a96a5;
        font-size: 12px;
    }

.post h3 {
    color: var(--home-navy);
    line-height: 1.25;
    margin-bottom: 12px;
}

.post p {
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.band {
    position: relative;
    overflow: hidden;
    background: linear-gradient( 125deg, rgba(7,26,51,0.98) 0%, rgba(11,92,173,0.94) 62%, rgba(126,26,32,0.95) 100% );
    padding-top: 95px;
    padding-bottom: 95px;
}

    .band::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 7px;
        background: var(--home-red);
        z-index: 3;
    }

.band__m {
    opacity: .16;
}

    .band__m img {
        filter: grayscale(100%);
    }

.band h2 {
    position: relative;
    color: #ffffff;
    max-width: 850px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.08;
}

.band p {
    position: relative;
    max-width: 760px;
    color: rgba(255,255,255,0.80);
    font-size: 17px;
    line-height: 1.75;
}

.band .btn--fill {
    background: var(--home-red);
    border-color: var(--home-red);
}

    .band .btn--fill:hover {
        background: var(--home-red-2);
        border-color: var(--home-red-2);
    }

.band .btn--ghost {
    color: #ffffff;
    border-color: rgba(255,255,255,0.45);
}

    .band .btn--ghost:hover {
        background: rgba(255,255,255,0.10);
        border-color: #ffffff;
    }


/* =========================================================
   IMAGE CONSISTENCY
   ========================================================= */

.mosaic img,
.tile img,
.post img,
.split-cta img {
    display: block;
    width: 100%;
}

.tile .fig,
.post .fig {
    background: #dce5ef;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .hero {
        min-height: 700px;
    }

    .hero__in {
        max-width: 760px;
    }

    .hero__facts {
        margin-top: 65px;
    }

    .tile__b {
        padding: 22px;
    }

    .stat {
        padding-left: 22px;
        padding-right: 22px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .hero {
        min-height: auto;
        padding-top: 70px;
    }

    .hero__in {
        padding-top: 45px;
        padding-bottom: 20px;
    }

    .hero h1 {
        font-size: clamp(40px, 11vw, 58px);
    }

    .hero__in > p {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero__facts {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 45px;
        padding-bottom: 25px;
    }

    .hero__fact {
        min-height: 105px;
        padding: 18px;
    }

        .hero__fact b {
            font-size: 25px;
        }

    .stats .wrap {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(3),
    .stat:nth-child(4) {
        padding-top: 10px;
    }

    .certs {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-cta {
        grid-template-columns: 1fr;
    }

        .split-cta > a {
            min-height: 400px;
        }
}


@media (max-width: 600px) {

    .sec {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .hero__facts {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .hero__fact {
        padding: 16px;
    }

        .hero__fact span {
            font-size: 12px;
        }

    .hero .btns,
    .band .btns {
        flex-direction: column;
        align-items: stretch;
    }

    .hero .btn,
    .band .btn {
        width: 100%;
        justify-content: center;
    }

    .stats {
        padding: 48px 0;
    }

        .stats .wrap {
            grid-template-columns: 1fr 1fr;
        }

    .stat {
        padding: 0 15px;
    }

        .stat:first-child {
            padding-left: 0;
        }

        .stat b {
            font-size: 28px;
        }

        .stat span {
            font-size: 12px;
        }

    .certs {
        grid-template-columns: 1fr;
    }

    .cert {
        min-height: auto;
    }

    .split-cta > a {
        min-height: 370px;
    }

    .split-cta h3 {
        font-size: 29px;
    }

    .post__b {
        padding: 21px;
    }
}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 420px) {

    .hero__facts {
        grid-template-columns: 1fr;
    }

    .hero__fact {
        min-height: auto;
    }

    .stats .wrap {
        grid-template-columns: 1fr;
    }

    .stat,
    .stat:first-child {
        padding: 0 0 20px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

        .stat:last-child {
            border-bottom: 0;
            padding-bottom: 0;
        }
}
