/* ==========================================================================
   Nanolit — zamonaviy ko'rinish. style.css dan keyin yuklanadi va uni ustidan yozadi.
   ========================================================================== */

:root {
  --brand: #e03a3c;
  --brand-dark: #c22d2f;
  --brand-soft: rgba(224, 58, 60, 0.1);
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --dark: #0f141c;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06), 0 1px 3px rgba(17, 24, 39, 0.08);
  --shadow: 0 10px 30px -12px rgba(17, 24, 39, 0.25);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Shablondagi Raleway/Poppins/Open Sans o'rniga bitta shrift */
body :where(h1, h2, h3, h4, h5, h6, p, a, span, li, button, input, textarea, label, div) {
  font-family: var(--font);
}

h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -0.02em; }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

::selection { background: var(--brand); color: #fff; }

:focus-visible { outline: 3px solid rgba(224, 58, 60, 0.45); outline-offset: 2px; }

section { padding: 88px 0; }

@media (max-width: 768px) {
  section { padding: 64px 0; }
}

/* ---------- Kirish animatsiyasi ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.intro-logo {
  width: 220px;
  height: auto;
  animation: nl-intro-logo 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intro-bar {
  position: relative;
  width: 160px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--line);
}

.intro-bar span {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: var(--brand);
  transform-origin: left;
  animation: nl-intro-bar 1s cubic-bezier(0.65, 0, 0.35, 1) 0.15s both;
}

/* Yopilish: avval logo yo'qoladi, keyin parda yuqoriga suriladi */
.intro.intro-done { transform: translateY(-100%); transition-delay: 0.15s; }
.intro.intro-done .intro-inner { opacity: 0; transform: translateY(-24px); transition-delay: 0.1s; }
.intro.intro-done .intro-bar span { animation: none; transform: scaleX(1); transition: transform 0.25s ease; }

html.intro-active { overflow: hidden; }

/* Hero animatsiyasi parda ochilguncha kutib turadi */
html.intro-active #hero .animate__animated { animation-play-state: paused; }

@keyframes nl-intro-logo {
  from { opacity: 0; transform: scale(0.88); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes nl-intro-bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Tizimda animatsiyalar o'chirilgan bo'lsa: harakatsiz, faqat silliq yo'qolish */
@media (prefers-reduced-motion: reduce) {
  .intro-logo, .intro-bar span { animation: none !important; }
  .intro.intro-done { transform: none; opacity: 0; transition: opacity 0.4s ease !important; }
}

@media (max-width: 575px) {
  .intro-logo { width: 170px; }
  .intro-bar { width: 120px; }
}

/* ---------- Header ---------- */
#header {
  height: var(--header-h);
  padding: 0;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

#header.header-scrolled {
  opacity: 1;
  padding: 0;
  background: #fff;
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(17, 24, 39, 0.5);
}

#header .logo img { width: auto; height: 40px; max-height: none; }

.navbar a,
.navbar a:focus {
  padding: 8px 14px;
  margin-left: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.navbar a:hover,
.navbar li:hover > a { color: var(--brand); background: var(--brand-soft); }

.navbar .active,
.navbar .active:focus { color: var(--brand); background: var(--brand-soft); }

.navbar .dropdown ul {
  border-radius: 12px;
  padding: 6px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.navbar .dropdown ul a { border-radius: 8px; margin: 0; cursor: pointer; }

.header-phone {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  margin-right: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
}

.header-phone:hover { color: var(--brand); }

.navbar-mobile {
  background: rgba(15, 20, 28, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.navbar-mobile ul {
  top: 76px;
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
}

.navbar-mobile a,
.navbar-mobile a:focus { padding: 12px 16px; margin: 2px 0; font-size: 16px; }

/* ---------- Hero ---------- */
#hero {
  height: 92vh;
  min-height: 560px;
  max-height: 900px;
  background-color: var(--dark);
}

#hero .carousel-item::before {
  background:
    linear-gradient(90deg, rgba(10, 13, 18, 0.82) 0%, rgba(10, 13, 18, 0.55) 45%, rgba(10, 13, 18, 0.15) 100%),
    linear-gradient(0deg, rgba(10, 13, 18, 0.55) 0%, rgba(10, 13, 18, 0) 35%);
}

#hero .carousel-container {
  top: var(--header-h);
  left: 0;
  right: 0;
  justify-content: flex-start;
}

#hero .container { text-align: left; max-width: 1140px; }

#hero h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
}

#hero p {
  max-width: 620px;
  margin: 0 0 32px 0;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

#hero .btn-get-started,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

#hero .btn-get-started {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 30px -10px rgba(224, 58, 60, 0.7);
}

#hero .btn-get-started:hover { background: var(--brand-dark); transform: translateY(-2px); }

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

#hero .carousel-control-prev-icon,
#hero .carousel-control-next-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

#hero .carousel-control-prev-icon svg,
#hero .carousel-control-next-icon svg { width: 20px; height: 20px; }

#hero .carousel-indicators { margin-bottom: 28px; }

#hero .carousel-indicators li {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  border: 0;
  opacity: 1;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.3s, background 0.3s;
}

