
/* ===== CSS VARIABLES ===== */
:root {
  --green: #0f4538;
  --green-light: #1d7a5f;
  --green-pale: #e8f5ee;
  --gold: #d79c57;
  --gold-light: #ad7033;
  --bg: #f7f9f8;
  --bg2: #ffffff;
  --bg3: #eef4f0;
  --card: #ffffff;
  --text: #0f2318;
  --text2: #3d5a48;
  --text3: #6b8a78;
  --border: #d0e3d9;
  --shadow: 0 4px 24px rgba(15,69,56,0.08);
  --shadow-lg: 0 12px 40px rgba(15,69,56,0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --topbar-h: 112px;
  --nav-h: 72px;
  --utility-h: 40px;
  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  --gold-dark: #ad7033;
  --green-bright: #2fae86;
  --utk-chevron-a: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22100%22%20height%3D%2260%22%20viewBox%3D%220%200%20100%2060%22%3E%3Cpath%20d%3D%22M0%2048%20L50%206%20L100%2048%22%20fill%3D%22none%22%20stroke%3D%22%232fae86%22%20stroke-opacity%3D%220.13%22%20stroke-width%3D%2230%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
  --utk-chevron-b: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22100%22%20height%3D%2260%22%20viewBox%3D%220%200%20100%2060%22%3E%3Cpath%20d%3D%22M0%2048%20L50%206%20L100%2048%22%20fill%3D%22none%22%20stroke%3D%22%23082e20%22%20stroke-opacity%3D%220.10%22%20stroke-width%3D%2230%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
  --utk-pattern-light: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22160%22%20height%3D%22120%22%20viewBox%3D%220%200%20160%20120%22%3E%3Cpath%20d%3D%22M10%20100%20Q80%2010%20150%2090%22%20fill%3D%22none%22%20stroke%3D%22%23ad7033%22%20stroke-opacity%3D%220.13%22%20stroke-width%3D%221.3%22%20stroke-dasharray%3D%221%206%22%20stroke-linecap%3D%22round%22/%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%22100%22%20r%3D%222.4%22%20fill%3D%22%230f4538%22%20fill-opacity%3D%220.14%22/%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2290%22%20r%3D%222.4%22%20fill%3D%22%230f4538%22%20fill-opacity%3D%220.14%22/%3E%3Ccircle%20cx%3D%2280%22%20cy%3D%2234%22%20r%3D%221.8%22%20fill%3D%22%23ad7033%22%20fill-opacity%3D%220.16%22/%3E%3C/svg%3E");
  --utk-pattern-dark: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22160%22%20height%3D%22120%22%20viewBox%3D%220%200%20160%20120%22%3E%3Cpath%20d%3D%22M10%20100%20Q80%2010%20150%2090%22%20fill%3D%22none%22%20stroke%3D%22%23d79c57%22%20stroke-opacity%3D%220.2%22%20stroke-width%3D%221.3%22%20stroke-dasharray%3D%221%206%22%20stroke-linecap%3D%22round%22/%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%22100%22%20r%3D%222.4%22%20fill%3D%22%232fae86%22%20fill-opacity%3D%220.22%22/%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2290%22%20r%3D%222.4%22%20fill%3D%22%232fae86%22%20fill-opacity%3D%220.22%22/%3E%3Ccircle%20cx%3D%2280%22%20cy%3D%2234%22%20r%3D%221.8%22%20fill%3D%22%23d79c57%22%20fill-opacity%3D%220.24%22/%3E%3C/svg%3E");
  --utk-cover-gradient: linear-gradient(135deg, #0a2718 0%, #0f4538 55%, #0a2718 100%);
  --utk-cover-gradient-dark: linear-gradient(135deg, #04140c 0%, #0f2a18 55%, #04140c 100%);
  --utk-cover-cut: linear-gradient(160deg, #081f14 0%, #0f4538 100%);
  --utk-cover-cut-dark: linear-gradient(160deg, #030b06 0%, #0b2416 100%);
}
[data-theme="dark"] {
  --bg: #0b1a10;
  --bg2: #112018;
  --bg3: #162b1e;
  --card: #1a2e22;
  --text: #e8f2ec;
  --text2: #a8c9b5;
  --text3: #6b9a7e;
  --border: #2a4535;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --green-pale: #1a3525;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Gilroy', 'Arial', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }

/* ===== TOPBAR ===== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.topbar.scrolled { box-shadow: 0 2px 20px rgba(15,69,56,0.18); }
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon { font-size: 28px; line-height: 1; }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--green);
  line-height: 1;
}
.logo-sub {
  font-size: 11px;
  color: var(--text3);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--green); background: var(--green-pale); }
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.icon-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.icon-btn:hover { background: var(--green-pale); color: var(--green); }

/* Sun/Moon icons toggle */
[data-theme="light"] .moon-icon { display: none; }
[data-theme="dark"]  .sun-icon  { display: none; }

/* Language selector */
.lang-selector { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  color: var(--text2);
  transition: var(--transition);
  background: var(--bg2);
}
.lang-btn:hover { border-color: var(--green); color: var(--green); }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px); right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 200;
  min-width: 160px;
}
.lang-option {
  display: block; width: 100%;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text2);
  text-align: left;
  transition: var(--transition);
}
.lang-option:hover, .lang-option.active {
  background: var(--green-pale);
  color: var(--green);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.hamburger:hover { background: var(--green-pale); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search bar */
.search-bar {
  display: none;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 12px 0;
  position: relative;
}
.search-bar.open { display: block; }
.search-bar .container { display: flex; align-items: center; gap: 12px; }
.search-bar input {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}
.search-bar input:focus { border-color: var(--green); }
.search-results {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 200;
}
.search-results.open { display: block; }
.search-result-item {
  padding: 12px 24px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text2);
}
.search-result-item:hover { background: var(--green-pale); color: var(--green); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--topbar-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0a2718;
  background-image: url('images/orqafon4.png');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-bg::before {
  /* rasm ustida mayin qorong'ulashtiruvchi qatlam - matn o'qilishini ta'minlaydi */
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(100deg, rgba(6,26,16,.62) 0%, rgba(6,26,16,.28) 42%, rgba(6,26,16,0) 68%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(180deg, rgba(5,20,12,.18) 0%, rgba(5,20,12,0) 22%, rgba(5,20,12,.35) 100%);
}
[data-theme="dark"] .hero-bg {
  background-color: #04140c;
}
[data-theme="dark"] .hero-bg::before {
  background: linear-gradient(100deg, rgba(2,10,6,.74) 0%, rgba(2,10,6,.38) 42%, rgba(2,10,6,0) 68%);
}
@media (max-width: 900px) {
  .hero-bg { background-position: 32% center; }
  .hero-bg::before { background: linear-gradient(100deg, rgba(6,26,16,.72) 0%, rgba(6,26,16,.5) 55%, rgba(6,26,16,.22) 100%); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}
.orb1 { width: 500px; height: 500px; background: #1d7a5f; top: -150px; right: -100px; }
.orb2 { width: 350px; height: 350px; background: #d79c57; bottom: -80px; left: 10%; }

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #a8ffcc;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease both;
}
.hero-title {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s 0.1s ease both;
}
.highlight {
  background: linear-gradient(135deg, #d79c57, #ad7033);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 400;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.6s 0.3s ease both;
}
.hero-stats {
  display: flex;
  gap: 48px;
  animation: fadeInUp 0.6s 0.4s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px;
  transition: var(--transition);
  border: none;
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,69,56,0.35); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px;
  transition: var(--transition);
  background: transparent;
}
.btn-outline:hover { border-color: #d79c57; color: #d79c57; background: rgba(215,156,87,0.08); transform: translateY(-2px); }
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hstat { display: flex; flex-direction: column; gap: 4px; }
.hstat-num {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-size: 36px; font-weight: 800;
  color: #d79c57; line-height: 1;
}
.hstat-label { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; }
.scroll-hint {
  position: absolute; bottom: 72px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-dot {
  width: 28px; height: 44px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  position: relative;
}
.scroll-dot::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown { 0%{opacity:1;top:6px} 100%{opacity:0;top:22px} }

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 16px;
  color: var(--text3);
  max-width: 500px;
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,0.65); }
.section-header.light .section-tag { background: rgba(255,255,255,0.12); color: #d79c57; }

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--bg3); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 20px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Crect x='0' y='0' width='30' height='30'/%3E%3Crect x='30' y='30' width='30' height='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.about-content h2 {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}
.about-content p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about-tag {
  display: flex; align-items: center; gap: 8px;
  background: var(--green-pale);
  color: var(--green);
  border: 1px solid rgba(15,69,56,0.15);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== LOGISTICS MAP SECTION ===== */
.logistics-section { background: var(--bg); }

/* Layout */
.lm-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 60px;
}

/* Fon animatsiya */
@keyframes bg-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes ripple {
  0%   { r: 80;  opacity: .45; stroke-width: 4; }
  60%  { opacity: .18; }
  100% { r: 900; opacity: 0;   stroke-width: 0.5; }
}

.map-wrap {
  background: linear-gradient(160deg, #e8f8f3 0%, #d0f0e8 40%, #c2eae0 70%, #daf5ec 100%);
  background-size: 200% 200%;
  animation: bg-shift 12s ease infinite;
  border-radius: 20px;
  box-shadow: 0 4px 28px rgba(26,92,58,.13);
  overflow: hidden;
  position: relative;
  padding: 0;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .map-wrap {
  background: linear-gradient(160deg, #0b2018 0%, #0d2a1c 40%, #091a12 70%, #0f2416 100%);
  background-size: 200% 200%;
  animation: bg-shift 12s ease infinite;
}

.map-ring {
  fill: none;
  stroke: rgba(30,155,105,0.30);
  animation: ripple 5s cubic-bezier(0,.6,.4,1) infinite;
}
.map-ring:nth-child(2) { animation-delay: 1.66s; }
.map-ring:nth-child(3) { animation-delay: 3.33s; }

#map-svg { width:100%; height:100%; display:block; flex: 1; }

.map-wrap .region {
  transition: filter .22s, opacity .22s;
  cursor: default;
  opacity: 1 !important;
}
#map-svg .region {
  fill: #5bbdb0 !important;
  stroke: #2e907a !important;
  stroke-width: 1.8 !important;
}
.map-wrap .region:hover  { filter: brightness(1.12); }
.map-wrap .region.active { filter: brightness(1.2);  }

/* Markers */
.pin { cursor: pointer; }
@keyframes pulse-glow {
  0%,100% { opacity:.18; r:75px; }
  50%      { opacity:.45; r:95px; }
}
@keyframes pulse-glow-gold {
  0%,100% { opacity:.26; r:85px; }
  50%      { opacity:.58; r:108px; }
}
.pin-glow      { animation: pulse-glow      2.8s ease-in-out infinite; }
.pin-glow-gold { animation: pulse-glow-gold 2.2s ease-in-out infinite !important; }
.pin-body { transition: transform .22s cubic-bezier(.34,1.56,.64,1), filter .22s; }
.pin-inner { transition: fill .2s; }
.pin:hover .pin-glow  { animation:none; opacity:.50 !important; r:108px !important; }
.pin:hover .pin-body  { transform: translateY(-22px) scale(1.1); filter: drop-shadow(0 20px 30px rgba(20,90,50,.5)); }
.pin:hover .pin-inner { fill:#22c55e !important; }
.pin.active .pin-body  { fill:#22c55e !important; stroke:#15803d !important; filter: drop-shadow(0 12px 26px rgba(34,197,94,.6)); transform: translateY(-12px); }
.pin.active .pin-inner { fill:#15803d !important; }
.pin.active .pin-glow  { animation:none; opacity:.55; r:105px; }
.pin.active .pin-lbl   { fill:#0f4a28 !important; stroke:#dcfce7 !important; }
.pin-lbl {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-size: 38px; font-weight: 700;
  paint-order: stroke fill;
  stroke-width: 8px;
  pointer-events: none;
}

/* Map hint */
.map-wrap .map-hint {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(255,255,255,.93); backdrop-filter: blur(8px);
  border: 1px solid #cce8d8; border-radius: 11px;
  padding: 9px 14px; font-size: 12px; color: #5a7860;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
[data-theme="dark"] .map-wrap .map-hint {
  background: rgba(13,31,20,.93); border-color: #2a4535; color: #7abf9a;
}

/* Tooltip */
#map-tt {
  position: fixed; z-index: 9999;
  pointer-events: none;
  opacity: 0; transform: translateY(6px);
  transition: opacity .14s, transform .14s;
}
#map-tt.on { opacity: 1; transform: translateY(0); }
.tt-box {
  background: #0e3820; color: #fff;
  border-radius: 14px; padding: 14px 18px; min-width: 220px;
  box-shadow: 0 10px 36px rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.07);
}
.tt-head { font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.tt-hdot { width: 8px; height: 8px; border-radius: 50%; background: #2fae86; box-shadow: 0 0 6px #2fae86; flex-shrink: 0; }
.tt-row { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: rgba(255,255,255,.65); margin-bottom: 5px; }
.tt-row b { color:#fff; font-weight:600; }
.tt-foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); font-size: 10.5px; color: #9de8b8; }

/* Info Panel */
.lm-panel {
  position: relative;
  height: 100%;
  box-sizing: border-box;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

/* Xaritadan hali hech qanday LM tanlanmagan holat */
.lm-panel-empty {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 40px 32px;
  background: linear-gradient(160deg, var(--card) 0%, var(--green-pale) 150%);
}
.lm-panel.is-empty .lm-panel-empty { display: flex; }
.lm-panel-empty-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-pale);
  color: var(--green);
  animation: lmEmptyPulse 2.4s ease-in-out infinite;
}
.lm-panel-empty strong {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-size: 16px;
  color: var(--text);
}
.lm-panel-empty span {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.55;
  max-width: 260px;
}
@keyframes lmEmptyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,154,92,.28); }
  50% { box-shadow: 0 0 0 10px rgba(45,154,92,0); }
}
.lm-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.lm-panel-header > div { flex: 1; min-width: 0; }
.lm-panel-header h3 {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lm-location {
  display: flex; align-items: flex-start; gap: 5px;
  font-size: 12px; color: var(--text3);
  line-height: 1.4;
}
.lm-location svg { flex-shrink: 0; margin-top: 1px; color: var(--green); }
.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.status-badge.active { background: #dcfce7; color: #16a34a; }
[data-theme="dark"] .status-badge.active { background: rgba(22,163,74,0.2); color: #d79c57; }

.lm-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.lm-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--card);
}
.lm-stat svg { color: var(--green); flex-shrink: 0; }
.lm-stat-label { font-size: 11px; color: var(--text3); display: block; }
.lm-stat-val { font-size: 13px; font-weight: 700; color: var(--text); display: block; }
.lm-360-link { color: var(--green); cursor: pointer; }
.lm-360-link:hover { text-decoration: underline; }

.lm-actions {
  display: flex;
  gap: 10px;
  padding: 16px;
  flex-shrink: 0;
}
.btn-detail {
  flex: 1;
  background: var(--green);
  color: white;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-detail:hover { background: var(--green-light); }
.btn-360 {
  display: flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--green);
  color: var(--green);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition);
  white-space: nowrap;
  background: transparent;
}
.btn-360:hover { background: var(--green-pale); }
.btn-360-disabled { opacity: 0.5; cursor: default; }
.btn-360-disabled:hover { background: transparent; }

/* Preview rasm */
.lm-preview {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: auto;
}
.lm-preview img {
  width: 100%; height: 160px; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.lm-preview:hover img { transform: scale(1.04); }
.lm-preview-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(6px);
  color: #fff; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px;
  display: flex; align-items: center; gap: 5px;
}

/* Global stats */
.global-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 70px;
}
.gstat {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.gstat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gstat svg { color: var(--green); flex-shrink: 0; }
.gstat strong { display: block; font-family: 'Gilroy', 'Arial', sans-serif; font-size: 28px; font-weight: 800; color: var(--green); }
.gstat span { font-size: 13px; color: var(--text3); }

/* ===== WHY US SECTION ===== */
.why-section { background: var(--bg3); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.why-card h3 {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--text); margin-bottom: 10px;
}
.why-card p { font-size: 14px; color: var(--text3); line-height: 1.7; }

/* ===== SERVICES ===== */
.services-section { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.srv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.srv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.srv-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green) 0%, #0a2b22 100%);
  color: var(--gold);
  box-shadow: 0 10px 22px rgba(15,69,56,.28);
  transition: var(--transition);
}
.srv-icon svg { width: 28px; height: 28px; }
.srv-card:hover .srv-icon {
  transform: translateY(-4px) scale(1.04);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--green);
  box-shadow: 0 14px 28px rgba(173,112,51,.28);
}
/* Icon badges — biz haqimizda kartochkalari */
.about-feature-card span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green) 0%, #0a2b22 100%);
  color: var(--gold);
  box-shadow: 0 6px 16px rgba(15,69,56,.22);
}
.about-feature-card span svg { width: 22px; height: 22px; }
/* Icon badges — hero suzuvchi kartochkalar */
.terminal-card span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(215,156,87,.2);
  color: var(--gold);
}
.terminal-card span svg { width: 19px; height: 19px; }
.srv-card h3 {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 10px;
}
.srv-card p { font-size: 14px; color: var(--text3); line-height: 1.7; }

/* ===== CALCULATOR ===== */
.calculator-section {
  background: linear-gradient(145deg, #0b1a0f, #0f2318);
}
.calc-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
}
.calc-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #d79c57; background: rgba(215,156,87,0.06); }
.form-group select option { background: #0f2318; color: #fff; }
.calc-btn { margin-top: 4px; align-self: flex-start; }

.calc-result {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 12px;
}
.calc-result-icon { font-size: 40px; }
.calc-result-label { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.calc-result-val { font-family: 'Gilroy', 'Arial', sans-serif; font-size: 32px; font-weight: 800; color: #d79c57; }
.calc-result-note { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.5; }
.calc-breakdown { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.8; }
.calc-order {
  margin-top: 8px;
  border-color: rgba(215,156,87,0.4) !important;
  color: #d79c57 !important;
}
.calc-order:hover { border-color: #d79c57 !important; background: rgba(215,156,87,0.08) !important; }
.calc-result.has-result .calc-result-val { animation: countUp 0.4s ease; }
@keyframes countUp { from{transform:scale(0.8);opacity:0} to{transform:scale(1);opacity:1} }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--bg3); }
.testimonials-wrap { position: relative; }
.testimonials-viewport { overflow: hidden; border-radius: var(--radius); }
.testimonials-slider {
  display: flex;
  align-items: stretch;
  transition: transform 0.6s cubic-bezier(0.65, 0.05, 0.2, 1);
  will-change: transform;
}
.testimonials-page {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
  padding: 4px 4px 10px;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 1;
  transform: scale(1);
}
.testimonial-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-rating { color: var(--gold); font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-size: 14px; color: var(--text2); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-weight: 800; font-size: 16px;
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--text); }
.testimonial-role { font-size: 12px; color: var(--text3); }

/* Sahifalash boshqaruvi: strelkalar + nuqtalar + sanoq */
.testimonial-controls {
  display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px;
}
.t-nav {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.t-nav:hover:not(:disabled) { background: var(--green); color: #fff; border-color: var(--green); transform: scale(1.06); }
.t-nav:disabled { opacity: 0.35; cursor: default; }
.t-nav svg { width: 18px; height: 18px; }
.t-dots { display: flex; align-items: center; gap: 8px; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
}
.t-dot.active { background: var(--green); width: 22px; border-radius: 999px; }
.t-dot:hover { background: var(--green-light); }
.t-page-count { font-size: 12px; color: var(--text3); min-width: 44px; text-align: center; }

/* ===== PARTNERS ===== */
.partners-section { background: var(--bg); padding: 64px 0; }
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}
.partner-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text3);
  transition: var(--transition);
  white-space: nowrap;
}
.partner-card:hover { border-color: var(--green); color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }

/* ===== NEWS ===== */
.news-section { background: var(--bg3); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.news-media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--green);
}
.news-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(0.4,0,0.2,1);
}
.news-card:hover .news-media img { transform: scale(1.08); }
.news-media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,39,24,0.05) 0%, rgba(9,25,17,0.35) 65%, rgba(6,17,12,0.82) 100%);
}
.news-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0f2318;
  font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 20px;
  letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.news-icon-badge {
  position: absolute;
  top: 190px;
  right: 20px;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--green) 0%, #0a2b22 100%);
  color: var(--gold);
  border: 3px solid var(--card);
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
  transition: var(--transition);
  z-index: 2;
}
.news-icon-badge svg { width: 22px; height: 22px; }
.news-card:hover .news-icon-badge {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--green);
  transform: translateY(-50%) translateY(-3px);
}
.news-body { padding: 28px 24px 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-date { font-size: 12px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.news-title { font-family: 'Gilroy', 'Arial', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.4; }
.news-desc { font-size: 13px; color: var(--text3); line-height: 1.6; flex: 1; }

/* ===== FAQ ===== */
.faq-section { background: var(--bg); }
.faq-container { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--green); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: none;
  transition: var(--transition);
}
.faq-question:hover { background: var(--green-pale); color: var(--green); }
.faq-item.open .faq-question { color: var(--green); background: var(--green-pale); }
.faq-icon { flex-shrink: 0; color: var(--green); transition: transform 0.25s; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0,1,0,1);
}
.faq-item.open .faq-answer {
  max-height: 400px;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
}
.faq-answer p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
}

