/* ═══════════════════════════════════════════════════════════
   HOME 3 — Services, Consultation, Edu, Reviews, Blog (1440)
   ═══════════════════════════════════════════════════════════ */

/* ─── ПОСЛУГИ ТА ВАРТІСТЬ (1440×1018) ─── */

.services {
  position: relative;
  width: 100%;
  min-height: 1018px;
  background: var(--color-dark);
  overflow: hidden;
  padding: 87px 0 100px;
}

.services__texture {
  position: absolute;
  inset: 0;
  background: url("/static/images/expertise-texture.0fb6a0e6a86c.webp") center/cover;
  mix-blend-mode: multiply;
  opacity: 0.3;
  pointer-events: none;
}

.services .container { position: relative; z-index: 1; }

.services__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 77px);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 46px;
}

.services__row {
  display: flex;
  gap: 31px;
  margin-bottom: 36px;
}

.services__card {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 34px 33px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.services__card--basic-desc { width: 435px; min-height: 294px; }
.services__card--pro-desc   { width: 503px; min-height: 294px; }

.services__row--bottom > .services__card:first-child { width: 409px; min-height: 362px; }
.services__row--bottom > .services__card:last-child  { width: 479px; min-height: 362px; }

.services__card--price { min-height: 362px; }

.services__num {
  font-family: var(--font-body);
  font-size: 20.93px;
  font-weight: var(--fw-light);
  line-height: 25px;
  text-transform: uppercase;
  color: var(--color-black);
  opacity: 0.5;
  position: absolute;
  top: 34px;
  right: 33px;
}

.services__type {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: var(--fw-regular);
  line-height: 60px;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 11px;
}

.services__desc {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: var(--fw-bold);
  line-height: 22px;
  text-align: justify;
  letter-spacing: -0.02em;
  color: #2B2B18;
  margin-top: 16px;
}

.services__price-name {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: var(--fw-regular);
  line-height: 60px;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 11px;
}

.services__price-list {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 21px;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.services__price-note {
  margin-top: 8px;
  font-size: 16px;
  font-weight: var(--fw-light);
}

.services__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.services__row--top .services__photo { width: 279px; }
.services__row--bottom .services__photo { width: 325px; }

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

.services__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 197px;
  height: 50px;
  border-radius: 50px;
  background: var(--color-dark);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  transition: background var(--ease);
  margin-top: auto;
}

.services__btn:hover { opacity: 0.85; }


/* ─── КОНСУЛЬТАЦІЯ (1440×609) ─── */

.consultation {
  position: relative;
  width: 100%;
  min-height: 609px;
  background: var(--color-white);
  overflow: hidden;
  display: grid;
  grid-template-columns: 507px 1fr;
}

.consultation__textures {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}

.consultation__tex {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.consultation__tex--1 {
  background-image: url("/static/images/hero-bg-texture-1.88ff0c54e77c.webp");
  mix-blend-mode: multiply;
  opacity: 0.2;
}

.consultation__tex--2 {
  background-image: url("/static/images/hero-bg-texture-2.e28dfc263237.webp");
  mix-blend-mode: multiply;
  opacity: 0.2;
}

.consultation__photo {
  position: relative;
  z-index: 1;
  width: 427px;
  height: 452px;
  flex-shrink: 0;
  margin: 80px 0 0 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.consultation__form-wrap {
  position: relative;
  z-index: 1;
  padding: 77px 80px;
  flex: 1;
}

.consultation__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 77px);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 40px;
}

.consultation__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 754px;
}

.consultation__input,
.consultation__textarea {
  width: 100%;
  height: 41px;
  padding: 0 24px;
  border: 1px solid var(--color-black);
  border-radius: 45px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: var(--fw-regular);
  color: var(--color-black);
}

.consultation__input::placeholder,
.consultation__textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.consultation__input:focus,
.consultation__textarea:focus {
  border-color: var(--color-red);
  outline: none;
}

