/* ==========================================================================
   Muhtasham Tom — umumiy uslublar
   ========================================================================== */

:root {
  --teal: #037789;
  --teal-dark: #025a68;
  --teal-darker: #023e48;
  --green: #83c233;
  --green-dark: #6ba329;
  --ink: #191919;
  --paper: #f9f9f9;
  --white: #ffffff;
  --gray-600: #5c6567;
  --gray-300: #d9dfe0;
  --gray-200: #eceff0;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px rgba(3, 119, 137, 0.10);
  --shadow-card: 0 4px 18px rgba(25, 25, 25, 0.08);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Manrope", -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 14px; color: var(--gray-600); }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(131, 194, 51, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section {
  padding: 84px 0;
}
.section--tight { padding: 56px 0; }
.section--dark {
  background: var(--ink);
  color: var(--white);
}
.section--dark p { color: #b9c1c2; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--teal {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-darker) 100%);
  color: var(--white);
}
.section--teal p { color: rgba(255,255,255,0.82); }
.section--teal h2, .section--teal h3 { color: var(--white); }
.section--paper { background: var(--paper); }

.section-head {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left { margin: 0 0 40px; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(131, 194, 51, 0.35);
}
.btn--primary:hover { background: var(--green-dark); }
.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.12); }
.btn--dark {
  background: var(--teal);
  color: var(--white);
}
.btn--dark:hover { background: var(--teal-dark); }
.btn--ghost {
  background: rgba(3, 119, 137, 0.08);
  color: var(--teal);
}
.btn--ghost:hover { background: rgba(3, 119, 137, 0.15); }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(25,25,25,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.nav__logo img { height: 40px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav__links a:hover, .nav__links a.active {
  color: var(--teal);
  border-color: var(--green);
}
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone {
  font-weight: 700;
  color: var(--teal);
  font-size: 0.95rem;
}
.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    background: var(--white);
    padding: 20px 24px 26px;
    gap: 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__toggle { display: block; }
  .nav__phone { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #04303a 0%, var(--teal-darker) 45%, var(--teal) 100%);
  color: var(--white);
  padding: 96px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 34px);
  opacity: 0.6;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(131, 194, 51, 0.16);
  border: 1px solid rgba(131, 194, 51, 0.4);
  color: #cfe9a4;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p.lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.86);
  max-width: 540px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--green);
}
.hero__stat span { font-size: 0.88rem; color: rgba(255,255,255,0.7); }

.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  aspect-ratio: 4/5;
  background: #0a4652;
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual-card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}
.hero__visual-card .dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--ink); flex-shrink: 0;
}
.hero__visual-card strong { display: block; font-size: 0.95rem; }
.hero__visual-card span { font-size: 0.82rem; color: var(--gray-600); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; margin: 0 auto; }
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(25,25,25,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(3,119,137,0.14); }
.card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(3, 119, 137, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--teal);
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.96rem; }

/* USP band */
.usp-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.usp-band__item {
  background: rgba(255,255,255,0.06);
  padding: 30px 24px;
}
.usp-band__item .num {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 10px;
  display: block;
}
@media (max-width: 900px) {
  .usp-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .usp-band { grid-template-columns: 1fr; }
}

/* Product card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(25,25,25,0.06);
  display: flex;
  flex-direction: column;
}
.product-card__img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--teal) 0%, #0a4652 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 5px 12px;
  border-radius: 999px;
}
.product-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card__body h3 { margin-bottom: 8px; }
.product-card__body p { flex: 1; font-size: 0.94rem; }
.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}
.chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
}

/* Audience tabs / segments */
.segment-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border-top: 5px solid var(--teal);
  box-shadow: var(--shadow-card);
  height: 100%;
}
.segment-card:nth-child(2) { border-top-color: var(--green); }
.segment-card:nth-child(3) { border-top-color: var(--ink); }
.segment-card ul { margin: 14px 0 0; padding-left: 20px; color: var(--gray-600); font-size: 0.94rem; }
.segment-card li { margin-bottom: 6px; }

/* Timeline / process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.process__step {
  position: relative;
  padding: 26px 20px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.process__step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 20px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(131,194,51,0.4);
}
@media (max-width: 900px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* Testimonial / trust */
.trust-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  padding: 26px 0;
}
.trust-strip__item { text-align: center; flex: 1; min-width: 140px; }
.trust-strip__item strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--teal); }
.trust-strip__item span { font-size: 0.85rem; color: var(--gray-600); }

