/* =========================================================
   Kara F&B Trading — Light Editorial Theme
   ========================================================= */

:root {
  --bg:       #FDFCF9;
  --bg-alt:   #F5F3EE;
  --text:     #1C1C1C;
  --muted:    #7A7874;
  --border:   #E5E3DC;
  --accent:   #C9A84C;
  --max:      1080px;
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h:    170px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }

body {
  background: var(--bg);
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; } }

/* ── Layout helpers ─────────────────────────────────────── */
.inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 6vw;
}

/* ── Navigation ─────────────────────────────────────────── */
.site-nav {
  position: static;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  background: transparent;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(253,252,249,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-logo img {
  height: 156px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

#lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, color 0.2s;
}
#lang-btn:hover { border-color: var(--accent); color: var(--text); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 6vw 80px;
  margin-top: calc(-1 * var(--nav-h));
  background:
    radial-gradient(ellipse 70% 50% at 50% 60%, rgba(201,168,76,.07) 0%, transparent 70%),
    var(--bg);
}

.hero-logo {
  width: min(320px, 72vw);
  height: auto;
  mix-blend-mode: multiply;
  margin-bottom: 3rem;
  animation: fadeUp 1s var(--ease) 0.1s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
  animation: fadeUp 1s var(--ease) 0.2s both;
}

.hero-sub {
  margin-top: 1.25rem;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.8;
  animation: fadeUp 1s var(--ease) 0.32s both;
}

.hero-cta {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  animation: fadeUp 1s var(--ease) 0.44s both;
  transition: gap 0.2s var(--ease);
}
.hero-cta:hover { gap: 0.85rem; }
.hero-cta::after { content: '→'; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ── Section shared ──────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  border: none;
}

/* ── About ──────────────────────────────────────────────── */
.about {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.about-left {}

.about-story {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about-story p {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.9;
}

.vm-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.vm-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.vm-item:first-child { border-top: 1px solid var(--border); }

.vm-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.vm-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ── Sortiment ──────────────────────────────────────────── */
.sortiment {
  padding: 120px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sortiment-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
}

.region-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 3.5rem;
}

.region-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.region-row:first-child { border-top: 1px solid var(--border); }

.region-head {
  display: flex;
  align-items: center;
  padding-top: 0.1rem;
}

.region-name {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.region-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.85;
}

.cert-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
}
.cert-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0 2rem;
  border-right: 1px solid var(--border);
}
.cert-item:first-child { padding-left: 0; }
.cert-item:last-child  { border-right: none; }
.cert-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.cert-desc {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.advantages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}
.advantages-list li {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.advantages-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Portfolio ──────────────────────────────────────────── */
.portfolio {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

#company-grid {
  display: flex;
  flex-direction: column;
}

.company-card {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: opacity 0.2s;
}
.company-card:first-child { border-top: 1px solid var(--border); }
.company-card:hover { opacity: 0.6; }
.company-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.card-logo {
  display: flex;
  align-items: center;
}
.card-logo img {
  width: 90px;
  height: 48px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.card-body { min-width: 0; }
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}
.card-body .tagline {
  font-size: 0.875rem;
  color: var(--muted);
}

.visit-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  transition: gap 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.visit-link::after { content: '→'; transition: transform 0.2s var(--ease); }
.company-card:hover .visit-link::after { transform: translateX(4px); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  padding: 56px 6vw;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.footer-logo {
  height: 48px;
  width: auto;
  mix-blend-mode: multiply;
}
.footer-address {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.75;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}

.footer-contact-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.1rem;
}

.footer-contact-line {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
}
a.footer-contact-line:hover { color: var(--text); }

.footer-email {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--accent);
  transition: opacity 0.2s;
  margin-top: 0.25rem;
}
.footer-email:hover { opacity: 0.65; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-layout       { grid-template-columns: 1fr; gap: 3rem; }
  .sortiment-intro    { grid-template-columns: 1fr; gap: 1.5rem; }
  .region-row         { grid-template-columns: 1fr; gap: 0.75rem; }
  .company-card       { grid-template-columns: 72px 1fr; }
  .visit-link         { display: none; }
}

@media (max-width: 680px) {
  .nav-links          { display: none; }
  .site-footer        { flex-direction: column; align-items: flex-start; }
  .footer-brand       { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .cert-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .cert-item {
    padding: 0;
    border-right: none;
  }
}
