/* Homepage-only presentation. Header and footer intentionally remain untouched. */
.home-modern {
    --home-ink: #171916;
    --home-paper: #f5f4ef;
    --home-green: #355e3b;
    --home-lime: #d7ef73;
    --home-line: rgba(23, 25, 22, 0.14);
    background: var(--home-paper);
    color: var(--home-ink);
    overflow: hidden;
}

.home-modern a:focus-visible { outline: 3px solid var(--home-lime); outline-offset: 4px; }

.home-hero {
    min-height: 710px;
    height: calc(100vh - 116px);
    max-height: 920px;
    position: relative;
    isolation: isolate;
    color: #fff;
    background: #20251f;
}

.home-hero-media,
.home-hero-slider,
.home-hero-slider .owl-wrapper-outer,
.home-hero-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
}

.home-hero-media {
    overflow: hidden;
}

/* Prevent videos from stacking before Owl Carousel finishes initializing. */
.home-hero-slider > .item {
    position: absolute;
    inset: 0;
}

.home-hero-slider > .item:not(:first-child) {
    display: none;
}

.home-hero-slider .owl-wrapper,
.home-hero-slider .owl-item,
.home-hero-slider .item { height: 100% !important; }
.home-hero-slider .item { position: relative; overflow: hidden; }
.home-hero-slider video { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-hero-fallback { background: linear-gradient(135deg, #1f3425, #55705a); }

.home-hero-shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 13, 8, 0.78) 0%, rgba(7, 13, 8, 0.5) 44%, rgba(7, 13, 8, 0.08) 78%), linear-gradient(0deg, rgba(6, 10, 7, 0.42), transparent 45%);
    pointer-events: none;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-top: 40px;
    padding-bottom: 70px;
}

.home-hero-copy { width: min(720px, 70%); }

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--home-lime);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-eyebrow::before { width: 34px; height: 1px; background: currentColor; content: ""; }
.home-eyebrow-dark { color: var(--home-green); }