.consultation__textarea {
  height: 68px;
  padding: 16px 24px;
  resize: none;
}

.consultation__submit {
  width: 197px;
  height: 50px;
  margin-top: 14px;
}

.consultation__submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.consultation__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

#consultation-result:not(:empty) {
  margin-bottom: 8px;
}

.form-success {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  color: #2a7a3b;
  background: #eaf7ec;
  border: 1px solid #a5d6a7;
  border-radius: 8px;
  padding: 12px 20px;
}

.form-error {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-red);
  padding: 4px 0;
}


/* ─── ОСВІТНІ МОЖЛИВОСТІ (1440×674) ─── */

.edu-opportunities {
  position: relative;
  width: 100%;
  height: 674px;
  background: var(--color-red);
  overflow: hidden;
}

.edu-opportunities__texture {
  position: absolute;
  inset: 0;
  background: url("/static/images/expertise-texture.0fb6a0e6a86c.webp") center/cover;
  mix-blend-mode: multiply;
  opacity: 0.3;
  pointer-events: none;
}

.edu-opportunities__photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 720px;
  height: 674px;
  z-index: 1;
}

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

.edu-opportunities__content {
  position: relative;
  z-index: 2;
  width: 50%;
  padding: 55px 0 55px 158px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.edu-opportunities__label {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 20px;
  text-align: center;
  text-decoration: underline;
  color: var(--color-white);
  margin-bottom: 40px;
}

.edu-opportunities__title-top {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: var(--fw-regular);
  line-height: 60px;
  text-align: center;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 24px;
}

.edu-opportunities__portrait-wrap {
  position: relative;
  width: 246px;
  height: 243px;
  margin-bottom: 24px;
}

.edu-opportunities__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.edu-opportunities__stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 87px;
  height: 93px;
  object-fit: contain;
}

.edu-opportunities__title-bottom {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: var(--fw-regular);
  line-height: 60px;
  text-align: center;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-white);
}


/* ─── ВІДГУКИ (1440×993) ─── */

.reviews {
  position: relative;
  width: 100%;
  min-height: 993px;
  padding-bottom: 80px;
  background: var(--color-white);
  overflow: hidden;
}

.reviews__textures {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.reviews__tex {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.reviews__tex--1 {
  background-image: url("/static/images/hero-bg-texture-1.88ff0c54e77c.webp");
  mix-blend-mode: multiply;
  opacity: 0.2;
}

.reviews__tex--2 {
  background-image: url("/static/images/hero-bg-texture-2.e28dfc263237.webp");
  mix-blend-mode: multiply;
  opacity: 0.2;
}

.reviews__bg-text {
  position: absolute;
  top: 226px;
  left: -31px;
  font-family: var(--font-display);
  font-size: 234.718px;
  font-weight: var(--fw-regular);
  line-height: 282px;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-red);
  opacity: 0.02;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}

.reviews__inner {
  position: relative;
  z-index: 1;
  display: flex;
  padding-top: 96px;
}

.reviews__aside {
  width: 217px;
  flex-shrink: 0;
  padding-top: 8px;
}

.reviews__aside-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: rgba(0, 0, 0, 0.45);
}

.reviews__main {
  flex: 1;
  margin-left: 164px;
}

.reviews__heading {
  margin-bottom: 20px;
}

.reviews__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 77px);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-black);
}

.reviews__desc {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--fw-light);
  line-height: 19px;
  text-align: justify;
  color: var(--color-black);
  max-width: 315px;
  margin-left: auto;
  margin-bottom: 32px;
}

.reviews__carousel-wrap {
  overflow: hidden;
  margin-bottom: 33px;
}

.reviews__grid {
  display: flex;
  gap: 17px;
  transition: transform 0.35s ease;
}

