/* =====================================================
   AQUASOFT — Homepage
   (background-image rules for .hero-wrap and .cta-band
    use {% static %} so they stay inline in the template)
   ===================================================== */

/* HERO */
.hero-wrap {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  /* background-image set inline via {% static %} */
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,59,56,.78) 0%, rgba(8,164,147,.35) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 580px;
  padding: 60px 0;
}
.hero-inner h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 14px;
}
.hero-inner p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 28px;
}
.hero-inner .trust-row {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-top: 28px;
}
.trust-row span {
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  display: flex; align-items: center; gap: 6px;
}
.trust-row span::before { content: '✓'; color: var(--teal); font-weight: 700; }
@media (max-width: 576px) {
  .hero-wrap { min-height: 400px; background-position: 70% center; }
  .hero-inner { padding: 40px 0; }
}

/* HERO BUTTONS */
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #FF7A45, #FF6B35);
  color: #fff;
  padding: 14px 30px; border-radius: 8px;
  font-weight: 800; font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(255,107,53,.45);
  transition: transform .15s, box-shadow .15s;
  letter-spacing: .02em;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,107,53,.55);
  color: #fff; text-decoration: none;
}
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.8); color: #fff;
  padding: 12px 26px; border-radius: 8px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background .18s, border-color .18s, transform .15s;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.25); border-color: #fff;
  color: #fff; text-decoration: none; transform: translateY(-2px);
}
@media (max-width: 576px) {
  .hero-btns { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .btn-hero-primary,
  .btn-hero-outline {
    flex: 1 1 auto;
    justify-content: center;
    padding: 10px 16px;
    font-size: .88rem;
  }
}

/* STATS BAR */
.stats-bar {
  background: var(--deep);
  padding: 22px 0;
}
.stats-bar .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-item {
  text-align: center;
  padding: 10px 12px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stats-item:last-child { border-right: none; }
.stats-num { font-size: 1.65rem; font-weight: 800; color: #fff; line-height: 1; }
.stats-lbl { color: rgba(255,255,255,.6); font-size: .78rem; margin-top: 3px; }
@media (max-width: 576px) {
  .stats-bar .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-item:nth-child(2) { border-right: none; }
  .stats-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.1); border-right: 1px solid rgba(255,255,255,.1); }
  .stats-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); border-right: none; }
}

/* SECTION HEADINGS */
.sec-head { margin-bottom: 36px; }
.sec-head h2 { font-weight: 700; color: var(--deep); margin: 0 0 6px; font-size: 1.5rem; }
.sec-head p  { color: var(--muted); margin: 0; font-size: .95rem; }