/* ===== CONTACT ===== */
.contact-section { background: var(--bg2); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
/* Form inputs inside contact (light bg) */
.contact-section .form-group label { color: var(--text2); font-size: 13px; font-weight: 600; }
.contact-section .form-group input,
.contact-section .form-group select,
.contact-section .form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text);
}
.contact-section .form-group input:focus,
.contact-section .form-group select:focus,
.contact-section .form-group textarea:focus { border-color: var(--green); background: var(--card); }
.contact-section .form-group select option { background: var(--card); color: var(--text); }

.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card h3 {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--text); margin-bottom: 24px;
}
.contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text2);
}
.contact-item svg { color: var(--green); flex-shrink: 0; }
.social-links { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.social-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  color: var(--text2);
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-pale); }

/* ===== FOOTER ===== */
.footer {
  position: relative;
  background-color: #0a2718;
  background-image: url('images/footerfon2.png');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  color: rgba(255,255,255,0.85);
  padding: 64px 0 0;
  overflow: hidden;
  z-index: 0;
}
.footer::before {
  /* rasm ustida mayin qorong'ulashtiruvchi qatlam - matn o'qilishini ta'minlaydi */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(100deg, rgba(5,20,12,.55) 0%, rgba(5,20,12,.22) 45%, rgba(5,20,12,0) 70%);
}
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4,16,10,0) 0%, rgba(4,16,10,.4) 100%);
}
[data-theme="dark"] .footer { background-color: #04140c; }
[data-theme="dark"] .footer::before { background: linear-gradient(100deg, rgba(2,10,6,.68) 0%, rgba(2,10,6,.3) 45%, rgba(2,10,6,0) 70%); }
@media (max-width: 900px) {
  .footer { background-position: 22% center; }
  .footer::before { background: linear-gradient(100deg, rgba(5,20,12,.68) 0%, rgba(5,20,12,.42) 55%, rgba(5,20,12,.15) 100%); }
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-main { color: #d79c57; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4 { color: rgba(255,255,255,0.9); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-links a:hover { color: #d79c57; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: #d79c57; }

/* ===== MODALS ===== */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 500;
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--card);
  border-radius: var(--radius);
  width: 100%; max-width: 720px; max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
.modal-360 { max-width: 900px; }
@keyframes modalIn { from{opacity:0;transform:scale(0.95)} to{opacity:1;transform:scale(1)} }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: var(--card);
  z-index: 1;
}
.modal-header h3 {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--text);
}
.modal-close {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text3); font-size: 16px;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--green-pale); color: var(--green); }
.modal-body { padding: 24px; }
.modal-note { font-size: 13px; color: var(--text3); margin-top: 12px; text-align: center; }

