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

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #202020;
    background: #ffffff;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

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

button {
    font: inherit;
}

ul {
    list-style: none;
}


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

:root {
    --primary: #111111;
    --primary-hover: #333333;

    --accent: #c99a55;

    --text: #202020;
    --text-light: #666666;
    --white: #ffffff;

    --background: #ffffff;
    --background-light: #f6f6f4;
    --background-dark: #111111;

    --border: #e5e5e5;

    --container: 1200px;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;

    --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);

    --transition: 0.3s ease;
}


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

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

    margin-inline: auto;
}

.section {
    padding: 100px 0;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--accent);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 50px;
}

.section-heading > p {
    max-width: 450px;

    color: var(--text-light);
}

.section-heading.centered {
    display: block;

    max-width: 700px;

    margin-inline: auto;

    text-align: center;
}

.section-heading.centered p {
    margin: 15px auto 0;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h1 {
    font-size: clamp(42px, 6vw, 76px);
}

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

h3 {
    font-size: 20px;
}


/* =====================================================
   BUTTONS
===================================================== */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 26px;

    border: 1px solid transparent;
    border-radius: var(--radius-sm);

    font-size: 14px;
    font-weight: 700;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

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

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: #eeeeee;
}


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

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    z-index: 1000;

    width: 100%;

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

    border-bottom: 1px solid transparent;

    transition:
        box-shadow var(--transition),
        border-color var(--transition);
}

.site-header.scrolled {
    border-color: var(--border);

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;

    align-items: center;

    min-height: 82px;
}

.logo {
    display: block;

    width: 125px;

    flex-shrink: 0;
}

.main-nav {
    display: flex;

    align-items: center;

    gap: 30px;

    margin-left: auto;
    margin-right: 30px;
}

.main-nav a {
    position: relative;

    color: #333;

    font-size: 14px;
    font-weight: 600;
}

.main-nav a::after {
    content: "";

    position: absolute;

    bottom: -7px;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition: width var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-button {
    min-height: 44px;
    padding-inline: 20px;
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    margin-left: auto;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: var(--primary);

    transition: var(--transition);
}


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

.hero {
    position: relative;

    height: min(760px, 100vh);
    min-height: 620px;

    margin-top: 82px;

    overflow: hidden;

    background: #222;
}

.hero-slider {
    position: relative;

    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.25)
        ),
        url("../assets/hero-01.jpg")
        center / cover no-repeat;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

.hero-slide:nth-child(2) {
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.25)
        ),
        url("../assets/hero-02.jpg")
        center / cover no-repeat;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    position: relative;

    z-index: 2;

    color: var(--white);
}

.hero-content h1,
.hero-content h2 {
    max-width: 760px;

    margin-bottom: 25px;
}

.hero-content p {
    max-width: 600px;

    margin-bottom: 35px;

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

    font-size: 18px;
}

.hero-actions {
    display: flex;

    align-items: center;

    gap: 15px;
}

.slider-controls {
    position: absolute;

    right: max(20px, calc((100% - var(--container)) / 2));
    bottom: 40px;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 18px;
}

.slider-controls button {
    border: 0;

    background: transparent;

    color: var(--white);

    cursor: pointer;
}

.slider-prev,
.slider-next {
    font-size: 22px;
}

