/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'TildaSans', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: #1f1f1f;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   CONTAINER
============================================================ */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   SECTION LABELS & TITLES
============================================================ */
.section-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  font-weight: 500;
  margin-bottom: 16px;
}
.section-label--light { color: rgba(255,255,255,0.55); }

.section-title {
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  color: #1f1f1f;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-family: 'Georgia',serif;
}
.section-title--light { color: #fff; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  transition:
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out,
    border-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out,
    opacity 0.2s ease-in-out,
    transform 0.2s ease-in-out,
    gap 0.2s ease-in-out;
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--dark {
  background: #1c3850;
  color: #fff;
  border-color: #1c3850;
}
.btn--dark:hover { background: #000; border-color: #000; }
.btn--purple {
  background: #a771fe;
  color: #fff;
  border-color: #a771fe;
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 14px;
}
.btn--purple:hover { background: #8054c7; border-color: #8054c7; }

/* ============================================================
   HEADER
============================================================ */
.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1360px;
  z-index: 1000;
  height: 72px;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}
.header.is-visible { opacity: 1; }

/* Transparent hero state */
.header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 64px 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled pill state — only height changes on the header itself */
.header.scrolled {
  height: 56px;
}
.header.scrolled .header__inner {
  height: 56px;
  background: #081352bd;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 0 24px 0 20px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header__logo-icon {
  width: 86px; height: 86px;
  object-fit: contain;
  /* filter: brightness(10); white on dark hero */
  transition: filter 0.4s;
  top: 12px;
  position: relative;
}
.header.scrolled .header__logo-icon { width: 64px; height: 64px; top: 0; }
.header__logo-text {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  transition: color 0.4s;
  display: none; /* shown when scrolled */
}
.header.scrolled .header__logo-text {
  display: block;
  color: #d5d5d5;
}

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.header__nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 6px 36px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.header__nav-link:hover { color: #fff; background: rgba(255,255,255,0.12); }
.header__nav-link--active { color: #fff !important; background: rgba(255,255,255,0.12); }
.header.scrolled .header__nav-link { color: #d5d5d5; }
.header.scrolled .header__nav-link:hover { background: rgba(0,0,0,0.08); }
.header.scrolled .header__nav-link--active { color: #fff !important; background: rgba(255,255,255,0.15); }

/* Active nav link */
.header__nav-link--active {
  color: #fff !important;
  position: relative;
}
/* .header__nav-link--active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: 0.7;
} */

/* Right side */
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}
.header__max { display: flex; align-items: center; opacity: 0.9; transition: opacity 0.2s; }
.header__max:hover { opacity: 1; }
.header__dzen { display: flex; align-items: center; opacity: 0.85; transition: opacity 0.2s; }
.header__dzen:hover { opacity: 1; }
.header__dzen img { border-radius: 8px; }
.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  transition: color 0.4s;
  white-space: nowrap;
}
.header.scrolled .header__phone { color: #d5d5d5; }
.header__phone:hover { color: #fff; }
.header.scrolled .header__phone:hover { color: #ffffff; }
.header__phone-icon { flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-left: auto;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.burger:hover {
  background: rgba(255, 255, 255, 0.22);
}
.header.scrolled .burger {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}
.header.scrolled .burger:hover {
  background: rgba(255, 255, 255, 0.25);
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity  0.35s cubic-bezier(0.4, 0, 0.2, 1),
              width    0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.header.scrolled .burger span { background: #fff; }
/* Middle line is shorter for a layered look */
.burger span:nth-child(2) { width: 14px; }
/* Open → X */
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg);  width: 20px; }
.burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 20px; }

/* ============================================================
   MOBILE MENU
   Placed OUTSIDE <header> in HTML so position:fixed covers the
   full viewport without iOS Safari stacking-context issues.
============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(8, 18, 42, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.mobile-menu__close:hover { background: rgba(255, 255, 255, 0.20); }
.mobile-menu__close span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.mobile-menu__close span:nth-child(1) { transform: rotate(45deg); }
.mobile-menu__close span:nth-child(2) { transform: rotate(-45deg); }
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.mobile-menu__link {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.80);
  padding: 14px 40px;
  border-radius: 16px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.mobile-menu__link:hover,
.mobile-menu__link:active {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
}
.mobile-menu__footer {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
}
.mobile-menu__max {
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.mobile-menu__max:hover { opacity: 1; }
.mobile-menu__dzen {
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.mobile-menu__dzen:hover { opacity: 1; }
.mobile-menu__dzen img { border-radius: 8px; }
.mobile-menu__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.mobile-menu__phone:hover { color: #fff; }

.mobile-menu__link--active {
  color: #a771fe !important;
}

/* ============================================================
   HERO — rounded block (like strategy)
============================================================ */
.hero-wrap {
  padding: 32px 32px 0;
}
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 36px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10,20,50,0.45) 0%,
    rgba(10,20,50,0.35) 50%,
    rgba(10,20,50,0.80) 100%
  );
}
.hero__content {
  position: relative; z-index: 2;
  /* header bottom = top(16px) + height(72px) = 88px; add ~50px breathing room */
  padding-top: 320px;
  padding-bottom: clamp(40px, 5vh, 64px);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hero__title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 1320px;
}

.hero__stats {
  margin-top: auto;
  padding-top: 48px;
}
.hero__stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__stat {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}
.hero__stat-num {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero__stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* ============================================================
   PRACTICES
============================================================ */
.practices { padding: 100px 0 80px; background: #f3f3f3; }
.practices__head { margin-bottom: 48px; }

.practices__wrap { position: relative; }
.practices__watermark {
  position: absolute;
  /* top: 50%; */
  left: 55%;
  transform: translate(-50%, -46%);
  font-size: clamp(60px, 9vw, 130px);
  font-weight: 900;
  color: rgba(0,0,0,0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.practices__brand-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #e8e8ee;
  color: #555;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.practices__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Practice cards */
.pcard {
  background: #e8e8e8;
  border-radius: 20px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  position: relative;
  cursor: pointer;
  border: none;
  text-align: left;
  width: 100%;
  font-family: 'Georgia', serif;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.06);
}
.pcard:hover {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.pcard:active {
  transform: translateY(5px);
  box-shadow: none;
}
.pcard:focus-visible {
  outline: 2px solid #1c3850;
  outline-offset: 3px;
}
.pcard--dark {
  background: #1c3850;
}
.pcard--dark .pcard__title { color: #fff; }
.pcard--dark .pcard__text { color: rgba(255,255,255,0.65); }
.pcard--dark .pcard__btn { background: rgba(255,255,255,0.18); color: #fff; }
.pcard--dark:hover { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
.pcard--dark:active { box-shadow: none; }
.pcard--dark:hover .pcard__btn { background: #fff; color: #1c3850; }
.pcard--accent { background: #f5c4a3; }
.pcard--accent:hover { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); }
.pcard:hover .pcard__btn { background: #1c3850; color: #fff; }
.pcard--accent:hover .pcard__btn { background: #1c3850; color: #fff; }
.pcard__title {
  font-size: 17px;
  font-weight: 700;
  color: #1f1f1f;
  line-height: 1.3;
  flex: 1;
  pointer-events: none;
}
.pcard__text {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  pointer-events: none;
}
.pcard__btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  color: #1f1f1f;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  align-self: flex-end;
  pointer-events: none;
  transition: background 0.18s ease, color 0.18s ease;
}

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section { padding: 80px 0; background: #f3f3f3; }
.cta-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-section__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.08;
  color: #1f1f1f;
  letter-spacing: -0.01em;
}
.cta-section__right {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.cta-section__text { font-size: 16px; color: #555; line-height: 1.7; }

/* ============================================================
   STRATEGY
============================================================ */
.strategy {
  padding: 80px 0 80px;
  background: #162d45;
  border-radius: 36px;
  margin: 0 24px 24px;
}
.strategy__head { margin-bottom: 56px; }
.strategy__head-row {
  display: flex;
  align-items: flex-end;
  gap: 48px;
  flex-wrap: wrap;
}
.strategy__head-row .section-title { margin-bottom: 0; }
.strategy__subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
  line-height: 1.65;
}
.strategy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.strategy-card {
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: background 0.25s;
  font-family: 'Georgia',serif;
}
.strategy-card:hover { background: rgba(255,255,255,0.1); }
.strategy-card__num {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}
.strategy-card__title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.strategy-card__text {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ============================================================
   INDUSTRIES
============================================================ */
.industries { padding: 0 24px 24px; }
.industries__inner {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  min-height: 600px;
}
.industries__bg {
  position: absolute; inset: 0;
}
.industries__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.industries__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.412);
}
.industries__content {
  position: relative; z-index: 2;
  padding-top: 64px;
  padding-bottom: 64px;
}
.industries__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.industries__head .section-title { margin-bottom: 0; }
.industries__intro {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 300px;
  line-height: 1.65;
}

.industries__list { display: flex; flex-direction: column; }
.industry-row {
  display: grid;
  grid-template-columns: 420px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  cursor: default;
  transition: background 0.2s;
}
.industry-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.industry-row__name {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  font-family: 'Georgia',serif;
}
.industry-row__text {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}
.industry-checkmark {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.40);
  display: flex; align-items: center; justify-content: center;
  /* frame is always visible; only the tick colour animates */
  color: rgba(255,255,255,0);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: color 0.45s ease, text-shadow 0.45s ease;
}
.industry-checkmark.is-visible {
  color: rgba(255,255,255,1);
  text-shadow: 0 0 8px rgba(255,255,255,0.4);
}

/* ============================================================
   SERVICES
============================================================ */
.services { padding: 100px 0; background: #f3f3f3; }

/* Row 1 — tag label */
.services__tag-row { margin-bottom: 16px; }
.services__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  background: #e0e0e0;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 0;
  letter-spacing: 0.05em;
}

/* Row 2 — h2 (left) + desc (right) */
.services__head {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* The title moves via JS translateY + opacity.
   transition: none !important prevents ANY CSS transition from
   fighting the rAF updates (was the root cause of all jitter).    */
.services__sticky-title {
  flex: 1;
  transition: none !important;
}

.services__desc {
  font-size: 15px;
  color: #666;
  line-height: 1.65;
  max-width: 380px;
  flex-shrink: 0;
  align-self: flex-start;
  padding-bottom: 24px;
}

/* Bento grid — 3 cols, staggered:
   row 1: [card] [card] [empty]
   row 2: [empty] [card] [card]            */
.services__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.services__bento .scard:nth-child(1) { grid-column: 1; grid-row: 1; }
.services__bento .scard:nth-child(2) { grid-column: 2; grid-row: 1; }
.services__bento .scard:nth-child(3) { grid-column: 2; grid-row: 2; }
.services__bento .scard:nth-child(4) { grid-column: 3; grid-row: 2; }
.scard {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 450px;
  cursor: pointer;
  border: none;
  text-align: left;
  width: 100%;
  font-family: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.06);
}
.scard:hover {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.scard:active {
  transform: translateY(5px);
  box-shadow: none;
}
.scard:focus-visible {
  outline: 2px solid #1c3850;
  outline-offset: 3px;
}
.scard--tall { grid-row: auto; }
.scard--dark { background: #1c3850; }
.scard--photo { background: #000000; }
.scard__bg {
  position: absolute; inset: 0;
}
.scard__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.scard--tall .scard__bg img {
  object-position: center bottom;
}
.scard--photo .scard__bg img { opacity: 0.6; }
.scard--tall .scard__bg { top: 40%; }
.scard--tall .scard__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28,56,80,1) 0%, rgba(28,56,80,0) 100%);
  z-index: 1;
}
.scard__body {
  position: relative; z-index: 2;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.scard--tall .scard__body { padding-top: 36px; flex: 1; justify-content: flex-start; }
.scard__title {
  font-family: 'Georgia',serif;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.scard__text {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  flex: 1;
}
.scard__btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  align-self: flex-end;
  margin-top: auto;
  pointer-events: none;
  transition: background 0.18s ease;
}
.scard:hover .scard__btn { background: rgba(255,255,255,0.35); }

/* ============================================================
   REVIEWS
============================================================ */
.reviews { padding: 100px 0; background: #f3f3f3; }
.reviews__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.reviews__head-left { display: flex; flex-direction: column; gap: 8px; }
.reviews__rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: #1c3850;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  border-radius: 12px;
}
.reviews__head-left .section-title { margin-bottom: 0; }
.reviews__all-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #888;
  transition: color 0.2s;
  align-self: flex-end;
  padding-bottom: 8px;
  flex-shrink: 0;
}
.reviews__all-link:hover { color: #1c3850; }
.reviews__all-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1c3850;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.2s;
}
.reviews__all-link:hover .reviews__all-btn { background: #000; }

.reviews__slider { overflow: hidden; }
.reviews__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.review-card {
  min-width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.review-card__avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(1);
}
.review-card__avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e0d4;
  color: #5a4a3a;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  filter: none;
}
.review-card__name {
  font-size: 17px;
  font-weight: 700;
  color: #1f1f1f;
}
.review-card__text {
  font-size: 16px;
  color: #333;
  line-height: 1.75;
}

.reviews__controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  justify-content: flex-start;
}
.reviews__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid #1c3850;
  background: transparent;
  color: #1c3850;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.reviews__arrow:hover { background: #1c3850; color: #fff; }
.reviews__dots { display: flex; gap: 8px; }
.reviews__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  border: none; cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.reviews__dot.active { background: #1c3850; transform: scale(1.3); }

/* ============================================================
   CONTACTS
============================================================ */
.contacts { padding-bottom: 0; }
.contacts__map { width: 100%; }
.contacts__map iframe { display: block; width: 100%; height: 480px; border: none; }
.contacts__info {
  padding-top: 56px;
  padding-bottom: 56px;
}
.contacts__info-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.contacts__left { display: flex; flex-direction: column; gap: 12px; }
.contacts__phone {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: #1f1f1f;
  line-height: 1;
  transition: color 0.2s;
  display: block;
}
.contacts__phone:hover { color: #1c3850; }
.contacts__email {
  font-size: 15px;
  color: #999;
  transition: color 0.2s;
}
.contacts__email:hover { color: #1c3850; }
.contacts__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  align-items: flex-start;
}
.contacts__addresses {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contacts__address-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contacts__address-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
}
.contacts__address {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1f1f1f;
}
.contacts__privacy {
  font-size: 13px;
  color: #aaa;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.contacts__privacy:hover { color: #1c3850; }

/* ============================================================
   FLOATING BUTTON
============================================================ */
.floating-btn {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 900;
  background: #1c3850;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(28,56,80,0.4);
  transition: background 0.2s, opacity 0.3s, transform 0.3s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  text-decoration: none;
}
.floating-btn.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.floating-btn:hover { background: #000; }

/* ============================================================
   POPUPS
============================================================ */
.popup-overlay {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(31,31,31,0.40);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.popup-overlay.is-open { opacity: 1; pointer-events: auto; }

.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #1c3850;
  color: #fff;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  z-index: 10;
}
.popup-close:hover { background: #000; }
.popup-close--purple { background: #a771fe; }
.popup-close--purple:hover { background: #8054c7; }

/* Form popup */
.popup-form {
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px 36px;
  max-width: 460px;
  width: 100%;
  position: relative;
  transform: scale(0.94);
  transition: transform 0.3s;
}
.popup-overlay.is-open .popup-form { transform: scale(1); }
.popup-form__title { font-size: 24px; font-weight: 800; margin-bottom: 8px; text-transform: uppercase; }
.popup-form__sub { font-size: 14px; color: #777; margin-bottom: 28px; }

.form { display: flex; flex-direction: column; gap: 12px; }
.form__input {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
  background: #fafafa;
  color: #1f1f1f;
}
.form__input:focus { border-color: #1c3850; background: #fff; }
.form__input::placeholder { color: #bbb; }
.form__textarea {
  resize: vertical;
  min-height: 88px;
  max-height: 200px;
  line-height: 1.5;
}
.form__input--error { border-color: #e53935 !important; }
.form__field-error { font-size: 12px; color: #e53935; margin-top: -8px; margin-bottom: 4px; display: none; }
.form__field-error.is-visible { display: block; }
.form__captcha { margin-top: 4px; }
.form__captcha-error { font-size: 12px; color: #e53935; margin-top: -4px; }
.form__submit { margin-top: 8px; }
.form__consent { font-size: 12px; color: #bbb; line-height: 1.5; margin-top: 12px; text-align: center; }
.form__consent a { color: #bbb; text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s; }
.form__consent a:hover { color: #1c3850; }
.form__success {
  background: #f3f3f3; border-radius: 12px;
  padding: 20px; text-align: center;
  font-size: 15px; font-weight: 600; color: #1c3850; margin-top: 16px;
}

/* Services popup */
.popup-usligi {
  background: #f3f3f3;
  border-radius: 20px;
  max-width: 680px; width: 100%;
  position: relative;
  overflow: hidden;
  transform: scale(0.94);
  transition: transform 0.3s;
}
.popup-overlay.is-open .popup-usligi { transform: scale(1); }

.t-slds { position: relative; overflow: hidden; }
.t-slds__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.t-slds__slide { min-width: 100%; display: flex; flex-direction: column; }
.t-slds__slide img { width: 100%; height: 260px; object-fit: cover; }
.t-slds__content { padding: 28px 32px 36px; }
.t-slds__content h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; text-transform: uppercase; }
.t-slds__content p { font-size: 15px; color: #555; line-height: 1.7; margin-bottom: 24px; }
.t-slds__arrow {
  position: absolute; top: 130px;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5; color: #1c3850;
  transition: background 0.2s;
}
.t-slds__arrow:hover { background: #1c3850; color: #fff; }
.t-slds__arrow--prev { left: 12px; }
.t-slds__arrow--next { right: 12px; }

/* Practices popup */
.popup-overlay--practices {
  background: rgba(11, 23, 51, 0.62);
  padding: 16px;
}
.popup-practices-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1664px;
  margin: 0 auto;
}
.popup-practices {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 1534px;
  max-height: calc(100vh - 32px);
  min-height: min(720px, calc(100vh - 32px));
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.96);
  transition: transform 0.3s;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}
.popup-overlay.is-open .popup-practices { transform: scale(1); }
.practice-nav__arrow {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1c3850;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, color 0.2s;
}
.practice-nav__arrow:hover {
  background: #1c3850;
  color: #fff;
}
.popup-practices .popup-close { top: 20px; right: 20px; z-index: 5; }

.practice-slds {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.practice-slds__track {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  align-items: stretch;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.practice-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.practice-slide__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, 1.2fr) minmax(260px, 1fr);
  gap: 28px 40px;
  padding: 56px 56px 32px;
  align-items: stretch;
}
.practice-slide__main {
  grid-column: 1;
  align-self: start;
  min-width: 0;
  overflow: visible;
}
.practice-slide__visual {
  grid-column: 2;
  align-self: stretch;
  min-height: 320px;
  /* border-radius: 16px; */
  overflow: hidden;
  background: #0d1b2c;
  position: relative;
}
.practice-slide__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.practice-slide__services {
  grid-column: 3;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.practice-slide__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a96a8;
  font-weight: 600;
  margin-bottom: 16px;
}
.practice-slide__label-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(28,56,80,0.15);
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c3850;
}
.practice-slide__label-icon svg {
  width: 20px;
  height: 20px;
}
.practice-slide__title {
  font-family: Georgia, serif;
  font-size: clamp(22px, 2.4vw, 38px);
  font-weight: 800;
  color: #1c3850;
  line-height: 1.15;
  margin-bottom: 14px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.practice-slide__line {
  display: block;
  width: 48px;
  height: 4px;
  background: #1c3850;
  border-radius: 2px;
  margin-bottom: 18px;
}
.practice-slide__desc {
  font-size: 15px;
  line-height: 1.65;
  color: #5a6578;
  margin-bottom: 28px;
  max-width: 360px;
}
.practice-cta {
  padding: 14px 22px 14px 28px;
  justify-content: space-between;
  min-width: 240px;
  border-radius: 40px;
}
.practice-cta__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #1c3850;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.practice-slide__services {
  list-style: none;
  border-top: 1px solid #e8ecf0;
}
.practice-slide__services li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e8ecf0;
  font-size: 14px;
  font-weight: 500;
  color: #1c3850;
  line-height: 1.4;
}
.practice-slide__service-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa5b5;
}
.practice-slide__service-icon svg {
  width: 22px;
  height: 22px;
}
.practice-slide__service-text {
  flex: 1;
  min-width: 0;
}
.practice-slide__stats {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  min-height: 104px;
  background: #eef1f5;
  border-top: 1px solid #e4e8ed;
}
.practice-slide__stats-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 36%;
  width: 36%;
  max-width: 420px;
  min-width: 0;
  padding: 18px 24px 18px 28px;
  box-sizing: border-box;
  position: relative;
}
.practice-slide__stats-intro::after {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 14px;
  right: 0;
  width: 1px;
  background: #d0d7e0;
}
.practice-slide__stats-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c3850;
}
.practice-slide__stats-icon svg {
  width: 26px;
  height: 26px;
}
.practice-slide__stats-copy {
  min-width: 0;
}
.practice-slide__stats-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1c3850;
  line-height: 1.35;
  margin-bottom: 4px;
}
.practice-slide__stats-copy p {
  font-size: 11px;
  line-height: 1.45;
  color: #7a8799;
  margin: 0;
}
.practice-slide__stats-metrics {
  display: flex;
  flex: 1 1 0;
  align-items: stretch;
  min-width: 0;
}
.practice-slide__stat {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 10px;
  text-align: center;
}
.practice-slide__stat + .practice-slide__stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: #d0d7e0;
}
.practice-slide__stat strong {
  font-size: 20px;
  font-weight: 800;
  color: #1c3850;
  line-height: 1.15;
}
.practice-slide__stat span {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  color: #8a96a8;
  max-width: 11em;
}
/* M&A slide — two-section layout */
.practice-slide--ma .practice-slide__body {
  flex: 0 0 auto;
  overflow-y: visible;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 1.3fr);
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid #e8ecf0;
}
.practice-slide--ma .practice-slide__visual {
  grid-column: 2;
}

/* M&A bottom section */
.practice-slide__ma-bottom {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 0.9fr);
  padding: 24px 56px 32px;
  gap: 0;
  overflow-y: auto;
}
.practice-slide__ma-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  padding-right: 40px;
  border-right: 1px solid #e8ecf0;
  align-content: start;
}
.practice-ma-card-v2 {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.practice-ma-card-v2__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #eef1f5;
  display: flex; align-items: center; justify-content: center;
  color: #1c3850;
}
.practice-ma-card-v2__icon svg { width: 18px; height: 18px; }
.practice-ma-card-v2__title {
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  color: #1c3850;
  line-height: 1.3;
  margin-bottom: 5px;
}
.practice-ma-card-v2__text {
  font-size: 12px;
  color: #6b7789;
  line-height: 1.55;
}
.practice-ma-card-v2__line {
  display: block;
  width: 28px; height: 2px;
  background: #b5965a;
  border-radius: 2px;
  margin-bottom: 8px;
}

/* M&A right services panel */
.practice-slide__ma-services {
  padding-left: 36px;
  display: flex;
  flex-direction: column;
}
.practice-slide__ma-services-title {
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: #1c3850;
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 2px solid #1c3850;
}
.practice-slide__ma-list-v2 {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.practice-slide__ma-list-v2 li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #e8ecf0;
  font-size: 13px;
  font-weight: 500;
  color: #1c3850;
  line-height: 1.4;
}
.practice-slide__ma-list-v2 .ma-num {
  font-size: 11px;
  font-weight: 700;
  color: #c0c8d4;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  min-width: 20px;
}
.practice-slide__ma-list-v2 .ma-name {
  flex: 1;
}
.practice-slide__ma-list-v2 .ma-arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: #c0c8d4;
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 900px) {
  .practice-slide__ma-bottom {
    grid-template-columns: 1fr;
    padding: 20px 24px 24px;
  }
  .practice-slide__ma-cards {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #e8ecf0;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .practice-slide__ma-services { padding-left: 0; }
  .practice-slide--ma .practice-slide__body {
    grid-template-columns: 1fr;
  }
}
/* ---- ≤1199px: hide practice image, switch to 2-column layout ---- */
@media (max-width: 1199px) {
  .practice-slide__visual { display: none; }
  .practice-slide__body {
    grid-template-columns: minmax(260px, 1fr) minmax(240px, 1fr);
  }
  .practice-slide__services { grid-column: 2; }
  .practice-slide--ma .practice-slide__body {
    grid-template-columns: 1fr;
  }
}

/* ---- TABLET ≤900px ---- */
@media (max-width: 900px) {
  .popup-overlay--practices { padding: 16px; }
  .popup-practices-shell { gap: 8px; }
  .practice-nav__arrow { flex: 0 0 40px; width: 40px; height: 40px; }

  .practice-slide__body {
    grid-template-columns: 1fr;
    padding: 52px 28px 20px;
    gap: 20px;
    align-items: start;
  }
  .practice-slide__main,
  .practice-slide__services {
    grid-column: 1;
  }
  .popup-practices {
    min-height: 0;
    max-height: calc(100vh - 24px);
  }
  .practice-slide__main  { order: 1; }
  .practice-slide__services {
    order: 2;
    flex: none;
    grid-column: 1;
  }
  .practice-slide__services li { flex: none; }

  /* Stats — compact 2-column metrics grid */
  .practice-slide__stats {
    flex-direction: column;
    min-height: 0;
  }
  .practice-slide__stats-intro {
    flex: none;
    width: 100%;
    max-width: none;
    padding: 14px 20px;
  }
  .practice-slide__stats-intro::after {
    top: auto; bottom: 0;
    right: 20px; left: 20px;
    width: auto; height: 1px;
  }
  .practice-slide__stats-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    flex: none;
  }
  .practice-slide__stat {
    padding: 14px 16px;
    flex: none;
  }
  .practice-slide__stat + .practice-slide__stat::before {
    top: 10px; bottom: 10px;
    left: 0; right: auto;
    width: 1px; height: auto;
  }
  /* Top border for bottom row of 2-col grid */
  .practice-slide__stat:nth-child(n+3) {
    border-top: 1px solid #d0d7e0;
  }
  .practice-slide__stat:nth-child(2n+1) + .practice-slide__stat::before {
    display: block;
  }
  .practice-slide__stat:nth-child(2n)::before { display: none; }
  .practice-slide__stat span { max-width: none; }
  .practice-cta { min-width: 0; width: 100%; }
}

/* ---- PHONE ≤600px — full-screen, image hidden ---- */
@media (max-width: 600px) {
  /* Full-screen overlay */
  .popup-overlay--practices { padding: 0; align-items: stretch; }
  .popup-practices-shell {
    width: 100%;
    height: 100%;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
  }
  /* Hide side arrows — swipe to navigate */
  .practice-nav__arrow { display: none; }

  .popup-practices {
    border-radius: 0;
    max-height: 100dvh;
    min-height: 100dvh;
    max-width: 100%;
    box-shadow: none;
  }

  .practice-slide__body {
    padding: 48px 20px 16px;
    gap: 14px;
  }

  /* Tighter label */
  .practice-slide__label { margin-bottom: 10px; }
  .practice-slide__label-icon { width: 36px; height: 36px; }
  .practice-slide__label-icon svg { width: 16px; height: 16px; }

  /* Smaller title */
  .practice-slide__title { font-size: clamp(26px, 7vw, 36px); margin-bottom: 10px; }
  .practice-slide__line  { margin-bottom: 12px; }
  .practice-slide__desc  { font-size: 14px; margin-bottom: 20px; }

  /* Services list tighter */
  .practice-slide__services li { padding: 9px 0; font-size: 13px; }
  .practice-slide__service-icon { width: 24px; height: 24px; }
  .practice-slide__service-icon svg { width: 18px; height: 18px; }

  /* Stats intro compact */
  .practice-slide__stats-intro { padding: 12px 16px; gap: 10px; }
  .practice-slide__stats-icon svg { width: 20px; height: 20px; }
  .practice-slide__stats-copy strong { font-size: 12px; }
  .practice-slide__stats-copy p { display: none; }
  .practice-slide__stat { padding: 12px 12px; }
  .practice-slide__stat strong { font-size: 17px; }
  .practice-slide__stat span { font-size: 10px; }

  /* M&A on phone */
  .practice-slide--ma .practice-slide__body { padding-bottom: 16px; }
  .practice-slide__ma-bottom { padding: 16px 20px 20px; gap: 0; }
  .practice-slide__ma-cards { grid-template-columns: 1fr; gap: 16px; }
  .practice-slide__ma-services-title { font-size: 14px; }
  .practice-slide__ma-list-v2 li { font-size: 12px; padding: 9px 0; }
}

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.t-animate {
  opacity: 0;
  transition: opacity 2s ease, transform 2s ease;
}
.t-animate[data-animate-style="fadeindown"] { transform: translateY(-10px); }
.t-animate[data-animate-style="fadeinup"] { transform: translateY(10px); }
.t-animate.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — 1200px (compact desktop)
   Reduce nav gap so the phone number stays visible
============================================================ */
@media (max-width: 1300px) {
  .header__inner { padding: 64px 24px; }
  .header__nav-link { padding: 6px 8px; font-size: 13px; }
  .header__right { gap: 8px; }
}

/* ============================================================
   RESPONSIVE — 960px (tablet)
============================================================ */
@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .hero-wrap { padding: 12px 12px 0; }
  .hero { border-radius: 24px; min-height: calc(100vh - 24px); }
  /* header bottom = 12+72 = 84px; 84+40 = 124px */
  .hero__content { padding-top: 320px; }
  .header { top: 12px; width: calc(100% - 24px); }
  .header__nav { display: none; } /* mobile-menu handles the overlay */
  .header__right { display: none; }
  .burger { display: flex; }
  .hero__stat { min-width: 130px; }
  .practices__grid { grid-template-columns: repeat(2, 1fr); }
  .practices__watermark { display: none; }
  .cta-section__inner { grid-template-columns: 1fr; gap: 32px; }
  .strategy { margin: 0 16px 16px; border-radius: 24px; }
  .strategy__grid { grid-template-columns: 1fr; gap: 12px; }
  .strategy__head-row { flex-direction: column; gap: 16px; }
  .industries { padding: 0 16px 16px; }
  .industry-row { grid-template-columns: 280px 1fr auto; gap: 16px; }
  .industry-row__name { font-size: 18px; }
  .services__bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .services__bento .scard { grid-column: auto !important; grid-row: auto !important; }
  .scard--tall { min-height: 320px; }
  .contacts__info-inner { grid-template-columns: 1fr; }
  .reviews__head { flex-direction: column; align-items: flex-start; }
  .reviews__all-link { align-self: flex-start; }
}

/* ============================================================
   RESPONSIVE — 640px (mobile)
============================================================ */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero-wrap { padding: 8px 8px 0; }
  .hero { border-radius: 18px; min-height: calc(100vh - 16px); }
  /* header bottom = 8+72 = 80px; 80+30 = 110px */
  .hero__content { padding-top: 320px; }
  .practices { padding: 72px 0 60px; }
  .practices__grid { grid-template-columns: 1fr; }
  .hero__stat { min-width: 120px; padding: 16px 18px; }
  .hero__title { font-size: clamp(28px, 8vw, 48px); }
  .services { padding: 72px 0; }
  .reviews { padding: 72px 0; }
  .review-card { padding: 24px 20px; }
  .contacts__phone { font-size: clamp(28px, 8vw, 48px); }
  .contacts__map iframe { height: 300px; }
  .floating-btn { bottom: 20px; right: 16px; font-size: 14px; padding: 12px 22px; }
  .popup-form { padding: 32px 20px 24px; }
  .strategy { margin: 0 8px 8px; padding: 56px 0; }
  .industries { padding: 0 8px 8px; }
  .industries__inner { border-radius: 20px; }
  .industry-row { grid-template-columns: 1fr auto; gap: 6px; }
  .industry-row__text { display: none; }
  /* .industry-checkmark { display: none; } */
  .services__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .t-slds__content { padding: 20px 20px 28px; }
  .header { top: 8px; width: calc(100% - 16px); }
}

/* ============================================================
   RESPONSIVE — 480px
============================================================ */
@media (max-width: 480px) {
  .hero__stats-row { gap: 8px; }
  .hero__stat { min-width: 100px; padding: 14px 16px; }
  .cta-section { padding: 56px 0; }
}

/* ============================================================
   LANDSCAPE PHONE
============================================================ */
@media (max-width: 480px) and (orientation: landscape) and (max-height: 420px) {
  .hero { height: auto; min-height: 100vh; }
  .review-card { padding: 16px; }
}
