/* =============================================
   НОТАРІУС СЕМЕНЮК — style.css v3
   Palette: #2F4F4F · #EAE7E1 · #6B6B6B
   Fonts: Libre Baskerville + Outfit
   ============================================= */

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

/* ---------- TOKENS ---------- */
:root {
  --primary: #2f4f4f;
  --primary-mid: #3d6363;
  --primary-light: #4e7a7a;

  --secondary: #eae7e1;
  --secondary-dark: #dedad2;
  --secondary-light: #f4f2ee;

  --tertiary: #6b6b6b;
  --tertiary-light: #9a9a9a;

  --text: #2a2a2a;
  --text-mid: #4a4a4a;

  --white: #ffffff;
  --border: rgba(47, 79, 79, 0.1);
  --border-mid: rgba(47, 79, 79, 0.18);

  --font-display: "Libre Baskerville", Georgia, serif;
  --font-body: "Outfit", "Helvetica Neue", sans-serif;

  --radius-sm: 2px;
  --radius: 4px;
  --max: 1160px;
  --gap: 28px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 140ms;
  --t-normal: 250ms;
  --t-slow: 480ms;
  --t-enter: 680ms;
}

/* ---------- BASE ---------- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  background: var(--secondary);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}
address {
  font-style: normal;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
details summary {
  cursor: pointer;
  list-style: none;
}
details summary::-webkit-details-marker {
  display: none;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section {
  padding: 70px 0;
}

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tertiary);
  margin-bottom: 4px;
}

.section-head {
  max-width: 560px;
  margin-bottom: 56px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.22;
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
}

.section-desc {
  font-size: 15px;
  color: var(--tertiary);
  line-height: 1.78;
  max-width: 460px;
  font-weight: 300;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-transform: uppercase;
  transition:
    background var(--t-normal) var(--ease-in-out),
    color var(--t-normal) var(--ease-in-out),
    border-color var(--t-normal) var(--ease-in-out),
    transform var(--t-fast);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-mid);
  border-color: var(--primary-mid);
}

.btn--outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-mid);
  width: 100%;
  justify-content: center;
}
.btn--outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn--lg {
  padding: 15px 32px;
  font-size: 15px;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 20px 0;
  transition:
    background var(--t-normal) var(--ease-in-out),
    padding var(--t-normal) var(--ease-in-out),
    box-shadow var(--t-normal);
}

.header.scrolled {
  background: var(--primary);
  padding: 12px 0;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.14);
}

.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__seal {
  width: 40px;
  height: 40px;
  color: var(--white);
  flex-shrink: 0;
}

.logo__seal svg {
  width: 100%;
  height: 100%;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
.logo__name em {
  font-style: italic;
  font-weight: 400;
}

.logo__sub {
  font-size: 10.5px;
  font-weight: 300;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.65);
}

/* NAV */
.nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__link {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.07em;
  color: var(--white);
  transition: color var(--t-fast);
  position: relative;
  text-transform: uppercase;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  transition: width var(--t-normal) var(--ease-out);
}

.nav__link:hover {
  color: var(--white);
}
.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  color: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  transition:
    background var(--t-normal),
    color var(--t-normal),
    border-color var(--t-normal);
}
.nav__link--cta::after {
  display: none;
}
.nav__link--cta:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
}

.burger__line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform var(--t-normal) var(--ease-out),
    opacity var(--t-normal);
  transform-origin: center;
}

.burger.active .burger__line:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}
.burger.active .burger__line:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 30%;
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(47, 79, 79, 0.94) 0%,
    rgba(47, 79, 79, 0.72) 52%,
    rgba(47, 79, 79, 0.28) 100%
  );
}

.hero__body {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px var(--gap) 80px;
}

.hero__col {
  max-width: 620px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.hero__eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.hero__title {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.hero__lead {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  max-width: 450px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero__trust {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
}

.trust-pill svg {
  width: 11px;
  height: 11px;
  opacity: 0.55;
}

.scroll-line {
  width: 26px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  display: block;
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.45);
  animation: scrollSlide 2.2s ease-in-out infinite;
}

@keyframes scrollSlide {
  0% {
    left: -100%;
  }
  50% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}

/* Hero stagger */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp var(--t-enter) var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 110ms + 180ms);
}

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

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
  display: flex;
  align-items: stretch;
}