/* CTA band */
.cta-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--ink);
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--ink); margin-bottom: 8px; }
.cta-band p { color: rgba(25,25,25,0.72); margin: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(25,25,25,0.06);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300);
  font-size: 0.98rem;
  font-family: inherit;
  background: var(--paper);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note {
  font-size: 0.82rem;
  color: var(--gray-600);
  text-align: center;
  margin-top: 12px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .check {
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(131,194,51,0.15);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cfd4d5;
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid img { height: 38px; margin-bottom: 14px; }
.footer-grid p { color: #9ea6a7; font-size: 0.92rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #b9c1c2; font-size: 0.94rem; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.84rem;
  color: #7c8586;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.social-row a:hover { background: var(--green); color: var(--ink); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
}

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.page-hero {
  background: linear-gradient(150deg, var(--teal-darker), var(--teal));
  color: var(--white);
  padding: 64px 0 70px;
  text-align: center;
}
.page-hero p { color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto; }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.breadcrumb a { text-decoration: underline; }

.color-swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; margin-right: 6px; vertical-align: -2px; }

/* ==========================================================================
   Animatsiyalar — scroll bilan paydo bo'lish va hover effektlari
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  .reveal.in-view { opacity: 1; transform: translateY(0); }

  .reveal--zoom { transform: scale(0.94); }
  .reveal--zoom.in-view { transform: scale(1); }

  .reveal--left { transform: translateX(-32px); }
  .reveal--left.in-view { transform: translateX(0); }

  .reveal--right { transform: translateX(32px); }
  .reveal--right.in-view { transform: translateX(0); }

  /* staggered children inside a revealed group */
  .reveal-group.in-view .reveal-item {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-group .reveal-item {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal-group .reveal-item:nth-child(1) { transition-delay: 0.02s; }
  .reveal-group .reveal-item:nth-child(2) { transition-delay: 0.10s; }
  .reveal-group .reveal-item:nth-child(3) { transition-delay: 0.18s; }
  .reveal-group .reveal-item:nth-child(4) { transition-delay: 0.26s; }
  .reveal-group .reveal-item:nth-child(5) { transition-delay: 0.34s; }
  .reveal-group .reveal-item:nth-child(6) { transition-delay: 0.42s; }
}

/* Hero entrance (plays once on load, no scroll needed) */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__badge, .hero h1, .hero .lead, .hero__ctas, .hero__stats {
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__badge { animation-delay: 0.02s; }
.hero h1 { animation-delay: 0.10s; }
.hero .lead { animation-delay: 0.20s; }
.hero__ctas { animation-delay: 0.30s; }
.hero__stats { animation-delay: 0.40s; }
.hero__visual {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

/* Subtle floating accent on hero visual */
@media (prefers-reduced-motion: no-preference) {
  .hero__visual { animation-name: heroFadeUp, floatSlow; animation-duration: 0.9s, 6s; animation-delay: 0.25s, 1.1s; animation-iteration-count: 1, infinite; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out; animation-direction: normal, alternate; }
}
@keyframes floatSlow {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

/* Nav underline sweep */
.nav__links a {
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--green);
  transition: right 0.25s ease;
}
.nav__links a:hover::after { right: 0; }

/* Button hover polish */
.btn { transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease; }
.btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 28px rgba(131, 194, 51, 0.45); }
.btn--dark:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 28px rgba(3, 119, 137, 0.35); }
.btn--outline:hover { transform: translateY(-3px); }
.btn--ghost:hover { transform: translateY(-3px); }

/* Logo gentle hover */
.nav__logo img { transition: transform 0.25s ease; }
.nav__logo:hover img { transform: scale(1.04); }

/* Card hover polish (extends existing .card:hover) */
.card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { border-color: rgba(3, 119, 137, 0.25); }
.card__icon { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease; }
.card:hover .card__icon {
  transform: scale(1.12) rotate(-4deg);
  background: var(--teal);
  color: #fff;
}

/* Product card hover polish */
.product-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(3, 119, 137, 0.18); }
.product-card__img { overflow: hidden; }
.product-card__img .media-panel { transition: transform 0.5s ease; }
.product-card:hover .product-card__img .media-panel { transform: scale(1.08); }
.product-card__tag { transition: transform 0.3s ease; }
.product-card:hover .product-card__tag { transform: translateY(-2px); }

/* Segment card hover */
.segment-card { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease; }
.segment-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(25,25,25,0.12); }

