/* =========================================================
   BRADCHEM MODERN HOMEPAGE
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: #1b1f24;
    background: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

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

button {
    font-family: inherit;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --blue: #3804FC;

    --blue-dark: #2500b8;

    --dark: #111827;

    --text: #333333;

    --muted: #6b7280;

    --light: #f5f7fa;

    --white: #ffffff;

    --border: #e5e7eb;

    --container: 1180px;

}


/* =========================================================
   GENERAL
========================================================= */

.section-container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-left: auto;
    margin-right: auto;

}

.section-label {

    margin: 0 0 12px;

    color: var(--blue);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

}

.section-heading {

    max-width: 700px;

    margin-bottom: 50px;

}

.section-heading.centered {

    margin-left: auto;

    margin-right: auto;

    text-align: center;

}

.section-heading h2 {

    margin: 0 0 15px;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    letter-spacing: -1.5px;

    color: var(--dark);

}

.section-heading p:not(.section-label) {

    margin: 0;

    color: var(--muted);

    font-size: 17px;

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: relative;

    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.98);

    border-bottom: 1px solid var(--border);

}

.header-container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    min-height: 88px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}

.brand {

    display: flex;

    align-items: center;

    flex-shrink: 0;

}

.brand img {

    width: 250px;

    height: auto;

    object-fit: contain;

}

.main-navigation {

    display: flex;

    align-items: center;

    gap: 4px;

}

.main-navigation > a {

    position: relative;

    padding: 10px 15px;

    color: #333;

    font-size: 14px;

    font-weight: 600;

    transition: color 0.2s ease;

}

.main-navigation > a:hover {

    color: var(--blue);

}

.main-navigation > a.active {

    color: var(--blue);

}

.main-navigation > a.active::after {

    content: "";

    position: absolute;

    left: 15px;

    right: 15px;

    bottom: 2px;

    height: 2px;

    background: var(--blue);

}

.main-navigation .nav-pricelist {

    margin-left: 8px;

    padding: 11px 18px;

    border-radius: 7px;

    background: var(--blue);

    color: white;

}

.main-navigation .nav-pricelist:hover {

    color: white;

    background: var(--blue-dark);

}

.mobile-menu-button {

    display: none;

    width: 44px;

    height: 44px;

    padding: 9px;

    border: 0;

    border-radius: 7px;

    background: var(--light);

    cursor: pointer;

}

.mobile-menu-button span {

    display: block;

    height: 2px;

    margin: 5px 0;

    background: var(--dark);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 620px;

    overflow: hidden;

    background: #111;

}

.hero-slides {

    position: absolute;

    inset: 0;

}

.hero-slide {

    position: absolute;

    inset: 0;

    background-position: center;

    background-size: cover;

    opacity: 0;

    transform: scale(1.02);

    transition:
        opacity 1s ease,
        transform 6s ease;

}

.hero-slide.active {

    opacity: 1;

    transform: scale(1);

}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.55) 42%,
            rgba(0, 0, 0, 0.15) 100%
        );

}

.hero-container {

    position: relative;

    z-index: 2;

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    min-height: 620px;

    margin: auto;

    display: flex;

    align-items: center;

}

.hero-content {

    width: 650px;

    padding: 80px 0;

    color: white;

}

.hero-eyebrow {

    margin: 0 0 18px;

    color: white;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;

}

.hero-content h1 {

    margin: 0 0 25px;

    color: white;

    font-size: clamp(44px, 6vw, 76px);

    line-height: 1.02;

    letter-spacing: -3px;

    font-weight: 800;

}

.hero-description {

    max-width: 600px;

    margin: 0 0 35px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 18px;

    line-height: 1.7;

}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 12px 24px;

    border-radius: 7px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;

}

.button:hover {

    transform: translateY(-2px);

}

.button-primary {

    background: var(--blue);

    color: white;

}

.button-primary:hover {

    background: var(--blue-dark);

}

.button-secondary {

    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.55);

    color: white;

    backdrop-filter: blur(5px);

}

.button-secondary:hover {

    background: white;

    color: var(--dark);

}

.button-dark {

    background: var(--dark);

    color: white;

}

.button-dark:hover {

    background: var(--blue);

}

.button-light {

    background: white;

    color: var(--blue);

}

.button-light:hover {

    background: #f1f1f1;

}

.hero-dots {

    position: absolute;

    z-index: 5;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;

}

.hero-dot {

    width: 9px;

    height: 9px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255,255,255,0.45);

    cursor: pointer;

}

.hero-dot.active {

    background: white;

    transform: scale(1.25);

}


/* =========================================================
   INTRO
========================================================= */

.intro-section {

    padding: 100px 0;

    background: white;

}

.intro-grid {

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 100px;

    align-items: start;

}

.intro-heading h2 {

    margin: 0;

    color: var(--dark);

    font-size: clamp(32px, 4vw, 50px);

    line-height: 1.12;

    letter-spacing: -1.5px;

}

.intro-text {

    padding-top: 5px;

}

.intro-text p {

    margin: 0 0 20px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.8;

}

.intro-text strong {

    color: var(--dark);

}

.text-link {

    display: inline-flex;

    gap: 10px;

    margin-top: 8px;

    color: var(--blue);

    font-size: 15px;

    font-weight: 700;

}

.text-link span {

    transition: transform 0.2s ease;

}

.text-link:hover span {

    transform: translateX(5px);

}


/* =========================================================
   FEATURES
========================================================= */

.feature-section {

    padding: 100px 0;

    background: var(--light);

}

.feature-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;

}