/* Detail Modal */
.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 24px;
}
.detail-stat {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px;
}
.detail-stat-label { font-size: 11px; color: var(--text3); margin-bottom: 4px; }
.detail-stat-val { font-size: 20px; font-weight: 700; color: var(--green); }
.detail-info-row {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
.detail-info-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text2);
}
.detail-info-item svg { color: var(--green); flex-shrink: 0; margin-top: 1px; }
.detail-info-item strong { color: var(--text); }
.detail-section-title {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-weight: 700; font-size: 15px; color: var(--text);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.tech-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 24px;
}
.tech-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px;
  text-align: center; transition: var(--transition);
}
.tech-card:hover { border-color: var(--green); transform: translateY(-2px); }
.tech-icon { font-size: 28px; margin-bottom: 8px; }
.tech-name { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.tech-count { font-size: 11px; color: var(--text3); margin-bottom: 4px; }
.tech-price { font-size: 12px; color: var(--green); font-weight: 700; }
.detail-services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-bottom: 24px;
}
.detail-service-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text2);
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.detail-service-item svg { color: var(--green); flex-shrink: 0; }
.modal-360-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--green); color: white;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px;
  width: 100%; transition: var(--transition);
}
.modal-360-btn:hover { background: var(--green-light); }
.modal-360-soon {
  display: flex; align-items: center; justify-content: center;
  border: 1.5px dashed var(--border);
  color: var(--text3);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px; text-align: center;
}

