:root {
    --ink: #101812;
    --muted: #5f695f;
    --forest: #0d3b20;
    --forest-deep: #062712;
    --forest-soft: #174c29;
    --leaf: #2e8c38;
    --lime: #a9d631;
    --cream: #fbfbf5;
    --paper: #f2f4e9;
    --white: #ffffff;
    --line: rgba(15, 54, 28, 0.14);
    --shadow: 0 22px 70px rgba(11, 42, 20, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.home-redesign {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--cream);
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.home-redesign[dir="rtl"] {
    font-family: "Manrope", Tahoma, Arial, sans-serif;
}

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

.home-redesign a {
    color: inherit;
    text-decoration: none;
}

.home-redesign h1,
.home-redesign h2,
.home-redesign h3,
.home-redesign p,
.home-redesign figure {
    margin: 0;
}

.home-redesign button,
.home-redesign a {
    -webkit-tap-highlight-color: transparent;
}

.shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    height: 92px;
    color: var(--white);
    transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    position: fixed;
    background: rgba(6, 39, 18, 0.96);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    min-height: 92px;
    align-items: center;
    gap: 28px;
}

.brand-logo {
    display: inline-flex;
    width: 174px;
    align-items: center;
}

.brand-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(17px, 2vw, 33px);
}

.site-nav a {
    position: relative;
    padding: 10px 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.site-nav a::after {
    position: absolute;
    inset: auto 0 3px;
    height: 2px;
    content: "";
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
    transform: scaleX(1);
}

.header-actions,
.language-switch {
    display: flex;
    align-items: center;
}

.header-actions {
    gap: 20px;
}

.language-switch {
    gap: 7px;
    font-size: 0.73rem;
    font-weight: 800;
}

.language-switch a {
    opacity: 0.72;
}

.language-switch a.active,
.language-switch a:hover {
    color: var(--lime);
    opacity: 1;
}

.language-switch span {
    opacity: 0.55;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: 690px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--forest-deep);
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(3, 24, 11, 0.9) 0%, rgba(4, 30, 14, 0.72) 34%, rgba(5, 35, 16, 0.16) 68%, rgba(5, 31, 14, 0.07) 100%),
        linear-gradient(180deg, rgba(2, 17, 8, 0.5) 0%, transparent 35%, rgba(3, 23, 11, 0.2) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 82px;
}

.hero-copy {
    width: min(655px, 62%);
}

