@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --forest: #6aa58f;
    --forest-deep: #2b4b43;
    --cream: #f7f2e8;
    --cream-strong: #edf3ec;
    --wine: #4f8c79;
    --plum: #31453f;
    --gold: #edf3ec;
    --ink: #24312d;
    --muted: #6c7974;
    --line: rgba(106, 165, 143, 0.18);
    --shadow: 0 24px 70px rgba(27, 41, 36, 0.12);
    --radius: 1.4rem;
    --radius-sm: 0.9rem;
    --container: min(1180px, calc(100vw - 2rem));
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(106, 165, 143, 0.16), transparent 28%),
        linear-gradient(180deg, #fbf8f1 0%, #f5efe6 100%);
    font-family: 'Manrope', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

html[dir='rtl'] body {
    direction: rtl;
    text-align: right;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-body {
    min-height: 100vh;
}

.section {
    padding: 5rem 0;
}

.section--soft {
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.74), rgba(247, 242, 232, 0.96)),
        linear-gradient(90deg, rgba(106, 165, 143, 0.08), transparent);
}

.section--intro {
    padding: 2.3rem 0 1rem;
}

.section--products-compact {
    padding-top: 1.25rem;
}

.section-heading {
    max-width: 46rem;
    margin-bottom: 2rem;
}

.section-heading__eyebrow,
.hero__eyebrow,
.footer-eyebrow {
    margin: 0 0 0.75rem;
    color: var(--wine);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 0.96;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3.2rem, 7vw, 6rem);
}

h2 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

p {
    margin: 0 0 1rem;
}

.rich-text p:last-child,
.feature-list:last-child,
.product-card__body p:last-child {
    margin-bottom: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    font-weight: 700;
}

.button:hover {
    transform: translateY(-1px);
}

.button:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.admin-login__card input:focus-visible {
    outline: 3px solid rgba(106, 165, 143, 0.28);
    outline-offset: 2px;
}

.button--primary {
    background: linear-gradient(135deg, var(--wine), var(--forest));
    color: #fff;
    box-shadow: 0 16px 30px rgba(79, 140, 121, 0.24);
}

.button--ghost,
.button--ghost-light {
    border-color: rgba(255, 255, 255, 0.38);
    background: transparent;
}

.button--ghost {
    border-color: rgba(106, 165, 143, 0.24);
    color: var(--forest);
    background: rgba(255, 255, 255, 0.54);
}

.button--ghost-light {
    color: #fff;
    background: rgba(243, 237, 224, 0.14);
    border-color: rgba(243, 237, 224, 0.72);
    backdrop-filter: blur(14px);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.6rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(251, 248, 241, 0.9);
    border-bottom: 1px solid rgba(106, 165, 143, 0.12);
    box-shadow: 0 8px 24px rgba(27, 41, 36, 0.06);
}

.site-header__inner {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
    min-height: 4.7rem;
    padding: 0.35rem 0 0.9rem;
}

.brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 0;
    padding: 0.05rem 0 0.45rem;
}

.brand__logo {
    width: clamp(6.9rem, 11vw, 8.4rem);
    height: auto;
    object-fit: contain;
}