.stat {
  flex: 1;
  padding: 26px 20px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.2;
}

.stat span {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.stat-sep {
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
  align-self: stretch;
  flex-shrink: 0;
}
/* =============================================
   SERVICES / ALT REDESIGN
   no image / no rounded corners
   editorial + premium grid style
   ============================================= */

.services {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--secondary) 100%);
  overflow: hidden;
}

/* =============================================
   GRID
   ============================================= */

.services__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-top: 1px solid rgba(47, 79, 79, 0.12);
  border-left: 1px solid rgba(47, 79, 79, 0.12);
  margin-top: 56px;
}

/* first row wide cards */
.services__grid .svc-card:nth-child(1),
.services__grid .svc-card:nth-child(2) {
  grid-column: span 6;
}

/* second row */
.services__grid .svc-card:nth-child(3),
.services__grid .svc-card:nth-child(4),
.services__grid .svc-card:nth-child(5),
.services__grid .svc-card:nth-child(6) {
  grid-column: span 3;
}

/* =============================================
   CARD
   ============================================= */

.svc-card {
  position: relative;
  min-height: 300px;
  padding: 34px 30px 30px;
  background: transparent;
  border-right: 1px solid rgba(47, 79, 79, 0.12);
  border-bottom: 1px solid rgba(47, 79, 79, 0.12);
  transition:
    background 0.35s ease,
    transform 0.35s ease;
}

.svc-card:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-4px);
}

/* strong top line animation */
.svc-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.45s ease;
}

.svc-card:hover::before {
  width: 100%;
}

/* =============================================
   ICON
   ============================================= */

.svc-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(47, 79, 79, 0.12);
  padding-bottom: 10px;
}

.svc-card__icon svg {
  width: 26px;
  height: 26px;
}

.svc-card--popular {
  position: relative;
}

.svc-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  border-radius: 30px;
  background: var(--primary);
  color: #fff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

.svc-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--primary);
  max-width: 240px;
}

.svc-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  font-weight: 300;
  color: var(--tertiary);
  max-width: 95%;
}

/* =============================================
   FEATURED FIRST CARD
   ============================================= */

.services__grid .svc-card:nth-child(1) {
  background: linear-gradient(
    135deg,
    rgba(47, 79, 79, 0.95) 0%,
    rgba(47, 79, 79, 0.82) 100%
  );
}

.services__grid .svc-card:nth-child(1) h3,
.services__grid .svc-card:nth-child(1) p,
.services__grid .svc-card:nth-child(1) .svc-card__icon {
  color: var(--white);
}

.services__grid .svc-card:nth-child(1) .svc-card__icon {
  border-color: rgba(255, 255, 255, 0.18);
}

.services__grid .svc-card:nth-child(1) .svc-card__num {
  color: rgba(255, 255, 255, 0.08);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid .svc-card {
    grid-column: span 1 !important;
  }

  .svc-card {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .svc-card {
    grid-column: span 1 !important;
    min-height: auto;
    padding: 28px 22px 24px;
  }

  .svc-card__num {
    font-size: 3rem;
  }

  .svc-card h3 {
    max-width: 100%;
  }

  .svc-card p {
    max-width: 100%;
  }
}
/* =============================================
   SERVICES
   ============================================= */
/* .services {
  background: var(--secondary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border-mid);
  gap: 1px;
}

.svc-card {
  background: var(--secondary);
  padding: 38px 30px;
  position: relative;
  transition: background var(--t-normal) var(--ease-in-out);
}

.svc-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--t-slow) var(--ease-out);
}

.svc-card:hover {
  background: var(--white);
}
.svc-card:hover::after {
  width: 100%;
}

.svc-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(47, 79, 79, 0.055);
  position: absolute;
  top: 18px;
  right: 22px;
  line-height: 1;
  user-select: none;
}

.svc-card__icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  margin-bottom: 16px;
  opacity: 0.75;
}

.svc-card__icon svg {
  width: 100%;
  height: 100%;
}

.svc-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.35;
}

.svc-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--tertiary);
  line-height: 1.75;
} */

/* =============================================
   ABOUT
   ============================================= */
.about {
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__photo-wrap {
  position: relative;
  overflow: visible;
}

.about__photo-wrap::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  width: 48%;
  height: 48%;
  border-top: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  opacity: 0.2;
  z-index: 0;
}

.about__photo {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
  border-radius: var(--radius-sm);
  transition: transform 0.6s var(--ease-out);
}

.about__photo:hover {
  transform: scale(1.012);
}

.about__year-tag {
  position: absolute;
  bottom: -18px;
  right: -18px;
  z-index: 2;
  background: var(--primary);
  color: var(--white);
  width: 86px;
  height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  text-align: center;
}

.about__year-label {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
}

.about__year-num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
}