#hero .carousel-indicators li.active { width: 44px; background: #fff; }

@media (max-width: 768px) {
  #hero { height: 86vh; min-height: 520px; }
  #hero .carousel-control-prev,
  #hero .carousel-control-next { display: none; }
  #hero .carousel-item::before {
    background: linear-gradient(0deg, rgba(10, 13, 18, 0.88) 0%, rgba(10, 13, 18, 0.45) 60%, rgba(10, 13, 18, 0.3) 100%);
  }
  #hero .carousel-container { align-items: flex-end; padding-bottom: 72px; }
}

/* animate.css o'rniga faqat kerakli ikki animatsiya */
.animate__animated { animation-duration: 0.8s; animation-fill-mode: both; }
.animate__fadeInDown { animation-name: nl-fade-down; }
.animate__fadeInUp { animation-name: nl-fade-up; animation-delay: 0.15s; }
@keyframes nl-fade-down { from { opacity: 0; transform: translate3d(0, -24px, 0); } to { opacity: 1; transform: none; } }
@keyframes nl-fade-up { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }

/* ---------- Bo'lim sarlavhalari ---------- */
.section-title { padding-bottom: 44px; }

.section-title h2 {
  display: inline-block;
  margin-bottom: 12px;
  padding: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  text-transform: none;
  line-height: 1.15;
}

.section-title h2::after { display: none; }

.section-title h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: 4px;
  background: var(--brand);
}

.section-title p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--muted);
}

.section-more { display: flex; justify-content: center; margin-top: 28px; }

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-more::after { content: "→"; transition: transform 0.2s; }
.btn-more:hover { background: var(--ink); color: #fff; }
.btn-more:hover::after { transform: translateX(4px); }

/* Bo'limlarni navbatma-navbat ajratish */
#counts, #services, #testimonials, #faq { background: var(--bg-soft); }

/* ---------- Hamkorlar logolari ---------- */
#clients { padding: 40px 0; border-bottom: 1px solid var(--line); }

#clients .swiper-slide img {
  max-height: 56px;
  width: auto;
  margin: 0 auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
}

#clients .swiper-slide img:hover { opacity: 1; filter: none; transform: none; }

.clients .swiper-pagination { margin-top: 24px; }

.clients .swiper-pagination .swiper-pagination-bullet,
.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border: 0;
  background: #d1d5db;
  opacity: 1;
}

.clients .swiper-pagination .swiper-pagination-bullet-active,
.testimonials .swiper-pagination .swiper-pagination-bullet-active { width: 22px; border-radius: 4px; background: var(--brand); }

/* ---------- Biz haqimizda ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow-light { color: #ff8a8b; }

.about-title {
  margin-bottom: 20px;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}

.about-text { margin-bottom: 18px; font-size: 16.5px; color: var(--text); }

.about-features { display: grid; gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }

.about-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
}

.about-check {
  flex: 0 0 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
}

.about-section .btn-more { margin-top: 6px; }

.about-media { position: relative; }

.about-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  left: -20px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.about-badge strong { font-size: 30px; font-weight: 800; line-height: 1; color: var(--brand); letter-spacing: -0.03em; }
.about-badge span { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }

@media (max-width: 991px) {
  .about-media img { aspect-ratio: 16 / 11; }
  .about-badge { left: 16px; bottom: 16px; }
}

/* ---------- Raqamlar ---------- */
.counts { padding: 64px 0; }