.brand__tagline {
    position: absolute;
    top: calc(100% - 0.2rem);
    left: 0.1rem;
    width: min(27rem, 46vw);
    color: var(--muted);
    font-size: 0.64rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: normal;
    line-height: 1.2;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    justify-self: end;
    flex-wrap: nowrap;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.45rem;
    padding: 0 0.62rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(23, 41, 31, 0.82);
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0.65rem;
    bottom: 0.42rem;
    width: calc(100% - 1.3rem);
    height: 2px;
    background: var(--forest);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-current {
    color: var(--forest-deep);
    background: rgba(56, 168, 144, 0.12);
}

.site-nav a:hover::after,
.site-nav a.is-current::after,
.language-switcher a.is-current::after {
    transform: scaleX(1);
}

.language-switcher {
    display: inline-flex;
    gap: 0.65rem;
    margin-left: 0.45rem;
    padding-left: 0.65rem;
    border-left: 1px solid rgba(106, 165, 143, 0.18);
}

html[dir='rtl'] .site-nav a::after,
html[dir='rtl'] .language-switcher a::after {
    transform-origin: right;
}

html[dir='rtl'] .brand__tagline {
    left: auto;
    right: 0.1rem;
    text-align: right;
}

html[dir='rtl'] .language-switcher {
    margin-left: 0;
    margin-right: 0.8rem;
    padding-left: 0;
    padding-right: 0.9rem;
    border-left: 0;
    border-right: 1px solid rgba(56, 168, 144, 0.18);
}

.language-switcher a {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.58rem;
    border: 1px solid rgba(106, 165, 143, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    position: relative;
    z-index: 3;
    justify-self: end;
}

.nav-toggle span {
    width: 1.5rem;
    height: 2px;
    border-radius: 999px;
    background: var(--wine);
}

.hero {
    position: relative;
    min-height: 79vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--forest-deep);
    color: #fff;
}

.hero__media,
.hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__media {
    object-fit: cover;
    object-position: center 22%;
    transform: scale(1.03);
    transform-origin: center;
    filter: saturate(0.98) contrast(1.03) brightness(0.95);
    will-change: transform;
}

.hero__overlay {
    background:
        linear-gradient(180deg, rgba(247, 242, 232, 0.08), rgba(247, 242, 232, 0.08)),
        linear-gradient(120deg, rgba(17, 28, 24, calc(var(--hero-overlay-opacity) + 0.1)) 0%, rgba(43, 75, 67, 0.44) 48%, rgba(106, 165, 143, 0.24) 100%),
        linear-gradient(180deg, rgba(17, 28, 24, 0.22), rgba(17, 28, 24, 0.54));
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 7.8rem 0 5.8rem;
}

.hero__content--split {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(18rem, 30rem);
    gap: 2.8rem;
    align-items: center;
}

.hero__panel {
    position: relative;
    z-index: 1;
    max-width: 38rem;
}

.hero--split-media {
    background:
        radial-gradient(circle at top right, rgba(56, 168, 144, 0.16), transparent 24%),
        radial-gradient(circle at bottom left, rgba(243, 237, 224, 0.08), transparent 30%),
        linear-gradient(135deg, #111714 0%, #16352d 48%, #17291f 100%);
}

.hero--split-media .hero__panel {
    max-width: 39rem;
}

.hero h1 {
    font-size: clamp(2.65rem, 5.1vw, 4.85rem);
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    text-wrap: balance;
}

.hero__lead {
    max-width: 31rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.03rem;
}

.hero__eyebrow {
    color: rgba(247, 242, 232, 0.88);
}

.hero .cta-row {
    margin-top: 1.85rem;
}

.hero .button {
    min-width: 13.5rem;
}

.hero .button--primary {
    color: var(--forest-deep);
    background: var(--cream);
    box-shadow: 0 18px 34px rgba(17, 28, 24, 0.18);
    border-color: rgba(255, 255, 255, 0.18);
}

.hero .button--primary:hover {
    background: #fff;
}

.hero .button--ghost-light:hover {
    color: var(--forest-deep);
    background: var(--cream);
    border-color: var(--cream);
}

.hero__visual-shell {
    width: min(100%, 30rem);
    justify-self: end;
    padding: 0.8rem;
    border-radius: 2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
        linear-gradient(135deg, rgba(56, 168, 144, 0.14), rgba(243, 237, 224, 0.12));
    border: 1px solid rgba(56, 168, 144, 0.18);
    box-shadow: 0 30px 90px rgba(9, 10, 9, 0.32);
}

.hero__visual {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    border-radius: 1.45rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

@media (prefers-reduced-motion: no-preference) {
    .hero__media,
    .hero__visual {
        animation: hero-media-zoom 18s ease-in-out infinite alternate;
    }
}

@keyframes hero-media-zoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.12);
    }
}

