*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* вища «хвиля»; один шлях SVG, лише суцільні fill — без смуг на стику з градієнтним фоном */
  --wave-h: clamp(72px, 12vw, 120px);
  --wave-svg-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,88C220,118 360,35 586,94C744,118 900,52 1200,84L1200,120L0,120z'/%3E%3C/svg%3E");
  --wave-svg-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%2342cca1' d='M0,88C220,118 360,35 586,94C744,118 900,52 1200,84L1200,120L0,120z'/%3E%3C/svg%3E");
  --wave-svg-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%2323a5d4' d='M0,88C220,118 360,35 586,94C744,118 900,52 1200,84L1200,120L0,120z'/%3E%3C/svg%3E");
  --wave-svg-mapbg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%23e8faf5' d='M0,88C220,118 360,35 586,94C744,118 900,52 1200,84L1200,120L0,120z'/%3E%3C/svg%3E");
  --wave-svg-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%231a2a3a' d='M0,88C220,118 360,35 586,94C744,118 900,52 1200,84L1200,120L0,120z'/%3E%3C/svg%3E");
  /* узгоджено з WHW нижче — суцільний mint, без смуги іншого hex */
  --wave-svg-tealend: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%2342cca1' d='M0,88C220,118 360,35 586,94C744,118 900,52 1200,84L1200,120L0,120z'/%3E%3C/svg%3E");
  /* Pantone 346 C */
  --brand-mint: #42cca1;
  /* Pantone 299 C */
  --brand-blue: #23a5d4;

  --teal: var(--brand-mint);
  --teal-light: #6bd4bc;
  --teal-dark: #34957b;
  --green: var(--brand-mint);
  --green-light: #8ae6cf;
  --blue: var(--brand-blue);
  --blue-dark: #1e8eb7;

  --pink: #f06292;
  --pink-light: #ff80ab;
  --white: #ffffff;
  --off-white: #f5f9fa;
  --gray-light: #e8ecef;
  --gray: #888888;
  --dark: #2c3e50;
  --text: #555555;

  --gradient-teal: linear-gradient(135deg, var(--brand-mint) 0%, #6bdcbf 100%);
  --gradient-blue: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-mint) 100%);
  --gradient-hero: linear-gradient(90deg, var(--brand-mint) 0%, var(--brand-blue) 100%);
}

html {
  scroll-behavior: smooth;
}

section[id],
footer {
  scroll-margin-top: 80px;
}

/* --- Хвилі: SVG як background (добре видно на всіх рушіях) --- */
.hero::after,
.services-preview::after,
.team::after,
.map-contact::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--wave-h);
  pointer-events: none;
  z-index: 4;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
}

.hero::after {
  background-image: var(--wave-svg-white);
  z-index: 12;
}

.services-preview::after {
  background-image: var(--wave-svg-mint);
  z-index: 12;
}

.team::after {
  background-image: var(--wave-svg-mapbg);
  z-index: 12;
}

.map-contact::after {
  background-image: var(--wave-svg-dark);
  /* нижче картки контактів — не закриває кнопку Directions */
  z-index: 8;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  z-index: 50;
  min-height: min(92vh, 760px);
  padding: 92px 0 calc(48px + var(--wave-h) * 0.45);
  background: var(--gradient-hero);
  overflow-x: clip;
  overflow-y: visible;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 32%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(340px, 1fr);
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
}

.hero-content {
  max-width: 480px;
  color: var(--white);
  padding: 20px 0 48px;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4.8vw, 3.85rem);
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 0 rgba(35, 165, 212, 0.35);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4.2rem, 9vw, 6.25rem);
  font-weight: 900;
  line-height: 0.92;
  margin: 0 0 22px;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.hero-text {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  margin: 0 0 26px;
  max-width: 400px;
  color: rgba(255, 255, 255, 0.94);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--white);
  color: var(--brand-blue);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.btn-hero-arrow {
  font-weight: 700;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid var(--white);
  color: var(--white);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
}

.btn:hover {
  background: var(--white);
  color: var(--teal);
}