.feature-card {

    overflow: hidden;

    background: white;

    border: 1px solid var(--border);

    border-radius: 10px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}

.feature-card:hover {

    transform: translateY(-6px);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.10);

}

.feature-image {

    height: 240px;

    overflow: hidden;

}

.feature-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}

.feature-card:hover .feature-image img {

    transform: scale(1.05);

}

.feature-content {

    position: relative;

    padding: 30px;

}

.feature-number {

    color: var(--blue);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

}

.feature-content h3 {

    margin: 8px 0 12px;

    color: var(--dark);

    font-size: 25px;

    line-height: 1.2;

}

.feature-content p {

    min-height: 80px;

    margin: 0 0 20px;

    color: var(--muted);

    font-size: 15px;

}

.card-link {

    color: var(--blue);

    font-size: 14px;

    font-weight: 700;

}


/* =========================================================
   QUALITY SECTION
========================================================= */

.quality-section {

    padding: 110px 0;

    background: white;

}

.quality-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;

}

.quality-content h2 {

    margin: 0 0 20px;

    color: var(--dark);

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.1;

    letter-spacing: -1.5px;

}

.quality-content > p:not(.section-label) {

    max-width: 560px;

    margin: 0 0 20px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.8;

}

.quality-content .button {

    margin-top: 10px;

}

.quality-image {

    overflow: hidden;

    border-radius: 12px;

}

.quality-image img {

    width: 100%;

    min-height: 420px;

    object-fit: cover;

}


/* =========================================================
   CTA
========================================================= */

.cta-section {

    padding: 70px 0;

    background: var(--blue);

}

.cta-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}

.cta-section .section-label {

    color: rgba(255,255,255,0.75);

}

.cta-section h2 {

    margin: 0;

    color: white;

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.1;

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    background: #101216;

    color: rgba(255,255,255,0.7);

}

.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1.2fr
        1fr;

    gap: 60px;

    padding-top: 70px;

    padding-bottom: 70px;

}

.footer-logo {

    width: 220px;

    height: auto;

    margin-bottom: 20px;

    filter: brightness(0) invert(1);

}

.footer-company p {

    max-width: 300px;

    margin: 0;

    font-size: 14px;

    line-height: 1.8;

}

.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}

.footer-column h3 {

    margin: 0 0 20px;

    color: white;

    font-size: 15px;

}

.footer-column a {

    margin-bottom: 10px;

    color: rgba(255,255,255,0.65);

    font-size: 14px;

    transition: color 0.2s ease;

}

.footer-column a:hover {

    color: white;

}

.footer-column p {

    margin: 0 0 12px;

    font-size: 14px;

    line-height: 1.8;

}

.footer-bottom {

    border-top: 1px solid rgba(255,255,255,0.1);

}

.footer-bottom-inner {

    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}

.footer-bottom p {

    margin: 0;

    color: rgba(255,255,255,0.45);

    font-size: 12px;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .header-container {

        min-height: 78px;

    }

    .brand img {

        width: 210px;

    }

    .main-navigation {

        gap: 0;

    }

    .main-navigation > a {

        padding-left: 9px;

        padding-right: 9px;

        font-size: 13px;

    }

    .main-navigation > a.active::after {

        left: 9px;

        right: 9px;

    }

    .main-navigation .nav-pricelist {

        margin-left: 5px;

        padding: 9px 12px;

    }

    .intro-grid {

        gap: 50px;

    }

    .feature-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .quality-grid {

        gap: 50px;

    }

    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 780px) {

    .header-container {

        position: relative;

    }

    .mobile-menu-button {

        display: block;

    }

    .main-navigation {

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 10px 20px 20px;

        background: white;

        border-bottom: 1px solid var(--border);

        box-shadow:
            0 15px 30px rgba(0,0,0,0.08);

    }

    .main-navigation.open {

        display: flex;

    }

    .main-navigation > a {

        padding: 14px 10px;

        border-bottom: 1px solid var(--border);

    }

    .main-navigation > a.active::after {

        display: none;

    }

    .main-navigation .nav-pricelist {

        margin: 10px 0 0;

        text-align: center;

    }

    .hero {

        min-height: 600px;

    }

    .hero-container {

        min-height: 600px;

    }

    .hero-content {

        padding: 60px 0;

    }

    .hero-content h1 {

        font-size: clamp(42px, 12vw, 60px);

        letter-spacing: -2px;

    }

    .hero-description {

        font-size: 16px;

    }

    .intro-section,
    .feature-section,
    .quality-section {

        padding: 75px 0;

    }

    .intro-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }

    .feature-grid {

        grid-template-columns: 1fr;

    }

    .feature-image {

        height: 260px;

    }

    .quality-grid {

        grid-template-columns: 1fr;

    }

    .quality-image {

        order: -1;

    }

    .quality-image img {

        min-height: 300px;

    }

    .cta-content {

        flex-direction: column;

        align-items: flex-start;

    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .section-container,
    .header-container,
    .hero-container {

        width: min(
            calc(100% - 30px),
            var(--container)
        );

    }

    .brand img {

        width: 180px;

    }

    .hero {

        min-height: 560px;

    }

    .hero-container {

        min-height: 560px;

    }

    .hero-content h1 {

        font-size: 42px;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }

    .hero-buttons .button {

        width: 100%;

    }

    .feature-content {

        padding: 25px;

    }

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;

        padding-top: 55px;

        padding-bottom: 55px;

    }

    .footer-bottom-inner {

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        padding-top: 18px;

        padding-bottom: 18px;

    }

}