.about__quote-card {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--secondary);
  border-left: 2px solid var(--primary-light);
  opacity: 0.9;
}

.about__quote-card blockquote {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  line-height: 1.62;
  margin-bottom: 8px;
}

.about__quote-card cite {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--tertiary);
  letter-spacing: 0.04em;
}

.about__content {
  padding-top: 8px;
}

.about__content p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.82;
  margin-bottom: 16px;
}

.about__content p strong {
  font-weight: 500;
  color: var(--primary);
}

.about__creds {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.about__creds li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--primary);
}

.about__creds li svg {
  width: 17px;
  height: 17px;
  color: var(--primary-mid);
  flex-shrink: 0;
}

/* =============================================
   TEAM
   ============================================= */
.team {
  background: var(--white);
  padding-top: 0;
  overflow: hidden;
}

/* ── Banner (group photo, full-width, outside container) ── */
.team__banner {
  position: relative;
  width: 100%;
  height: clamp(280px, 38vw, 520px);
  overflow: hidden;
  background: var(--primary);
}

.team__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  filter: grayscale(12%);
}

.team__banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(47, 79, 79, 0.72) 100%
  );
  pointer-events: none;
}

.team__banner-caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  padding: 0 var(--gap);
}

.team__banner-caption p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 6px;
  line-height: 1.3;
}

/* ── Section header ── */
.team__head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px 56px;
  align-items: end;
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--border-mid);
  margin-bottom: 0;
}

.team__head .section-title {
  margin-bottom: 0;
}

.team__head .section-desc {
  padding-bottom: 4px;
}

/* ── Members grid — single row, two cards side by side ── */
.team__members {
  display: flex;
  flex-direction: row;
  border: 1px solid var(--border-mid);
  border-top: none;
}

/* ── Single member card — photo left, info right ── */
.tmember {
  flex: 1;
  border-right: 1px solid var(--border-mid);
  display: flex;
  flex-direction: row;
  position: relative;
  overflow: hidden;
  transition: background var(--t-normal) var(--ease-in-out);
}

.tmember:last-child {
  border-right: none;
}

.tmember:hover {
  background: var(--secondary-light);
}

/* Animated top accent — same pattern as svc-cards */
.tmember::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.45s var(--ease-out);
  z-index: 2;
}

.tmember:hover::before {
  width: 100%;
}

/* Photo — left column, fixed width */
.tmember__photo-wrap {
  overflow: hidden;
  width: 200px;
  flex-shrink: 0;
  background: var(--secondary-dark);
}

.tmember__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s var(--ease-out);
}

.tmember:hover .tmember__photo {
  transform: scale(1.03);
  filter: grayscale(0%);
}

/* Info block — right column */
.tmember__info {
  padding: 28px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  border-left: 1px solid var(--border);
  position: relative;
}

/* Big faded number — editorial detail */
.tmember__num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(47, 79, 79, 0.055);
  user-select: none;
  pointer-events: none;
}

