/* Aqua Alliance — внешний вид по макету */

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

:root {
  --aa-primary: #0088cc;
  --aa-primary-bright: #00a8e8;
  --aa-navy: #0a2342;
  --aa-navy-soft: #1a3a5c;
  --aa-text: #1a1a1a;
  --aa-muted: #5c6b7a;
  --aa-line: #0088cc;
  --aa-card-grey: #eceff1;
}

body {
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
  color: var(--aa-text);
}

.uk-button-primary {
  background: var(--aa-primary);
}

.uk-button-primary:hover,
.uk-button-primary:focus {
  background: var(--aa-navy-soft);
}

.uk-section-primary {
  background: linear-gradient(135deg, var(--aa-primary) 0%, #006699 100%);
}

/* ---------- Шапка ---------- */
.aa-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.aa-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.aa-brand__mark {
  flex-shrink: 0;
}

.aa-brand__title {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #111;
}

.aa-brand__tagline {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--aa-muted);
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.aa-header .uk-navbar-item {
  color: var(--aa-text);
}

.aa-header .uk-navbar-item:hover {
  color: var(--aa-primary);
}

/* ---------- Hero с волной ---------- */
.aa-hero {
  position: relative;
  padding: 0 0 4rem;
  overflow: hidden;
  background: #fff;
}

.aa-hero__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/hero-bg.jpeg") center top / cover no-repeat;
  opacity: 0.95;
}

.aa-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%2306182c" fill-opacity="0.95" d="M0,160L48,144C96,128,192,96,288,106.7C384,117,480,171,576,176C672,181,768,139,864,133.3C960,128,1056,160,1152,170.7C1248,181,1344,171,1392,165.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') center bottom / cover no-repeat;
}

@media (max-width: 639px) {
  .aa-hero__wave {
    clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
    height: 60%;
  }
}

.aa-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.aa-about-box {
  background: var(--aa-primary);
  color: #fff;
  padding: 1.75rem 1.75rem 2rem;
  max-width: 28rem;
  box-shadow: 0 12px 40px rgba(0, 50, 80, 0.35);
}

.aa-about-box h1 {
  color: #fff;
  font-weight: 700;
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.aa-about-box p {
  margin: 0;
  color: #111;
  font-size: 0.95rem;
  line-height: 1.55;
}

.aa-hero-side {
  padding-top: 0.5rem;
}

.aa-hero-line1 {
  color: #7ec8ff;
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.aa-hero-line2 {
  color: var(--aa-primary);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 0.75rem;
  display: inline-block;
  border-radius: 2px;
}

.aa-hero-faucet {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 3;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(126, 200, 255, 0.5);
}

.aa-hero-faucet span[uk-icon] {
  color: #7ec8ff;
}

@media (max-width: 959px) {
  .aa-hero-faucet {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 2rem auto 0;
  }

  .aa-hero-side {
    margin-top: 1.5rem;
  }

  .aa-about-box {
    max-width: none;
  }

  .aa-hero-line1 {
    color: var(--aa-primary);
    text-shadow: none;
  }
}

/* ---------- Сравнение пурифайер / кулер ---------- */
.aa-compare {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  background: #fff;
}

.aa-compare h2 {
  font-weight: 700;
  color: #111;
}

.aa-compare-grid {
  margin-top: 2rem;
}

.aa-compare-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.aa-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aa-compare-list li {
  position: relative;
  padding-left: 0.25rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #333;
}

.aa-compare-rail {
  position: relative;
  min-height: 320px;
  display: flex;
  justify-content: center;
  padding: 0 0.5rem;
}

.aa-compare-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 2.75rem;
  width: 3px;
  background: var(--aa-line);
  border-radius: 2px;
}

.aa-compare-rail::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--aa-line);
  box-shadow: 0 0 0 4px rgba(0, 136, 204, 0.25);
}

.aa-compare-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border: 2px solid var(--aa-line);
  border-radius: 50%;
  background: #fff;
  z-index: 1;
}

.aa-compare-rail .aa-compare-dot:nth-child(1) {
  top: 5%;
}
.aa-compare-rail .aa-compare-dot:nth-child(2) {
  top: 23%;
}
.aa-compare-rail .aa-compare-dot:nth-child(3) {
  top: 41%;
}
.aa-compare-rail .aa-compare-dot:nth-child(4) {
  top: 59%;
}
.aa-compare-rail .aa-compare-dot:nth-child(5) {
  top: 77%;
}

.aa-compare-img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  margin-top: auto;
}

@media (max-width: 959px) {
  .aa-compare-rail {
    min-height: 120px;
    order: -1;
    padding: 1rem 0;
  }

  .aa-compare-rail::before {
    bottom: auto;
    height: 3px;
    width: 80%;
    top: 50%;
    left: 10%;
  }

  .aa-compare-rail::after {
    display: none;
  }

  .aa-compare-rail .aa-compare-dot {
    display: none;
  }

  .aa-compare-grid > div {
    width: 100%;
  }
}

/* ---------- Карточки процесса ---------- */
.aa-process {
  background: #f5f7f9;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.aa-process h2 {
  font-weight: 700;
  color: #111;
}

