/* =============================================================================
   Адаптивні стилі (sm ≥640px, md ≥768px, lg ≥1024px)
   ============================================================================= */

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .promo--muted .promo__box,
  .promo--border .promo__box {
    flex-direction: row;
    padding: 3rem;
  }
  .promo__actions {
    width: auto;
    flex-direction: row;
    flex-shrink: 0;
  }
  .promo--invert .promo__box > div:first-child {
    flex: 1;
  }
  .promo--invert .promo__box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem;
  }
  .form-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-options--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-support {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
  }
  .site-footer__left {
    flex-direction: row;
  }
  .site-footer__right {
    flex-direction: row;
    gap: 1.5rem;
  }
  .cta__actions {
    flex-direction: row;
  }
  .promo-expert__wrapper {
    text-align: left;
    align-items: stretch;
  }
  .promo-expert__wrapper .promo__row {
    flex-direction: column;
  }
  .promo-expert__avatar {
    width: 6.5rem;
    height: 6.5rem;
    font-size: 2.25rem;
    margin-bottom: 0;
  }
  .promo-expert__content {
    gap: 0.5rem;
  }
  .promo-expert__label {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
    width: 100%;
  }
  .promo-expert__name {
    font-size: 1.25rem;
  }
  .promo-expert__role {
    font-size: 0.9375rem;
  }
  .promo-expert__bio {
    font-size: 0.9375rem;
    line-height: 1.625;
  }
  .promo-expert__content .btn {
    width: auto;
    align-self: center;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .header-cta {
    display: block;
  }
  .menu-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
  .site-header.is-open .nav-mobile {
    display: none !important;
  }
  .hero {
    padding: 7rem 0;
  }
  .svc-hero {
    padding: 5.5rem 0 4.5rem;
  }
  .svc-hero__wrap {
    max-width: 48rem;
  }
  .svc-hero__title {
    font-size: 2.625rem;
  }
  .hero__grid {
    gap: 4rem;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .trust {
    padding: 5.5rem 0;
  }
  .trust__heading {
    font-size: 1.75rem;
  }
  .trust__lead {
    margin-bottom: 2.75rem;
    font-size: 1rem;
  }
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  .trust__item {
    padding: 1.75rem 1.25rem;
  }
  .trust__value {
    font-size: 2.35rem;
  }
  .trust__label {
    font-size: 0.875rem;
  }
  .services,
  .ai,
  .process,
  .features,
  .portfolio,
  .reviews,
  .pricing,
  .calculator,
  .contact {
    padding: 4rem 0;
  }
  .section-title {
    font-size: 2.25rem;
  }
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ai__head {
    grid-template-columns: repeat(2, 1fr);
  }
  .ai h2 {
    font-size: 2.25rem;
  }
  .ai__site-title {
    font-size: 1.375rem;
  }
  .ai__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ai-site__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features__block {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
  /* На планшеті+: текст зліва, зображення справа */
  .features__block--reverse .features__text {
    order: 1;
  }
  .features__block--reverse .features__img-wrap {
    order: 2;
  }
  .process__top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .process__top h2 {
    font-size: 1.875rem;
  }
  .process__grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .process__step--wide {
    grid-column: span 1;
  }
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-card--featured {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
  .cta h2 {
    font-size: 2.25rem;
  }
  .contact__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
  .contact__form-wrap {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .svc-hero__title {
    font-size: 3rem;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .promo-expert__avatar {
    width: 7.5rem;
    height: 7.5rem;
    font-size: 2.5rem;
  }
  .promo-expert__name {
    font-size: 1.5rem;
  }
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ai__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ai-site__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .price-card--featured {
    margin-top: -1rem;
    margin-bottom: -1rem;
  }
  /* Калькулятор: зліва розрахунок, справа результат */
  .calc-grid {
    grid-template-columns: 1fr 380px;
    gap: 2rem;
  }
  .calc-result {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
  .calc-options--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