.counts .count-box {
  height: 100%;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  transition: transform 0.25s, box-shadow 0.25s;
}

.counts .count-box:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.counts .count-box div {
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 12px;
}

.counts .count-box span { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }

.counts .count-box p { font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--muted); }

/* ---------- Kartochkalar (mahsulot va loyiha) ---------- */
.card-link { display: block; padding-bottom: 24px; color: var(--ink); }
.portfolio .portfolio-item.card-link { margin-bottom: 0; }
.card-link:hover { color: var(--ink); }

.pricing .box,
.portfolio .box {
  padding: 0;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card-link:hover .box { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-link:hover .card-img { transform: scale(1.05); }

.pricing .box > div:first-child,
.portfolio .box > div:first-child { overflow: hidden; }

.pricing .box h3 {
  margin: 0;
  padding: 18px 20px 20px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  background: transparent;
}

.color-dots {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.color-dots span { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.15); }

.portfolio #portfolio-flters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin-bottom: 32px;
  background: none;
  box-shadow: none;
}

.portfolio #portfolio-flters li {
  margin: 0;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  transition: all 0.2s;
}

.portfolio #portfolio-flters li:hover { border-color: var(--ink); color: var(--ink); }
.portfolio #portfolio-flters li.filter-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Xizmatlar ---------- */
.services .row { row-gap: 24px; }

.services .icon-box {
  height: 100%;
  margin-bottom: 0;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  transition: transform 0.25s, box-shadow 0.25s;
}

.services .icon-box:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.services .icon-box img {
  width: 56px !important;
  height: 56px !important;
  padding: 10px;
  border-radius: 14px;
  background: var(--brand-soft);
}

.services .icon-box h4 { margin-top: 18px; font-size: 19px; font-weight: 700; }
.services .icon-box h4 a { color: var(--ink); }
.services .icon-box p { color: var(--muted); font-size: 15.5px; }

/* ---------- Videolar (bosilganda yuklanadi) ---------- */
#videos .swiper-wrapper,
#team .swiper-wrapper {
  gap: 16px !important;
  padding: 4px 4px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

#videos .swiper-slide,
#team .swiper-slide { scroll-snap-align: start; flex-shrink: 0; }

.yt-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

#videos .yt-facade img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  opacity: 0.85;
  filter: none;
  transition: opacity 0.3s, transform 0.5s;
}
#videos .yt-facade:hover img { opacity: 1; transform: scale(1.04); }

.yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.yt-facade:hover .yt-play { transform: scale(1.1); }

#videos iframe,
.yt-facade + iframe {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border: 0;
  border-radius: var(--radius);
}

#videos .swiper-slide iframe { display: block; }

/* ---------- Mijozlar fikri ---------- */
.testimonials-section { background: var(--bg-soft); }

.testimonials-slider .swiper-wrapper { align-items: stretch; }
.testimonials-slider .swiper-slide { height: auto; }

.t-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 30px 28px 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 0.3s, transform 0.3s;
}

.t-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.t-quote { color: var(--brand); opacity: 0.18; margin-bottom: 10px; }

.t-text {
  flex: 1;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.t-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft);
}

