/*
Theme Name: UzAssets Child
Theme URI: https://uz-assets.uz
Description: UzAssets korporativ sayti uchun Astra child theme
Author: UzAssets
Author URI: https://uz-assets.uz
Template: astra
Version: 1.0.0
Text Domain: uzassets-child
*/

/* ===== ASOSIY O'ZGARUVCHILAR ===== */
:root {
  --dark-navy: #0F2A4A;
  --teal: #1D9E75;
  --teal-dark: #0F6E56;
  --teal-light: #E1F5EE;
  --text: #2C2C2A;
  --text-muted: #5F5E5A;
  --border: rgba(0,0,0,0.1);
  --white: #ffffff;
  --bg-light: #F8F9FA;
  --font: 'Inter', 'Segoe UI', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text); background: var(--white); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== UMUMIY ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 64px 0; }
.section-alt { background: var(--bg-light); }

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.section-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.section-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--text);
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* ===== HEADER / NAV ===== */
.uz-header {
  background: var(--dark-navy);
  position: sticky;
  top: 0;
  z-index: 999;
  height: 60px;
  display: flex;
  align-items: center;
}
.uz-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
}
.uz-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}
.uz-logo img {
  height: 26px;
  width: auto;
}
.uz-logo span { color: var(--teal); }
.uz-nav { display: flex; align-items: center; gap: 4px; }
.uz-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}
.uz-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.uz-nav-btn {
  background: var(--teal);
  color: var(--white) !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
}
.uz-nav-btn:hover { background: var(--teal-dark) !important; }
.uz-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}
.uz-lang a {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 3px;
  border: 1px solid transparent;
}
.uz-lang a.active {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

/* ===== HERO ===== */
.uz-hero {
  background: var(--dark-navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.uz-hero::before {
  background: url('/wp-content/themes/astra-child/assets/img/16.jpg') center/cover no-repeat;
  opacity: 0.25;
}
}
.uz-hero-content { position: relative; z-index: 1; max-width: 620px; }
.uz-hero-tag {
  display: inline-block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.uz-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
}
.uz-hero h1 em { color: var(--teal); font-style: normal; }
.uz-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
.uz-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== YANGILIKLAR ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.news-card-img {
  height: 160px;
  background: var(--dark-navy);
  overflow: hidden;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 16px; }
.news-card-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.news-card-footer { display: flex; justify-content: space-between; align-items: center; }
.news-date { font-size: 11px; color: var(--text-muted); }
.news-more { font-size: 12px; color: var(--teal); font-weight: 500; }
.news-more:hover { text-decoration: underline; }
.news-all { text-align: center; margin-top: 32px; }

/* ===== INVESTORLAR ===== */
.investor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.investor-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.investor-grid h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.4;
  margin-bottom: 16px;
}
.investor-grid p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.report-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.report-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.report-logo {
  width: 40px; height: 40px;
  background: var(--dark-navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  font-weight: 700; font-size: 13px;
}
.report-name { font-size: 13px; font-weight: 600; }
.report-sub { font-size: 11px; color: var(--text-muted); }
.report-rating {
  margin-left: auto;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}
.report-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat-box {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}
.stat-num { font-size: 16px; font-weight: 700; color: var(--teal-dark); }
.stat-lbl { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* ===== REYTINGLAR ===== */
.ratings-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.rating-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.rating-brand { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.rating-num { font-size: 28px; font-weight: 700; color: var(--text); }
.ratings-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rating-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.rating-box-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.rating-box-top h4 { font-size: 13px; color: var(--text-muted); max-width: 160px; line-height: 1.4; }
.rating-count-badge {
  background: var(--teal);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 13px;
}
.rating-row:last-child { border-bottom: none; }
.rating-company { display: flex; align-items: center; gap: 6px; }
.rating-badge {
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

/* ===== YEVROOBLIGATSIYALAR ===== */
.eurobond-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}
.lse-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}
.lse-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.lse-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.bond-list { display: flex; flex-direction: column; gap: 10px; }
.bond-row {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.bond-company { display: flex; align-items: center; gap: 10px; }
.bond-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.bond-amount { font-weight: 700; }
.bond-unit { font-size: 11px; color: var(--text-muted); margin-left: 4px; }

/* ===== ESG BANNER ===== */
.esg-banner {
  background: var(--dark-navy);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin: 64px 0;
}
.esg-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.esg-banner h3 { font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.esg-banner p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 20px; max-width: 400px; }
.esg-text-big {
  font-size: 56px;
  font-weight: 900;
  color: var(--teal);
  opacity: 0.5;
  letter-spacing: -2px;
  flex-shrink: 0;
}

/* ===== HAMKORLAR ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: box-shadow 0.2s;
}
.partner-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.partner-card img { max-height: 36px; filter: grayscale(1); opacity: 0.6; transition: all 0.2s; }
.partner-card:hover img { filter: grayscale(0); opacity: 1; }
.partner-name { font-size: 12px; font-weight: 600; color: var(--text-muted); text-align: center; }

/* ===== FOOTER ===== */
.uz-footer {
  background: var(--dark-navy);
  padding: 48px 0 24px;
  color: rgba(255,255,255,0.7);
}
.uz-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 32px;
}
.footer-logo { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-logo span { color: var(--teal); }
.footer-info { font-size: 12px; line-height: 1.7; }
.footer-links h4 { font-size: 13px; color: var(--white); margin-bottom: 12px; }
.footer-links a { display: block; font-size: 12px; margin-bottom: 8px; opacity: 0.7; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; color: var(--teal); }
.footer-subscribe h4 { font-size: 13px; color: var(--white); margin-bottom: 8px; }
.footer-subscribe p { font-size: 12px; margin-bottom: 12px; }
.subscribe-row { display: flex; gap: 8px; }
.subscribe-row input {
  flex: 1;
  padding: 9px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: var(--white);
  font-size: 13px;
}
.subscribe-row input::placeholder { color: rgba(255,255,255,0.35); }
.subscribe-row button {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  opacity: 0.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .uz-nav { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .investor-grid { grid-template-columns: 1fr; }
  .ratings-top { grid-template-columns: repeat(2, 1fr); }
  .ratings-detail { grid-template-columns: 1fr; }
  .eurobond-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .uz-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .esg-banner { flex-direction: column; text-align: center; padding: 32px; }
  .uz-hero h1 { font-size: 26px; }
}
