:root {
    --navy: #0C1B2A;
    --navy-light: #132C44;
    --navy-mid: #1A3A5C;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-dark: #A88B3D;
    --gold-glow: rgba(201, 168, 76, 0.12);
    --cream: #FAF8F5;
    --cream-dark: #F0EDE7;
    --warm-gray: #8A8580;
    --warm-gray-light: #B5B0AA;
    --text-dark: #1C1917;
    --text-body: #44403C;
    --white: #FFFFFF;
    --ff-display: 'Cormorant Garamond', Georgia, serif;
    --ff-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 24px rgba(12,27,42,0.06);
    --shadow-card: 0 8px 32px rgba(12,27,42,0.08);
    --shadow-heavy: 0 16px 48px rgba(12,27,42,0.12);
    --max-w: 1240px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--ff-body);
    font-size: 16px;
    color: var(--text-body);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; border: none; outline: none; background: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* === Language visibility === */
[data-lang="pl"] .lang-ua, [data-lang="pl"] .lang-en,
[data-lang="ua"] .lang-pl, [data-lang="ua"] .lang-en,
[data-lang="en"] .lang-pl, [data-lang="en"] .lang-ua { display: none !important; }

/* === HEADER === */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(12,27,42,0.06);
    transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-soft); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: flex; align-items: center; }
.logo__img { height: 36px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; gap: clamp(1rem, 2.2vw, 1.8rem); }
.nav__link {
    font-size: 0.82rem; font-weight: 500; color: var(--warm-gray);
    letter-spacing: 0.06em; text-transform: uppercase;
    transition: var(--transition); position: relative; padding: 4px 0;
}
.nav__link::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px; background: var(--gold); transition: var(--transition);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after { width: 100%; }

.lang-switch {
    display: flex; gap: 2px; background: var(--cream-dark);
    border-radius: 6px; padding: 3px; margin-left: 0.5rem;
}
.lang-btn {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
    padding: 5px 10px; border-radius: 4px; cursor: pointer;
    color: var(--warm-gray); transition: var(--transition);
}
.lang-btn.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-soft); }
.lang-btn:hover:not(.active) { color: var(--navy); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 1001; }
.burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO === */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden; padding-top: 76px;
    background: var(--navy);
    color: var(--white);
}
.hero__bg-img {
    position: absolute; inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.18;
}
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(12,27,42,0.92) 0%, rgba(19,44,68,0.85) 50%, rgba(26,58,92,0.8) 100%);
}
.hero__gold-line {
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero__content { position: relative; z-index: 1; max-width: 720px; padding: 4rem 0; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0; animation: fadeUp 0.7s ease forwards 0.2s;
}
.hero__badge::before { content: ''; width: 32px; height: 2px; background: var(--gold); }
.hero__title {
    font-family: var(--ff-display); font-size: clamp(2.8rem, 5.5vw, 4.6rem);
    font-weight: 400; line-height: 1.1; letter-spacing: -0.01em;
    color: var(--white); margin-bottom: 1.5rem;
    opacity: 0; animation: fadeUp 0.7s ease forwards 0.35s;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__subtitle {
    font-size: clamp(1rem, 1.3vw, 1.15rem); font-weight: 300;
    color: rgba(255,255,255,0.7); line-height: 1.8; max-width: 560px;
    margin-bottom: 2.5rem;
    opacity: 0; animation: fadeUp 0.7s ease forwards 0.5s;
}
.hero__actions {
    display: flex; align-items: center; gap: 1.25rem;
    opacity: 0; animation: fadeUp 0.7s ease forwards 0.65s;
}
.hero__decor-circle {
    position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
    width: 500px; height: 500px; border: 1px solid rgba(201,168,76,0.12);
    border-radius: 50%; opacity: 0; animation: fadeScale 1.2s ease forwards 0.8s;
}
.hero__decor-circle::before {
    content: ''; position: absolute; top: 12%; left: 12%; width: 76%; height: 76%;
    border: 1px solid rgba(201,168,76,0.08); border-radius: 50%;
}
.hero__decor-circle::after {
    content: ''; position: absolute; top: 24%; left: 24%; width: 52%; height: 52%;
    border: 1px solid rgba(201,168,76,0.05); border-radius: 50%;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em;
    padding: 15px 34px; border-radius: 4px; cursor: pointer;
    transition: var(--transition); text-transform: uppercase;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.25); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-heavy); }
.btn-arrow { font-size: 1.1em; transition: transform 0.3s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* === STATS === */
.stats {
    position: relative; z-index: 2; margin-top: -48px;
}
.stats__inner {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--white); border-radius: 12px;
    box-shadow: var(--shadow-heavy); overflow: hidden;
}
.stat {
    padding: 2.2rem 1.5rem; text-align: center; position: relative;
    transition: var(--transition);
}
.stat:hover { background: var(--gold-glow); }
.stat:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 20%; height: 60%;
    width: 1px; background: var(--cream-dark);
}
.stat__number {
    font-family: var(--ff-display); font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--gold-dark); line-height: 1.2; margin-bottom: 4px; font-weight: 500;
}
.stat__label {
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--warm-gray);
}