.t-author span { display: flex; flex-direction: column; line-height: 1.3; }
.t-author strong { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.t-author small { font-size: 13px; color: var(--muted); }

.testimonials-slider { padding: 6px 4px 0; }
.testimonials-slider .swiper-pagination { position: relative; margin-top: 28px; }
.testimonials-slider .swiper-pagination-bullet { width: 8px; height: 8px; background: #d1d5db; opacity: 1; }
.testimonials-slider .swiper-pagination-bullet-active { width: 22px; border-radius: 4px; background: var(--brand); }

/* ---------- Jamoa (slider) ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head .section-title { padding-bottom: 0; text-align: left; }
.section-head .section-title h2::before { margin-left: 0; }
.section-head .section-title p { margin: 0; }

.slider-nav { display: flex; gap: 10px; flex-shrink: 0; }

.slider-nav button {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.slider-nav button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.slider-nav button.swiper-button-disabled { opacity: 0.4; cursor: default; background: #fff; color: var(--ink); border-color: var(--line); }

.team-slider { padding: 4px 2px 8px; }
.team-slider .swiper-slide { height: auto; }

.team-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.team-pagination .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 !important; background: #d1d5db; opacity: 1; transition: width 0.3s; }
.team-pagination .swiper-pagination-bullet-active { width: 22px; border-radius: 4px; background: var(--brand); }

@media (max-width: 767px) {
  .section-head { display: block; text-align: center; }
  .section-head .section-title { text-align: center; }
  .section-head .section-title h2::before { margin-left: auto; }
  .slider-nav { display: none; }
}

.team-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.team-photo { position: relative; overflow: hidden; background: var(--bg-soft); }

.team-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-card:hover .team-photo img { transform: scale(1.04); }

.team-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 28px 12px 12px;
  background: linear-gradient(0deg, rgba(15, 20, 28, 0.6), rgba(15, 20, 28, 0));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
}

.team-card:hover .team-actions,
.team-card:focus-within .team-actions { opacity: 1; transform: none; }

.team-actions a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  transition: background 0.2s, color 0.2s;
}

.team-actions a:hover { color: #fff; background: var(--brand); }

.team-info { padding: 14px 16px 16px; }
.team-info h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.team-info span { font-size: 13.5px; color: var(--muted); }

/* Sensorli ekranlarda hover yo'q, shuning uchun tugmalar doim ko'rinadi */
@media (hover: none) {
  .team-actions { opacity: 1; transform: none; }
}

/* ---------- FAQ ---------- */
.faq .faq-list { max-width: 860px; margin: 0 auto; }

.faq .faq-list li {
  margin-bottom: 12px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.faq .faq-list a {
  padding: 20px 56px 20px 22px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.faq .faq-list a.collapsed { color: var(--ink); }
.faq .faq-list a.collapsed:hover,
.faq .faq-list a:not(.collapsed) { color: var(--brand); }
.faq .faq-list svg { right: 20px; top: 22px; }
.faq .faq-list p { padding: 0 22px 20px; margin: 0; color: var(--text); }

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

.contact-panel {
  display: grid;
  grid-template-columns: 5fr 7fr;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(17, 24, 39, 0.35);
}

.contact-aside {
  position: relative;
  padding: 48px 44px;
  color: #c9cfd8;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(224, 58, 60, 0.35) 0%, rgba(224, 58, 60, 0) 55%),
    var(--dark);
}

.contact-aside h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.contact-aside > p { margin-bottom: 30px; color: #aab2bf; }

.contact-list { display: grid; gap: 20px; margin: 0 0 32px; padding: 0; list-style: none; }

.contact-list li { display: flex; gap: 14px; align-items: flex-start; }

.contact-icon {
  flex: 0 0 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-list li > span:last-child { display: flex; flex-direction: column; font-size: 15.5px; color: #fff; line-height: 1.5; }
.contact-list small { margin-bottom: 2px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #8b94a3; }
.contact-list a { color: #fff; }
.contact-list a:hover { color: #ff8a8b; }

.contact-socials { display: flex; gap: 10px; }

.contact-socials a,
.footer-socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, transform 0.2s;
}

.contact-socials a:hover,
.footer-socials a:hover { color: #fff; background: var(--brand); transform: translateY(-2px); }

.contact-form { padding: 48px 44px; }

.contact-form h3 { margin-bottom: 24px; font-size: 22px; font-weight: 800; }

.contact-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }

.contact-form .form-control {
  padding: 13px 16px;
  font-size: 15.5px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  box-shadow: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.contact-form .form-control::placeholder { color: #9ca3af; }

.contact-form .form-control:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.contact-form textarea.form-control { resize: vertical; min-height: 120px; }

.form-status { margin-top: 16px; }

.contact .contact-form .loading { display: none !important; }
.contact .contact-form .sent-message,
.contact .contact-form .error-message {
  display: none;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  text-align: left;
}

.contact .contact-form .sent-message.d-block,
.contact .contact-form .error-message.d-block { display: block; }

.contact .contact-form .sent-message { background: #ecfdf3; color: #067647; }
.contact .contact-form .error-message { background: #fef3f2; color: #b42318; }

.contact .contact-form button[type=submit] {
  position: relative;
  width: 100%;
  margin-top: 16px;
  padding: 16px 32px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 30px -14px rgba(224, 58, 60, 0.8);
  transition: background 0.2s, transform 0.2s;
}

.contact .contact-form button[type=submit]:hover { background: var(--brand-dark); transform: translateY(-1px); }
.contact .contact-form button[type=submit]:disabled { opacity: 0.85; cursor: wait; transform: none; }

/* Yuborilayotganda tugmada aylanuvchi belgi */
.contact button[type=submit].is-loading { color: transparent; }
.contact button[type=submit].is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: nl-spin 0.7s linear infinite;
}

@keyframes nl-spin { to { transform: rotate(360deg); } }

.form-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

@media (max-width: 991px) {
  .contact-panel { grid-template-columns: 1fr; border-radius: 22px; }
  .contact-aside, .contact-form { padding: 32px 24px; }
}

.map-section { padding-top: 0; background: var(--bg-soft); }
.map-card { overflow: hidden; border-radius: 22px; border: 1px solid var(--line); }
.map-card iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Rasmlar yuklanishi: skeleton va silliq paydo bo'lish ---------- */
img.lazy {
  background: linear-gradient(90deg, #eef0f3 25%, #f6f7f9 37%, #eef0f3 63%);
  background-size: 400% 100%;
  animation: nl-shimmer 1.4s ease infinite;
}

img.is-loaded { animation: nl-fade-in 0.45s ease both; }

@keyframes nl-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@keyframes nl-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Footer ---------- */
.site-footer { padding: 0 0 28px; color: #aab2bf; background: var(--dark); }

.footer-cta {
  position: relative;
  top: -56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: -16px;
  padding: 40px 44px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(100% 140% at 100% 0%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 30px 60px -30px rgba(224, 58, 60, 0.8);
}

.footer-cta h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: #fff; }
.footer-cta p { margin: 0; color: rgba(255, 255, 255, 0.85); }

.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-light,
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.btn-light { color: var(--ink); background: #fff; }
.btn-light:hover { color: var(--brand); transform: translateY(-2px); }
.btn-outline-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.6); }
.btn-outline-light:hover { color: var(--brand); background: #fff; border-color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo { display: inline-block; margin-bottom: 14px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.footer-logo span { color: var(--brand); }
.footer-logo:hover { color: #fff; }

.footer-brand p { max-width: 340px; margin-bottom: 22px; line-height: 1.7; }

.footer-socials { display: flex; gap: 10px; }

.footer-col h4 { margin-bottom: 18px; font-size: 15px; font-weight: 700; color: #fff; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #aab2bf; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { margin-bottom: 12px; line-height: 1.7; }
.footer-hours { color: #fff; font-weight: 600; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 14px;
  color: #8b94a3;
}

.footer-top-link { color: #aab2bf; }
.footer-top-link:hover { color: #fff; }

/* Footer'dagi CTA bloki yuqoriga chiqib turadi, shuning uchun oxirgi bo'limda joy qoldiriladi */
main > section:last-of-type,
main > .map-section { padding-bottom: 140px; }

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 575px) {
  .footer-cta { padding: 28px 24px; }
  .footer-cta-actions, .footer-cta-actions a { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Pastki tugmalar ---------- */
.back-to-top {
  width: 44px;
  height: 44px;
  right: 20px;
  bottom: 20px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.back-to-top:hover { background: var(--brand); }

.call-fab { display: none; }

@media (max-width: 991px) {
  .call-fab {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 996;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    background: var(--brand);
    box-shadow: 0 12px 28px -8px rgba(224, 58, 60, 0.75);
  }

  .call-fab:hover { color: #fff; background: var(--brand-dark); }

  /* "Yuqoriga" tugmasi qo'ng'iroq tugmasi ustida turadi */
  .back-to-top { right: 22px; bottom: 88px; }
}

/* ---------- Ichki sahifalar sarlavhasi ---------- */
.breadcrumbs {
  padding: calc(var(--header-h) + 36px) 0 36px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
.breadcrumbs ol a { color: var(--muted); }
.breadcrumbs ol a:hover { color: var(--brand); }

/* Harakatni kamaytirishni so'ragan foydalanuvchilar uchun */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
