
:root {
  --hero-bg: #f5f7fb;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* Brand */
.brand-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #bff2ff, #0f766e);
}

/* Hero */
.hero-section {
  background: linear-gradient(135deg, #f4f7fb 0%, #ffffff 40%, #f4f7fb 100%);
}

.hero-title {
  font-size: clamp(2.1rem, 2.6vw + 1rem, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-copy {
  max-width: 36rem;
}

.hero-photo-grid {
  position: relative;
  max-width: 520px;
  margin-left: auto;
}

.hero-photo {
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo.large {
  height: 320px;
}

.hero-photo.small {
  position: absolute;
  width: 58%;
  height: 170px;
}

.hero-photo.small.bottom {
  left: -5%;
  bottom: -15%;
}

.hero-photo.small.top {
  right: -4%;
  top: -12%;
}

/* Sections */
.section-title {
  font-size: clamp(1.8rem, 2.2vw + 0.8rem, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 0.98rem;
}

/* Cards */
.service-block,
.price-card,
.image-card,
.faq-accordion .accordion-item {
  border-radius: 1.6rem;
}

.image-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

/* FAQ */
.faq-accordion .accordion-item {
  border: 1px solid #dbe2ea;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.faq-accordion .accordion-button {
  font-size: 1rem;
  font-weight: 500;
}

.faq-accordion .accordion-button:not(.collapsed) {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Nav */
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 2.75rem;
  }
  .hero-photo-grid {
    margin-top: 1.5rem;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  .image-card img {
    height: 190px;
  }
}


/* Brand logo */
.brand-logo {
  height: 32px;
  width: auto;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.55);
}


/* Pricing cards */
.price-card {
  position: relative;
}

.pricing-card-featured {
  border: 2px solid rgba(37, 99, 235, 0.4);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

.pricing-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #0f766e;
  color: #fff;
}

/* Why-us cards */
.why-card {
  border-radius: 1.6rem;
}

/* Contact */
.contact-card .form-control {
  font-size: 0.9rem;
}

.contact-list li {
  font-size: 0.95rem;
}


/* Medium screens (tablets portrait & small laptops) */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-photo-grid {
    margin-top: 1.75rem;
    margin-inline: auto;
  }

  .service-block,
  .price-card,
  .contact-card,
  .why-card {
    padding: 1.75rem 1.5rem;
  }
}

/* Small screens (phones) */
@media (max-width: 575.98px) {
  .hero-section {
    text-align: left;
  }

  .hero-title {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .hero-photo-grid {
    max-width: 100%;
  }

  .hero-photo.large {
    height: 230px;
  }

  /* Ховаємо накладені маленькі фото на дуже малих екранах,
     щоб не було каші та обрізання картинок */
  .hero-photo.small {
    display: none;
  }

  .service-block,
  .price-card,
  .contact-card,
  .why-card {
    padding: 1.5rem 1.25rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .price-card {
    text-align: left;
  }

  .price-card .display-5 {
    font-size: 2rem;
  }

  .faq-accordion .accordion-button {
    font-size: 0.95rem;
  }
}