.hero-kicker,
.eyebrow {
    margin-bottom: 14px;
    color: var(--leaf);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero-kicker {
    color: var(--white);
    letter-spacing: 0.36em;
}

.hero h1 {
    max-width: 690px;
    font-family: "Outfit", "Manrope", sans-serif;
    font-size: clamp(2.7rem, 4.55vw, 4.8rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.hero h1::first-line {
    color: var(--white);
}

.hero-text {
    max-width: 590px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.02rem;
    line-height: 1.58;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 31px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.button-primary {
    color: var(--white);
    background: linear-gradient(135deg, #278439, #40a540);
    box-shadow: 0 12px 26px rgba(24, 105, 42, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #247631;
}

.button-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(4, 24, 12, 0.2);
}

.button-ghost:hover,
.button-ghost:focus-visible {
    color: var(--forest-deep);
    background: var(--white);
}

.button-small {
    min-height: 43px;
    margin-top: 25px;
    padding-inline: 30px;
}

.about-section {
    padding: 72px 0 68px;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: stretch;
    gap: 54px;
}

.about-copy {
    align-self: center;
    padding-block: 22px;
}

.section-copy h2,
.products-heading h2,
.quality-heading h2,
.contact-copy h2 {
    font-family: "Outfit", "Manrope", sans-serif;
    font-size: clamp(2rem, 3vw, 3.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.section-copy > p:not(.eyebrow) {
    max-width: 560px;
    margin-top: 17px;
    color: var(--muted);
    font-size: 0.98rem;
}

.about-visual {
    min-height: 425px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.products-section {
    position: relative;
    padding: 72px 0 76px;
    background: #f4f6ed;
}

.products-heading {
    display: grid;
    grid-template-columns: 1.05fr 0.8fr;
    align-items: end;
    gap: 70px;
    margin-bottom: 42px;
}

.products-intro {
    padding-bottom: 6px;
}

.products-intro p {
    color: var(--muted);
    font-size: 0.9rem;
}

.products-intro a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--leaf);
    color: var(--forest);
    font-size: 0.78rem;
    font-weight: 800;
}

.category-showcase {
    display: grid;
    gap: 12px;
}

.home-redesign .category-card {
    position: relative;
    min-height: 174px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    color: var(--white);
    background: var(--forest-deep);
    box-shadow: 0 16px 38px rgba(5, 38, 17, 0.12);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 620ms ease var(--category-delay), transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--category-delay), box-shadow 280ms ease;
}

.category-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.category-card__image,
.category-card__veil {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.category-card__image {
    object-fit: cover;
    object-position: center 58%;
    filter: saturate(0.88) contrast(1.06);
    transform: scale(1.01);
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.category-card--poultry .category-card__image {
    object-position: center 67%;
}

.category-card__veil {
    background: rgba(4, 45, 21, 0.68);
    transition: background 300ms ease;
}

.category-card__content {
    position: relative;
    z-index: 1;
    min-height: 174px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: 24px 34px;
}

.category-card__number {
    color: rgba(255, 255, 255, 0.58);
    font-family: "Outfit", "Manrope", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.category-card__copy {
    display: grid;
    gap: 5px;
}

.category-card__copy strong {
    font-family: "Outfit", "Manrope", sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.7rem);
    font-weight: 650;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.category-card__copy small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 600;
}

.category-card__action {
    min-width: 184px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(4, 31, 14, 0.42);
    font-size: 0.76rem;
    font-weight: 800;
    transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.category-card__action i {
    font-size: 0.92rem;
    transition: transform 220ms ease;
}

.category-card:hover,
.category-card:focus-visible {
    box-shadow: 0 22px 52px rgba(5, 38, 17, 0.22);
    outline: none;
}

.category-card:hover .category-card__image,
.category-card:focus-visible .category-card__image {
    filter: saturate(1.02) contrast(1.06);
    transform: scale(1.055);
}

.category-card:hover .category-card__veil,
.category-card:focus-visible .category-card__veil {
    background: rgba(4, 45, 21, 0.56);
}

.category-card:hover .category-card__action,
.category-card:focus-visible .category-card__action {
    color: var(--forest-deep);
    border-color: var(--lime);
    background: var(--lime);
    transform: translateX(-4px);
}

.category-card:hover .category-card__action i,
.category-card:focus-visible .category-card__action i {
    transform: translateX(4px);
}

[dir="rtl"] .category-card:hover .category-card__action,
[dir="rtl"] .category-card:focus-visible .category-card__action {
    transform: translateX(4px);
}

.quality-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--forest);
}

.quality-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 45, 20, 0.99), rgba(8, 66, 28, 0.93)),
        url("../img/hero-pasture-cattle.png") center / cover;
    opacity: 0.9;
}

.quality-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.88fr 2fr;
    align-items: center;
    gap: 58px;
    min-height: 260px;
    padding-block: 38px;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.78);
}

.quality-heading h2 {
    font-size: clamp(1.9rem, 2.8vw, 3rem);
}

.quality-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quality-item {
    min-height: 155px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    text-align: center;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.28);
}

.quality-item i {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 2.1rem;
}

.quality-item h3 {
    font-size: 0.94rem;
}

.quality-item p {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
    line-height: 1.42;
}

.contact-section {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    min-height: 390px;
    background: var(--forest-deep);
}

.contact-photo {
    min-height: 390px;
    background: url("../img/contact-steaks.png") center left / cover no-repeat;
}

.contact-panel {
    position: relative;
    display: grid;
    align-items: center;
    padding: 65px clamp(44px, 7vw, 115px);
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(5, 38, 17, 0.82), rgba(4, 30, 14, 0.98)),
        url("../img/contact-steaks.png") right center / cover;
}

.contact-panel::before {
    position: absolute;
    inset: 0 auto 0 -90px;
    width: 150px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(5, 38, 17, 0.84));
}