.aa-process-card {
  position: relative;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 40, 60, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.aa-process-card__icon {
  padding: 1.25rem 1rem 0.5rem;
  text-align: center;
}

.aa-process-card__icon span[uk-icon] {
  color: #111;
}

.aa-process-card__ribbon {
  background: var(--aa-primary);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.35;
  padding: 0.65rem 0.75rem;
  text-align: center;
  font-weight: 500;
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aa-process-card__body {
  background: var(--aa-card-grey);
  padding: 1rem 1rem 2.25rem;
  flex: 1;
}

.aa-process-card__body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #111;
}

.aa-process-card__body p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #444;
}

.aa-process-card__num {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #9e9e9e;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Товар и характеристики ---------- */
.aa-product-diagram {
  padding: 2rem 0;
}

.aa-product-center {
  position: relative;
}

.aa-product-img {
  max-height: 450px;
  object-fit: contain;
}

.aa-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.aa-feature--left {
  justify-content: flex-end;
}

.aa-feature--right {
  justify-content: flex-start;
}

.aa-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.aa-feature--left .aa-feature-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 60px;
  border-top: 2px dashed #ccc;
  z-index: -1;
}

.aa-feature--right .aa-feature-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 60px;
  border-top: 2px dashed #ccc;
  z-index: -1;
}

@media (max-width: 959px) {
  .aa-feature--left .aa-feature-icon::after,
  .aa-feature--right .aa-feature-icon::before {
    display: none;
  }
}

.aa-feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--aa-primary);
}

.aa-feature-text {
  font-size: 0.9rem;
  line-height: 1.3;
  color: #333;
}

.aa-product-specs {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  padding: 0.5rem;
  font-size: 0.85rem;
  color: #333;
}

.aa-product-specs div {
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.aa-dim {
  position: absolute;
  font-size: 0.75rem;
  color: #999;
}

.aa-dim-h {
  top: 50%;
  right: 15%;
  transform: translateY(-50%) rotate(-90deg);
}

.aa-dim-w {
  bottom: -15px;
  left: 30%;
}

.aa-dim-d {
  bottom: 10px;
  right: 20%;
  transform: rotate(-30deg);
}

/* ---------- Таблица тарифов ---------- */
.aa-pricing {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
}

.aa-pricing-row {
  display: flex;
  flex-wrap: wrap;
}

.aa-pricing-col {
  flex: 1;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  min-width: 120px;
  border-right: 2px solid #fff;
}

.aa-pricing-col:last-child {
  border-right: none;
}

.aa-pricing-col--dark {
  background: #0088cc;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  flex: 0 0 120px;
}

.aa-pricing-col--light {
  background: #00a8e8;
  color: #fff;
  font-weight: 500;
}

.aa-pricing-col--grey {
  background: #f0f4f8;
  color: #333;
  justify-content: flex-start;
  text-align: left;
  flex: 1.5;
}

@media (max-width: 959px) {
  .aa-pricing-row {
    flex-direction: column;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
  }
  .aa-pricing-col {
    border-right: none;
    border-bottom: 1px solid #fff;
    min-width: 100%;
  }
}

/* ---------- Отзывы ---------- */
.aa-service-text {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
}

.aa-quote-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.aa-quote-mark {
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: #48cae4;
  line-height: 1;
}

.aa-quote-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 2rem;
  flex: 1;
}

.aa-quote-logo {
  text-align: center;
  margin-top: auto;
}

.aa-quote-logo img {
  max-height: 40px;
  max-width: 150px;
  object-fit: contain;
}

/* ---------- Подвал ---------- */
.aa-footer {
  position: relative;
  background: linear-gradient(180deg, #004e89 0%, #0077b6 100%);
  color: #fff;
  padding-top: 4rem;
}

.aa-footer__wave {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  clip-path: ellipse(60% 100% at 50% 0%);
}

.aa-footer__inner {
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.aa-cta-box {
  background: #e0e0e0;
  color: #111;
  padding: 2rem;
  text-align: center;
  border-radius: 4px;
  max-width: 300px;
  margin: 0 auto;
}

.aa-cta-icon {
  margin-bottom: 1rem;
}

.aa-cta-text {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
}

.aa-footer-center p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.aa-phone-large {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

.aa-phone-large strong {
  font-size: 2.2rem;
  display: block;
  color: #fff;
}

.aa-btn-green {
  display: inline-block;
  background: #80ed99;
  color: #004e89;
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 280px;
  text-align: center;
  transition: background 0.2s;
}

.aa-btn-green:hover {
  background: #57cc99;
  color: #004e89;
  text-decoration: none;
}

.aa-footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.aa-process {
  background: #f5f7f9;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.aa-process h2 {
  font-weight: 700;
  color: #111;
}

.aa-process-card {
  position: relative;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 40, 60, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.aa-process-card__icon {
  padding: 1.25rem 1rem 0.5rem;
  text-align: center;
}

.aa-process-card__icon span[uk-icon] {
  color: #111;
}

.aa-process-card__ribbon {
  background: var(--aa-primary);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.35;
  padding: 0.65rem 0.75rem;
  text-align: center;
  font-weight: 500;
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aa-process-card__body {
  background: var(--aa-card-grey);
  padding: 1rem 1rem 2.25rem;
  flex: 1;
}

.aa-process-card__body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #111;
}

.aa-process-card__body p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #444;
}

.aa-process-card__num {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #9e9e9e;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
