/* ============================================================
   Alpha Buxgalter — style.css
   ============================================================ */

/* === VARIABLES === */
:root {
  --white:       #FFFFFF;
  --off-white:   #FAFAFA;
  --paper:       #F5F3EE;
  --charcoal:    #1E1E1E;
  --charcoal-2:  #2A2A2A;
  --mid:         #555555;
  --muted:       #8C8579;
  --rule:        #DDD9D1;
  --accent:      #8B6914;
  --accent-hover:#A47D1E;
  --accent-bg:   #F5EDD6;

  --font-heading: 'IBM Plex Serif', Georgia, serif;
  --font-body:    'IBM Plex Sans', 'Helvetica Neue', sans-serif;

  --nav-h: 60px;
  --pad: clamp(64px, 8vw, 120px);
  --wrap: 1200px;
}


/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { list-style: none; }
button, input, textarea, select {
  font-family: inherit; font-size: inherit;
  border: none; outline: none; background: none;
}


/* === SHARED === */
.section-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 16px;
}


/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--delay, 0s);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

#hero .fade-up {
  animation: fadeUp 0.5s ease both;
  animation-delay: var(--delay, 0s);
  opacity: 1; transform: none; transition: none;
}


/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 1px 16px rgba(0,0,0,0.06); }

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  font-family: var(--font-heading);
  font-size: 30px; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.nav-logo-text {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--charcoal);
}
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 14px; font-weight: 500;
  color: var(--mid); transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--charcoal); }
.nav-cta-btn {
  font-size: 13px; font-weight: 700;
  padding: 10px 24px;
  background: var(--accent); color: var(--white);
  border-radius: 4px; transition: background 0.2s;
}
.nav-cta-btn:hover { background: var(--accent-hover); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--charcoal); transition: all 0.3s; }
#navbar.nav-open .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
#navbar.nav-open .hamburger span:nth-child(2) { opacity: 0; }
#navbar.nav-open .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }


/* ============================================================
   HERO
   ============================================================ */
#hero {
  padding-top: var(--nav-h);
  background: var(--paper);
}
.hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(56px,8vw,100px) 32px clamp(48px,6vw,80px);
}
.hero-content { max-width: 680px; }
.hero-eyebrow {
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px,5.5vw,64px);
  font-weight: 700; line-height: 1.08;
  color: var(--charcoal); margin-bottom: 20px;
}
.hero-desc {
  font-size: 17px; color: var(--mid);
  line-height: 1.7; margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-solid {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent); color: var(--white);
  font-weight: 700; font-size: 15px;
  border-radius: 4px; transition: background 0.2s;
}
.btn-solid:hover { background: var(--accent-hover); }
.btn-text {
  font-size: 15px; font-weight: 600;
  color: var(--accent); transition: opacity 0.2s;
}
.btn-text:hover { opacity: 0.7; }

.hero-trust {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--mid);
}
.trust-check { color: var(--accent); font-weight: 700; font-size: 16px; }


/* ============================================================
   STATS
   ============================================================ */
#stats { background: var(--charcoal); }
.stats-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  padding: 44px 32px;
}
.stat-item { flex: 1; text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 10%; width: 1px; height: 80%;
  background: rgba(255,255,255,0.1);
}
.stat-value { display: inline; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 48px; font-weight: 700;
  color: var(--white); line-height: 1;
}
.stat-suffix {
  font-family: var(--font-heading);
  font-size: 30px; font-weight: 400;
  color: rgba(255,255,255,0.35);
}
.stat-label {
  display: block;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,0.35); margin-top: 8px;
}


/* ============================================================
   TICKER
   ============================================================ */
