/* Marbev — site styles */
:root {
  --ink: #0E1A2B;
  --text: #2A3546;
  --muted: #5D6A7C;
  --blue: #1F4E8C;
  --blue-d: #153A6B;
  --blue-l: #3A7FC2;
  --sky: #EAF2FB;
  --grey: #F4F6F9;
  --line: #E1E6ED;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 26, 43, .04), 0 8px 24px rgba(14, 26, 43, .06);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
:focus-visible { outline: 3px solid var(--blue-l); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--grey { background: var(--grey); }
.section--sky { background: var(--sky); }
.section--blue { background: var(--blue); color: #DCE8F6; }
.section--blue h2, .section--blue h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 44px; }

/* Fair banner */
.topbar { background: var(--ink); color: #D7E2F0; font-size: .9rem; }
.topbar .container { display: flex; gap: 12px; align-items: center; justify-content: center; padding-top: 9px; padding-bottom: 9px; text-align: center; flex-wrap: wrap; }
.topbar strong { color: var(--white); font-weight: 700; }
.topbar a { color: #9CC3EC; font-weight: 600; white-space: nowrap; }
.topbar a:hover { color: var(--white); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--grey); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav .lang { margin-left: 8px; display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.nav .lang a, .nav .lang span { font-size: .8rem; padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.nav .lang span { background: var(--blue); color: var(--white); }
.nav .btn { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: var(--white) !important;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: .98rem;
  border: 1px solid var(--blue); transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--blue) !important; border-color: #BFD3EA; }
.btn--ghost:hover { background: var(--sky); border-color: var(--blue); }
.btn--white { background: var(--white); color: var(--blue) !important; border-color: var(--white); }
.btn--white:hover { background: var(--sky); border-color: var(--sky); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--sky) 0%, var(--white) 100%); }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-visual .tile { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.hero-visual .tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .tile--wide { grid-column: 1 / -1; aspect-ratio: 2.1 / 1; }
.hero-visual .tile--sq { aspect-ratio: 1 / 1; }
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.page-hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--sky) 0%, var(--white) 100%); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.stat .num { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; color: var(--blue); letter-spacing: -0.03em; line-height: 1.1; }
.stat .num { white-space: nowrap; }
.stat .label { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.stats-wrap { margin-top: -8px; }

/* Cards and grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 24px; height: 24px; }
.card--link { display: block; color: inherit; transition: transform .15s ease, border-color .15s ease; }
.card--link:hover { transform: translateY(-3px); border-color: #BFD3EA; color: inherit; }
.card--feature { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--feature .media { aspect-ratio: 2 / 1; background: var(--ink); overflow: hidden; }
.card--feature .media img { width: 100%; height: 100%; object-fit: cover; }
.card--feature .body { padding: 28px; }
.list-arrow { list-style: none; padding: 0; margin: 14px 0 0; }
.list-arrow li { padding: 9px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.list-arrow li span { color: var(--muted); font-weight: 500; }
.more { display: inline-block; margin-top: 18px; font-weight: 700; }
.more::after { content: " →"; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.section--grey .chips li { background: var(--white); }
.chips--blue li { background: var(--sky); border-color: #CFE0F3; color: var(--blue-d); }

.tag { display: inline-block; background: var(--blue); color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; margin-bottom: 14px; }
.tag--light { background: var(--sky); color: var(--blue-d); }

/* Brand split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.split-media img { width: 100%; height: auto; }
.brand-block + .brand-block { margin-top: 88px; }
.sub { color: var(--blue); font-weight: 700; margin-top: -6px; margin-bottom: 14px; }

/* Placeholders */
.ph {
  border: 2px dashed #C6D3E3; border-radius: var(--radius); background: repeating-linear-gradient(135deg, #F4F7FB 0 14px, #EEF3F9 14px 28px);
  color: var(--muted); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 28px; min-height: 280px; font-weight: 600; font-size: 1.1rem;
}
.ph small { display: block; font-weight: 500; margin-top: 6px; }

/* Private label steps */
.steps-list { list-style: none; padding: 0; margin: 14px 0 0; }
.steps-list li { display: flex; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.steps-list span { font-weight: 800; color: var(--blue); min-width: 26px; }
.step-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.step-head .icon { margin-bottom: 0; }
.step-head .n { font-size: 1.8rem; font-weight: 800; color: #C4D6EC; letter-spacing: -0.02em; }

/* Channels */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.channel { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-weight: 700; color: var(--ink); }
.channel .dot { width: 36px; height: 36px; border-radius: 10px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; }
.channel .dot svg { width: 20px; height: 20px; }

/* Logistics band */
.band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.band .big { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; color: var(--white); letter-spacing: -0.03em; line-height: 1; }
.band ul { list-style: none; padding: 0; margin: 0; }
.band li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.18); color: #E5EEF9; font-weight: 600; display: flex; gap: 12px; align-items: center; }
.band li svg { width: 20px; height: 20px; flex: none; color: #9CC3EC; }

/* CTA */
.cta { background: var(--ink); border-radius: 20px; padding: 56px; color: #C9D6E6; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta h2 { color: var(--white); margin-bottom: 10px; }
.cta p { margin: 0; max-width: 58ch; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { text-align: left; }
.person .photo { aspect-ratio: 4 / 5; border-radius: var(--radius); border: 2px dashed #C6D3E3; background: linear-gradient(160deg, #EEF3F9, #E2EAF4); display: grid; place-items: center; color: var(--blue); font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; position: relative; }
.person .photo::after { content: attr(data-label); position: absolute; bottom: 12px; font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.person h3 { margin-bottom: 2px; font-size: 1.1rem; }
.person p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Contact */
.contact-card { display: flex; flex-direction: column; gap: 6px; }
.contact-card .k { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card .v { font-size: 1.15rem; font-weight: 700; color: var(--ink); }

/* Legal text */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }

/* Footer */
.footer { background: var(--ink); color: #A9B7C9; padding: 64px 0 28px; font-size: .95rem; }
.footer a { color: #D7E2F0; }
.footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--white); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer .logo img { height: 30px; filter: brightness(0) invert(1); }
.footer .about { margin-top: 16px; max-width: 38ch; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; font-size: .85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.note { font-size: .85rem; color: var(--muted); margin-top: 22px; }

/* Responsive */
@media (max-width: 1020px) {
  .hero .container, .split, .band { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split-media { order: 0; }
  .stats, .grid-4, .team { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .channels { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 1100px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .lang { align-self: flex-start; margin: 8px 0 0 4px; }
  .nav .btn { margin: 12px 0 0; justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 36px; }
  .grid-2, .grid-3, .channels, .footer-grid { grid-template-columns: 1fr; }
  .stats, .team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 16px; }
  .stat .num { font-size: 1.45rem; }
  .card, .card--feature .body { padding: 22px; }
  .cta { padding: 28px; border-radius: 16px; }
  .brand-block + .brand-block { margin-top: 60px; }
  .topbar { font-size: .82rem; }
}