/* Process step hover */
.process__step { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease; }
.process__step:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(3,119,137,0.15); }
.process__step::before { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.process__step:hover::before { transform: scale(1.15) rotate(-8deg); }

/* Chip hover */
.chip { transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.chip:hover { transform: translateY(-2px); }

/* USP band item hover */
.usp-band__item { transition: background 0.3s ease, transform 0.3s ease; }
.usp-band__item:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }

/* Trust strip counters pop-in */
.trust-strip__item strong { transition: transform 0.3s ease; }
.trust-strip__item:hover strong { transform: scale(1.08); }

/* Form field focus polish */
.field input, .field select, .field textarea {
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  box-shadow: 0 0 0 4px rgba(3, 119, 137, 0.12);
}

/* CTA band hover */
.cta-band { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cta-band:hover { box-shadow: 0 20px 44px rgba(107, 163, 41, 0.35); }

/* Social icons hover already has background swap; add scale */
.social-row a { transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.social-row a:hover { transform: translateY(-3px) scale(1.06); }

/* Success check pop */
@keyframes popIn {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
.form-success.show .check { animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

/* ==========================================================================
   Smeta kalkulyatori
   ========================================================================== */

.calc-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .calc-wrap { grid-template-columns: 1fr; }
}

.calc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(25,25,25,0.06);
}
.calc-step { margin-bottom: 34px; }
.calc-step:last-child { margin-bottom: 0; }
.calc-step__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.calc-step__num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.calc-step__head h3 { margin: 0; font-size: 1.08rem; }

.calc-options {
  display: grid;
  gap: 14px;
}
.calc-options--roof { grid-template-columns: repeat(4, 1fr); }
.calc-options--material { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) {
  .calc-options--roof { grid-template-columns: repeat(2, 1fr); }
  .calc-options--material { grid-template-columns: 1fr; }
}

.calc-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300);
  background: var(--paper);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.calc-option:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 8px 18px rgba(3,119,137,0.12); }
.calc-option.is-active {
  border-color: var(--teal);
  background: rgba(3, 119, 137, 0.08);
  box-shadow: 0 0 0 3px rgba(3, 119, 137, 0.12);
}
.calc-option__icon { width: 44px; height: 34px; color: var(--gray-600); transition: color 0.2s ease; }
.calc-option.is-active .calc-option__icon { color: var(--teal); }
.calc-option small { font-weight: 500; color: var(--gray-600); font-size: 0.76rem; }

.calc-option__swatch {
  width: 100%; height: 44px;
  border-radius: 8px;
  background-size: cover;
}
.calc-option__swatch--profnastil {
  background: repeating-linear-gradient(90deg, #037789 0 6px, #025a68 6px 12px);
}
.calc-option__swatch--cherepitsa {
  background: repeating-linear-gradient(45deg, #4a3222 0 10px, #3a271b 10px 20px);
}

.calc-options--color { display: flex; gap: 12px; flex-wrap: wrap; }
.calc-color {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
}
.calc-color:hover { transform: scale(1.1); }
.calc-color.is-active {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(3, 119, 137, 0.15);
  transform: scale(1.1);
}

.calc-hint {
  font-size: 0.85rem;
  color: var(--gray-600);
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 16px 0 0;
  border-left: 3px solid var(--green);
}

.calc-result {
  position: sticky;
  top: 90px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--teal-darker), var(--teal));
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.calc-result__inner { padding: 32px; }
.calc-result h3 { color: #fff; margin: 6px 0 20px; }
.calc-result__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  font-size: 0.92rem;
}
.calc-result__row span { color: rgba(255,255,255,0.75); }
.calc-result__row strong { font-weight: 700; }
.calc-result__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 20px 0 18px;
  padding: 16px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
}
.calc-result__total span { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.calc-result__total strong { font-size: 1.5rem; font-weight: 800; color: var(--green); }
.calc-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.calc-result .btn--primary { color: var(--ink); }

@media (max-width: 900px) {
  .calc-result { position: static; }
}

/* ---------- Brand media panels (no external images needed) ---------- */
.media-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--teal) 0%, #04303a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/pattern-chevron.svg");
  background-size: 90px 45px;
  background-repeat: repeat;
  opacity: 0.9;
}
.media-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(125deg, rgba(0,0,0,0.06) 0 2px, transparent 2px 22px);
}
.media-panel--green { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); }
.media-panel--dark { background: linear-gradient(135deg, #2a2a2a 0%, #0d0d0d 100%); }
.media-panel--navy { background: linear-gradient(135deg, #0a4652 0%, #021f26 100%); }
.media-panel__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 20px;
}
.media-panel__content img { margin: 0 auto 14px; height: 56px; width: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25)); }
.media-panel__content strong { display: block; font-size: 1.05rem; font-weight: 800; }
.media-panel__content span { font-size: 0.82rem; opacity: 0.85; }
.media-panel .roof-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: auto;
  opacity: 0.95;
}

/* ============ REFERENCE-STYLE: AUDIENCE ROW (hero ostida) ============ */
.audience-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.audience-row__item {
  flex: 1 1 160px;
  min-width: 150px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
}