/* === SECTIONS COMMON === */
.section-pad { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-label {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.75rem;
    display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--gold); }
.section-title {
    font-family: var(--ff-display); font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; color: var(--text-dark);
}
.section-title em { font-style: italic; color: var(--gold-dark); }
.section-header { margin-bottom: clamp(2.5rem, 4vw, 4rem); }

/* === ABOUT === */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 5vw, 5rem); align-items: start; }
.about__text { color: var(--text-body); line-height: 1.85; font-weight: 300; }
.about__text p + p { margin-top: 1rem; }
.about__image-wrap {
    position: relative; border-radius: 12px; overflow: hidden;
    aspect-ratio: 4/3;
}
.about__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about__image-wrap::after {
    content: ''; position: absolute; inset: 0;
    border: 1px solid rgba(201,168,76,0.15); border-radius: 12px;
}

/* Pillars */
.pillars { display: grid; gap: 1rem; margin-top: 2rem; }
.pillar {
    display: flex; gap: 1.25rem; padding: 1.25rem;
    background: var(--cream); border-radius: 8px; transition: var(--transition);
    border: 1px solid transparent;
}
.pillar:hover { border-color: var(--gold); background: var(--gold-glow); transform: translateX(4px); }
.pillar__icon {
    width: 44px; height: 44px; min-width: 44px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--gold-glow), rgba(201,168,76,0.18));
    border-radius: 8px; color: var(--gold-dark);
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar__title { font-weight: 600; font-size: 0.88rem; color: var(--text-dark); margin-bottom: 2px; }
.pillar__desc { font-size: 0.82rem; color: var(--warm-gray); line-height: 1.5; font-weight: 300; }

/* Legal block */
.legal-block {
    margin-top: 2.5rem; padding: 1.5rem 2rem;
    background: var(--cream); border-left: 3px solid var(--gold);
    border-radius: 0 8px 8px 0;
}
.legal-block__title {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--warm-gray); margin-bottom: 0.75rem;
}
.legal-block__data { display: grid; gap: 5px; }
.legal-block__row { font-size: 0.88rem; display: flex; gap: 8px; }
.legal-block__label { font-weight: 600; color: var(--text-dark); min-width: 155px; }
.legal-block__value { color: var(--warm-gray); }

/* === OFFER === */
.offer { background: var(--cream); }
.offer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.offer-card {
    background: var(--white); border: 1px solid rgba(12,27,42,0.06);
    border-radius: 12px; overflow: hidden; transition: var(--transition);
    position: relative;
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-heavy); border-color: transparent; }
.offer-card__img {
    width: 100%; height: 180px; object-fit: cover;
    transition: transform 0.6s ease;
}
.offer-card:hover .offer-card__img { transform: scale(1.05); }
.offer-card__img-wrap { overflow: hidden; position: relative; }
.offer-card__img-wrap::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 40%; background: linear-gradient(to top, var(--white), transparent);
}
.offer-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.offer-card__cat {
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.5rem;
}
.offer-card__title {
    font-family: var(--ff-display); font-size: 1.3rem; font-weight: 500;
    color: var(--text-dark); margin-bottom: 0.5rem;
}
.offer-card__desc { font-size: 0.82rem; color: var(--warm-gray); line-height: 1.6; font-weight: 300; }

/* === LOGISTICS === */
.logistics { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.logistics .section-title { color: var(--white); }
.logistics__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 5vw, 5rem); align-items: center; }
.logistics__text { color: rgba(255,255,255,0.65); line-height: 1.85; font-weight: 300; }
.logistics__bg-pattern {
    position: absolute; right: -200px; top: -200px;
    width: 600px; height: 600px; border: 1px solid rgba(201,168,76,0.06);
    border-radius: 50%; pointer-events: none;
}
.logistics__features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.log-feature {
    padding: 1.5rem; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06); border-radius: 10px;
    transition: var(--transition);
}
.log-feature:hover { background: rgba(255,255,255,0.07); border-color: rgba(201,168,76,0.25); }
.log-feature__icon { color: var(--gold); margin-bottom: 0.75rem; }
.log-feature__icon svg { width: 24px; height: 24px; }
.log-feature__title { font-weight: 600; font-size: 0.88rem; margin-bottom: 4px; }
.log-feature__desc { font-size: 0.75rem; color: rgba(255,255,255,0.4); line-height: 1.5; font-weight: 300; }

.incoterms { margin-top: 2rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.incoterm {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
    padding: 8px 18px; border: 1px solid rgba(201,168,76,0.25);
    border-radius: 4px; color: var(--gold); background: rgba(201,168,76,0.05);
}

/* === INQUIRY === */
.inquiry { background: var(--white); }
.inquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 5vw, 5rem); align-items: start; }