.tmember__role {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tertiary-light);
  margin-bottom: 10px;
}

.tmember__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.28;
  margin-bottom: 14px;
}

.tmember__name em {
  font-style: italic;
  font-weight: 400;
}

.tmember__desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--tertiary);
  line-height: 1.8;
  margin: 0;
}

/* Facts list — for lead card */
.tmember__facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.tmember__facts li {
  font-size: 13px;
  font-weight: 300;
  color: var(--tertiary);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}

.tmember__facts li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 400;
}

/* =============================================
   TEAM RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .team__head {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 52px 0 40px;
  }

  .tmember__photo-wrap {
    width: 160px;
  }
}

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

  .tmember {
    border-right: none;
    border-bottom: 1px solid var(--border-mid);
    flex-direction: column;
  }

  .tmember:last-child {
    border-bottom: none;
  }

  .tmember__photo-wrap {
    width: 100%;
    height: 240px;
  }

  .tmember__info {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 24px 22px 28px;
    justify-content: flex-start;
  }

  .tmember__num {
    top: 12px;
    right: 14px;
    font-size: 2rem;
  }

  .team__banner-caption p {
    font-size: 1rem;
  }
}

/* =============================================
   WHY US
   ============================================= */
.why {
  background: var(--secondary);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border-mid);
}

.why-item {
  background: var(--secondary-light);
  padding: 38px 30px;
  transition: background var(--t-normal);
}

.why-item:hover {
  background: var(--white);
}

.why-item__icon {
  width: 34px;
  height: 34px;
  color: var(--primary);
  margin-bottom: 14px;
  opacity: 0.6;
}

.why-item__icon svg {
  width: 100%;
  height: 100%;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.35;
}

.why-item p {
  font-size: 14px;
  font-weight: 300;
  color: var(--tertiary);
  line-height: 1.75;
}

/* =============================================
   FAQ
   ============================================= */
.faq {
  background: var(--white);
}

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 80px;
  align-items: start;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-item {
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--t-normal);
}

.faq-item[open] {
  border-color: var(--primary);
}

.faq-item summary {
  padding: 17px 20px;
  font-size: 15px;
  font-weight: 400;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--t-fast);
}

.faq-item summary:hover {
  background: var(--primary);
  color: var(--white);
}

.faq-item summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 300;
  color: var(--tertiary);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary {
  background: var(--primary);
  color: var(--white);
}
.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover::after {
  color: var(--white);
}

.faq-item__body {
  padding: 20px;
  animation: faqOpen var(--t-normal) var(--ease-out);
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item__body p {
  font-size: 14px;
  font-weight: 300;
  color: var(--tertiary);
  line-height: 1.78;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--secondary);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: end;
}

.contact__info {
  padding-top: 4px;
}

.contact__info > p {
  font-size: 15px;
  font-weight: 300;
  color: var(--tertiary);
  line-height: 1.78;
  margin-bottom: 32px;
  max-width: 360px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition:
    border-color var(--t-normal),
    background var(--t-normal);
}

.contact-row:hover {
  border-color: var(--primary);
  background: var(--secondary-light);
}

.contact-row__icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.65;
}

.contact-row__icon svg {
  width: 100%;
  height: 100%;
}

.contact-row > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-row strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

.contact-row span,
.contact-row address {
  font-size: 16px;
  font-weight: 300;
  color: var(--tertiary);
}

/* CTA card */
.cta-card {
  background: var(--primary);
  padding: 40px 34px;
  border-radius: var(--radius);
  text-align: center;
  position: sticky;
  top: 84px;
}

.cta-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.28;
}

.cta-card > p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.72;
  margin-bottom: 28px;
}

.cta-card .btn--primary {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  font-weight: 500;
}

.cta-card .btn--primary:hover {
  background: var(--white);
  border-color: var(--white);
}

.cta-card .btn--outline-dark {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  margin-bottom: 22px;
}

.cta-card .btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.cta-card__hours {
  font-size: 11.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.27);
  letter-spacing: 0.05em;
  margin: 0 !important;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--primary);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.4);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Office photo column */