/* ===== TOAST ===== */
.toast {
  display: none;
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 20px;
  font-size: 14px; font-weight: 500; color: var(--text);
  align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}
.toast.show { display: flex; }
@keyframes slideUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ===== FLOATING BUTTONS ===== */
.float-btns {
  position: fixed;
  right: 24px; bottom: 80px;
  z-index: 300;
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-end;
}
.float-wa {
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: white;
  padding: 12px 20px; border-radius: 50px;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: var(--transition);
  text-decoration: none;
}
.float-wa:hover { transform: scale(1.05); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.float-wa svg { flex-shrink: 0; }

/* Back to top */
.back-to-top {
  width: 46px; height: 46px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(15,69,56,0.35);
  transition: var(--transition);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--green-light); transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(30px); }
  to { opacity:1; transform:translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .lm-layout { grid-template-columns: 1fr; }
  .lm-panel { height: auto; max-height: none; }
  .map-wrap { min-height: 380px; }
  .global-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 240px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hech qanday markaz tanlanmagan holatda panel butun (yashirin) tarkib
     balandligini emas, faqat "tanlang" xabari balandligini egallasin. */
  .lm-panel.is-empty .lm-panel-header,
  .lm-panel.is-empty .lm-stats-grid,
  .lm-panel.is-empty .lm-actions,
  .lm-panel.is-empty .lm-preview {
    display: none;
  }
  .lm-panel-empty {
    position: static;
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--topbar-h); left: 0; right: 0;
    background: var(--card);
    padding: 20px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); z-index: 99; gap: 4px;
  }
  .nav-links.open a { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 15px; }
  .hamburger { display: flex; }
  .logo-sub { display: none; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .calc-card { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .global-stats { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .testimonials-page { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .float-wa span { display: none; }
  .float-wa { padding: 12px; border-radius: 50%; }
  .lm-actions { flex-direction: column; }
  .lm-stats-grid { grid-template-columns: 1fr; }
  .map-wrap { min-height: 260px; border-radius: 14px; }
  .lm-layout { gap: 16px; }
}

@media (max-width: 480px) {
  .global-stats { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .partners-grid { gap: 12px; }
  .partner-card { padding: 14px 20px; font-size: 13px; }
  .hero-title { font-size: 32px; }
  .container { padding: 0 16px; }
}

/* ===== MAP SECTION INLINE STYLES moved here ===== */
@keyframes bg-shift2 {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* =========================================================
   UTK — PROFESSIONAL RAILWAY LOADER
========================================================= */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;
  overflow: hidden;

  background-color: #04140c;
  background-image:
    linear-gradient(
      150deg,
      rgba(4, 20, 12, 0.5) 0%,
      rgba(9, 39, 24, 0.32) 48%,
      rgba(3, 16, 8, 0.55) 100%
    ),
    url('images/orqafon1.png');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;

  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.75s ease,
    visibility 0.75s ease;
}

.site-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Orqa fondagi dekorativ chiziqlar */
.site-loader::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );

  background-size: 54px 54px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.85),
    transparent
  );

  pointer-events: none;
}

/* Yumshoq yoritish */
.site-loader::after {
  content: "";
  position: absolute;

  width: 480px;
  height: 480px;

  border-radius: 50%;

  background: rgba(29, 122, 95, 0.14);
  filter: blur(100px);

  animation: loaderGlow 5s ease-in-out infinite;
  pointer-events: none;
}