.btn-teal {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-teal:hover {
  background: var(--teal);
  color: var(--white);
}

.hero-image {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 1;
}

.hero-deco-layer {
  position: absolute;
  inset: -4% -2% 10% -6%;
  z-index: 0;
  pointer-events: none;
}

.hero-floater {
  position: absolute;
  opacity: 0.9;
}

.hero-floater--a {
  top: 8%;
  left: 4%;
  transform: rotate(-12deg);
}

.hero-floater--b {
  bottom: 28%;
  left: 0%;
  transform: rotate(18deg);
  width: 64px !important;
  height: auto !important;
}

.hero-mini-plus {
  position: absolute;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
}

.hero-mini-plus--1 {
  top: 18%;
  right: 22%;
}

.hero-mini-plus--2 {
  bottom: 38%;
  right: 8%;
  font-size: 1rem;
  opacity: 0.85;
}

.hero-mini-plus--3 {
  top: 46%;
  left: 8%;
  opacity: 0.75;
}

.hero-mini-ring {
  position: absolute;
  bottom: 20%;
  left: 12%;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

.hero-couple {
  position: relative;
  z-index: 1;
  max-width: min(720px, 52vw);
  width: 100%;
  height: auto;
  display: block;
  margin-right: -4%;
  filter: drop-shadow(0 12px 32px rgba(0, 40, 70, 0.15));
}


/* ========== SECTION COMMON ========== */
.section {
  padding: 80px 0;
}

.section-teal {
  background: var(--gradient-teal);
  color: var(--white);
}

.section-blue {
  background: var(--gradient-blue);
  color: var(--white);
}

.section-white {
  background: var(--white);
}

.section-off-white {
  background: var(--off-white);
}

.section-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--teal);
  margin-bottom: 8px;
}

.section-tag-white {
  color: rgba(255, 255, 255, 0.7);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
}

.section-title-dark {
  color: var(--dark);
}

.section-title-white {
  color: var(--white);
}

.section-title-teal {
  color: var(--teal);
}

.section-text {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 600px;
  opacity: 0.85;
}

/* ========== ПРЕВʼЮ ПОСЛУГ (сітка кіл) ========== */
.services-preview {
  margin-top: calc(-1 * var(--wave-h));
  position: relative;
  z-index: 49;
  padding: calc(40px + var(--wave-h) + var(--wave-h) * 0.35) 0 calc(72px + var(--wave-h) * 0.55);
  /* суцільна заливка — хвиля mint стикується без переходів біля #fff */
  background: #ffffff;
}

.services-grid.ua-blob-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.5vw, 36px);
  width: 100%;
  max-width: none;
  margin: 0;
}

/* ---------- детальні блоки послуг (mint, зіг-заг) ---------- */
#services.service-stack {
  scroll-margin-top: 80px;
}

.service-stack {
  position: relative;
  isolation: isolate;
  z-index: 48;
  margin-top: calc(-1 * var(--wave-h));
}

/* нижній блок лежить вище й перекриває лише суцільним фоном — хвиля «зверху» пропадає без граду z-index нижній секції нижче */
#services.service-stack .service-detail:nth-child(1) {
  z-index: 48;
  position: relative;
}

#services.service-stack .service-detail:nth-child(2) {
  z-index: 47;
  position: relative;
}

#services.service-stack .service-detail:nth-child(3) {
  z-index: 46;
  position: relative;
}

#services.service-stack .service-detail:nth-child(4) {
  z-index: 45;
  position: relative;
}

#services.service-stack .service-detail:nth-child(5) {
  z-index: 44;
  position: relative;
}

#services.service-stack .service-detail:nth-child(6) {
  z-index: 43;
  position: relative;
}

.service-detail {
  position: relative;
  color: var(--white);
  padding: calc(var(--wave-h) + clamp(40px, 6vw, 64px)) clamp(20px, 4vw, 28px) calc(var(--wave-h) + clamp(44px, 6vw, 72px));
}

.service-detail--tone-mint {
  background: var(--brand-mint);
}

.service-detail--tone-blue {
  background: var(--brand-blue);
}

.service-detail:first-of-type {
  padding-top: calc(var(--wave-h) + clamp(40px, 6vw, 64px));
}

.service-detail:not(:first-of-type) {
  margin-top: calc(-1 * var(--wave-h));
  padding-top: calc(var(--wave-h) * 1.05 + clamp(36px, 5vw, 56px));
}

/* одна лише нижня хвиля (колір = наступний блок), без парного ::before — інакше смуги подвоюються */

.service-detail--tone-mint:not(:last-of-type)::after,
.service-detail--tone-blue:not(:last-of-type)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--wave-h);
  pointer-events: none;
  z-index: 12;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
}