/* PRODUCT CARDS */
.prod-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex; flex-direction: column;
  position: relative;
}
.prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(8,164,147,.16);
  border-color: rgba(8,164,147,.3);
}
.prod-card .badge-wrap {
  position: absolute; top: 10px; left: 10px; z-index: 1;
}
.prod-card .badge-hit  { background: var(--teal);  color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; letter-spacing: .03em; }
.prod-card .badge-biz  { background: var(--deep);  color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.prod-card .badge-new  { background: #555; color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.prod-card__img {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: #f5fafa;
  overflow: hidden;
}
.prod-card--wide .prod-card__img {
  padding-top: 56.25%;
}
.prod-card__img a {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.prod-card__img img {
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  width: auto; height: auto;
  object-fit: contain;
  transition: transform .3s ease;
}
.prod-card:hover .prod-card__img img { transform: scale(1.04); }
.prod-card__body {
  padding: 14px 16px 18px;
  flex: 1; display: flex; flex-direction: column; gap: 8px;
}
.prod-card__name {
  font-weight: 700; font-size: .95rem;
  color: var(--deep); text-decoration: none; display: block;
}
.prod-card__name:hover { color: var(--teal); }
.prod-card__price { font-size: 1.2rem; font-weight: 800; color: var(--deep); margin: 0; }
.prod-card__inst  { font-size: .78rem; color: var(--muted); margin: 0; }
.prod-card__inst strong { color: var(--teal); }
.prod-card__feat  { font-size: .82rem; color: var(--muted); margin: 0; }
.prod-card__feat::before { content: '✓ '; color: var(--teal); font-weight: 700; }
.prod-card__btn {
  display: block; width: 100%; margin-top: auto; padding-top: 8px;
}
.prod-card__btn a {
  display: block; width: 100%;
  background: linear-gradient(135deg, #09b3a0, #08A493);
  color: #fff;
  text-align: center; font-weight: 700; font-size: .92rem;
  padding: 11px 10px; border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(8,164,147,.35);
  transition: transform .15s, box-shadow .15s, background .18s;
  letter-spacing: .02em;
}
.prod-card__btn a:hover {
  background: linear-gradient(135deg, #07a090, #069585);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(8,164,147,.45);
  color: #fff; text-decoration: none;
}

/* MORE LINK */
.more-row { text-align: center; margin-top: 28px; }
.more-row a {
  display: inline-flex; align-items: center; gap: 6px;
  border: 2px solid var(--teal); color: var(--teal);
  padding: 10px 28px; border-radius: 8px;
  font-weight: 700; font-size: .9rem; text-decoration: none;
  transition: background .18s, color .18s, box-shadow .18s;
}
.more-row a:hover {
  background: var(--teal); color: #fff; text-decoration: none;
  box-shadow: 0 4px 14px rgba(8,164,147,.3);
}

/* CTA BANNER */
.cta-band {
  position: relative;
  /* background-image set inline via {% static %} */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 56px 0;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(13,59,56,.82);
}
.cta-band .cta-inner { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-weight: 700; margin: 0 0 6px; font-size: 1.45rem; }
.cta-band p  { color: rgba(255,255,255,.78); margin: 0; }
.cta-band .btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, #FF7A45, #FF6B35);
  color: #fff;
  font-weight: 800; font-size: .97rem;
  padding: 14px 30px;
  border-radius: 8px; text-decoration: none;
  box-shadow: 0 6px 22px rgba(255,107,53,.45);
  transition: transform .15s, box-shadow .15s;
  letter-spacing: .02em;
  white-space: nowrap;
}
.cta-band .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,107,53,.55);
  color: #fff; text-decoration: none;
}

/* ADVANTAGES */
.adv-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow); margin-bottom: 14px;
}
.adv-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(8,164,147,.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.adv-item h5 { font-weight: 700; font-size: .95rem; color: var(--deep); margin: 0 0 4px; }
.adv-item p  { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* SERVICES BAR */
.svc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--border);
}
@media (max-width: 768px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
.svc-item {
  background: var(--deep); padding: 30px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .2s;
}
.svc-item:last-child { border-right: none; }
.svc-item:hover { background: var(--teal); }
.svc-icon {
  width: 52px; height: 52px; background: rgba(255,255,255,.1);
  border-radius: 12px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.svc-item h5 { color: #fff; font-weight: 700; font-size: .92rem; margin: 0 0 6px; }
.svc-item p  { color: rgba(255,255,255,.65); font-size: .82rem; margin: 0; line-height: 1.45; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.faq-btn {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-weight: 600; font-size: .95rem; color: #1a2332; line-height: 1.4;
  transition: color .15s;
}
.faq-btn:hover { color: var(--teal); }
.faq-btn[aria-expanded="true"] { color: var(--teal); }
.faq-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  background: rgba(8,164,147,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, background .2s;
}
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq-body {
  padding: 0 20px; max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .3s ease;
}
.faq-body.open { max-height: 500px; padding: 0 20px 18px; }
.faq-content { display: flex; gap: 20px; align-items: flex-start; }
.faq-content .faq-media {
  width: 200px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden; background: #f5fafa;
  display: flex; align-items: center; justify-content: center;
}
.faq-content .faq-media img {
  width: 100%; height: auto;
  max-height: 180px; object-fit: contain; display: block;
}
.faq-content .faq-media video {
  width: 100%; height: 160px; object-fit: contain; display: block; background: #000;
}
.faq-content .faq-text h2 { font-size: 1rem; font-weight: 700; color: var(--deep); margin: 0 0 8px; }
.faq-content .faq-text p  { font-size: .88rem; color: var(--muted); line-height: 1.6; margin: 0; }
@media (max-width: 576px) {
  .faq-content { flex-direction: column; }
  .faq-content .faq-media { width: 100%; }
}

/* TEAM */
.team-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(8,164,147,.14); }
.team-card .team-photo {
  width: 100%; aspect-ratio: 3/4;
  background-size: cover; background-position: top center;
}
.team-card .team-info { padding: 14px; text-align: center; }
.team-card .team-info h5 { font-weight: 700; font-size: .9rem; color: var(--deep); margin: 0 0 3px; }
.team-card .team-info p  { font-size: .78rem; color: var(--muted); margin: 0; }

/* REVIEW CARD (Kaspi style) */
.carousel-testimony .item {
  display: block !important;
  text-align: left !important;
}
.review-card {
  background: #fff;
  border: 1px solid #e8eef0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.review-card .r-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  width: 72px;
}
.review-card .r-avatar-logo {
  width: 44px; height: 44px;
  object-fit: contain;
}
.review-card .r-name {
  font-weight: 700; font-size: .75rem;
  color: #1a2332; margin: 0;
  text-align: center; line-height: 1.3;
}
.review-card .r-date {
  font-size: .7rem; color: var(--muted);
  margin: 0; text-align: center;
}
.review-card .r-right { flex: 1; min-width: 0; }
.review-card .r-stars { display: flex; gap: 1px; margin-bottom: 6px; }
.review-card .r-stars span { color: #f57c00; font-size: .95rem; line-height: 1; }
.review-card .r-text  { font-size: .84rem; color: #333; line-height: 1.6; margin: 0; }

/* PARTNERS */
.partner-item {
  height: 72px; display: flex; align-items: center; justify-content: center;
  filter: grayscale(1) opacity(.5); transition: filter .25s; padding: 6px;
}
.partner-item:hover { filter: grayscale(0) opacity(1); }
.partner-item img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