.loader-card {
  position: relative;
  z-index: 2;

  width: min(580px, 100%);
  padding: 42px 42px 34px;

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 32px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.34),
      rgba(255, 255, 255, 0.14)
    );

  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  overflow: hidden;
}

.loader-header {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 28px;
}

.loader-logo-wrap {
  position: relative;

  width: 152px;
  min-height: 88px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo-wrap::before {
  content: "";
  position: absolute;

  width: 118px;
  height: 118px;

  border: 1px solid rgba(29, 122, 95, 0.28);
  border-radius: 50%;

  animation: loaderLogoRing 2.6s ease-out infinite;
}

.loader-logo {
  position: relative;
  z-index: 2;

  display: block;
  width: 148px;
  max-height: 90px;

  object-fit: contain;

  filter:
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.25))
    drop-shadow(0 0 20px rgba(29, 122, 95, 0.16));
}

/* Temir yo‘l sahnasi */
.loader-scene {
  position: relative;

  height: 116px;
  margin: 10px 0 20px;

  overflow: hidden;
}

/* Uzoqdagi yorug‘lik */
.loader-horizon {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 34px;

  height: 55px;

  background: radial-gradient(
    ellipse at center bottom,
    rgba(29, 122, 95, 0.18),
    transparent 65%
  );

  filter: blur(6px);
}

/* Poyezd */
.loader-train {
  position: absolute;
  left: -310px;
  bottom: 37px;

  display: flex;
  align-items: flex-end;
  gap: 5px;

  width: max-content;

  animation: loaderTrainMove 4.2s linear infinite;
  will-change: transform;
}

.train-engine,
.train-wagon {
  position: relative;

  height: 39px;
  border-radius: 7px 7px 3px 3px;

  box-shadow:
    0 12px 18px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.train-engine {
  width: 76px;

  background:
    linear-gradient(
      135deg,
      #d79c57 0%,
      #ad7033 48%,
      #ad7033 100%
    );

  border-radius: 9px 14px 3px 3px;
}

/* Lokomotiv kabinasi */
.train-engine::before {
  content: "";

  position: absolute;
  right: 7px;
  top: 7px;

  width: 20px;
  height: 12px;

  border-radius: 3px;

  background: #15382a;
  border: 1px solid rgba(255, 255, 255, 0.28);

  box-shadow: -25px 18px 0 -7px rgba(15, 55, 38, 0.8);
}

/* Lokomotiv old qismi */
.train-engine::after {
  content: "";

  position: absolute;
  left: -8px;
  bottom: 0;

  width: 16px;
  height: 23px;

  border-radius: 7px 2px 2px 2px;

  background: #d29d19;
}

.train-wagon {
  width: 74px;
}

.train-wagon-blue {
  background: linear-gradient(
    145deg,
    #1d7a5f,
    #0f4538
  );
}

.train-wagon-red {
  background: linear-gradient(
    145deg,
    #8a6435,
    #5f4423
  );
}

.train-wagon-green {
  background: linear-gradient(
    145deg,
    #0f4538,
    #082e20
  );
}

/* Konteyner vertikal chiziqlari */
.train-wagon::before {
  content: "";

  position: absolute;
  inset: 5px 8px;

  border-left: 1px solid rgba(255, 255, 255, 0.23);
  border-right: 1px solid rgba(255, 255, 255, 0.23);

  background: repeating-linear-gradient(
    90deg,
    transparent 0 10px,
    rgba(255, 255, 255, 0.09) 10px 11px
  );
}

/* G‘ildiraklar */
.train-engine span,
.train-wagon span {
  position: absolute;
  left: 10px;
  bottom: -8px;

  width: 13px;
  height: 13px;

  border: 3px solid #020806;
  border-radius: 50%;

  background: #56635c;

  box-shadow:
    41px 0 0 -3px #56635c,
    41px 0 0 0 #020806;
}

/* Tutun */
.train-smoke {
  position: absolute;
  left: 12px;
  top: -13px;

  width: 9px;
  height: 9px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);

  animation: loaderSmoke 1.4s ease-out infinite;
}

.train-smoke::before,
.train-smoke::after {
  content: "";
  position: absolute;

  width: 8px;
  height: 8px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.train-smoke::before {
  left: -8px;
  top: -4px;
  animation: loaderSmoke 1.4s ease-out 0.35s infinite;
}

.train-smoke::after {
  left: -15px;
  top: -9px;
  animation: loaderSmoke 1.4s ease-out 0.7s infinite;
}

/* Rels */
.loader-rails {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;

  height: 28px;
}

.loader-rail-line {
  position: absolute;
  left: 0;

  width: 100%;
  height: 3px;

  border-radius: 10px;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.65),
    rgba(255, 255, 255, 0.2)
  );

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.loader-rail-line:first-child {
  top: 4px;
}

.loader-rail-line:nth-child(2) {
  top: 17px;
}

.loader-sleepers {
  position: absolute;
  inset: 0;

  background: repeating-linear-gradient(
    90deg,
    transparent 0 22px,
    rgba(255, 255, 255, 0.25) 22px 27px,
    transparent 27px 45px
  );

  transform: skewX(-18deg);

  animation: loaderSleepers 0.9s linear infinite;
}

/* Pastki ma’lumotlar */
.loader-status {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;
  margin-bottom: 10px;

  color: rgba(255, 255, 255, 0.82);
}

.loader-status-text {
  display: flex;
  align-items: center;
  gap: 10px;

  font-family: "Gilroy", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.loader-status-dot {
  width: 8px;
  height: 8px;

  flex: 0 0 auto;

  border-radius: 50%;
  background: #d79c57;

  box-shadow: 0 0 0 5px rgba(29, 122, 95, 0.16);

  animation: loaderDot 1.6s ease-in-out infinite;
}

.loader-percent {
  min-width: 44px;

  color: #ad7033;

  font-family: "Gilroy", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.loader-progress {
  position: relative;
  z-index: 2;

  height: 7px;

  border-radius: 999px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.25);
}

.loader-progress span {
  display: block;

  width: 0%;
  height: 100%;

  border-radius: inherit;

  background: linear-gradient(
    90deg,
    #0f4538,
    #1d7a5f,
    #ad7033
  );

  box-shadow: 0 0 14px rgba(29, 122, 95, 0.3);

  transition: width 0.25s ease;
}

.loader-caption {
  position: relative;
  z-index: 2;

  margin-top: 14px;

  color: rgba(255, 255, 255, 0.43);

  font-family: "Gilroy", Arial, sans-serif;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.25px;
}

/* Animatsiyalar */
@keyframes loaderTrainMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(930px);
  }
}

@keyframes loaderSleepers {
  from {
    background-position-x: 0;
  }

  to {
    background-position-x: -45px;
  }
}

@keyframes loaderSmoke {
  0% {
    opacity: 0;
    transform: translate(0, 3px) scale(0.6);
  }

  35% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
    transform: translate(-17px, -22px) scale(1.7);
  }
}