.service-detail--tone-mint:not(:last-of-type)::after {
  background-image: var(--wave-svg-blue);
}

.service-detail--tone-blue:not(:last-of-type)::after {
  background-image: var(--wave-svg-mint);
}

.service-detail:last-of-type::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--wave-h);
  pointer-events: none;
  z-index: 12;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
  background-image: var(--wave-svg-tealend);
}

.service-detail .container {
  position: relative;
  z-index: 2;
  max-width: min(1180px, 100%);
}

.service-detail__row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
}

.service-detail__row--reverse {
  direction: rtl;
}

.service-detail__row--reverse>* {
  direction: ltr;
}

.service-detail .section-tag,
.service-detail .section-tag-white {
  color: rgba(255, 255, 255, 0.85);
}

.service-detail__title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.15;
  margin: 8px 0 18px;
  color: var(--white);
}

.service-detail__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.service-detail__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.service-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.service-detail__media {
  display: flex;
  justify-content: center;
}

.service-detail__figure {
  margin: 0;
  width: min(100%, 400px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 14px 40px rgba(0, 35, 45, 0.22);
}

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

.service-detail .btn.service-detail__btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  background: transparent;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
}

.service-detail .btn.service-detail__btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

@media (max-width: 900px) {

  .service-detail__row,
  .service-detail__row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .service-detail--pic-left .service-detail__media {
    order: -1;
  }

  .service-detail--pic-right .service-detail__body {
    order: -1;
  }
}

/* ---------- модальне запис на послугу ---------- */
body.booking-modal-open {
  overflow: hidden;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.booking-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 35, 45, 0.55);
  backdrop-filter: blur(4px);
}

.booking-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: min(92vh, 620px);
  overflow: auto;
  background: var(--white);
  border-radius: 14px;
  padding: 28px 28px 26px;
  box-shadow: 0 22px 64px rgba(0, 35, 45, 0.28);
}

.booking-modal__x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.booking-modal__x:hover {
  background: var(--gray-light);
  color: var(--dark);
}

.booking-modal__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 8px;
  padding-right: 36px;
}

.booking-modal__service-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin: 0 0 4px;
}

.booking-modal__service-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-mint);
  margin: 0 0 22px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.booking-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-form__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
}

.booking-form input[type='text'],
.booking-form input[type='tel'] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
}

.booking-form input:focus {
  outline: none;
  border-color: var(--brand-mint);
  box-shadow: 0 0 0 3px rgba(66, 204, 161, 0.2);
}

.booking-form input.booking-form__input-error {
  border-color: #c62828;
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.15);
}

.booking-form__submit {
  margin-top: 6px;
  padding: 12px 20px !important;
  border-radius: 8px !important;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif !important;
  border: none !important;
  letter-spacing: 0.06em !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  background: var(--brand-mint) !important;
  color: var(--white) !important;
}

.booking-form__submit:hover {
  filter: brightness(1.06);
}

.booking-modal__done {
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  background: rgba(66, 204, 161, 0.12);
  color: var(--dark);
  font-size: 0.95rem;
  line-height: 1.5;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 150;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-mint) 0%, #35b892 100%);
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: 0 6px 24px rgba(35, 60, 70, 0.28);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease, box-shadow 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  box-shadow: 0 8px 28px rgba(35, 60, 70, 0.34);
  filter: brightness(1.06);
}

.to-top:focus-visible {
  outline: none;
  box-shadow:
    0 6px 24px rgba(35, 60, 70, 0.28),
    0 0 0 3px rgba(66, 204, 161, 0.45);
}

.to-top:active {
  transform: translateY(1px);
}

@media (max-width: 576px) {
  .to-top {
    right: 12px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 40px;
    height: 40px;
  }
}

.service-blob-item {
  text-align: center;
  text-decoration: none;
  color: var(--brand-blue);
  transition: transform 0.25s ease;
}

.service-blob-item:hover {
  transform: translateY(-4px);
}

.service-blob-shape {
  background: transparent;
  margin-bottom: 12px;
  padding: clamp(10px, 2vw, 16px);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 5px var(--brand-mint),
    0 10px 32px rgba(35, 165, 212, 0.18);
}

.service-blob-circle {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 3px solid rgba(255, 255, 255, 0.92);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 1) 0%, rgba(200, 235, 248, 0.95) 45%, rgba(35, 165, 212, 0.22) 100%);
}

