/* =========================================================
   EUROFOOD EXPORT Sp. z o.o. — one-page
   ========================================================= */

:root {
  --navy: #0f2a5c;
  --navy-2: #13366f;
  --green: #1f7a34;
  --green-2: #176429;
  --gold: #d4a017;
  --gold-soft: #f6e7bd;
  --bg: #f7f8f5;
  --bg-green: #eef3ec;
  --text: #2c3442;
  --muted: #5f6878;
  --line: #e3e6e1;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(15, 42, 92, .08);
  --shadow-lg: 0 14px 40px rgba(15, 42, 92, .14);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; flex-shrink: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em;
  border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--green); color: var(--white); box-shadow: 0 6px 16px rgba(31, 122, 52, .28); }
.btn--primary:hover { background: var(--green-2); transform: translateY(-1px); }
.btn--outline { border-color: var(--green); color: var(--green); background: rgba(255,255,255,.85); }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--block { width: 100%; }

/* ---------- Eyebrow / titles ---------- */
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow--line { display: inline-flex; align-items: center; gap: .7em; margin: 0; }
.eyebrow--line::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.eyebrow--light { color: var(--gold); }

.section-title { text-align: center; font-size: clamp(1.4rem, 3vw, 2.1rem); margin-bottom: 2.2rem; }
.section-title--lines { display: flex; align-items: center; justify-content: center; gap: 1.2rem; font-size: clamp(1.15rem, 2.4vw, 1.6rem); }
.section-title--lines::before, .section-title--lines::after { content: ""; width: clamp(30px, 8vw, 90px); height: 2px; background: var(--gold); }
.section-title--underline::after { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin: .8rem auto 0; border-radius: 2px; }
.accent-line { display: block; width: 56px; height: 3px; background: var(--gold); border-radius: 2px; margin: 1rem 0 1.4rem; }