#ticker { background: var(--charcoal-2); overflow: hidden; padding: 12px 0; }
.ticker-track {
  display: flex; white-space: nowrap;
  animation: marquee 35s linear infinite;
}
.ticker-track span {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,0.25); padding: 0 20px;
}
.ticker-track span::after { content: '\00B7'; margin-left: 20px; color: var(--accent); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* ============================================================
   XIZMATLAR
   ============================================================ */
#xizmatlar { padding: var(--pad) 0; }
.services-grid { display: grid; grid-template-columns: 34% 1fr; gap: 56px; }
.services-label { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.services-note { font-size: 15px; color: var(--mid); line-height: 1.65; margin-top: 12px; }

.services-list { display: flex; flex-direction: column; }
.service-row {
  display: grid; grid-template-columns: 48px 1fr 32px;
  gap: 20px; align-items: start;
  padding: 28px 16px; border-top: 1px solid var(--rule);
  transition: background 0.25s;
}
.service-row:last-child { border-bottom: 1px solid var(--rule); }
.service-row:hover { background: var(--paper); }

.service-num {
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 400;
  color: var(--rule); line-height: 1;
  transition: color 0.25s;
}
.service-row:hover .service-num { color: var(--accent); }
.service-name {
  font-family: var(--font-heading);
  font-size: 21px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 8px;
}
.service-desc { font-size: 14px; color: var(--mid); line-height: 1.65; }
.service-arrow {
  font-size: 20px; color: var(--rule);
  transition: color 0.2s; padding-top: 4px;
}
.service-row:hover .service-arrow { color: var(--accent); }


/* ============================================================
   NIMA UCHUN BIZ
   ============================================================ */
#nima-uchun { background: var(--paper); padding: var(--pad) 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.why-sub { font-size: 16px; color: var(--mid); line-height: 1.7; margin-bottom: 28px; }

.guarantee-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: var(--accent-bg);
  font-size: 13px; font-weight: 600; color: var(--accent);
  border-left: 3px solid var(--accent);
}
.guarantee-icon { font-size: 16px; }

.why-right { display: flex; flex-direction: column; gap: 0; }
.why-item {
  display: flex; gap: 16px; align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.why-item:last-child { border-bottom: none; }
.why-marker {
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 700;
  color: var(--accent); min-width: 28px; padding-top: 2px;
}
.why-title { font-size: 16px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.why-text { font-size: 14px; color: var(--mid); line-height: 1.6; }


/* ============================================================
   NARXLAR
   ============================================================ */
#narxlar { padding: var(--pad) 0; }
.pricing-header { margin-bottom: 48px; }
.pricing-note { font-size: 15px; color: var(--mid); }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--rule); }
.pricing-col {
  padding: 40px 32px;
  display: flex; flex-direction: column;
  border-right: 1px solid var(--rule);
}
.pricing-col:last-child { border-right: none; }
.pricing-popular { background: var(--paper); position: relative; }

.popular-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); background: var(--accent);
  padding: 4px 14px; margin-bottom: 16px;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 26px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 4px;
}
.plan-audience { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.plan-price {
  font-family: var(--font-heading);
  font-size: 36px; font-weight: 700;
  color: var(--charcoal); line-height: 1; margin-bottom: 0;
}
.plan-price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan-divider { width: 100%; height: 1px; background: var(--rule); margin: 20px 0; }

.plan-features { flex: 1; margin-bottom: 28px; }
.plan-features li {
  font-size: 14px; padding: 7px 0;
  display: flex; align-items: center; gap: 10px;
  color: var(--mid);
}
.feat-yes::before {
  content: '\2713'; color: var(--accent);
  font-weight: 700; font-size: 14px; width: 18px; flex-shrink: 0;
}
.feat-no { opacity: 0.5; }
.feat-no::before {
  content: '\2014'; color: var(--muted);
  font-size: 14px; width: 18px; flex-shrink: 0;
}

.plan-btn {
  display: block; text-align: center;
  padding: 12px; font-size: 14px; font-weight: 700;
  border: 1.5px solid var(--accent); color: var(--accent);
  border-radius: 4px; transition: all 0.2s;
}
.plan-btn:hover { background: var(--accent); color: var(--white); }
.plan-btn-fill { background: var(--accent); color: var(--white); }
.plan-btn-fill:hover { background: var(--accent-hover); border-color: var(--accent-hover); }


/* ============================================================
   JAMOA
   ============================================================ */
#jamoa { background: var(--white); padding: var(--pad) 0; border-top: 1px solid var(--rule); }
.team-header { margin-bottom: 48px; }
.team-note { font-size: 15px; color: var(--mid); }

.team-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.team-member { text-align: center; }
.team-photo-img {
  width: 100%; aspect-ratio: 3 / 4;
  object-fit: cover; object-position: top center;
  border: 1px solid var(--rule);
  margin-bottom: 16px;
  filter: grayscale(30%);
  transition: filter 0.4s, border-color 0.3s;
}
.team-member:hover .team-photo-img { filter: grayscale(0%); border-color: var(--accent); }
.team-name {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 4px;
}
.team-role {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent); margin-bottom: 6px;
}
.team-exp { font-size: 13px; color: var(--muted); }