.form { display: grid; gap: 1.25rem; }
.form-group { display: grid; gap: 5px; }
.form-label {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--warm-gray);
}
.form-input, .form-textarea {
    padding: 14px 16px; background: var(--cream); border: 1px solid var(--cream-dark);
    border-radius: 6px; font-size: 0.95rem; color: var(--text-dark); transition: var(--transition);
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-submit { justify-self: start; margin-top: 0.5rem; }

.payment__title {
    font-family: var(--ff-display); font-size: 1.6rem; font-weight: 500;
    color: var(--text-dark); margin-bottom: 1rem;
}
.payment__intro { color: var(--text-body); margin-bottom: 1.25rem; line-height: 1.75; font-weight: 300; }
.payment-methods { display: grid; gap: 0.75rem; }
.payment-method {
    display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem;
    background: var(--cream); border-radius: 10px; transition: var(--transition);
    border: 1px solid transparent;
}
.payment-method:hover { border-color: var(--gold); background: var(--gold-glow); }
.payment-method__icon {
    width: 40px; height: 40px; min-width: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white); border-radius: 8px; color: var(--gold-dark);
    box-shadow: var(--shadow-soft);
}
.payment-method__icon svg { width: 18px; height: 18px; }
.payment-method__name { font-weight: 600; font-size: 0.88rem; color: var(--text-dark); }
.payment-method__desc { font-size: 0.78rem; color: var(--warm-gray); font-weight: 300; }

/* === CONTACT === */
.contact { background: var(--cream); }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.contact-item {
    display: flex; gap: 1.25rem; padding: 2rem;
    background: var(--white); border-radius: 12px;
    border: 1px solid rgba(12,27,42,0.04); transition: var(--transition);
}
.contact-item:hover { box-shadow: var(--shadow-card); border-color: transparent; }
.contact-item__icon {
    width: 52px; height: 52px; min-width: 52px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 12px; color: var(--gold);
}
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item__label {
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--warm-gray); margin-bottom: 4px;
}
.contact-item__value { font-size: 0.95rem; font-weight: 500; color: var(--text-dark); }
.contact__hours {
    text-align: center; color: var(--warm-gray); margin-top: 2.5rem;
    font-size: 0.88rem; font-weight: 300;
}

/* === FOOTER === */
.footer {
    background: var(--navy); color: rgba(255,255,255,0.45);
    padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
}
.footer__top {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__logo { margin-bottom: 0.75rem; }
.footer__logo-img { height: 32px; width: auto; }
.footer__desc { font-size: 0.85rem; line-height: 1.7; max-width: 360px; font-weight: 300; }
.footer__heading {
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.15em; color: rgba(255,255,255,0.25); margin-bottom: 1.25rem;
}
.footer__link-list { display: grid; gap: 8px; }
.footer__link { font-size: 0.85rem; color: rgba(255,255,255,0.45); transition: var(--transition); font-weight: 300; }
.footer__link:hover { color: var(--gold); }
.footer__bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 2rem; font-size: 0.75rem;
}
.footer__legal { display: flex; gap: 1.5rem; }

/* === PRIVACY MODAL === */
.privacy-overlay {
    display: none; position: fixed; inset: 0; z-index: 2000;
    background: rgba(12,27,42,0.6); backdrop-filter: blur(10px);
    justify-content: center; align-items: center; padding: 2rem;
}
.privacy-overlay.active { display: flex; }
.privacy-modal {
    background: var(--white); border-radius: 16px;
    max-width: 700px; width: 100%; max-height: 80vh; overflow-y: auto;
    padding: 3rem; position: relative;
}
.privacy-close {
    position: absolute; top: 18px; right: 18px;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; border-radius: 50%; background: var(--cream); transition: var(--transition);
}
.privacy-close:hover { background: var(--gold-glow); }
.privacy-modal h2 { font-family: var(--ff-display); font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--text-dark); }
.privacy-modal h3 { font-size: 1rem; font-weight: 600; margin: 1.25rem 0 0.5rem; color: var(--text-dark); }
.privacy-modal p { font-size: 0.88rem; color: var(--text-body); line-height: 1.7; margin-bottom: 0.75rem; font-weight: 300; }

/* === ANIMATIONS === */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeScale { from { opacity: 0; transform: translateY(-50%) scale(0.85); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .offer__grid { grid-template-columns: 1fr 1fr; }
    .about__grid, .logistics__grid, .inquiry__grid { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .section-pad { padding: clamp(3rem, 6vw, 5rem) 0; }
    .burger { display: flex; }
    .nav__links {
        position: fixed; top: 0; right: -100%; width: min(320px, 85vw); height: 100vh;
        background: var(--cream); flex-direction: column;
        padding: 100px 2rem 2rem; gap: 0;
        box-shadow: var(--shadow-heavy); transition: right 0.35s ease; z-index: 1000;
    }
    .nav__links.open { right: 0; }
    .nav__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--cream-dark); font-size: 0.95rem; }
    .lang-switch { margin-left: 0; }
    .stats__inner { grid-template-columns: 1fr 1fr; border-radius: 12px; }
    .stat:not(:last-child)::after { display: none; }
    .offer__grid { grid-template-columns: 1fr; }
    .logistics__features { grid-template-columns: 1fr; }
    .contact__grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .hero__decor-circle { display: none; }
    .hero { min-height: 90vh; }
}