.review-card {
  flex: 0 0 calc((100% - 34px) / 3);
  min-height: 411px;
  background: var(--color-red);
  border-radius: var(--radius-md);
  padding: 33px 23px;
  display: flex;
  flex-direction: column;
}

.review-card__quote-icon {
  margin-bottom: auto;
}

.review-card__name {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: var(--fw-regular);
  line-height: 72px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 12px;
}

.review-card__text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--fw-regular);
  line-height: 19px;
  text-align: justify;
  color: var(--color-white);
}

.reviews__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reviews__btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 197px;
  height: 50px;
  border-radius: 50px;
  background: var(--color-cream);
  border: 1px solid var(--color-red);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 21px;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  color: var(--color-red);
  transition: all var(--ease);
}

.reviews__btn-outline:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.reviews__controls {
  display: flex;
  gap: 0;
}

.reviews__arrow {
  width: 69px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-cream);
  border: 1px solid var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.reviews__arrow:hover { opacity: 0.7; }


/* ─── БЛОГ (1440×1305) ─── */

.blog-preview {
  position: relative;
  width: 100%;
  min-height: 1305px;
  background: var(--color-dark);
  overflow: hidden;
  padding-bottom: 97px;
}

.blog-preview__texture {
  position: absolute;
  inset: 0;
  background: url("/static/images/expertise-texture.0fb6a0e6a86c.webp") center/cover;
  mix-blend-mode: multiply;
  opacity: 0.3;
  pointer-events: none;
}

.blog-preview .container { position: relative; z-index: 1; }

.blog-preview__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 97px;
  margin-bottom: 36px;
}

.blog-preview__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 77px);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-white);
}

.blog-preview__aside {
  text-align: right;
  width: 217px;
  flex-shrink: 0;
}

.blog-preview__aside-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-align: right;
  color: rgba(255, 255, 255, 0.5);
}

.blog-preview__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 63px;
}

.blog-preview__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 197px;
  height: 50px;
  border-radius: 50px;
  background: var(--color-cream);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 21px;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  color: var(--color-dark);
  transition: opacity var(--ease);
}

.blog-preview__btn:hover { opacity: 0.85; }

.blog-preview__controls {
  display: flex;
  gap: 0;
}

.blog-preview__arrow {
  width: 69px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.blog-preview__arrow:hover { opacity: 0.7; }

.blog-preview__carousel-wrap {
  overflow: hidden;
  margin-bottom: 47px;
}

.blog-preview__grid {
  display: flex;
  gap: 35px;
  transition: transform 0.35s ease;
}

.blog-card {
  flex: 0 0 calc((100% - 70px) / 3);
  min-height: 401px;
  background: var(--color-cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--ease);
}

.blog-card:hover { opacity: 0.9; }

.blog-card__photo {
  width: calc(100% - 46px);
  height: 199px;
  margin: 27px auto 0;
  overflow: hidden;
  flex-shrink: 0;
}

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

.blog-card__body {
  padding: 35px 23px 23px;
}

.blog-card__title {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: var(--fw-medium);
  line-height: 29px;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 11px;
}

.blog-card__text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--fw-light);
  line-height: 19px;
  text-align: justify;
  color: var(--color-black);
}

.blog-preview__banner {
  width: 100%;
  height: 344px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

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


/* ─── TABLET RESPONSIVE (769px – 1024px) ─── */
/* Gap between desktop & mobile-2.css (which only covers ≤768px) */

@media (max-width: 1024px) {
  .reviews__inner {
    flex-direction: column;
  }

  .reviews__aside {
    display: none;
  }

  .reviews__main {
    margin-left: 0;
  }

  .blog-preview__top {
    flex-direction: column;
    gap: 16px;
  }

  .blog-preview__aside {
    display: none;
  }

  .blog-preview__banner {
    height: 220px;
  }
}

@media (max-width: 768px) {
  /* Fixed height overrides mobile min-height on edu-opportunities */
  .edu-opportunities {
    height: auto;
  }
}
