/* ============================================================
   FIRMMIT UZBEKISTAN — Design system
   Design language adapted from Firmmit Korea (firmmit.kr):
   Pretendard + Poppins · white base · brand blue #3264FF
   ============================================================ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #3264ff;
  --blue-dark: #1e46d0;
  --sky: #97d4e9;
  --ink: #111318;
  --text: #333333;
  --muted: #6b7280;
  --line: #e7eaf0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-blue: #f0f4ff;
  --white: #ffffff;

  --maxw: 1240px;
  --header-h: 80px;

  --font: 'Pretendard', system-ui, -apple-system, 'Segoe UI', Roboto,
    'Noto Sans KR', sans-serif;
  --font-en: 'Poppins', var(--font);

  --shadow-sm: 0 4px 16px rgba(17, 19, 24, 0.06);
  --shadow-md: 0 16px 44px rgba(24, 40, 90, 0.10);
  --shadow-blue: 0 18px 40px rgba(50, 100, 255, 0.28);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Typographic helpers ---------- */
.eyebrow {
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 34px; height: 2px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

h1, h2, h3 { color: var(--ink); line-height: 1.18; letter-spacing: -0.02em; font-weight: 800; }

.display {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.12;
}
.display .thin { font-weight: 400; color: var(--ink); }
.display .blue { color: var(--blue); }

.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; }
.section-title .thin { font-weight: 400; }
.lead { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 999px;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.site-header.solid { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-en); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: #fff; transition: color 0.4s var(--ease); }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .co { font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.brand .region { font-family: var(--font); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; color: #fff; background: var(--blue); padding: 3px 8px; border-radius: 6px; margin-left: 4px; }
.site-header.solid .brand { color: var(--ink); }
.site-header.solid .brand .co { color: var(--blue); }

.nav { display: flex; align-items: center; gap: 36px; margin-left: auto; margin-right: 32px; }
.nav a {
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: rgba(255,255,255,0.9);
  position: relative; padding: 8px 0; transition: color 0.3s;
}
.nav a::after { content:''; position:absolute; left:0; right:0; bottom:0; height:2px; width:0; margin:0 auto; background: var(--blue); transition: width 0.3s var(--ease); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.site-header.solid .nav a { color: var(--text); }
.nav a:hover, .nav a.active { color: var(--blue); }
.site-header.solid .nav a.active { color: var(--blue); }

/* ---- Products dropdown (merges Import & Export) ---- */
.nav .has-drop { position: relative; display: flex; align-items: center; }
.nav .drop-parent { display: inline-flex; align-items: center; }
.nav .drop-parent .caret { font-size: 9px; margin-left: 6px; opacity: 0.75; transition: transform 0.25s var(--ease); }
.nav .has-drop:hover .drop-parent .caret { transform: rotate(180deg); }
/* invisible bridge so the panel stays open while the cursor travels to it */
.nav .has-drop::after { content:''; position: absolute; top: 100%; left: -10px; right: -10px; height: 18px; }
.nav .dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 214px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(10,20,50,0.18); padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; z-index: 60;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav .has-drop:hover .dropdown, .nav .has-drop:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav .dropdown a { color: var(--text); font-size: 14px; font-weight: 500; padding: 11px 14px; border-radius: 9px; white-space: nowrap; }
.nav .dropdown a::after { display: none; }
.nav .dropdown a:hover, .nav .dropdown a.active { background: var(--bg-soft); color: var(--blue); }
/* mobile drawer: Import & Export nested under Products */
.drawer .drawer-sub { padding-left: 30px; font-size: 15px; opacity: 0.82; position: relative; }
.drawer .drawer-sub::before { content: '\21B3'; position: absolute; left: 10px; opacity: 0.5; }

.header-cta { display: flex; align-items: center; gap: 16px; }
/* professional Contact CTA button */
.nav-contact {
  background: var(--blue); color: #fff !important; font-family: var(--font); font-weight: 600;
  font-size: 14px; padding: 10px 22px; border-radius: 999px; white-space: nowrap;
  transition: all 0.3s var(--ease);
}
.nav-contact:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(50,100,255,0.32); }
.nav-contact::after { display: none; }
/* catalog (PDF) button — sits before the language switcher */
.nav-catalog { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font); font-weight: 600; font-size: 13.5px;
  color: #fff; border: 1.5px solid rgba(255,255,255,0.42); border-radius: 999px; padding: 8px 15px; transition: 0.25s var(--ease); white-space: nowrap; }
.nav-catalog svg { flex: none; }
.nav-catalog:hover { background: #fff; color: var(--blue); border-color: #fff; }
.site-header.solid .nav-catalog { color: var(--ink); border-color: var(--line); }
.site-header.solid .nav-catalog:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.lang { font-family: var(--font-en); font-weight: 600; font-size: 13px; color: rgba(255,255,255,0.8); display: flex; gap: 8px; }
.site-header.solid .lang { color: var(--muted); }
.lang .on { color: var(--blue); }

/* language switcher */
.lang-switch { display: flex; align-items: center; gap: 2px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; padding: 3px; }
.site-header.solid .lang-switch { background: var(--bg-blue); border-color: var(--line); }
.lang-switch button { font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; color: rgba(255,255,255,0.85); background: none; border: none; cursor: pointer; padding: 6px 12px; border-radius: 999px; transition: 0.25s; }
.site-header.solid .lang-switch button { color: var(--muted); }
.lang-switch button.active { background: var(--blue); color: #fff !important; }
.lang-switch button:hover:not(.active) { color: var(--blue); }
.lang-kr { font-family: var(--font-en); font-weight: 600; font-size: 12px; color: rgba(255,255,255,0.75); margin-left: 4px; }
.site-header.solid .lang-kr { color: var(--muted); }
.lang-kr:hover { color: var(--blue); }

.drawer-lang { display: flex; gap: 6px; margin-bottom: 18px; }
.drawer-lang button { flex: 1; font-family: var(--font-en); font-weight: 600; font-size: 14px; padding: 10px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; color: var(--muted); transition: 0.25s; }
.drawer-lang button.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* footer contact details */
.footer-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.footer-contact div { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
.footer-contact svg { flex: none; margin-top: 3px; color: var(--sky); }
.footer-legal { grid-column: 1 / -1; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.9; }
.footer-legal strong { color: rgba(255,255,255,0.7); font-weight: 600; }

/* company details block (contact) */
.company-details { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; margin-top: 8px; }
.company-details h3 { font-size: 1.15rem; margin-bottom: 18px; }
.company-details dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; }
.company-details dt { font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.company-details dd { color: var(--muted); font-size: 0.9rem; word-break: break-word; }
@media (max-width: 560px) { .company-details dl { grid-template-columns: 1fr; gap: 3px 0; } .company-details dd { margin-bottom: 10px; } }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2px; background: #fff; transition: 0.3s; }
.site-header.solid .burger span { background: var(--ink); }

/* Mobile drawer (side panel) */
.drawer { position: fixed; inset: 0; background: rgba(17,19,24,0.6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 1100; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(80vw, 340px); background: #fff; transform: translateX(100%); transition: transform 0.4s var(--ease); padding: 90px 32px 40px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel a { padding: 14px 0; font-size: 18px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer-panel a.active { color: var(--blue); }
.drawer-close { position: absolute; top: 26px; right: 26px; font-size: 26px; background: none; border: none; cursor: pointer; color: var(--ink); }
.drawer-catalog { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--blue) !important; border-bottom: none !important; }
.drawer-catalog svg { flex: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after { content:''; position:absolute; inset:0;
  background:
    linear-gradient(100deg, rgba(6,12,30,0.72) 0%, rgba(9,20,52,0.42) 46%, rgba(16,38,84,0.12) 100%),
    radial-gradient(150% 130% at 25% 120%, rgba(0,0,0,0.34), transparent 62%); }
.hero-bg .grid-lines { position:absolute; inset:0; opacity:0.5; }
.hero .wrap { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero-inner { max-width: 900px; }
.hero .eyebrow { color: var(--sky); }
.hero .eyebrow::before { background: var(--sky); }
.hero h1 { color: #fff; margin: 22px 0 20px; text-shadow: 0 2px 30px rgba(0,0,0,0.45); }
.hero .display .thin { color: #fff; }

/* ---- hero title motion: cinematic rise + clarify ---- */
@keyframes heroRise {
  0%   { opacity: 0; transform: translateY(40px); filter: blur(13px); }
  55%  { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes goldSheen {
  0%   { background-position: 230% center; }
  100% { background-position: -130% center; }
}
.hero .hero-title { animation: heroRise 1.15s cubic-bezier(.16,1,.3,1) .2s both; will-change: transform, opacity, filter; }
/* hero headings are always white (covers h2 mid-page hero bands too) */
.hero .display.hero-title { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
/* thinner, more elegant weight so the background photo reads through */
.hero .hero-title.light, .hero .hero-title.light .thin { font-weight: 300; letter-spacing: -0.005em; }
/* mid-page full-screen band: a touch shorter than 100vh, still immersive */
.hero.hero-mid { min-height: 92vh; }
/* premium champagne-gold accent with a slow moving sheen (no transform → no compounding) */
.hero .hero-title .blue {
  background: linear-gradient(100deg, #d7ab63 0%, #f3d79c 20%, #ffe9c2 30%, #e6c07e 46%, #d7ab63 62%, #f3d79c 100%);
  background-size: 240% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: goldSheen 6s ease-in-out 1.6s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-title { animation: none; opacity: 1; transform: none; filter: none; }
  .hero .hero-title .blue { animation: none; background-position: 0 center; }
}
.hero p { font-size: clamp(1rem, 1.5vw, 1.25rem); color: rgba(255,255,255,0.85); max-width: 560px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.24em; color: rgba(255,255,255,0.8); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll .bar { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0)); position: relative; overflow: hidden; }
.hero-scroll .bar::after { content:''; position:absolute; top:-50%; left:0; width:100%; height:50%; background:#fff; animation: scrolldrop 1.8s var(--ease) infinite; }
@keyframes scrolldrop { 0%{ top:-50%; } 60%,100%{ top:100%; } }

/* small stats bar under hero content */
.hero-stats { display: flex; gap: 46px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats .n { font-family: var(--font-en); font-weight: 700; font-size: 2.2rem; color: #fff; }
.hero-stats .l { font-size: 13px; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; }

/* ============================================================
   SECTIONS
   ============================================================ */
section.block { padding: 110px 0; }
section.soft { background: var(--bg-soft); }
section.blue-soft { background: var(--bg-blue); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 18px 0 16px; }

/* page hero (interior pages) */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 90px) 0 90px;
  color: #fff; overflow: hidden;
}
/* same clarity as the home hero — lighter overlay so the photo reads clearly */
.page-hero .hero-bg::after { background:
  linear-gradient(100deg, rgba(6,12,30,0.72) 0%, rgba(9,20,52,0.42) 46%, rgba(16,38,84,0.12) 100%),
  radial-gradient(150% 130% at 25% 120%, rgba(0,0,0,0.34), transparent 62%); }
.page-hero h1 { text-shadow: 0 2px 26px rgba(0,0,0,0.45); }
/* keep the hero photo centred in its area */
.page-hero .hero-bg.has-photo { background-position: center center !important; }
.page-hero .wrap { position: relative; z-index: 2; }
/* full-bleed video background inside any hero (home-style full-screen or page band) */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 16px 0 14px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 620px; }
.crumbs { font-family: var(--font-en); font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 18px; letter-spacing: 0.03em; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { margin: 0 8px; opacity: 0.5; }

/* ---------- Feature cards grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-blue); color: var(--blue); margin-bottom: 22px; transition: 0.4s var(--ease);
}
.card:hover .icon { background: var(--blue); color: #fff; }
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.28rem; margin-bottom: 12px; font-weight: 700; }
.card p { color: var(--muted); font-size: 0.97rem; }
/* render \n\n paragraph breaks in translated multi-paragraph copy */
.card p, .section-head .lead, .value-item p, .phi-text p, .phi-intro-body .lead { white-space: pre-line; }

/* ---- Our Philosophy: editorial full-width layout ---- */
.phi-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; margin-bottom: 12px; }
.phi-intro-head .section-title { margin-top: 16px; }
.phi-intro-body .lead { color: var(--text); font-size: 1.1rem; line-height: 1.8; max-width: none; }
.phi-list { display: flex; flex-direction: column; margin-top: 40px; }
.phi-row { display: grid; grid-template-columns: 300px 1fr; gap: 52px; padding: 44px 0; border-top: 1px solid var(--line); align-items: start; }
.phi-row:last-child { border-bottom: 1px solid var(--line); }
.phi-label .icon { width: 58px; height: 58px; border-radius: 15px; background: var(--bg-blue); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; transition: 0.4s var(--ease); }
.phi-row:hover .phi-label .icon { background: var(--blue); color: #fff; }
.phi-label .icon svg { width: 28px; height: 28px; }
.phi-kicker { font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; color: var(--blue); display: block; margin-bottom: 10px; }
.phi-label h3 { font-size: 1.55rem; line-height: 1.25; color: var(--ink); font-weight: 800; letter-spacing: -0.01em; }
.phi-text p { color: var(--muted); font-size: 1.05rem; line-height: 1.85; margin: 0; }
@media (max-width: 820px){
  .phi-intro { grid-template-columns: 1fr; gap: 20px; }
  .phi-list { margin-top: 26px; }
  .phi-row { grid-template-columns: 1fr; gap: 16px; padding: 30px 0; }
}
.card .more { margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--blue); display: inline-flex; align-items: center; gap: 7px; }
.card .kicker { font-family: var(--font-en); font-weight: 700; font-size: 13px; color: var(--sky); }

/* number/stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 20px; }
.stat .n { font-family: var(--font-en); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--blue); line-height: 1; }
.stat .l { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

/* split image/text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: 22px; overflow: hidden; min-height: 420px; position: relative; box-shadow: var(--shadow-md); }
/* larger autoplay video showcase */
.video-media { min-height: 500px; background: #0b1430; }
.video-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-badge { position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(50,100,255,0.92); color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: 0.1em; padding: 6px 13px; border-radius: 999px; box-shadow: var(--shadow-blue); }
.split-copy h2 { margin: 16px 0 18px; }
.split-copy .lead { margin-bottom: 26px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: var(--text); }
.tick-list li svg { flex: none; margin-top: 3px; color: var(--blue); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 96px 0; }
.cta-band .hero-bg::after { background: linear-gradient(120deg, rgba(12,22,60,0.92), rgba(50,100,255,0.7)); }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 34px; }

/* ---------- decorative media backgrounds (CSS-only, no external images) ---------- */
.media-farm {
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(151,212,233,0.5), transparent 60%),
    linear-gradient(160deg, #0d1b4a 0%, #1e46d0 55%, #3264ff 100%);
}
.media-farm .rows { position:absolute; inset:0; opacity:0.35; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.14) 0 2px, transparent 2px 42px); transform: perspective(600px) rotateX(58deg); transform-origin: bottom; }
.media-leaf {
  background:
    radial-gradient(90% 80% at 80% 20%, rgba(50,100,255,0.35), transparent 60%),
    linear-gradient(150deg, #0f2a1e, #17493a 60%, #2f8f6a);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 76px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { font-size: 0.94rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-en); font-weight: 600; }
.footer-col a, .footer-col li { display: block; padding: 6px 0; font-size: 0.94rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--sky); }
.footer-head-office { background: rgba(50,100,255,0.14); border: 1px solid rgba(50,100,255,0.3); border-radius: 14px; padding: 20px; }
.footer-head-office .tag { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); }
.footer-head-office strong { color: #fff; display: block; margin: 6px 0 4px; font-size: 1.05rem; }
.footer-head-office a { color: var(--sky); font-size: 0.9rem; word-break: break-all; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 0.85rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px; }
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: grid; place-items: center; transition: 0.3s; }
.footer-bottom .socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   Misc content blocks
   ============================================================ */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: var(--bg-blue); color: var(--blue); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; }

.value-item { display: flex; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.value-item .num { font-family: var(--font-en); font-weight: 800; font-size: 1.5rem; color: var(--sky); min-width: 54px; }
.value-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.value-item p { color: var(--muted); font-size: 0.96rem; }

.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.logo-cell { border: 1px solid var(--line); border-radius: 14px; min-height: 120px; display: grid; place-items: center; background: #fff; transition: 0.35s; padding: 18px; text-align: center; }
.logo-cell:hover { box-shadow: var(--shadow-sm); border-color: var(--sky); }
.logo-cell .lg { font-family: var(--font-en); font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; }
.logo-cell .lg small { display:block; font-family: var(--font); font-weight: 500; font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.logo-cell .lg.placeholder { width: 100%; height: 46px; border-radius: 8px; background: repeating-linear-gradient(45deg, var(--bg-soft) 0 10px, #eef1f7 10px 20px); }

/* photo slots: real image overrides the gradient fallback once loaded */
.has-photo { background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }
.has-photo .rows { display: none; }
.news-card .thumb.has-photo::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(9,16,40,0) 40%, rgba(9,16,40,0.35)); }
img.mark { width: 34px; height: 34px; object-fit: contain; }

/* uploaded logo (light + dark variants) */
.brand.has-logo { gap: 8px; }
.brand.has-logo .co { display: none; }           /* logo image carries the wordmark */
.brand .logo-img { height: 30px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.site-header .brand .logo-dark { display: none; }             /* transparent header (dark ground) -> light logo */
.site-header .brand .logo-light { display: block; }
.site-header.solid .brand .logo-light { display: none; }      /* solid header (white ground) -> dark logo */
.site-header.solid .brand .logo-dark { display: block; }
.brand.has-logo .region { background: var(--blue); color: #fff; }
.logo-cell.is-empty { border-style: dashed; }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: 0.4s var(--ease); }
.cert:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cert .doc { height: 220px; background: var(--bg-soft); display: grid; place-items: center; position: relative; }
.cert .doc .sheet { width: 130px; height: 172px; background: #fff; box-shadow: var(--shadow-sm); border-radius: 6px; position: relative; border-top: 5px solid var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.cert .doc .sheet .seal { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-blue); border: 2px solid var(--blue); }
.cert .doc .sheet .ln { width: 74px; height: 6px; border-radius: 3px; background: var(--line); }
.cert .body { padding: 22px 24px; }
.cert .body .tag { font-family: var(--font-en); font-size: 12px; color: var(--blue); font-weight: 600; letter-spacing: 0.08em; }
.cert .body h3 { font-size: 1.1rem; margin: 8px 0 6px; }
.cert .body p { font-size: 0.9rem; color: var(--muted); }

/* news */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: 0.4s var(--ease); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card .thumb { height: 190px; position: relative; overflow: hidden; }
.news-card .thumb .cat { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,0.92); color: var(--blue); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.news-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-card .date { font-family: var(--font-en); font-size: 12px; color: var(--muted); letter-spacing: 0.05em; }
.news-card h3 { font-size: 1.14rem; margin: 8px 0 10px; line-height: 1.35; }
.news-card p { font-size: 0.94rem; color: var(--muted); flex: 1; }
.news-card .more { margin-top: 16px; color: var(--blue); font-weight: 600; font-size: 14px; }

/* contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.info-card { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-blue); color: var(--blue); display: grid; place-items: center; flex: none; }
.info-card h4 { font-size: 1.02rem; margin-bottom: 4px; color: var(--ink); }
.info-card p { color: var(--muted); font-size: 0.95rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font); font-size: 15px; color: var(--ink); background: #fff; transition: 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(50,100,255,0.1); }
.field textarea { min-height: 130px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* head-office style interest chips */
.topic-field .chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--muted); background: #fff; transition: 0.2s var(--ease); user-select: none; }
.chip:hover span { border-color: var(--blue); color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(50,100,255,0.28); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(50,100,255,0.18); }

/* trade / import-export flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.flow-step { text-align: center; padding: 30px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; position: relative; }
.flow-step .step-n { font-family: var(--font-en); font-weight: 800; color: var(--bg-blue); font-size: 3rem; line-height: 1; -webkit-text-stroke: 1.5px var(--sky); }
.flow-step h3 { font-size: 1.1rem; margin: 6px 0 8px; }
.flow-step p { font-size: 0.9rem; color: var(--muted); }

.map-embed { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius); filter: grayscale(0.2); }

/* ---------- Catalog ---------- */
.catalog-controls { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.catalog-search { position: relative; flex: 1; min-width: 240px; }
.catalog-search input { width: 100%; padding: 13px 16px 13px 44px; border: 1.5px solid var(--line); border-radius: 12px; font-family: var(--font); font-size: 15px; background: #fff; transition: 0.25s; }
.catalog-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(50,100,255,0.1); }
.catalog-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.catalog-count { color: var(--muted); font-size: 0.92rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cat-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.cat-chip { font-size: 13px; font-weight: 600; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: 0.25s; white-space: nowrap; }
.cat-chip:hover { border-color: var(--sky); color: var(--ink); }
.cat-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-item { border: 1px solid var(--line); border-radius: 14px; padding: 0; overflow: hidden; background: #fff; transition: 0.3s var(--ease); display: flex; flex-direction: column; }
.cat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-item:hover .ci-thumb img { transform: scale(1.04); }
.ci-thumb { position: relative; height: 165px; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.ci-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform 0.4s var(--ease); }
.ci-thumb.ci-noimg { background: var(--bg-blue); color: var(--blue); }
.ci-thumb.ci-noimg svg { width: 34px; height: 34px; }
.ci-stock { position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 600; color: #1e46d0; background: rgba(255,255,255,0.92); padding: 4px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.ci-body { padding: 15px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-item h3 { font-size: 0.98rem; font-weight: 700; line-height: 1.35; margin: 0; }
.cat-item .ci-cat { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: auto; }
.catalog-empty { text-align: center; color: var(--muted); padding: 50px 0; display: none; }

@media (max-width: 900px){ .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .catalog-grid { grid-template-columns: 1fr; } .catalog-count { width: 100%; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 40px; }
}
@media (max-width: 820px) {
  .nav, .lang-switch, .nav-contact, .nav-catalog { display: none; }
  .burger { display: flex; }
  .split, .contact-wrap { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { min-height: 300px; }
  .grid-2, .grid-3, .grid-4, .stats, .cert-grid, .news-grid, .logo-grid { grid-template-columns: 1fr 1fr; }
  section.block { padding: 76px 0; }
  .hero-stats { gap: 30px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4, .stats, .cert-grid, .news-grid, .logo-grid, .flow { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats .n { font-size: 1.8rem; }
  .form { padding: 26px 20px; }
}