.home-hero h1 {
    max-width: 700px;
    margin: 0;
    color: #fff;
    font-size: clamp(54px, 6.4vw, 94px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.96;
    text-transform: none;
    overflow-wrap: break-word;
    hyphens: auto;
}

.home-hero-copy > p { max-width: 620px; margin: 30px 0 0; color: rgba(255, 255, 255, 0.78); font-size: 18px; line-height: 1.7; overflow-wrap: break-word; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

/* Longer translated headlines need a slightly more compact display scale. */
html[lang="tr"] .home-hero h1,
html[lang="de"] .home-hero h1,
html[lang="fr"] .home-hero h1,
html[lang="es"] .home-hero h1 {
    max-width: 780px;
    font-size: clamp(46px, 5.2vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

html[lang="de"] .home-hero-copy > p,
html[lang="fr"] .home-hero-copy > p,
html[lang="es"] .home-hero-copy > p {
    max-width: 680px;
    font-size: 17px;
    line-height: 1.6;
}

html[dir="rtl"] .home-hero-shade {
    background: linear-gradient(270deg, rgba(7, 13, 8, 0.78) 0%, rgba(7, 13, 8, 0.5) 44%, rgba(7, 13, 8, 0.08) 78%), linear-gradient(0deg, rgba(6, 10, 7, 0.42), transparent 45%);
}

html[dir="rtl"] .home-hero-copy {
    margin-left: auto;
    text-align: right;
}

.home-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-button:hover { transform: translateY(-2px); }
.home-button-primary { background: var(--home-lime); color: var(--home-ink); }
.home-button-primary:hover, .home-button-primary:focus { background: #e4f69b; color: var(--home-ink); }
.home-button-ghost { border-color: rgba(255, 255, 255, 0.42); color: #fff; backdrop-filter: blur(8px); }
.home-button-ghost:hover, .home-button-ghost:focus { border-color: #fff; background: #fff; color: var(--home-ink); }

.home-hero-note {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 6px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(20, 27, 21, 0.35);
    backdrop-filter: blur(14px);
}

.home-hero-note-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--home-lime); color: var(--home-ink); font-size: 17px; }
.home-hero-note strong, .home-hero-note span { display: block; }
.home-hero-note strong { margin-bottom: 3px; font-size: 13px; }
.home-hero-note div > span { color: rgba(255, 255, 255, 0.68); font-size: 11px; }

.home-scroll-cue { position: absolute; z-index: 2; right: 38px; bottom: 36px; display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.72); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.home-scroll-cue:hover { color: #fff; }
.home-hero .owl-controls { position: absolute; z-index: 3; left: 50%; bottom: 32px; transform: translateX(-50%); }
.home-hero .owl-pagination { display: flex; gap: 7px; }
.home-hero .owl-theme .owl-controls .owl-page span { width: 22px; height: 3px; margin: 0; border-radius: 0; background: rgba(255, 255, 255, 0.45); }
.home-hero .owl-theme .owl-controls .owl-page.active span { width: 46px; background: var(--home-lime); }
.home-hero .owl-buttons { display: none; }

.home-benefits { border-bottom: 1px solid var(--home-line); background: #fff; }
.home-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.home-benefit { min-height: 180px; display: flex; gap: 25px; padding: 48px 35px; border-right: 1px solid var(--home-line); }
.home-benefit:first-child { border-left: 1px solid var(--home-line); }
.home-benefit-number { color: var(--home-green); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.home-benefit h2 { margin: -5px 0 10px; color: var(--home-ink); font-size: 18px; font-weight: 600; text-transform: none; }
.home-benefit p { margin: 0; color: #747871; font-size: 13px; line-height: 1.7; }

.home-section { padding: 110px 0; }
.home-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); align-items: end; gap: 60px; margin-bottom: 52px; }
.home-section-heading .home-eyebrow { margin-bottom: 15px; }
.home-section-heading h2 { margin: 0; color: var(--home-ink); font-size: clamp(42px, 5vw, 70px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; text-transform: none; }
.home-section-heading > p { margin: 0 0 4px; color: #73766f; font-size: 15px; line-height: 1.75; }

.home-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 24px; }
.home-product-card { min-width: 0; }
.home-product-image { aspect-ratio: 1 / 1; display: block; position: relative; overflow: hidden; background: #e9e8e2; }
.home-product-image::after { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.35); content: ""; pointer-events: none; }
.home-product-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 700ms cubic-bezier(0.2, 0.7, 0, 1); }
.home-product-card:hover .home-product-image img { transform: scale(1.045); }

.home-product-arrow { position: absolute; z-index: 1; right: 16px; bottom: 16px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--home-ink); opacity: 0; transform: translateY(10px); transition: opacity 200ms ease, transform 200ms ease; }
.home-product-arrow i { transform: rotate(45deg); }
.home-product-card:hover .home-product-arrow, .home-product-image:focus .home-product-arrow { opacity: 1; transform: translateY(0); }
.home-product-info { padding: 20px 2px 0; }
.home-product-info > span { display: block; margin-bottom: 7px; color: #8d9089; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.home-product-info h3 { margin: 0; color: var(--home-ink); font-size: 19px; font-weight: 600; line-height: 1.35; text-transform: none; }
.home-product-info h3 a { color: inherit; }
.home-product-info h3 a:hover { color: var(--home-green); }
.home-section-action { margin-top: 55px; text-align: center; }
.home-text-link { display: inline-flex; align-items: center; gap: 16px; padding-bottom: 7px; border-bottom: 1px solid var(--home-ink); color: var(--home-ink); font-size: 13px; font-weight: 700; }
.home-text-link:hover { color: var(--home-green); border-color: var(--home-green); }

.home-catalogs { color: #fff; background: #1c211d; }
.home-section-heading-light h2 { color: #fff; }
.home-section-heading-light > p { color: rgba(255, 255, 255, 0.58); }
.home-catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; }
.home-catalog-card > a { display: block; color: #fff; }
.home-catalog-cover { aspect-ratio: 4 / 5.45; display: block; position: relative; overflow: hidden; background: #313731; }
.home-catalog-cover::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 12, 9, 0.25), transparent 35%); content: ""; }
.home-catalog-cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 700ms cubic-bezier(0.2, 0.7, 0, 1), filter 300ms ease; }
.home-catalog-card:hover img { transform: scale(1.04); filter: brightness(0.8); }
.home-catalog-open { position: absolute; z-index: 1; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--home-lime); color: var(--home-ink); opacity: 0; transform: translateY(-8px); transition: opacity 180ms ease, transform 180ms ease; }
.home-catalog-card:hover .home-catalog-open, .home-catalog-card a:focus .home-catalog-open { opacity: 1; transform: translateY(0); }
.home-catalog-meta { display: flex; align-items: end; justify-content: space-between; gap: 10px; padding: 19px 1px 0; }
.home-catalog-meta small { color: rgba(255, 255, 255, 0.46); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.home-catalog-meta strong { font-size: 14px; font-weight: 600; }
.home-empty-state { padding: 35px; border: 1px solid var(--home-line); text-align: center; }
.home-empty-state-dark { border-color: rgba(255, 255, 255, 0.16); }

.home-contact-band { padding: 80px 0; background: var(--home-lime); }
.home-contact-inner { display: grid; grid-template-columns: 1fr minmax(260px, 390px) auto; align-items: center; gap: 55px; }
.home-contact-inner .home-eyebrow { margin-bottom: 12px; }
.home-contact-inner h2 { margin: 0; color: var(--home-ink); font-size: clamp(36px, 4vw, 54px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; text-transform: none; }
.home-contact-inner > p { margin: 0; color: rgba(23, 25, 22, 0.7); font-size: 14px; line-height: 1.75; }
.home-button-dark { min-width: 185px; background: var(--home-ink); color: #fff; }
.home-button-dark:hover, .home-button-dark:focus { background: var(--home-green); color: #fff; }

@media (max-width: 1199px) {
    .home-hero { min-height: 640px; height: calc(100vh - 95px); }
    .home-hero-note { display: none; }
    .home-hero-copy { width: min(720px, 82%); }
    .home-benefit { padding: 40px 24px; }
    .home-contact-inner { grid-template-columns: 1fr 1fr; }
    .home-contact-inner .home-button { width: max-content; grid-column: 2; }
}

@media (max-width: 991px) {
    .home-hero { min-height: 620px; height: 78vh; max-height: 780px; }
    .home-hero-copy { width: 90%; }
    .home-benefit-grid { grid-template-columns: 1fr; }
    .home-benefit, .home-benefit:first-child { min-height: 0; border: 0; border-bottom: 1px solid var(--home-line); }
    .home-section { padding: 80px 0; }
    .home-product-grid, .home-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-catalog-grid { gap: 35px 20px; }
}

@media (max-width: 767px) {
    .home-hero { min-height: 570px; height: 72vh; max-height: 700px; }
    .home-hero-content { padding: 45px 22px 60px; }
    .home-hero-copy { width: 100%; }
    .home-eyebrow { margin-bottom: 16px; font-size: 10px; letter-spacing: 0.15em; }
    .home-hero h1 { font-size: clamp(44px, 14vw, 64px); }
    .home-hero-copy > p { margin-top: 23px; font-size: 15px; line-height: 1.6; }
    .home-hero-actions { margin-top: 27px; }
    .home-button { min-height: 50px; padding: 12px 18px; }
    .home-scroll-cue, .home-hero .owl-controls { display: none !important; }
    .home-benefit { gap: 18px; padding: 30px 22px; }
    .home-section { padding: 68px 0; }
    .home-section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 36px; }
    .home-section-heading h2 { font-size: 42px; }
    .home-product-grid { gap: 30px 14px; }
    .home-product-info { padding-top: 14px; }
    .home-product-info h3 { font-size: 15px; }
    .home-product-arrow { width: 38px; height: 38px; right: 10px; bottom: 10px; opacity: 1; transform: none; }
    .home-section-action { margin-top: 42px; }
    .home-catalog-grid { gap: 28px 14px; }
    .home-catalog-open { width: 38px; height: 38px; top: 10px; right: 10px; opacity: 1; transform: none; }
    .home-catalog-meta { display: block; padding-top: 12px; }
    .home-catalog-meta small, .home-catalog-meta strong { display: block; }
    .home-catalog-meta small { margin-bottom: 4px; font-size: 8px; }
    .home-contact-band { padding: 60px 0; }
    .home-contact-inner { grid-template-columns: 1fr; gap: 25px; }
    .home-contact-inner .home-button { grid-column: auto; }

    html[lang="tr"] .home-hero h1,
    html[lang="fr"] .home-hero h1,
    html[lang="es"] .home-hero h1 {
        font-size: clamp(36px, 10.5vw, 50px);
        line-height: 1.04;
    }

    html[lang="de"] .home-hero h1 {
        font-size: clamp(33px, 9.6vw, 46px);
        line-height: 1.05;
    }

    html[lang="tr"] .home-hero-copy > p,
    html[lang="de"] .home-hero-copy > p,
    html[lang="fr"] .home-hero-copy > p,
    html[lang="es"] .home-hero-copy > p,
    html[lang="ar"] .home-hero-copy > p {
        margin-top: 18px;
        font-size: 13px;
        line-height: 1.5;
    }

    html:not([lang="en"]) .home-hero-actions {
        margin-top: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-modern *, .home-modern *::before, .home-modern *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