.footer__office-photo-col h4 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__office-photo-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  line-height: 0;
}

.footer__office-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition:
    transform 0.45s var(--ease-out),
    filter 0.45s ease;
  filter: brightness(0.82) saturate(0.7);
}

.footer__office-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(47, 79, 79, 0.52);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  transition: background 0.35s ease;
}

.footer__office-photo-overlay svg {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}

.footer__office-photo-overlay span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0);
  transition: color 0.3s ease;
  line-height: 1;
}

.footer__office-photo-link:hover .footer__office-photo {
  transform: scale(1.04);
  filter: brightness(0.65) saturate(0.5);
}

.footer__office-photo-link:hover .footer__office-photo-overlay {
  background: rgba(47, 79, 79, 0.76);
}

.footer__office-photo-link:hover .footer__office-photo-overlay svg {
  opacity: 1;
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(0);
}

.footer__office-photo-link:hover .footer__office-photo-overlay span {
  color: rgba(255, 255, 255, 0.8);
}

.footer__brand .logo {
  margin-bottom: 14px;
}

.footer__brand p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.72;
  max-width: 270px;
}

.footer__nav h4,
.footer__hours h4 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-transform: uppercase;
}

.footer__nav a {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--t-fast);
}

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

.footer__hours ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

.footer__hours address {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
  font-size: 11.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--t-fast);
}

.footer__bottom a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer__location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.footer__location address {
  margin: 0;
  font-style: normal;
}

.footer__location address a {
  color: inherit;
  text-decoration: none;
}

.footer__location address a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__mini-map {
  flex-shrink: 0;
  width: 96px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.footer__mini-map:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.footer__mini-map svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 767px) {
  .footer__location {
    align-items: flex-start;
  }

  .footer__mini-map {
    width: 78px;
    height: 54px;
  }
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--t-slow) var(--ease-out),
    transform var(--t-slow) var(--ease-out);
}

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform var(--t-slow) var(--ease-out);
    z-index: 250;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .services__grid {
    margin-top: 20px;
  }

  .hero__img {
    object-position: 30% 30%;
  }
  .hero__title {
    font-size: 37px;
  }
  .hero__eyebrow::before {
    width: 4px;
  }
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .about__photo {
    height: 380px;
  }
  .about__year-tag {
    right: 0;
    bottom: -14px;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__office-photo-col {
    grid-column: 1 / -1;
  }
  .footer__office-photo {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 44px 0;
  }

  .hero__img {
    object-position: 36% 30%;
  }

  .hero__body {
    padding: 108px var(--gap) 64px;
  }

  .stats-bar__inner {
    flex-wrap: wrap;
  }
  .stat {
    min-width: 50%;
  }
  .stat-sep {
    display: none;
  }

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

  .contact__inner {
    grid-template-columns: 1fr;
  }
  .cta-card {
    position: static;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__office-photo-col {
    grid-column: 1 / -1;
  }
  .footer__office-photo {
    height: 180px;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

  .hero__cta .btn {
    justify-content: center;
  }

  .hero__trust {
    flex-direction: column;
  }
  .about__photo {
    height: 260px;
  }
  .stats-bar__inner {
    flex-direction: column;
  }
  .stat {
    min-width: 100%;
  }
  .section-title {
    font-size: 1.72rem;
  }
}

.madeby a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.madeby strong {
  position: relative;
  font-size: 14px;
  font-weight: 600;
}

.madeby strong::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.madeby a:hover strong::after {
  transform: scaleX(1);
}

.madeby a:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.madeby a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: breathe 3.2s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.88;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
    color: var(--white);
  }
}

.telegram-float {
  position: fixed;
  right: 20px;
  bottom: 20px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  height: 52px;
  padding: 0 18px;

  border-radius: 999px;

  background: var(--primary);
  color: #fff;

  text-decoration: none;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

  z-index: 999;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.telegram-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.telegram-float__text {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.telegram-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .telegram-float {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .telegram-float__text {
    display: none;
  }
}