.page-hero__lead,
.content-block__subtitle {
    color: var(--muted);
    font-size: 1.08rem;
}

.page-hero {
    padding: 6rem 0 2.2rem;
}

.page-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 2.4rem;
    align-items: center;
}

.page-hero__inner img {
    height: 24rem;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.page-hero--product {
    padding-bottom: 0;
}

.intro-copy,
.narrow-copy {
    max-width: 52rem;
}

.narrow-copy {
    margin: 0 auto;
}

.product-grid,
.gallery-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.gallery-card,
.feature-card,
.contact-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover,
.gallery-card:hover,
.feature-card:hover,
.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(106, 165, 143, 0.22);
    box-shadow: 0 28px 70px rgba(27, 41, 36, 0.16);
}

.product-card img {
    width: 100%;
    height: clamp(17.5rem, 23vw, 28rem);
    object-fit: contain;
    object-position: center;
    padding: 1.25rem 1.5rem 0.85rem;
    background: linear-gradient(180deg, rgba(249, 245, 237, 0.96), rgba(255, 255, 255, 0.99));
}

.gallery-card img {
    width: 100%;
    height: 15rem;
    object-fit: cover;
}

.product-card__body,
.gallery-card figcaption,
.contact-card {
    padding: 1.3rem;
}

.product-card__category {
    margin-bottom: 0.45rem;
    color: var(--wine);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 700;
}

.feature-list {
    margin: 1rem 0 0;
    padding-left: 1rem;
}

.feature-list li + li {
    margin-top: 0.35rem;
}

.content-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 2rem;
    align-items: start;
}