.contact-copy {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.contact-copy p:not(.eyebrow) {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.button-lime {
    color: var(--forest-deep);
    background: var(--lime);
}

.button-lime:hover,
.button-lime:focus-visible {
    background: #c2e855;
}

.button-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
    color: var(--forest-deep);
    background: var(--white);
}

.site-footer {
    padding: 28px 0 18px;
    color: #4c554c;
    background: var(--white);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.35fr 1.4fr auto;
    align-items: center;
    gap: 38px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-brand img {
    width: 142px;
    height: auto;
}

.footer-brand p {
    max-width: 240px;
    font-size: 0.67rem;
    line-height: 1.45;
}

.footer-nav,
.footer-language,
.footer-contact {
    display: flex;
    align-items: center;
}

.footer-nav {
    justify-content: center;
    gap: 27px;
    font-size: 0.65rem;
    font-weight: 700;
}

.footer-language,
.footer-contact {
    gap: 9px;
    font-size: 0.67rem;
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 17px;
    font-size: 0.62rem;
}

.footer-contact {
    gap: 20px;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-language a:hover {
    color: var(--leaf);
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: #25d366;
    box-shadow: 0 12px 30px rgba(13, 73, 33, 0.28);
    font-size: 1.55rem;
    transition: transform 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-3px) scale(1.03);
    outline: none;
}

[dir="rtl"] .hero-copy,
[dir="rtl"] .about-copy,
[dir="rtl"] .products-heading,
[dir="rtl"] .quality-heading,
[dir="rtl"] .contact-copy {
    text-align: right;
}

[dir="rtl"] .hero-overlay {
    transform: scaleX(-1);
}

[dir="rtl"] .hero-copy {
    margin-inline-start: auto;
}

[dir="rtl"] .fa-arrow-right {
    transform: scaleX(-1);
}

@media (max-width: 1050px) {
    .header-inner {
        grid-template-columns: 180px 1fr auto;
        gap: 18px;
    }

    .brand-logo {
        width: 150px;
    }

    .site-nav {
        gap: 16px;
    }

    .site-nav a {
        font-size: 0.67rem;
    }

    .quality-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .quality-heading {
        max-width: 560px;
    }
}

@media (max-width: 860px) {
    .shell {
        width: min(100% - 36px, 720px);
    }

    .site-header,
    .header-inner {
        min-height: 78px;
        height: 78px;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .site-nav {
        position: absolute;
        inset: 78px 18px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 18px;
        background: rgba(5, 38, 17, 0.98);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 8px;
        font-size: 0.86rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero {
        min-height: 650px;
    }

    .hero-copy {
        width: min(620px, 88%);
    }

    .about-grid,
    .products-heading,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .about-grid {
        gap: 34px;
    }

    .about-visual {
        min-height: 360px;
    }

    .products-heading {
        gap: 20px;
    }

    .category-card__content {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 18px;
        padding-inline: 26px;
    }

    .category-card__action {
        min-width: 52px;
        width: 52px;
        padding: 0;
    }

    .category-card__action span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .quality-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quality-item:nth-child(3) {
        border-top: 1px solid rgba(255, 255, 255, 0.22);
    }

    .quality-item:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.22);
    }

    .contact-photo {
        min-height: 330px;
    }

    .contact-panel::before {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr auto;
    }

    .footer-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .shell {
        width: min(100% - 28px, 480px);
    }

    .brand-logo {
        width: 142px;
    }

    .language-switch {
        display: none;
    }

    .hero {
        min-height: 690px;
        align-items: end;
    }

    .hero-image {
        object-position: 67% center;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(3, 24, 11, 0.34), rgba(3, 24, 11, 0.83) 55%, rgba(3, 24, 11, 0.96));
    }

    .hero-inner {
        padding: 128px 0 62px;
    }

    .hero-copy {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 12vw, 3.6rem);
    }

    .hero-text {
        font-size: 0.94rem;
    }

    .hero-actions,
    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .about-section,
    .products-section {
        padding-block: 54px;
    }

    .about-visual {
        min-height: 280px;
    }

    .products-heading h2,
    .section-copy h2,
    .quality-heading h2,
    .contact-copy h2 {
        font-size: 2rem;
    }

    .category-showcase {
        gap: 10px;
    }

    .category-card,
    .category-card__content {
        min-height: 154px;
    }

    .category-card {
        border-radius: 14px;
    }

    .category-card__content {
        grid-template-columns: 1fr auto;
        gap: 14px;
        padding: 22px 20px;
    }

    .category-card__number {
        display: none;
    }

    .category-card__copy strong {
        font-size: clamp(1.5rem, 7vw, 2.05rem);
    }

    .category-card__copy small {
        max-width: 250px;
        font-size: 0.7rem;
    }

    .category-card__action {
        min-width: 46px;
        width: 46px;
        min-height: 46px;
    }

    .quality-grid {
        padding-block: 52px;
    }

    .quality-items {
        grid-template-columns: 1fr;
    }

    .quality-item {
        min-height: 0;
        padding: 24px 16px;
        border-inline-start: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .contact-photo {
        min-height: 280px;
    }

    .contact-panel {
        padding: 52px 24px 58px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-nav {
        grid-column: auto;
        grid-row: auto;
        gap: 16px 22px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