@keyframes loaderGlow {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.55;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes loaderLogoRing {
  0% {
    opacity: 0.8;
    transform: scale(0.7);
  }

  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@keyframes loaderDot {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Loader yopilganda sahifani yumshoq ko‘rsatish */
body:not(.site-ready) {
  overflow: hidden;
}

body.site-ready {
  overflow-x: hidden;
}

/* Planshet */
@media (max-width: 768px) {
  .loader-card {
    width: min(520px, 100%);
    padding: 36px 26px 28px;
    border-radius: 26px;
  }

  .loader-logo {
    width: 135px;
  }

  .loader-scene {
    height: 105px;
  }

  .loader-train {
    transform: scale(0.9);
    transform-origin: left bottom;
  }

  @keyframes loaderTrainMove {
    from {
      transform: translateX(0) scale(0.9);
    }

    to {
      transform: translateX(760px) scale(0.9);
    }
  }
}

/* Telefon */
@media (max-width: 480px) {
  .site-loader {
    padding: 16px;
  }

  .loader-card {
    padding: 30px 20px 24px;
    border-radius: 24px;
  }

  .loader-header {
    margin-bottom: 18px;
  }

  .loader-logo-wrap {
    width: 130px;
    min-height: 74px;
  }

  .loader-logo {
    width: 126px;
    max-height: 75px;
  }

  .loader-logo-wrap::before {
    width: 92px;
    height: 92px;
  }

  .loader-scene {
    height: 94px;
    margin-bottom: 16px;
  }

  .loader-train {
    bottom: 36px;
  }

  .train-engine {
    width: 64px;
    height: 35px;
  }

  .train-wagon {
    width: 58px;
    height: 35px;
  }

  .train-engine span,
  .train-wagon span {
    box-shadow:
      31px 0 0 -3px #56635c,
      31px 0 0 0 #020806;
  }

  .loader-status-text {
    font-size: 12px;
  }

  .loader-percent {
    font-size: 14px;
  }

  .loader-caption {
    font-size: 11px;
  }

  @keyframes loaderTrainMove {
    from {
      transform: translateX(0) scale(0.88);
    }

    to {
      transform: translateX(650px) scale(0.88);
    }
  }
}

/* Harakatni kamaytirish sozlamasi */
@media (prefers-reduced-motion: reduce) {
  .loader-train,
  .loader-sleepers,
  .loader-card::before,
  .loader-logo-wrap::before,
  .site-loader::after,
  .loader-status-dot,
  .train-smoke,
  .train-smoke::before,
  .train-smoke::after {
    animation: none !important;
  }

  .loader-train {
    left: 50%;
    transform: translateX(-50%);
  }
}
/* ===== TOPBAR LOGO IMAGE ===== */
.logo-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }

/* ===== HERO PREMIUM MOTION ===== */
.hero { isolation: isolate; }
.hero-content { max-width: 920px; }
.hero-visual {
  position: absolute;
  right: clamp(20px, 6vw, 150px);
  top: 40%;
  transform: translateY(-46%);
  width: min(650px, 38vw);
  height: min(560px, 58vh);
  z-index: 1;
  pointer-events: none;
  transition: transform .18s ease-out;
}
.hero-photo-slider {
  position: absolute;
  inset: 0 0 90px 0;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 38px 100px rgba(0,0,0,.36);
  background: rgba(255,255,255,.06);
}
.hero-photo-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,28,17,.14), rgba(8,28,17,.75));
}
.hero-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  animation: heroPhotoSwap 15s infinite;
  transform: scale(1.08);
}
.slide-1 { background-image: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.22)), url('images/hero-terminal-1.jpg'); }
.slide-2 { background-image: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.22)), url('images/hero-terminal-2.jpg'); animation-delay: 5s; }
.slide-3 { background-image: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.22)), url('images/hero-terminal-3.jpg'); animation-delay: 10s; }
@keyframes heroPhotoSwap { 0%, 30% { opacity: 1; transform: scale(1); } 36%, 100% { opacity: 0; transform: scale(1.08); } }
.rail-scene { position: absolute; left: -40px; right: -20px; bottom: 44px; height: 92px; overflow: hidden; }
.rail-line { position: absolute; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.42); }
.rail-line-1 { bottom: 24px; }
.rail-line-2 { bottom: 10px; }
.moving-train { position: absolute; left: -280px; bottom: 26px; display: flex; gap: 8px; align-items: flex-end; animation: trainMove 8s linear infinite; }
.train-head, .container-wagon { display: block; height: 42px; border-radius: 8px 8px 3px 3px; box-shadow: 0 14px 28px rgba(0,0,0,.38); position: relative; }
.train-head { width: 76px; background: linear-gradient(135deg, #16a34a, #0f6a39); }
.train-head::before { content: ''; position: absolute; width: 22px; height: 15px; right: 9px; top: 8px; border-radius: 3px; background: rgba(255,255,255,.82); }
.container-wagon { width: 88px; background: linear-gradient(135deg, #ad7033, #d79c57); }
.wagon-2 { background: linear-gradient(135deg, #60a5fa, #1d4ed8); }
.wagon-3 { background: linear-gradient(135deg, #fb7185, #be123c); }
.container-wagon::after, .train-head::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: -8px; height: 8px; background: radial-gradient(circle, #0a130d 0 4px, transparent 5px) left center / 24px 8px repeat-x; }
@keyframes trainMove { to { transform: translateX(calc(100vw + 620px)); } }
.terminal-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-radius: 18px; color: #fff; background: rgba(255,255,255,.11); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 44px rgba(0,0,0,.28); }
.terminal-card b { font-size: 13px; white-space: nowrap; }
.card-a { top: 42px; left: -34px; animation: floatCard 4s ease-in-out infinite; }
.card-b { right: -20px; bottom: 138px; animation: floatCard 4.8s ease-in-out infinite reverse; }
@keyframes floatCard { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-14px) } }

/* ===== ABOUT PREMIUM ===== */
.about-modern-grid { display: grid; grid-template-columns: minmax(420px, 1.05fr) minmax(420px, .95fr); gap: 72px; align-items: center; }
.about-showcase { position: relative; min-height: 500px; }
.about-slider { position: absolute; inset: 0 0 86px 0; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: var(--green); }
.about-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .8s ease, transform 1.2s ease; background-size: cover; background-position: center; }
.about-slide.active { opacity: 1; transform: scale(1); }
.about-slide-1 { background-image: linear-gradient(180deg, rgba(0,0,0,.08), rgba(5,45,25,.75)), url('images/about-terminal-1.jpg'); }
.about-slide-2 { background-image: linear-gradient(180deg, rgba(0,0,0,.08), rgba(5,45,25,.75)), url('images/about-terminal-2.jpg'); }
.about-slide-3 { background-image: linear-gradient(180deg, rgba(0,0,0,.08), rgba(5,45,25,.75)), url('images/about-terminal-3.jpg'); }
.about-slide-caption { position: absolute; left: 28px; right: 28px; bottom: 26px; color: #fff; }
.about-slide-caption span { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(215,156,87,.16); border: 1px solid rgba(215,156,87,.28); color: #bbf7d0; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.about-slide-caption b { display: block; font-family: 'Gilroy', 'Arial', sans-serif; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.08; max-width: 560px; }
.about-mini-stats { position: absolute; left: 34px; right: 34px; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-mini-stats div { padding: 20px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); transition: var(--transition); }
.about-mini-stats div:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.about-mini-stats strong { display: block; font-family: 'Gilroy', 'Arial', sans-serif; color: var(--green); font-size: 28px; line-height: 1; }
.about-mini-stats span { display: block; color: var(--text3); font-size: 12px; margin-top: 6px; }
.premium-about h2 { font-family: 'Gilroy', 'Arial', sans-serif; font-size: clamp(34px, 4vw, 54px); line-height: 1; margin: 12px 0 22px; }
.premium-about p { color: var(--text2); font-size: 17px; line-height: 1.8; margin-bottom: 16px; }
.about-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.about-feature-card { padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); transition: var(--transition); }
.about-feature-card:hover { transform: translateY(-6px); border-color: var(--green); box-shadow: var(--shadow-lg); }
.about-feature-card span { font-size: 24px; }
.about-feature-card b { display: block; margin-top: 8px; font-size: 15px; color: var(--text); }
.about-feature-card small { color: var(--text3); }

/* ===== LOGISTICS CARD FIX ===== */
.lm-layout { align-items: stretch; }
.lm-panel { min-height: 0; box-shadow: var(--shadow-lg); }
.lm-panel::-webkit-scrollbar { width: 5px; }
.lm-panel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.lm-preview { cursor: pointer; min-height: 210px; border-top: 1px solid var(--border); background: var(--green-pale); }
.lm-preview img { height: 210px; }
.iframe-360 { width: 100%; height: 500px; border: none; border-radius: 12px; display: block; background: #eef1ef; }
.iframe-360-wrap { position: relative; width: 100%; height: 500px; border-radius: 12px; overflow: hidden; }
.iframe-360-wrap .iframe-360 { position: absolute; inset: 0; height: 100%; }
.iframe-360-loader {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: var(--card, #fff);
  border-radius: 12px;
  transition: opacity .25s ease;
  z-index: 2;
}
.iframe-360-loader.hidden { opacity: 0; pointer-events: none; }
.iframe-360-loader .spinner-360 {
  width: 42px; height: 42px;
  border: 3px solid var(--border, #e2e2e2);
  border-top-color: var(--green, #1a7a4c);
  border-radius: 50%;
  animation: spin360 .8s linear infinite;
}
.iframe-360-loader p { color: var(--text3, #667); font-size: 14px; margin: 0; text-align: center; padding: 0 20px; }
@keyframes spin360 { to { transform: rotate(360deg); } }

/* ===== PARTNERS: UTK.UZ KABI LOGO MARQUEE ===== */
.partners-section { background: var(--bg); padding: 92px 0; overflow: hidden; }
.partners-marquee { position: relative; padding: 10px 0 22px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners-track { display: flex; gap: 28px; width: max-content; animation: partnersMove 34s linear infinite; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partner-logo-card {
  width: 210px;
  height: 94px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 8px 22px rgba(15,69,56,.05);
  filter: grayscale(1);
  opacity: .58;
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease, opacity .28s ease, border-color .28s ease;
}
.partner-logo-card:hover { filter: grayscale(0); opacity: 1; transform: translateY(-8px) scale(1.03); border-color: var(--green); box-shadow: var(--shadow-lg); }
.partner-logo-card img { max-width: 58px; max-height: 42px; object-fit: contain; }
.partner-logo-card b { color: var(--text2); font-weight: 700; font-size: 15px; white-space: nowrap; }
.partner-fallback { display: none; color: var(--green); font-weight: 800; font-size: 14px; letter-spacing: .06em; }
.partner-fallback.show { display: inline-flex; }
@keyframes partnersMove { to { transform: translateX(-50%); } }

/* ===== RESPONSIVE EXTRA ===== */
@media (max-width: 1250px) {
  .hero-visual { opacity: .36; right: -80px; width: 56vw; }
  .about-modern-grid { grid-template-columns: 1fr; gap: 46px; }
  .about-showcase { min-height: 430px; }
}
@media (max-width: 900px) {
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .about-showcase { min-height: 380px; }
  .about-mini-stats { left: 16px; right: 16px; gap: 10px; }
  .lm-preview, .lm-preview img { min-height: 190px; height: 190px; }
}
@media (max-width: 640px) {
  .loader-card { border-radius: 22px; padding: 28px 22px; }
  .about-showcase { min-height: auto; display: flex; flex-direction: column; gap: 14px; }
  .about-slider { position: relative; inset: auto; height: 300px; border-radius: 22px; }
  .about-mini-stats { position: static; left: auto; right: auto; grid-template-columns: 1fr; }
  .about-feature-grid { grid-template-columns: 1fr; }
  .partner-logo-card { width: 175px; height: 82px; }
}


/* ===== 2026 PROFESSIONAL UI ENHANCEMENTS ===== */
@font-face {
  font-family: 'Gilroy';
  src: local('Gilroy'), local('Gilroy Regular'), local('Gilroy-Regular');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: local('Gilroy Medium'), local('Gilroy-Medium');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: local('Gilroy Bold'), local('Gilroy-Bold'), local('Gilroy ExtraBold');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
body, button, input, select, textarea { font-family: 'Gilroy', Arial, sans-serif; }

.utility-bar { height: var(--utility-h); background: #101713; color: rgba(255,255,255,.9); border-bottom: 1px solid rgba(255,255,255,.08); }
.utility-inner { height: 100%; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.utility-meta { display:flex; align-items:center; gap:0; min-width:0; }
.utility-item { display:flex; align-items:center; gap:8px; padding:0 18px; font-size:12px; font-weight:600; white-space:nowrap; border-right:1px solid rgba(255,255,255,.14); }
.utility-item:first-child { padding-left:0; }
.utility-socials { display:flex; align-items:center; gap:9px; }
.utility-socials a { width:27px; height:27px; border-radius:50%; display:grid; place-items:center; color:#fff; font-size:11px; font-weight:800; border:1px solid rgba(255,255,255,.18); transition:var(--transition); }
.utility-socials a:hover { background:#1d7a5f; border-color:#1d7a5f; transform:translateY(-2px); }
[data-theme="dark"] .utility-bar { background:#050a07; }

.logo { width:190px; height:58px; justify-content:flex-start; }
.brand-logo { width:100%; height:100%; object-fit:contain; object-position:left center; }
.logo-icon, .logo-text { display:none !important; }

.hero-photo-slider { isolation:isolate; }
.hero-photo-slider .hero-photo { animation:none; transition:opacity 1.1s ease, transform 7s ease; }
.hero-photo-slider .hero-photo.active { opacity:1; transform:scale(1); z-index:1; }
.hero-photo-slider .hero-photo:not(.active) { opacity:0; transform:scale(1.08); z-index:0; }
.hero-slider-status { position:absolute; left:24px; right:24px; bottom:18px; z-index:4; display:flex; gap:7px; }
.hero-slider-status span { height:3px; flex:1; max-width:42px; border-radius:999px; background:rgba(255,255,255,.28); overflow:hidden; }
.hero-slider-status span.active::after { content:''; display:block; height:100%; background:#fff; animation:slideProgress 5.5s linear; }
@keyframes slideProgress { from{width:0} to{width:100%} }

.about-video-card { background:#0b2a18; }
.about-video { width:100%; height:100%; object-fit:cover; display:block; background:#0b2a18; }
.about-video-shade { position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg, rgba(0,0,0,.06) 20%, rgba(5,45,25,.78) 100%); }
.about-video-captions { position:absolute; inset:0; pointer-events:none; }
.about-video-captions .about-slide-caption { opacity:0; transform:translateY(10px); transition:opacity .6s ease, transform .6s ease; }
.about-video-captions .about-slide-caption.active { opacity:1; transform:translateY(0); }
.video-fullscreen-btn { position:absolute; top:18px; right:18px; z-index:5; width:42px; height:42px; border-radius:12px; display:grid; place-items:center; color:#fff; font-size:22px; background:rgba(5,25,15,.55); border:1px solid rgba(255,255,255,.2); backdrop-filter:blur(10px); transition:var(--transition); }
.video-fullscreen-btn:hover { background:var(--green); transform:scale(1.05); }

/* Map height and information card proportions matching the reference layout */
.logistics-section .container { max-width:1800px; }
.lm-layout { grid-template-columns:minmax(0, 1fr) 390px; gap:24px; }
.map-wrap { min-height:650px; border-radius:24px; }
.lm-panel { min-height:650px; border-radius:24px; box-shadow:0 18px 55px rgba(26,92,58,.10); }
#map-svg { min-height:620px; }

/* Removed calculator: protect against stale links */
a[href="#calculator"] { display:none !important; }

@media (max-width:1024px) {
  :root { --topbar-h:108px; --utility-h:36px; --nav-h:72px; }
  .utility-item { padding:0 10px; font-size:11px; }
  .weather-item { display:none; }
  .logo { width:155px; }
  .map-wrap, .lm-panel { min-height:520px; }
}
@media (max-width:768px) {
  :root { --topbar-h:108px; }
  .utility-meta { width:100%; justify-content:space-between; }
  .utility-item { border:0; padding:0 5px; }
  .utility-item:nth-child(2) { display:none; }
  .utility-socials { display:none; }
  .brand-logo { max-width:145px; }
  .map-wrap { min-height:340px; }
  #map-svg { min-height:320px; }
  .lm-panel { min-height:auto; }
}
@media (max-width:480px) {
  .utility-item { font-size:10px; gap:5px; }
  .utility-item:nth-child(4) { display:none; }
  .logo { width:130px; height:50px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider-status span.active::after, .map-wrap, .map-ring { animation:none !important; }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}


/* ===== 2026-07 PROFESSIONAL REFINEMENTS ===== */
/* Hero matn bloki sahifaning chap kontent chizig'iga tekislanadi. */
.hero-content {
  max-width: 1700px;
  width: 100%;
  margin-inline: auto;
  padding-left: clamp(32px, 6vw, 118px);
  padding-right: clamp(32px, 6vw, 118px);
}
.hero-content > .hero-badge,
.hero-content > .hero-title,
.hero-content > .hero-desc,
.hero-content > .hero-ctas,
.hero-content > .hero-stats { max-width: 760px; }

/* Xarita va ma'lumot paneli bir ekran ichida ixcham ko'rinadi. */
.lm-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 370px);
  gap: 20px;
  height: clamp(520px, calc(100vh - 245px), 640px);
  align-items: stretch;
}
.map-wrap,
.lm-panel {
  min-height: 0 !important;
  height: 100%;
}
.lm-panel { overflow: hidden; }
.lm-panel-header { padding: 17px 18px 13px; gap: 12px; }
.lm-stats-grid { flex: 0 0 auto; }
.lm-stat { padding: 10px 12px; gap: 8px; }
.lm-stat-label { font-size: 10px; }
.lm-stat-val { font-size: 12px; }
.lm-actions { padding: 12px; gap: 8px; }
.btn-detail, .btn-360 { padding: 10px 11px; font-size: 12px; }

/* 360° iframe paneli */
.lm-preview {
  position: relative;
  flex: 1 1 auto;
  min-height: 155px;
  margin-top: 0;
  border-top: 1px solid var(--border);
  background: #dcefe8;
}
.lm-preview-frame { position: absolute; inset: 0; overflow: hidden; }
.lm-preview iframe,
.lm-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  border: 0;
  object-fit: cover;
  display: block;
}
.lm-preview iframe { z-index: 2; background: #eef8f4; }
.lm-preview img { z-index: 1; }
.lm-preview img.is-backup { opacity: .22; }
.lm-preview-placeholder {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 7px;
  padding: 26px;
  text-align: center;
  color: var(--text2);
  background: linear-gradient(145deg, rgba(232,248,243,.88), rgba(196,234,222,.92));
}
.lm-preview-placeholder[hidden], .lm-preview iframe[hidden], .lm-preview-open[hidden], .lm-preview img[hidden] { display: none !important; }
.lm-preview-placeholder strong { color: var(--green); font-size: 15px; }
.lm-preview-placeholder span { font-size: 12px; line-height: 1.45; }
.lm-preview-open {
  position: absolute;
  z-index: 5;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  padding: 8px 11px;
  color: #fff;
  background: rgba(8,50,29,.78);
  backdrop-filter: blur(10px);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.lm-preview-open:hover { background: var(--green); transform: translateY(-1px); }

/* Top utility ijtimoiy tarmoq ikonkalari */
.utility-socials a { width: 30px; height: 30px; padding: 7px; }
.utility-socials svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.utility-socials a:hover { color: #fff; box-shadow: 0 7px 20px rgba(45,154,92,.3); }

/* Footerda to'liq tashkilot logotipi */
.footer-logo { display: inline-flex; margin-bottom: 18px; }
.footer-logo img { width: clamp(180px, 15vw, 245px); max-height: 86px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); opacity: .96; }
[data-theme="light"] .footer-logo img { filter: none; }
.footer-brand > .logo { display: none !important; }

@media (max-width: 1100px) {
  .lm-layout { height: auto; grid-template-columns: 1fr; }
  .map-wrap { height: 520px; }
  .lm-panel { height: auto; }
  .lm-preview { height: 260px; flex: none; }
}
@media (max-width: 768px) {
  .hero-content { padding-left: 24px; padding-right: 24px; }
  .map-wrap { height: 390px; }
  .lm-preview { height: 220px; }
}

/* ===== Brendlashtirilgan kartochkalar — barcha oq kartalar uchun umumiy uslub ===== */
.why-card, .srv-card, .news-card, .testimonial-card, .about-feature-card,
.partner-card, .gstat {
  position: relative;
  background-color: var(--card);
  background-image: var(--utk-pattern-light);
  background-repeat: repeat;
  background-size: 160px 120px;
  border-top: 3px solid var(--gold);
}
[data-theme="dark"] .why-card,
[data-theme="dark"] .srv-card,
[data-theme="dark"] .news-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .about-feature-card,
[data-theme="dark"] .partner-card,
[data-theme="dark"] .gstat {
  background-image: var(--utk-pattern-dark);
}

/* ===== Why-us iconlarini badge ko'rinishiga o'tkazish ===== */
.why-icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green) 0%, #0a2b22 100%);
  color: var(--gold);
  box-shadow: 0 10px 22px rgba(15,69,56,.28);
  transition: var(--transition);
}
.why-icon svg { width: 30px; height: 30px; }
.why-card:hover .why-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--green);
}

/* ===== Fikr va baho (review) formasi — yulduzcha reyting ===== */
.star-rating { display: flex; gap: 8px; margin-top: 6px; }
.star-btn {
  background: none; border: none; padding: 2px;
  cursor: pointer;
  color: var(--border);
  transition: var(--transition);
  line-height: 0;
}
.star-btn svg { width: 32px; height: 32px; fill: currentColor; display: block; }
.star-btn.is-active,
.star-btn.is-hover { color: var(--gold); transform: scale(1.1); }
.review-form .form-group { margin-bottom: 2px; }