.service-blob-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-blob-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(18, 45, 52, 0.38);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.service-blob-item:hover .service-blob-overlay {
  opacity: 1;
}

.service-blob-plus-circle {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1;
}

.service-blob-more {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: underline;
}

.service-blob-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  color: var(--brand-blue);
  line-height: 1.2;
}

.services-grid:not(.ua-blob-grid) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  text-align: center;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(66, 204, 161, 0.08);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(66, 204, 161, 0.18);
}

.service-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 20px 18px 24px;
}

.service-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.service-card p {
  font-size: 0.75rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ========== TEAM ========== */
.team {
  position: relative;
  z-index: 41;
  margin-top: calc(-1 * var(--wave-h));
  padding: calc(clamp(64px, 10vw, 96px) + var(--wave-h) + var(--wave-h) * 0.35) 0 calc(clamp(64px, 10vw, 96px) + var(--wave-h) * 0.55);
  background: var(--brand-mint);
  text-align: center;
}

.team-page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.team-lead {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 44px);
  margin-top: 48px;
  text-align: center;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card__visual {
  position: relative;
  width: min(224px, 72vw);
  margin: 0 auto 14px;
  aspect-ratio: 1 / 1;
}

.team-card__decor {
  position: absolute;
  inset: -4% -6% -8% -6%;
  pointer-events: none;
  z-index: 0;
}

.team-card__hint {
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(13px, 2.5vw, 16px);
  color: rgba(255, 255, 255, 0.55);
}

.team-card__hint:first-of-type {
  top: 8%;
  right: 4%;
}

.team-card__hint--2 {
  bottom: 18%;
  left: 2%;
  top: auto;
  right: auto;
}

.team-card__hint--3 {
  top: 22%;
  left: -2%;
}

.team-card__ring {
  position: absolute;
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  bottom: 6%;
  right: -2%;
}

.team-card__ring--sm {
  width: 28px;
  height: 28px;
  border-width: 2px;
  top: 12%;
  right: 14%;
  bottom: auto;
}

.team-card__dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  bottom: 10%;
  left: 8%;
}

.team-blob {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.42),
    0 14px 32px rgba(0, 35, 45, 0.22);
}

.team-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.team-social__btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 60, 80, 0.88);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.team-social__btn:hover {
  background: rgba(13, 50, 70, 0.95);
  transform: translateY(-2px);
}

.team-card__name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.team-card__bio {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.93);
  max-width: 32ch;
  margin: 0 auto;
}

/* ========== VALUE / PRICING ========== */
.value-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #e8faf7 0%, #d0f5ed 30%, #b0eee0 100%);
}

.value-header {
  text-align: left;
  margin-bottom: 50px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.pricing-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card-featured {
  background: var(--teal);
  color: var(--white);
}

.pricing-image {
  height: 140px;
  background: linear-gradient(135deg, #e8f8f5, #d0f0ea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.pricing-card-featured .pricing-image {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
}

.pricing-body {
  padding: 25px;
}

.pricing-price {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 5px;
}

.pricing-card-featured .pricing-price {
  color: var(--white);
}

.pricing-name {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.pricing-desc {
  font-size: 0.7rem;
  line-height: 1.6;
  opacity: 0.75;
}

/* ========== DENTAL OFFICE / MAP ========== */
.office-section {
  padding: 80px 0;
  background: var(--off-white);
  text-align: center;
}

.office-globe {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #e8ecef, #d0d5d8);
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.office-globe-pin {
  width: 40px;
  height: 40px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.office-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.office-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 15px;
}

.office-text {
  font-size: 0.85rem;
  color: var(--text);
  max-width: 500px;
  margin: 0 auto 25px;
  line-height: 1.7;
}

.btn-outline-teal {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--teal);
  color: var(--teal);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  border-radius: 4px;
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
}

/* ========== BOTTOM VALUE ========== */
.bottom-value {
  padding: 80px 0;
  background: linear-gradient(180deg, #d0f5ed 0%, #b0eee0 100%);
}

/* ========== GALLERY ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.gallery-item {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.gallery-item-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item-bg {
  transform: scale(1.1);
}

.gallery-1 .gallery-item-bg {
  background: linear-gradient(135deg, #e8f5f0, #d0ede5);
}

.gallery-2 .gallery-item-bg {
  background: linear-gradient(135deg, #d0e8f0, #b8dde8);
}

.gallery-3 .gallery-item-bg {
  background: linear-gradient(135deg, #e0f0e8, #c8e8d8);
}

.gallery-4 .gallery-item-bg {
  background: linear-gradient(135deg, #d8eef5, #c0e5ee);
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
  color: white;
}

.gallery-item-overlay h4 {
  font-size: 0.8rem;
  font-weight: 700;
}

.gallery-item-overlay p {
  font-size: 0.65rem;
  opacity: 0.8;
}

/* ========== MAP + CONTACT CARD ========== */
.map-contact {
  position: relative;
  z-index: 40;
  padding: 0;
  margin-top: calc(-1 * var(--wave-h));
  background: #e8faf5;
  overflow-x: clip;
}

.map-contact-shell {
  position: relative;
  z-index: 1;
  overflow: visible;
  /* карта через top: var(--wave-h), без clip-path (він робив із мапи вузьку смугу) */
  min-height: clamp(580px, 72vh, 840px);
}

.map-contact-map {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* карта нижче смуги нахлесту team + margin-top секції (--wave-h) */
  top: var(--wave-h);
  z-index: 2;
  overflow: hidden;
}

.map-contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.45) saturate(0.75) contrast(1.03);
}

.map-contact-card-wrap {
  position: relative;
  /* вище за нижню хвилю ::after та за шар iframe */
  z-index: 16;
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) 24px;
  min-height: clamp(580px, 72vh, 840px);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.map-contact-card-wrap .map-contact-card {
  pointer-events: auto;
}

.map-contact-card {
  max-width: 400px;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  padding: 36px 36px 34px;
  box-shadow: 0 16px 48px rgba(10, 45, 55, 0.18);
}

.map-contact-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 22px;
  color: var(--dark);
  line-height: 1.15;
}

.map-contact-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.map-contact-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #3d5160;
}