.content-block__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.content-block__items--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-block__media img {
    width: 100%;
    height: 100%;
    min-height: 22rem;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-card {
    padding: 1.2rem;
}

.feature-card__value {
    margin-bottom: 0.25rem;
    color: var(--wine);
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.feature-card__label {
    color: var(--muted);
    font-weight: 700;
}

.gallery-card figcaption {
    color: var(--muted);
    font-size: 0.92rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.5rem;
}

.contact-details {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.contact-details li + li {
    margin-top: 0.4rem;
}

.contact-form,
.admin-login__card {
    display: grid;
    gap: 1rem;
}

.form-row,
.contact-form > div {
    display: grid;
    gap: 0.45rem;
}

.contact-form input,
.contact-form textarea,
.admin-login__card input {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(106, 165, 143, 0.16);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.92);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.admin-login__card input:focus {
    border-color: rgba(106, 165, 143, 0.3);
    box-shadow: 0 0 0 4px rgba(106, 165, 143, 0.08);
    background: #fff;
}

.contact-form label,
.admin-login__card label {
    font-size: 0.92rem;
    font-weight: 700;
}

.form-row--checkbox {
    gap: 0.55rem;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.contact-form .checkbox-field input[type='checkbox'] {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0.25rem 0 0;
    padding: 0;
    border-radius: 0.3rem;
    flex: 0 0 auto;
    accent-color: var(--forest);
    appearance: auto;
    box-shadow: none;
}

.checkbox-field label {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.map-frame {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.map-frame iframe {
    width: 100%;
    min-height: 28rem;
    border: 0;
}

.map-frame--compact iframe {
    min-height: 18rem;
}

.site-footer {
    margin-top: 4rem;
    padding: 3rem 0 2rem;
    background: linear-gradient(180deg, var(--forest-deep), #111713);
    color: rgba(255, 255, 255, 0.86);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.footer-brand__logo {
    width: min(100%, 13rem);
    margin-bottom: 1rem;
    object-fit: contain;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 0.45rem;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.62);
}

.site-footer__meta {
    display: grid;
    justify-items: end;
    gap: 0.45rem;
}

.site-footer__meta p {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.9rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.78);
}

.footer-legal-links a:hover {
    color: #fff;
}

.site-footer__credit a {
    color: #fff;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 70;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(106, 165, 143, 0.16);
    border-radius: var(--radius);
    background: rgba(250, 246, 239, 0.96);
    box-shadow: 0 24px 70px rgba(23, 41, 31, 0.18);
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.18s ease, transform 0.18s ease;
    backdrop-filter: blur(18px);
}

.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner__content p:last-child {
    margin-bottom: 0;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.flash {
    padding: 0.9rem 0;
}

.flash--success {
    background: rgba(106, 165, 143, 0.08);
    border-bottom: 1px solid rgba(106, 165, 143, 0.14);
}

.flash--error {
    background: rgba(27, 41, 36, 0.08);
    border: 1px solid rgba(106, 165, 143, 0.18);
    border-radius: var(--radius-sm);
}

.admin-login-body {
    background:
        radial-gradient(circle at top left, rgba(106, 165, 143, 0.2), transparent 30%),
        linear-gradient(180deg, var(--forest-deep), #111713);
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.admin-login__card {
    width: min(30rem, 100%);
    padding: 2rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.admin-login__card h1 {
    font-size: 2.6rem;
}

.ea .content-top {
    background: transparent;
}

@media (max-width: 1180px) {
    .brand__tagline {
        display: none;
    }

    .site-nav {
        gap: 0.35rem;
    }

    .site-nav a {
        padding: 0 0.5rem;
        font-size: 0.91rem;
    }

    .site-nav a::after {
        left: 0.5rem;
        width: calc(100% - 1rem);
    }

    .language-switcher {
        gap: 0.45rem;
        margin-left: 0.25rem;
        padding-left: 0.5rem;
    }
}

@media (max-width: 960px) {
    .site-header__inner {
        grid-template-columns: 1fr auto 1fr;
        min-height: 4rem;
        padding: 0.35rem 0;
    }

    .brand {
        grid-column: 2;
        justify-self: center;
        align-items: center;
        padding-bottom: 0;
    }

    .brand__logo {
        width: clamp(6.6rem, 31vw, 7.8rem);
    }

    .nav-toggle {
        display: inline-flex;
        grid-column: 3;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.55rem);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.9rem;
        background: rgba(251, 248, 241, 0.98);
        border: 1px solid rgba(106, 165, 143, 0.14);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        justify-self: stretch;
    }

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

    .site-nav a {
        width: 100%;
        min-height: 3rem;
    }

    .language-switcher {
        margin-left: 0;
        width: 100%;
        margin-top: 0.25rem;
        padding-left: 0;
        padding-top: 0.85rem;
        border-left: 0;
        border-top: 1px solid rgba(106, 165, 143, 0.14);
    }

    .page-hero__inner,
    .content-block,
    .contact-grid,
    .site-footer__grid,
    .site-footer__bottom,
    .product-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero__content--split {
        grid-template-columns: 1fr;
    }

    .hero__visual-shell {
        justify-self: stretch;
        width: 100%;
        max-width: 30rem;
    }

    .content-block__items {
        grid-template-columns: 1fr;
    }

    .page-hero__inner img {
        height: 18rem;
    }

    .site-footer__meta,
    .footer-legal-links {
        justify-items: start;
        justify-content: flex-start;
    }

    .cookie-banner {
        grid-template-columns: 1fr;
    }

    .cookie-banner__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4rem 0;
    }

    .brand__logo {
        width: clamp(6.2rem, 42vw, 7.1rem);
    }

    .hero {
        min-height: 72vh;
    }

    .hero__content {
        padding-top: 6.8rem;
    }

    .hero__panel {
        max-width: 100%;
    }

    .hero__visual-shell {
        padding: 0.65rem;
        border-radius: 1.4rem;
    }

    .hero__visual {
        border-radius: 1rem;
    }

    .button {
        width: 100%;
    }

    .cta-row {
        flex-direction: column;
    }
}