/* ---------- Image placeholders ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, #f3ead6, #e8efe3 55%, #dfe8f3); }
.ph::before {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em;
  color: rgba(15, 42, 92, .35);
  background-image:
    radial-gradient(circle at 20% 25%, rgba(212,160,23,.25) 0 18%, transparent 19%),
    radial-gradient(circle at 80% 70%, rgba(31,122,52,.18) 0 22%, transparent 23%),
    radial-gradient(circle at 65% 20%, rgba(15,42,92,.10) 0 12%, transparent 13%);
}
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph--drinks { background: linear-gradient(135deg, #f8d9d4, #ffe2bf 50%, #d9ecd0); }
.ph--sweets { background: linear-gradient(135deg, #fde7b0, #fbd0d6 55%, #e1f0cf); }
.ph--snacks { background: linear-gradient(135deg, #fbe3c4, #f5d6cf 50%, #dcefd2); }
.ph--coffee { background: linear-gradient(135deg, #e9dccb, #d9e2f1 60%, #eae4d6); }
.ph--warehouse { background: linear-gradient(135deg, #e6d8bf, #d6dce6 60%, #c9d3e2); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(15,42,92,.06); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo__mark { width: 48px; height: 48px; display: grid; place-items: center; }
.logo__mark img { width: 48px; height: 48px; object-fit: contain; }
.logo__mark img + .logo__globe { display: none; }
.logo__globe { width: 46px; height: 46px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; color: var(--navy); letter-spacing: -.01em; }
.logo__name b { color: var(--green); }
.logo__sub {
  font-family: var(--font-head); font-weight: 600; font-size: .62rem; letter-spacing: .2em;
  color: var(--navy); margin-top: 4px; display: flex; align-items: center; gap: 6px;
}
.logo__sub::before, .logo__sub::after { content: ""; flex: 1; height: 1.5px; background: var(--green); }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--navy);
  position: relative; padding: .3em 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { padding: .7em 1.3em; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #fbfaf6, #f4f1e8); overflow: hidden; }
.hero__inner { position: relative; z-index: 2; min-height: clamp(560px, 50vw, 720px); display: flex; align-items: center; }
.hero__content { max-width: 540px; padding: 3.5rem 0 3rem; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.2rem; }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--muted); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 70%; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.hero__media img { object-position: right center; }

.route { display: flex; align-items: center; gap: .6rem; max-width: 420px; }
.route__point { display: flex; flex-direction: column; align-items: center; gap: .2rem; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--navy); }
.route__point svg { width: 26px; height: 26px; color: var(--gold); }
.route__line { flex: 1; height: 2px; position: relative; background: repeating-linear-gradient(90deg, var(--gold) 0 7px, transparent 7px 13px); margin-bottom: 1.2rem; }
.route__truck { position: absolute; top: -14px; left: 0; width: 26px; height: 26px; color: var(--navy); animation: drive 6s ease-in-out infinite alternate; }
@keyframes drive { from { left: 0; } to { left: calc(100% - 26px); } }

/* ---------- Brands ---------- */
.brands { padding: 3rem 0; background: var(--white); }
.brands .section-title { margin-bottom: 1.8rem; }
.brands__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
}
.brand { flex: 0 0 auto; height: 64px; display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.brand:hover { transform: scale(1.06); }
.brand img { max-height: 64px; width: auto; object-fit: contain; }
.brand img + span { display: none; }
.brand span { font-family: var(--font-head); font-weight: 800; white-space: nowrap; line-height: 1; }
.brand--barilla span { background: #d6001c; color: #fff; padding: .45em 1.1em; border-radius: 50%; font-size: 1.15rem; font-style: italic; border: 2px solid #fff; box-shadow: 0 0 0 2px #d6001c; }
.brand--pringles span { color: #c8102e; font-size: 1.45rem; font-family: Georgia, serif; font-style: italic; }
.brand--cocacola span { color: #e41e2b; font-size: 1.7rem; font-family: "Brush Script MT", "Segoe Script", cursive; font-weight: 700; }
.brand--fanta span { background: radial-gradient(circle at 40% 35%, #2a6fdb, #0b3c9d); color: #fff; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; font-style: italic; text-shadow: 1px 1px 0 #ff8a00; }
.brand--haribo span { color: #e2001a; font-size: 1.6rem; letter-spacing: .02em; }
.brand--monster span { color: #111; font-size: 1.15rem; letter-spacing: .06em; display: flex; flex-direction: column; align-items: center; border-left: 6px solid #7ac143; padding-left: .5rem; }
.brand--monster small { font-size: .55rem; letter-spacing: .4em; color: #7ac143; margin-top: 3px; }
.brand--lavazza span { color: #1d3c87; font-size: 1.55rem; font-style: italic; letter-spacing: -.01em; }

/* ---------- Assortment ---------- */
.assortment { padding: 4.5rem 0; background: var(--bg-green); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 4 / 3.3; }
.card__media img { transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .92rem; flex: 1; }
.card__link {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--green);
  text-decoration: none; margin-top: .4rem;
}
.card__link:hover svg { transform: translateX(3px); }
.card__link svg { transition: transform .2s; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; background: var(--bg); }
.about__media { min-height: 460px; }
.about__content { padding: 4rem clamp(1.5rem, 5vw, 5rem) 4rem clamp(1.5rem, 4vw, 4rem); max-width: 720px; }
.about__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.about h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about p { color: var(--muted); }
.about strong { color: var(--navy); }

.flags { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--navy); }
.flags span { display: flex; align-items: center; gap: .4rem; }
.flag { width: 30px; height: 20px; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.flags__swap { width: 22px; height: 22px; color: var(--gold); }

.features { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.features li { padding: 0 1.2rem; border-left: 1px solid var(--line); }
.features li:first-child { padding-left: 0; border-left: 0; }
.features svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: .6rem; }
.features h3 { font-size: .92rem; margin-bottom: .3rem; }
.features p { font-size: .82rem; margin: 0; line-height: 1.5; }

/* ---------- Steps ---------- */
.steps { padding: 4.5rem 0; background: var(--white); }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.step { display: flex; align-items: flex-start; gap: 1rem; position: relative; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; right: -1.6rem; width: 1.2rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 8px);
}
.step__num {
  flex: 0 0 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-soft); border: 2px solid var(--gold);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy);
}
.step__icon { width: 36px; height: 36px; color: var(--navy); margin-top: 10px; }
.step h3 { font-size: 1rem; margin: .35rem 0 .3rem; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact { position: relative; background: radial-gradient(circle at 75% 30%, var(--navy-2), var(--navy) 60%); color: #dfe6f3; padding: 4.5rem 0; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; opacity: .6; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,42,92,.95) 0, rgba(15,42,92,.75) 55%, rgba(15,42,92,.4)); }
.contact__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 470px); gap: 3rem; align-items: center; }
.contact h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 2rem; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.contact__list li { display: flex; align-items: flex-start; gap: 1rem; font-size: 1.05rem; }
.contact__list svg { width: 26px; height: 26px; color: var(--white); margin-top: 2px; }
.contact__list a { color: var(--white); text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact address { font-style: normal; color: var(--white); }

.form {
  position: relative;
  background: var(--white); color: var(--text);
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-lg);
}
.form h3 { font-size: 1.2rem; margin-bottom: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font-size: .8rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .9rem; color: var(--text);
  border: 1px solid #d5dae2; border-radius: 6px; padding: .7em .85em; background: #fbfcfd;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,122,52,.15); background: #fff; }
.field .is-invalid { border-color: #d0342c; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .78rem; color: var(--muted); margin-bottom: 1rem; cursor: pointer; line-height: 1.45; }
.check input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; }
.check a, .form__note a { color: var(--navy); font-weight: 600; }
.check.is-invalid { color: #d0342c; }
.form__error { color: #d0342c; font-size: .82rem; margin: -.3rem 0 .8rem; }
.form__note { font-size: .72rem; color: var(--muted); margin: .9rem 0 0; line-height: 1.45; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form__success {
  position: absolute; inset: 0; border-radius: var(--radius); background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem;
}
.form__success[hidden] { display: none; }
.form__success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-size: 2rem; display: grid; place-items: center; margin-bottom: 1rem; }
.form__success p { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: 2rem 0 1.2rem; font-size: .85rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer__nav a { text-decoration: none; color: var(--navy); font-weight: 500; }
.footer__nav a:hover { color: var(--green); }
.footer__company { display: flex; flex-direction: column; text-align: right; color: var(--muted); line-height: 1.6; }
.footer__company strong { color: var(--navy); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps__list .reveal:nth-child(2) { transition-delay: .1s; }
.cards .reveal:nth-child(3), .steps__list .reveal:nth-child(3) { transition-delay: .2s; }
.cards .reveal:nth-child(4) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .route__truck { animation: none; left: calc(50% - 13px); }
}
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 1.4rem; }
  .brands__list { overflow-x: auto; scrollbar-width: none; padding: .3rem .2rem; justify-content: flex-start; gap: 2.5rem; }
  .brands__list::-webkit-scrollbar { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__media { min-height: 340px; }
  .about__content { max-width: none; padding: 3rem 20px; width: min(1200px, 100%); margin-inline: auto; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: .5rem 20px 1.5rem;
    box-shadow: 0 12px 24px rgba(15,42,92,.12);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1rem; }
  .logo__name { font-size: 1.3rem; }
  .logo__mark, .logo__mark img { width: 40px; height: 40px; }
  .logo__globe { width: 40px; height: 40px; }

  .hero { display: flex; flex-direction: column; }
  .hero__inner { min-height: 0; order: 1; }
  .hero__content { padding: 2.2rem 0 1.5rem; max-width: none; }
  .hero__media { position: relative; order: 2; width: 100%; aspect-ratio: 16 / 11; -webkit-mask-image: none; mask-image: none; }
  .hero__media img { object-position: 78% center; }
  .hero__actions { margin-bottom: 1.8rem; }

  .steps__list { grid-template-columns: 1fr; gap: 1.6rem; max-width: 460px; margin-inline: auto; }
  .step:not(:last-child)::after { top: 60px; left: 27px; right: auto; width: 2px; height: 1.2rem; background: repeating-linear-gradient(180deg, var(--gold) 0 4px, transparent 4px 8px); }

  .contact__inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__company { text-align: left; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .hero__actions .btn { flex: 1 1 auto; padding: .8em 1em; font-size: .88rem; }
  .cards { gap: .9rem; }
  .card__body { padding: .9rem .9rem 1rem; }
  .card h3 { font-size: 1rem; }
  .card p { display: none; }
  .card__link { font-size: .78rem; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .features li { padding: 0 .5rem; text-align: center; }
  .features li:first-child { padding-left: 0; }
  .features svg { margin-inline: auto; width: 30px; height: 30px; }
  .features h3 { font-size: .78rem; }
  .features p { display: none; }
  .form { padding: 1.3rem; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .section-title--lines { gap: .7rem; }
  .assortment, .steps, .contact { padding: 3.2rem 0; }
}