/* ============ PRODUCT SHOWCASE (radio-picker, "ПОПУЛЯРНЫЕ ТОВАРЫ" uslubida) ============ */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.showcase__media { min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; }
.showcase__info { display: flex; flex-direction: column; }
.showcase__eyebrow { display:block; margin-bottom: 14px; }
.showcase__title { font-size: 1.5rem; margin-bottom: 14px; }
.showcase__desc { color: var(--gray-600); margin-bottom: 22px; }
.showcase__ctas { display:flex; gap:16px; align-items:center; margin-bottom: 32px; flex-wrap:wrap; }
.showcase__ctas a.link { font-weight: 700; color: var(--teal); text-decoration: underline; }
.showcase__list { display:flex; flex-direction:column; border-top:1px solid var(--gray-200); margin-top:auto; }
.showcase__option {
  display:flex; align-items:flex-start; gap:16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--gray-200);
  cursor:pointer;
  background:none; border-left:none; border-right:none; border-top:none;
  text-align:left; width:100%; font-family:inherit;
}
.showcase__option .radio-dot {
  width:20px; height:20px; border-radius:50%;
  border: 2px solid var(--gray-300);
  flex-shrink:0; margin-top:2px;
  position:relative; transition: border-color .2s ease;
}
.showcase__option.is-active .radio-dot { border-color: var(--teal); }
.showcase__option.is-active .radio-dot::after {
  content:""; position:absolute; inset:3px; border-radius:50%; background: var(--teal);
}
.showcase__option strong { display:block; font-weight:800; text-transform:uppercase; font-size:0.95rem; }
.showcase__option span { font-size: 0.85rem; color: var(--gray-600); }

/* ============ PORTFOLIO / OBJECTS GRID ============ */
.portfolio-tabs { display:flex; flex-wrap:wrap; gap:10px; margin-bottom: 28px; }
.portfolio-tabs button {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--gray-200);
  background: #fff; font-weight: 700; font-size: 0.85rem; cursor: pointer;
  font-family: inherit; transition: all .2s ease;
}
.portfolio-tabs button.is-active { background: var(--ink); color:#fff; border-color: var(--ink); }
.portfolio-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow-card);
}
.portfolio-card .media-panel { position:absolute; inset:0; border-radius:0; }
.portfolio-card__overlay {
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding: 18px; background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, transparent 100%);
  color:#fff;
}
.portfolio-card__tag { display:inline-block; font-size:0.72rem; text-transform:uppercase; font-weight:700; opacity:0.8; margin-bottom:4px; }
.portfolio-card__overlay h4 { margin:0; font-size:1rem; font-weight:800; text-transform:uppercase; }

/* ============ CATEGORY PICKER (mahsulotlar sahifasi: sidebar + grid) ============ */
.cat-picker { display:grid; grid-template-columns: 270px 1fr; gap: 28px; align-items:start; }
.cat-picker__sidebar {
  background: var(--paper); border-radius: var(--radius-lg); padding: 10px;
  position: sticky; top: 100px;
}
.cat-picker__tab {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  width:100%; text-align:left; padding: 16px 18px; margin-bottom: 4px;
  font-weight: 800; text-transform: uppercase; font-size: 0.88rem;
  border:none; border-radius: 12px; background: transparent; color: var(--ink);
  cursor: pointer; font-family: inherit; transition: all .2s ease;
}
.cat-picker__tab.is-active { background: #fff; color: var(--teal); box-shadow: var(--shadow-card); }
.cat-picker__tab span.bar { display:block; height:3px; width:34px; background: var(--green); border-radius:2px; margin-top:8px; }
.cat-picker__grid {
  display:grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  background: var(--gray-200); border-radius: var(--radius-lg); overflow: hidden;
}
.cat-picker__cell {
  background:#fff; padding: 26px 24px; display:flex; align-items:center; gap:16px;
  font-weight: 800; text-transform: uppercase; font-size: 0.85rem; line-height:1.3;
  min-height: 96px; transition: background .2s ease;
}
.cat-picker__cell:hover { background: var(--paper); }
.cat-picker__cell .cell-icon {
  width:40px; height:40px; flex-shrink:0; display:flex; align-items:center; justify-content:center;
  background: var(--paper); border-radius: 10px; font-size:1.2rem;
}

@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; }
  .cat-picker { grid-template-columns: 1fr; }
  .cat-picker__sidebar { position:static; display:flex; overflow-x:auto; gap:6px; }
  .cat-picker__tab { white-space:nowrap; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .cat-picker__grid { grid-template-columns: 1fr; }
}