.slider-dots {
    display: flex;

    gap: 8px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

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

.slider-dots .dot.active {
    background: var(--white);
}


/* =====================================================
   PRODUCTS
===================================================== */

.products-section {
    background: var(--background);
}

.products-grid {
    display: grid;

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

    gap: 25px;
}

.product-card {
    overflow: hidden;

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

    background: var(--white);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.product-image {
    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: var(--background-light);
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    color: #999;

    font-size: 14px;
}

.product-content {
    padding: 28px;
}

.product-category {
    display: block;

    margin-bottom: 8px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-content h3 {
    margin-bottom: 12px;
}

.product-content p {
    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 14px;
}

.product-link,
.text-link {
    font-size: 14px;
    font-weight: 700;
}

.product-link:hover,
.text-link:hover {
    color: var(--accent);
}


/* =====================================================
   FEATURED
===================================================== */

.featured-section {
    background: var(--background-light);
}

.featured {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.featured-image {
    position: relative;

    overflow: hidden;

    border-radius: var(--radius-lg);
}

.featured-image img {
    aspect-ratio: 1 / 1;

    object-fit: cover;
}

.featured-badge {
    position: absolute;

    top: 20px;
    left: 20px;

    padding: 8px 14px;

    border-radius: 50px;

    background: var(--white);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
}

.featured-content h2 {
    margin-bottom: 25px;
}

.featured-content > p {
    margin-bottom: 18px;

    color: var(--text-light);
}

.featured-intro {
    font-size: 18px;
}

.check-list {
    margin: 28px 0 32px;
}

.check-list li {
    display: flex;

    gap: 12px;

    margin-bottom: 12px;

    font-size: 14px;
    font-weight: 600;
}

.check-list span {
    color: var(--accent);
    font-weight: 800;
}


/* =====================================================
   COMPANY
===================================================== */

.company-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.company-content p {
    max-width: 560px;

    margin-bottom: 18px;

    color: var(--text-light);
}

.company-content h2 {
    max-width: 600px;

    margin-bottom: 25px;
}

.company-image {
    overflow: hidden;

    border-radius: var(--radius-lg);
}

.company-image img {
    aspect-ratio: 4 / 3;

    object-fit: cover;
}


/* =====================================================
   BENEFITS
===================================================== */

.benefits-section {
    background: var(--background-light);
}

.benefits-grid {
    display: grid;

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

    gap: 20px;
}

.benefit {
    padding: 35px 25px;

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

    background: var(--white);
}

.benefit-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin-bottom: 22px;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    font-weight: 700;
}

.benefit h3 {
    margin-bottom: 10px;
}

.benefit p {
    color: var(--text-light);

    font-size: 14px;
}


/* =====================================================
   FAQ
===================================================== */

.faq-section {
    background: var(--white);
}

.faq-list {
    max-width: 850px;

    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 25px 0;

    border: 0;

    background: transparent;

    color: var(--text);

    text-align: left;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
}

.faq-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--background-light);

    font-size: 20px;
    font-weight: 400;

    transition: transform var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition: grid-template-rows 0.3s ease;
}

.faq-answer p {
    overflow: hidden;

    color: var(--text-light);

    font-size: 14px;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
    padding-bottom: 25px;
}


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

.cta-section {
    padding: 30px 0 100px;
}

.cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 60px;

    border-radius: var(--radius-lg);

    background: var(--primary);

    color: var(--white);
}

.cta h2 {
    margin-bottom: 10px;

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

.cta p {
    color: rgba(255, 255, 255, 0.7);
}


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

.site-footer {
    padding: 70px 0 25px;

    background: var(--background-dark);

    color: var(--white);
}

.footer-grid {
    display: grid;

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

    gap: 50px;

    padding-bottom: 50px;
}

.footer-logo {
    display: block;

    width: 120px;

    margin-bottom: 20px;

    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 280px;

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

    font-size: 14px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 10px;

    font-size: 14px;
}

.footer-column a,
.footer-column span {
    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.social-links {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;

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

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

    font-size: 12px;
}


/* =====================================================
   RESPONSIVE — TABLET
===================================================== */

@media (max-width: 1024px) {

    .section {
        padding: 80px 0;
    }

    .main-nav {
        gap: 18px;
        margin-right: 20px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured {
        gap: 40px;
    }

    .company-grid {
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =====================================================
   RESPONSIVE — MOBILE
===================================================== */

@media (max-width: 768px) {

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

    .section {
        padding: 65px 0;
    }


    /* HEADER */

    .header-inner {
        min-height: 70px;
    }

    .logo {
        width: 105px;
    }

    .header-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;

        top: 70px;
        right: 0;

        width: 100%;
        height: calc(100vh - 70px);

        display: flex;

        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        margin: 0;

        padding: 30px;

        background: var(--white);

        transform: translateX(100%);

        transition: transform var(--transition);

        box-shadow: -5px 10px 30px rgba(0, 0, 0, 0.08);
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav a {
        width: 100%;

        padding: 17px 0;

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

        font-size: 16px;
    }

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

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* HERO */

    .hero {
        height: 700px;
        min-height: 0;

        margin-top: 70px;
    }

    .hero-content h1,
    .hero-content h2 {
        max-width: 100%;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .slider-controls {
        right: 15px;
        bottom: 25px;
    }


    /* HEADINGS */

    .section-heading {
        display: block;

        margin-bottom: 35px;
    }

    .section-heading > p {
        margin-top: 15px;
    }


    /* PRODUCTS */

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


    /* FEATURED */

    .featured {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .featured-image {
        order: 1;
    }

    .featured-content {
        order: 2;
    }


    /* COMPANY */

    .company-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .company-image {
        order: -1;
    }


    /* BENEFITS */

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


    /* CTA */

    .cta {
        flex-direction: column;

        align-items: flex-start;

        padding: 40px 25px;
    }

    .cta .btn {
        width: 100%;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 32px;
    }

    .hero {
        height: 650px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .product-content {
        padding: 22px;
    }

    .cta-section {
        padding-bottom: 65px;
    }

}


/* =====================================================
   SCROLL ANIMATION
===================================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

}