.map-contact-list a {
  color: var(--blue);
  text-decoration: none;
}

.map-contact-list a:hover {
  text-decoration: underline;
}

.map-contact-icon {
  flex-shrink: 0;
  color: var(--brand-mint);
  margin-top: 3px;
  display: grid;
  place-items: center;
}

.map-contact-hours {
  font-size: 0.8rem;
  color: #697b87;
  margin: 0 0 22px;
  line-height: 1.55;
}

.map-contact-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin-top: 6px;
  padding: 14px 28px !important;
  background: var(--brand-mint) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.map-contact-directions:hover {
  filter: brightness(1.06);
}

.map-contact-directions:active {
  transform: scale(0.99);
}

@media (max-width: 900px) {
  .map-contact-shell {
    min-height: 0;
    padding-top: var(--wave-h);
  }

  .map-contact-map {
    position: relative;
    top: 0;
    height: min(400px, 62vw);
    min-height: 340px;
  }

  .map-contact-map iframe {
    filter: grayscale(0.35) saturate(0.85);
    min-height: 340px;
  }

  .map-contact-card-wrap {
    min-height: 0;
    padding: 24px 16px 44px;
    align-items: stretch;
  }

  .map-contact-card {
    max-width: none;
  }
}

/* ========== PHONE CTA ========== */
.phone-cta {
  background: var(--gradient-teal);
  text-align: center;
  padding: 50px 20px;
}

.phone-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 3px;
  transition: opacity 0.3s;
}

.phone-number:hover {
  opacity: 0.8;
}

/* ========== FOOTER ========== */
.footer {
  background: #1a2a3a;
  color: rgba(255, 255, 255, 0.6);
  padding: 30px 0;
  text-align: center;
  font-size: 0.75rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--white);
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.25s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  max-width: calc(100% - 180px);
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s;
  line-height: 0;
}

.nav-logo__img {
  display: block;
  width: auto;
  object-fit: contain;
}

.nav-logo__img--hero {
  height: clamp(36px, 5vw, 48px);
  max-width: min(260px, calc(100vw - 220px));
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.nav-logo__img--scrolled {
  display: none;
  height: clamp(30px, 4vw, 38px);
  max-width: min(210px, calc(100vw - 220px));
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.08));
}

.nav.scrolled .nav-logo__img--hero {
  display: none;
}

.nav.scrolled .nav-logo__img--scrolled {
  display: block;
}

.nav-logo:hover {
  opacity: 0.95;
}