/* ============================================================
   MIJOZLAR
   ============================================================ */
#mijozlar {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.clients-label {
  font-size: 13px; font-weight: 500;
  color: var(--muted); text-align: center;
  margin-bottom: 28px;
}
.clients-strip {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.client-name {
  font-family: var(--font-heading);
  font-size: 15px; font-weight: 600;
  color: var(--charcoal); padding: 8px 20px;
  white-space: nowrap;
}
.client-name:not(:last-child)::after {
  content: '\00B7';
  margin-left: 20px;
  color: var(--rule);
  font-size: 18px;
}


/* ============================================================
   CTA
   ============================================================ */
#cta { background: var(--charcoal); padding: 80px 32px; text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px,4vw,44px);
  font-weight: 700; color: var(--white);
  margin-bottom: 12px;
}
.cta-sub { font-size: 16px; color: rgba(255,255,255,0.5); margin-bottom: 32px; }
.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent); color: var(--white);
  font-size: 16px; font-weight: 700;
  border-radius: 4px; transition: background 0.2s;
  margin-bottom: 20px;
}
.cta-btn:hover { background: var(--accent-hover); }
.cta-hours {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
}


/* ============================================================
   ALOQA
   ============================================================ */
#aloqa { padding: var(--pad) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-desc { font-size: 15px; color: var(--mid); line-height: 1.7; margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; }
.contact-row {
  display: flex; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.contact-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--muted); min-width: 80px;
}
.contact-value { font-size: 15px; color: var(--charcoal); }
.contact-link { color: var(--accent); font-weight: 600; }

.form-card {
  background: var(--paper);
  padding: 40px;
  border: 1px solid var(--rule);
}
.form-title {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 4px;
}
.form-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--muted); margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--rule);
  font-size: 15px; color: var(--charcoal);
  transition: border-color 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 80px; }

.form-submit {
  width: 100%; padding: 14px;
  background: var(--accent); color: var(--white);
  font-size: 15px; font-weight: 700;
  border-radius: 4px; cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--accent-hover); }
.form-submit.submitted { background: var(--charcoal); }


/* ============================================================
   FOOTER
   ============================================================ */
#footer { background: var(--charcoal); color: rgba(255,255,255,0.45); }
.footer-main {
  max-width: var(--wrap); margin: 0 auto;
  padding: 56px 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.footer-logo {
  font-size: 15px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white); margin-bottom: 10px;
}
.footer-alpha {
  font-family: var(--font-heading);
  font-size: 22px; color: var(--accent); margin-right: 4px;
}
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.35); }
.footer-nav-title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6); margin-bottom: 14px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 14px; color: rgba(255,255,255,0.45); transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact p { font-size: 14px; }
.footer-contact a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: var(--wrap); margin: 0 auto;
  padding: 20px 32px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }


/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .services-label { position: static; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-col { padding: 32px 24px; }
  .plan-price { font-size: 30px; }
}


/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 56px; }

  /* Nav */
  .nav-right {
    display: none; position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--rule);
    flex-direction: column; padding: 16px 24px; gap: 0;
  }
  #navbar.nav-open .nav-right { display: flex; }
  .nav-right a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; width: 100%; }
  .nav-right a:last-child { border-bottom: none; }
  .nav-cta-btn { text-align: center; margin-top: 8px; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-h1 { font-size: clamp(30px,7vw,44px); }
  .hero-trust { gap: 16px; }
  .trust-item { font-size: 13px; }

  /* Stats */
  .stats-inner { flex-wrap: wrap; padding: 28px 24px; }
  .stat-item { flex: 0 0 50%; padding: 14px 0; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-num { font-size: 36px; }

  /* Services */
  .service-row { grid-template-columns: 36px 1fr 24px; padding: 20px 12px; }
  .service-num { font-size: 22px; }
  .service-name { font-size: 18px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-col { border-right: none; border-bottom: 1px solid var(--rule); }
  .pricing-col:last-child { border-bottom: none; }

  /* Team */
  .team-row { grid-template-columns: repeat(3, 1fr); }

  /* Clients */
  .clients-strip { flex-wrap: nowrap; justify-content: flex-start; }
  .client-name { font-size: 13px; padding: 6px 14px; }
  .client-name:not(:last-child)::after { margin-left: 14px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 28px 24px; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 40px 24px; }

  /* CTA */
  #cta { padding: 56px 24px; }
}
