/* ============================================
   ANIS COMMODITIES TRADING - Site CSS
   © 2026 Anis Trading Services Sp. z o.o.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fraunces:ital,opsz,wght@0,9..144,400..700;1,9..144,400..700&display=swap');

:root {
  --bg: #FAFAF7;
  --bg-soft: #F5F5F2;
  --bg-dark: #1A1A1A;
  --text: #1A1A1A;
  --muted: #5A5A5A;
  --border: #E0DFD9;
  --bronze: #8B5A2B;
  --copper: #B87333;
  --light: #FAFAF7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--text); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--bronze); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* HEADER */
header {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img { height: 28px; }

nav.main-nav { display: flex; align-items: center; gap: 36px; }
nav.main-nav ul { display: flex; gap: 32px; list-style: none; }
nav.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.3px;
}
nav.main-nav a:hover { color: var(--bronze); }

.lang-switcher {
  display: flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.lang-switcher a {
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.lang-switcher a.active {
  color: var(--text);
  background: var(--bg-soft);
}

.nav-cta {
  display: inline-block;
  padding: 10px 20px;
  background: var(--text);
  color: var(--light) !important;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--bronze); }

/* HERO */
.hero {
  padding: 100px 0 80px 0;
  border-bottom: 1px solid var(--border);
}

.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; }

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--bronze);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}

h1.hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 76px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 36px;
}
h1.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--bronze);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background: var(--text);
  color: var(--light) !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--bronze); }

.btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--text); color: var(--light) !important; }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-bottom: 12px;
}
.hero-stat {
  border-left: 2px solid var(--bronze);
  padding-left: 16px;
}
.hero-stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}

/* SECTIONS */
section { padding: 100px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.8px;
}
.section-title em { font-style: italic; color: var(--bronze); font-weight: 400; }

.section-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 64px;
}

/* SECTORS */
.sectors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
}

.sector { padding-top: 24px; border-top: 1px solid var(--border); }
.sector-num {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  color: var(--bronze);
  font-size: 16px;
  margin-bottom: 12px;
}
.sector-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.sector-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.sector-list {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.sector-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px dotted var(--border);
}
.sector-list li:last-child { border-bottom: none; }

/* OPERATIONS - DARK */
.operations-section {
  background: var(--bg-dark);
  color: var(--light);
  border-bottom: none;
}
.operations-section .section-title { color: var(--light); }
.operations-section .section-intro { color: rgba(250, 250, 247, 0.7); }
.operations-section .section-eyebrow { color: var(--copper); }

.callout {
  background: rgba(184, 115, 51, 0.1);
  border-left: 3px solid var(--copper);
  padding: 24px 32px;
  margin-bottom: 64px;
  border-radius: 2px;
}
.callout-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--copper);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.callout-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  line-height: 1.45;
  font-style: italic;
  font-weight: 400;
  color: var(--light);
}

.hubs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 56px; }

.hub-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
  border-radius: 2px;
}
.hub-num {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  color: var(--copper);
  font-size: 16px;
  margin-bottom: 8px;
}
.hub-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--light);
}
.hub-loc {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}
.hub-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(250, 250, 247, 0.7);
  margin-bottom: 20px;
}
.hub-meta {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(250, 250, 247, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.docs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.doc-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2px;
  font-size: 14px;
  color: rgba(250, 250, 247, 0.85);
  line-height: 1.6;
  border-left: 2px solid var(--copper);
}
.doc-item strong { color: var(--light); display: block; margin-bottom: 4px; font-weight: 600; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: start; }

.about-pillars { list-style: none; margin-top: 32px; }
.about-pillars li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  line-height: 1.6;
}
.about-pillars li:last-child { border-bottom: none; }
.pillar-num {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  color: var(--bronze);
  font-size: 18px;
  flex-shrink: 0;
  min-width: 28px;
}
.pillar-text strong { color: var(--text); display: block; margin-bottom: 4px; }

.about-card {
  position: sticky;
  top: 100px;
  background: var(--bg-soft);
  padding: 32px;
  border-radius: 2px;
}
.about-card h3 {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 600;
}
.about-card-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.about-card-row:last-child { border-bottom: none; }
.about-card-key {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}
.about-card-val { font-size: 14px; color: var(--text); line-height: 1.5; }

/* CONTACT */
.contact-section { background: var(--bg-soft); }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }

.contact-cta-panel { background: var(--bg); padding: 48px; border-radius: 2px; }

.contact-cta-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.contact-cta-title em { font-style: italic; color: var(--bronze); }

.contact-cta-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 32px;
}

.contact-channels { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.channel-card {
  display: block;
  padding: 24px 28px;
  background: var(--bg-soft);
  border-radius: 2px;
  border-left: 3px solid var(--border);
  transition: all 0.2s ease;
  text-decoration: none;
}
.channel-card:hover {
  border-left-color: var(--bronze);
  background: var(--bg);
  transform: translateX(4px);
}
.channel-card.primary {
  background: var(--text);
  border-left-color: var(--copper);
}
.channel-card.primary:hover {
  background: var(--bg-dark);
  border-left-color: var(--copper);
}
.channel-card.primary .channel-eyebrow { color: var(--copper); }
.channel-card.primary .channel-email { color: var(--light); }
.channel-card.primary .channel-cta { color: rgba(250, 250, 247, 0.7); }

.channel-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--bronze);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.channel-email {
  font-size: 18px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}
.channel-cta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.contact-cta-privacy {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.contact-cta-privacy a { color: var(--text); text-decoration: underline; }

.contact-side h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}
.contact-side h3 em { font-style: italic; color: var(--bronze); }
.contact-side p { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 32px; }

.contact-block { padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-block:last-child { border-bottom: none; }
.contact-block-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--bronze);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-block-val { font-size: 15px; color: var(--text); line-height: 1.5; }
.contact-block-val a { font-weight: 500; border-bottom: 1px solid var(--border); }
.contact-block-val a:hover { border-bottom-color: var(--bronze); }

/* FOOTER */
footer {
  background: var(--bg-dark);
  color: rgba(250, 250, 247, 0.7);
  padding: 60px 0 32px 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(250, 250, 247, 0.6);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 4px 0; }
.footer-col a {
  color: rgba(250, 250, 247, 0.7);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--copper); }

.footer-logo img { height: 26px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 14px; color: rgba(250, 250, 247, 0.5); line-height: 1.6; max-width: 320px; }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(250, 250, 247, 0.4);
  flex-wrap: wrap;
  gap: 16px;
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 420px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  padding: 24px 28px;
  border-radius: 4px;
  z-index: 9999;
  display: none;
  font-size: 14px;
  line-height: 1.6;
}
#cookie-banner.visible { display: block; }
#cookie-banner h4 {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
#cookie-banner p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
#cookie-banner a { color: var(--text); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn {
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.2s;
}
.cookie-btn.accept { background: var(--text); color: var(--light); flex: 1; }
.cookie-btn.accept:hover { background: var(--bronze); }
.cookie-btn.reject { background: transparent; color: var(--text); border: 1px solid var(--border); flex: 1; }
.cookie-btn.reject:hover { background: var(--bg-soft); }

#cookie-reopen {
  position: fixed;
  bottom: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text);
  color: var(--light);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 9998;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
#cookie-reopen.visible { display: flex; }

/* LEGAL PAGES */
.legal-page { padding: 80px 0 100px 0; }
.legal-page h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.legal-page > .container > p:first-of-type {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-page h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  margin-top: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.legal-page h3 {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--bronze);
  text-transform: uppercase;
  margin-top: 28px;
  margin-bottom: 12px;
  font-weight: 600;
}
.legal-page p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 14px;
}
.legal-page ul, .legal-page ol {
  margin: 12px 0 18px 24px;
}
.legal-page li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 8px;
}
.legal-page strong { font-weight: 600; }
.legal-page a { color: var(--bronze); text-decoration: underline; }
.legal-page a:hover { color: var(--text); }

.legal-page .container { max-width: 800px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .header-inner { padding: 14px 24px; }
  nav.main-nav ul { display: none; }
  .hero { padding: 60px 0 50px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  h1.hero-title { font-size: 44px; letter-spacing: -0.8px; }
  .section-title { font-size: 32px; }
  section { padding: 60px 0; }
  .sectors-grid { grid-template-columns: 1fr; gap: 40px; }
  .hubs-grid { grid-template-columns: 1fr; gap: 24px; }
  .docs-list { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  #cookie-banner { left: 16px; right: 16px; max-width: none; bottom: 16px; }
  .legal-page h1 { font-size: 36px; }
  .legal-page h2 { font-size: 22px; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