.nav-drawer__logo-img {
  display: block;
  height: clamp(42px, 10vw, 52px);
  width: auto;
  max-width: min(260px, 88vw);
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav.scrolled .nav-links a {
  color: var(--dark);
}

.nav-links a:hover {
  color: var(--white);
}

.nav.scrolled .nav-links a:hover {
  color: var(--teal);
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-lang-btn {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  padding: 0;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.nav-lang-btn:hover {
  background: rgba(255, 255, 255, 0.42);
}

.nav-lang-btn:active {
  transform: scale(0.95);
}

.nav-lang-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 2px;
}

.nav-lang-btn:not(.is-active) {
  opacity: 0.82;
}

.nav.scrolled .nav-lang-btn {
  background: rgba(66, 204, 161, 0.18);
}

.nav.scrolled .nav-lang-btn:hover {
  background: rgba(66, 204, 161, 0.3);
}

.nav.scrolled .nav-lang-btn:focus-visible {
  outline-color: var(--brand-mint);
}

.nav-lang-flag {
  width: 100%;
  height: 100%;
  display: block;
  flex-shrink: 0;
}

.nav-lang-btn.is-active {
  opacity: 1;
  box-shadow: 0 0 0 1.5px var(--brand-mint);
}

.nav.scrolled .nav-lang-btn.is-active {
  box-shadow: 0 0 0 1.5px var(--brand-mint);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.nav-burger:hover {
  background: rgba(255, 255, 255, 0.32);
}

.nav.scrolled .nav-burger {
  background: rgba(66, 204, 161, 0.2);
}

.nav.scrolled .nav-burger:hover {
  background: rgba(66, 204, 161, 0.32);
}

.nav-burger-lines {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  box-shadow: 0 -7px 0 var(--white), 0 7px 0 var(--white);
}

.nav.scrolled .nav-burger-lines {
  background: var(--dark);
  box-shadow: 0 -7px 0 var(--dark), 0 7px 0 var(--dark);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s;
}

.nav-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 35, 45, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-drawer.is-open .nav-drawer__backdrop {
  opacity: 1;
}

.nav-drawer__panel {
  position: relative;
  width: min(400px, 92vw);
  max-height: 100%;
  overflow: auto;
  background: #faf8f4;
  padding: 20px 22px 32px;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}

.nav-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.nav-drawer__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.nav-drawer__close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #c43c3c;
  cursor: pointer;
  border-radius: 8px;
}

.nav-drawer__close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.nav-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.nav-drawer__link {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  text-align: center;
}

.nav-drawer__link:hover {
  color: var(--brand-mint);
}

.nav-drawer__cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 20px;
  border: none;
  border-radius: 999px;
  background: var(--brand-mint);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 28px;
  text-transform: none;
  letter-spacing: 0.04em;
}

.nav-drawer__cta:hover {
  filter: brightness(1.05);
}

.nav-drawer__contacts {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.55;
  margin-bottom: 24px;
  padding: 0 8px;
}

.nav-drawer__contacts-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
  text-align: center;
}

.nav-drawer__row {
  margin: 0 0 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.nav-drawer__ico {
  flex-shrink: 0;
  opacity: 0.65;
}

.nav-drawer__contacts a {
  color: var(--brand-blue);
  text-decoration: none;
}

.nav-drawer__contacts a:hover {
  text-decoration: underline;
}

.nav-drawer__lang-label {
  text-align: center;
  font-size: 0.72rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.nav-lang--drawer {
  justify-content: center;
  margin-bottom: 28px;
}

.nav-lang--drawer .nav-lang-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  background: rgba(66, 204, 161, 0.2);
}

.nav-drawer__social {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.nav-drawer__soc-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nav-drawer__soc-btn:hover {
  transform: scale(1.06);
  filter: brightness(1.08);
}

body.nav-drawer-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: inline-flex;
  }

  .nav-inner {
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .nav-lang {
    flex-shrink: 0;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  .hero-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-content {
    max-width: 100%;
    padding: 24px 0 8px;
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle,
  .hero-title {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    justify-content: center;
    min-height: 320px;
    align-items: flex-end;
  }

  .hero-couple {
    margin: 0 auto;
    max-width: min(560px, 92vw);
    margin-right: auto !important;
  }

  .hero-deco-layer {
    inset: -2% -4% -4% -4%;
  }

  .services-grid.ua-blob-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid:not(.ua-blob-grid) {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.8rem;
  }

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

  .services-grid.ua-blob-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-number {
    font-size: 2rem;
  }

  .nav-lang-btn {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .team-cards {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}