/* ============================================
   КОНСТЕЛЛА — Real Estate Landing
   Cloud Dancer cream + Navy + Terracotta
   ============================================ */

:root {
  --cream: #f6f4ef;
  --cream-soft: #fcfbf8;
  --cream-deep: #efeae1;
  --sand: #ece5d8;
  --shell: #d8ccb8;

  --navy: #022953;
  --navy-soft: #163d6a;
  --navy-deep: #011d3d;
  --ink: #1a2433;

  --terracotta: #c98228;
  --terracotta-deep: #a96a18;
  --terracotta-soft: #ddaa58;
  --rust: #855316;

  --muted: #5f6270;
  --line: rgba(2, 41, 83, 0.10);
  --line-strong: rgba(2, 41, 83, 0.20);

  --shadow-sm: 0 8px 20px rgba(2, 41, 83, 0.05);
  --shadow-md: 0 18px 42px rgba(2, 41, 83, 0.10);
  --shadow-lg: 0 26px 72px rgba(2, 41, 83, 0.16);
  --shadow-xl: 0 40px 100px rgba(2, 41, 83, 0.18);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --header-height: 78px;
  --header-offset: 150px;
  --brand-mark-height: 140px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: calc(var(--header-offset) - 7px);
}

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  font-weight: 400;
}

/* Декоративный фон cloud-dancer */
.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image:
    radial-gradient(ellipse at top left, rgba(201, 130, 40, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(39, 92, 137, 0.06) 0%, transparent 50%);
}

.bg-grain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.bg-orb-1 {
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 130, 40, 0.38) 0%, transparent 70%);
}

.bg-orb-2 {
  bottom: -200px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(183, 210, 229, 0.6) 0%, transparent 70%);
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ============ ТИПОГРАФИКА ============ */
.title-xl {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--cream-soft);
}

.title-lg {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.title-lg em {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
}

.title-md {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink);
}

.muted {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-top: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  margin-bottom: 22px;
}

.eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: var(--terracotta);
}

.eyebrow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(201, 130, 40, 0.22);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(201, 130, 40, 0.22);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(201, 130, 40, 0.08);
  }
}

/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-lg {
  padding: 18px 34px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 1.05rem;
}

.btn-accent {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 24px rgba(201, 130, 40, 0.20)
}

.btn-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  transform: translateY(101%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 0;
}

.btn-accent>* {
  position: relative;
  z-index: 1;
}

.btn-accent:hover::before {
  transform: translateY(0);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background-color: var(--terracotta);
}

.btn-ghost {
  background-color: var(--cream);
  color: var(--navy);
  border: 1.5px solid var(--cream-soft);
}

.btn-ghost:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}


/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 4px 0;
  background: rgba(252, 251, 248, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(93, 134, 166, .08);
  transition: box-shadow 0.3s;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0;
  min-height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  justify-self: start;
  min-width: max-content;
  position: relative;
  z-index: 2;
}

.brand-mark {
  height: var(--brand-mark-height);
  width: auto;
  max-width: min(38vw, 240px);
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--terracotta);
  margin-top: 4px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
}

.hamburger {
  display: none;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-self: center;
  min-width: 0;
}

.nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.982rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--terracotta);
  transition: width 0.3s;
}

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

.nav a:hover::after {
  width: 100%;
}

.header-contact-row {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  min-width: max-content;
}

.header-geo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(79, 121, 163, 0.08);
  border: 1px solid rgba(79, 121, 163, 0.12);
  color: rgba(2, 41, 83, 0.78);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(2, 41, 83, 0.05);
}

.header-geo svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--terracotta);
}

.header-contact-row a {
  position: relative;
  text-decoration: none;
  color: var(--navy);
}

.header-contact-row a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--terracotta);
  transition: width 0.3s;
}

.header-contact-row a:hover {
  color: var(--terracotta);
}

.header-contact-row .btn:hover {
  color: var(--cream);
}

.header-contact-row .btn {
  color: var(--cream-soft);
  background: var(--terracotta);
  font-weight: 600;
}

.header-phone {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.header-icon {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: rgba(79,121,163,.08);
  color: var(--navy-deep);
  border: 1px solid rgba(79,121,163,.18);
  box-shadow: 0 6px 14px rgba(2, 41, 83, 0.08);
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.header-icon::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: linear-gradient(135deg, rgba(201, 130, 40, 0) 25%, rgba(201, 130, 40, 0.45) 50%, rgba(201, 130, 40, 0) 75%);
  transform: translateX(-140%) rotate(18deg);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.header-icon:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 22px rgba(2, 41, 83, 0.18);
  border-color: rgba(201, 130, 40, 0.48);
}

.header-icon:hover::before {
  transform: translateX(140%) rotate(18deg);
}

.header-icon svg {
  width: 18px;
  height: 18px;
}

.header-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  position: relative;
  z-index: 1;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.header-icon:hover .header-icon-image {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.05);
}

.header-icon-max {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}

.menu-contact-row {
  display: none;
}


/* ============ HERO ============ */

.hero {
  position: relative;
  height: 100vh;
  min-height: min(720px, 76vh);
  display: flex;
  align-items: flex-start;
  color: white;
  overflow: hidden;
  padding-top: calc(var(--header-offset) - 24px);
}

main section[id] {
  scroll-margin-top: calc(var(--header-offset) - 7px);
}

/* ФОНОВОЕ ИЗОБРАЖЕНИЕ */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("./assets/hero-bg.png") center / cover no-repeat;
  transform: scale(1.05);
  filter: brightness(1) saturate(1);
  z-index: 1;
  will-change: transform;
  transition: transform 0.2s linear;
}

.hero-bg {
  background-position: center right;
  filter: brightness(1.02) saturate(0.94);
  transform: scale(1.01);
}

.hero-partner {
  max-width: 860px;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.98);
  margin-bottom: 16px;
  font-weight: 500;
}


/* FADE АНИМАЦИЯ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* небольшая задержка для каскада */
.fade-delay-1 { transition-delay: 0.2s; }
.fade-delay-2 { transition-delay: 0.4s; }
.fade-delay-3 { transition-delay: 0.6s; }


/* ТЁМНЫЙ OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 29, 61, 0.56) 0%, rgba(1, 29, 61, 0.30) 36%, rgba(1, 29, 61, 0.10) 64%, rgba(1, 29, 61, 0.02) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(1, 29, 61, 0.16) 100%);
  z-index: 2;
}

/* КОНТЕНТ */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1320px;
  padding-top: 0;
  padding-bottom: 48px;
}

.hero-text {
  max-width: 1180px;
}

/* ТЕКСТ */
.hero-kicker {
 display: inline-block;
  padding: 10px 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-title {
  font-family: "Fraunces", serif;
  font-size: 128px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.hero-title span {
  color: var(--terracotta);
}

.hero-subtitle {
  max-width: 980px;
  font-size: 22px;
  line-height: 1.45;
  color: rgba(255,255,255,0.85);
  margin-bottom: 44px;
}


/* КНОПКИ */
.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 52px;
}
/* чуть плавнее кнопки */
.hero-actions .btn {
  transition: all 0.3s ease, transform 0.2s ease;
  justify-content: center;
  text-align: center;
  min-height: 64px;
  padding: 17px 33px;
  font-size: 1.026rem;
  font-weight: 700;
}

.hero-actions .btn-primary {
  background: var(--terracotta);
  color: var(--navy);
  box-shadow: 0 16px 36px rgba(201, 130, 40, 0.22);
}

.hero-actions .btn:hover {
  transform: translateY(-2px);
}

.hero-actions .btn-primary:hover {
  background: var(--navy-soft);
  color: var(--cream-soft);
}

.btn {
  padding: 14px 28px;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 16px 36px rgba(2, 41, 83, 0.18);
}

.btn-primary:hover {
  background: var(--navy-soft);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.55);
  color: white;
  background: rgba(255,255,255,0.08);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.16);
}

/* СТАТИСТИКА */
.hero-stats {
  display: flex;
  gap: 52px;
  flex-wrap: wrap;
}

.stat {
  min-width: 170px;
}

.stat strong {
  display: block;
  font-size: 40px;
}

.stat span {
  font-size: 20px;
  color: rgba(255,255,255,0.7);
}

.section-partner {
  margin-top: 42px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px
}

.partner-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 20px;
  background: var(--cream-deep);
  border: 1px solid var(--line)
}

.partner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(201, 130, 40, 0.14);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800
}

.partner-card h3 {
  font-size: 1.12rem;
  margin-bottom: 2px;
  color: var(--ink);
  font-weight: 400;
}

.partner-card p {
  color: var(--muted);
  margin: 0
}

/* .hero {
  padding: 40px 0 0;
  position: relative;
  overflow: hidden;
  color: #fff;
} */

/* .hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: calc(100% - 120px);
  transform: translateX(-50%);
  background: url("assets/bg.jpg") center/cover no-repeat;
  filter: brightness(0.55) saturate(0.9);
  z-index: 0;
} */

/* .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 18, 30, 0.72) 0%,
    rgba(10, 18, 30, 0.45) 0%,
    rgba(10, 18, 30, 0.18) 0%
  );
} */

/* .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 64px;
  align-items: center;
  min-height: 78vh;
} */

/* .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 32px;
} */

/* .hero-title,
.hero-title em,
.hero-lead,
.stat-num {
  color: #fff;
} */

/* .hero-lead,
.stat-label {
  color: rgba(255, 255, 255, 0.82);
} */

/* .hero-title { margin-bottom: 32px; }
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  margin-right: 0.25em;
} */


/* .hero-title .word:nth-child(1) { animation-delay: 0.10s; }
.hero-title .word:nth-child(2) { animation-delay: 0.18s; }
.hero-title .word:nth-child(3) { animation-delay: 0.26s; }
.hero-title .word:nth-child(4) { animation-delay: 0.34s; }
.hero-title .word:nth-child(5) { animation-delay: 0.42s; }
.hero-title .word:nth-child(6) { animation-delay: 0.50s; }
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
} */


@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.badge-star {
  width: 38px;
  height: 38px;
  background: var(--terracotta);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.badge-title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.badge-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}

.floating-star {
  position: absolute;
  top: 12%;
  left: -4%;
  width: 56px;
  height: 56px;
  z-index: 5;
  animation: spinFloat 12s linear infinite;
  filter: drop-shadow(0 8px 24px rgba(201, 130, 40, 0.4));
}

@keyframes spinFloat {
  0% {
    transform: rotate(0deg) translateY(0);
  }

  50% {
    transform: rotate(180deg) translateY(-20px);
  }

  100% {
    transform: rotate(360deg) translateY(0);
  }
}

/* ============ MARQUEE ============ */
.marquee {
  /* margin-top: 80px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3); */
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
}

.marquee-track span {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--navy);
  font-style: italic;
}

.marquee-track .marquee-dot {
  font-style: normal;
  font-size: 1.2rem;
  color: var(--terracotta);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* ============ SECTION ============ */
.section {
  padding: 40px 0;
  position: relative;
}

.section-tinted {
  background: linear-gradient(180deg, transparent 0%, var(--sand) 30%, var(--sand) 70%, transparent 100%);
}

.section-head {
  margin-bottom: 64px;
  max-width: 980px;
}


/* ============ INTRO ============ */
.section-intro {
  padding: 50px 0 28px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.intro-title {
  width: 100%;
  max-width: none;
}

.intro-text p {
  margin-bottom: 48px;
  color: var(--muted);
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-text {
  width: 100%;
  max-width: none;
}

.intro-text .intro-lead {
  color: var(--navy);
  margin-bottom: 34px;
}

.intro-facts {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line, rgba(26,58,110,0.12));
}
.intro-fact-num {
  font-family: var(--display, 'Fraunces', Georgia, serif);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--navy, #1a3a6e);
  line-height: 1;
  letter-spacing: -0.02em;
}
.intro-fact-label {
  font-size: 0.82rem;
  color: var(--muted, #6b6557);
  margin-top: 8px;
  line-height: 1.3;
}


/* ============ УСЛУГИ — bento-сетка 5 карточек ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.service-card {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--terracotta);
  box-shadow: var(--shadow-lg);
}

.service-card:hover .service-icon {
  background: var(--terracotta);
  color: white;
  border-color: var(--terracotta);
}

/* Большая карточка - продажа/покупка */
.service-card-large {
  grid-column: span 2;
  grid-row: span 1;
  padding: 0;
  overflow: hidden;
}

.service-card-large .service-img {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.service-card-large .service-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(93, 134, 166, 0.18) 100%);
}

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

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

.service-card-large .service-body {
  padding: 32px 32px 36px;
  flex: 1;
}

.service-card-large .service-num {
  position: absolute;
  top: 28px;
  left: 28px;
  background: var(--cream);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 600;
  z-index: 2;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--cream);
  border: 1.5px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 24px;
  transition: all 0.4s;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-num {
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.service-card-large .service-body .service-num {
  position: static;
  background: none;
  width: auto;
  height: auto;
  display: block;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.service-title {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.service-card-large .service-title {
  font-size: 2rem;
}

.service-text {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.service-tags span {
  padding: 6px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}

/* Карточка-CTA */
.service-card-cta {
  grid-column: span 2;
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.service-card-cta:hover {
  background: var(--navy-deep);
  border-color: var(--terracotta);
}

.service-card-cta .service-num {
  color: var(--terracotta);
}

.service-card-cta .service-title {
  color: var(--cream);
}

.service-card-cta .service-text {
  color: rgba(255, 255, 255, 0.7);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s;
}

.service-link:hover {
  gap: 14px;
}

/* Цитата-разделитель */
.section-quote {
  padding: 80px 0;
  text-align: center;
  background: var(--cream, #f6f1ea);
}
.big-quote {
  font-family: var(--display, 'Prata', Georgia, serif);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--navy, #1a3a6e);
  max-width: 920px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}
.big-quote em {
  font-style: normal;
  color: var(--terracotta, #e87938);
  font-weight: 500;
}


/* ============ ПРИНЦИПЫ ============ */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.principle {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 48px 40px 44px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.principle:hover {
  transform: translateY(-6px);
  border-color: var(--terracotta);
  box-shadow: var(--shadow-md);
}

.principle-mark {
  font-family: var(--display);
  font-style: normal;
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--terracotta);
  line-height: 0.8;
  margin-bottom: 28px;
}

.principle h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.principle p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}


/* ============ PROCESS TIMELINE ============ */
.section-process-bg {
  position: absolute;
  inset: 0;
  background: url('assets/process-bg.jpg') center center/cover no-repeat;
  background-attachment: fixed;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0 
}  

.process-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 980px;
}

.process-line {
  position: absolute;
  left: 60px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 10%, var(--line-strong) 90%, transparent);
}

.process-step {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 28px 0;
  position: relative;
}

.process-num {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cream);
  background: var(--navy);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  border: 8px solid var(--cream);
  transition: all 0.4s;
}

.process-step:hover .process-num {
  background: var(--terracotta);
  transform: scale(1.05);
}

.process-content {
  padding-top: 14px;
  flex: 1;
}

.process-content h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.process-content p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.section-photo-break {
  position: relative;
  height: 360px;
  overflow: hidden;
}
.photo-break-bg {
  position: absolute;
  inset: 0;
  background: url('assets/process-bg.jpg') center center/cover no-repeat;
  filter: brightness(0.5);
}
.photo-break-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-break-text {
  font-family: var(--display, 'Fraunces', Georgia, serif);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: #fff;
  text-align: center;
  max-width: 700px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.photo-break-text em {
  font-style: normal;
  color: var(--terracotta, #e87938);
  font-weight: 500;
}


/* ============ AUCTION ============ */
.auction-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.auction-features {
  display: grid;
  gap: 24px;
}

.auction-feat {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 32px;
  transition: all 0.3s;
}

.auction-feat:hover {
  border-color: var(--terracotta);
  transform: translateX(6px);
}

.auction-feat-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.auction-feat h4 {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.auction-feat p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}


/* ============ TEAM ============ */
.team-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream-deep, #ede5d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy, #1a3a6e);
  margin-bottom: 18px;
  transition: all 0.4s;
}
.team-icon svg {
  width: 26px;
  height: 26px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 36px 30px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201, 130, 40, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.team-card:hover .team-icon {
  transform: translateY(-6px);
  background: var(--terracotta, #e87938);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.team-card:hover {
  border-color: var(--terracotta);
}

.team-card:hover::before {
  opacity: 1;
}

.team-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.team-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}


/* ============ CASES (тёмная секция) ============ */
.section-cases {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.section-cases::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(201, 130, 40, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(201, 130, 40, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.section-cases .container {
  position: relative;
  z-index: 2;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.case-card {
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  transition: all 0.4s;
}

.case-card:hover {
  background: rgba(201, 130, 40, 0.1);
  border-color: var(--terracotta);
  transform: translateY(-6px);
}

.case-num {
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 400;
  color: var(--terracotta);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.case-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.case-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.42);
  margin-top: 10px;
  font-style: italic;
  line-height: 1.35;
}

.testimonials-head {
  text-align: center;
  margin-bottom: 56px;
}

.testimonials-head .eyebrow {
  justify-content: center;
}

.testimonials-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
}

.testimonials-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
}

.testimonials-carousel {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 92px;
  --testimonial-gap: 24px;
}

.testimonials-viewport {
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: var(--testimonial-gap);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  align-items: stretch;
}

.testimonial-card {
  flex: 0 0 calc((100% - var(--testimonial-gap)) / 2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 34px 30px 28px;
  position: relative;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.testimonial-nav:hover {
  background: rgba(201, 130, 40, 0.16);
  border-color: var(--terracotta);
  transform: translateY(-50%) scale(1.04);
}

.testimonial-nav:disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.testimonial-nav span {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.testimonial-nav-prev {
  left: 0;
}

.testimonial-nav-next {
  right: 0;
}

.testimonial-card:hover {
  border-color: var(--terracotta);
}

.testimonial-summary {
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  margin-bottom: 12px;
  flex: 1;
}

.testimonial-author {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: auto;
}

.testimonial-name {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  color: white;
}

.testimonial-task {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 8px;
  line-height: 1.5;
}


/* ============ FAQ ============ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-item {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: var(--line-strong);
}

.faq-item summary {
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.plus {
  width: 36px;
  height: 36px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  font-size: 1.4rem;
  font-weight: 300;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-shrink: 0;
}

.faq-item[open] .plus {
  transform: rotate(135deg);
  background: var(--terracotta);
  color: white;
}

.faq-item p {
  padding: 4px 28px 28px;
  color: var(--muted);
  animation: fadeDown 0.4s ease;
  font-size: 0.98rem;
  line-height: 1.6;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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


/* ============ CTA ============ */
.section-cta {
  padding: 120px 0;
}

.cta-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--navy);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.cta-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(201, 130, 40, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(201, 130, 40, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-main {
  padding: 72px 64px;
  position: relative;
  z-index: 2;
}

.cta-stars {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.cta-star {
  font-size: 1.2rem;
  color: var(--terracotta);
  animation: twinkle 3s ease-in-out infinite;
}

.cta-star:nth-child(2) {
  animation-delay: 0.4s;
}

.cta-star:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.cta-main h2 em {
  color: var(--terracotta);
  font-style: italic;
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.3s;
}

.cta-contact-item:hover {
  color: var(--terracotta);
}

.cta-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.cta-socials .header-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.cta-socials .header-icon:hover {
  color: var(--terracotta);
  border-color: rgba(232, 121, 56, 0.4);
}

.cta-socials .header-icon::after {
  display: none;
}

.cci-icon {
  width: 27px;
  height: 27px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.cci-icon svg {
  width: 13px;
  height: 13px;
}

.cta-side {
  padding: 40px;
  position: relative;
  z-index: 2;
}

.form-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-lg);
}

.form-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.form-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.form-status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
  min-height: 20px;
}

.form-status.success {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid currentColor;
}

.form-status.error {
  background: #fee;
  color: #dc2626;
  border: 1px solid currentColor;
}

.input {
  width: 100%;
  padding: 12px 16px;
  background: var(--cream-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--body);
  font-size: 0.98rem;
  color: var(--ink);
  transition: all 0.3s;
}

.input:focus {
  outline: none;
  border-color: var(--terracotta);
  background: white;
  box-shadow: 0 0 0 4px rgba(201, 130, 40, 0.16);
}

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a2747' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.textarea {
  resize: vertical;
  min-height: 68px;
  font-family: var(--body);
}

.form-policy {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

.policy-link {
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s;
}

.policy-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s;
}

.policy-link:hover {
  text-decoration: underline;
}

.policy-link.consent-link::after {
  background: var(--terracotta);
}

.policy-link:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
} 


.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr; /* Добавилась колонка для политики */
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-mark {
  width: 96px;
  height: 96px;
  filter: none;
  background: #fff;
  border-radius: 18px;
  padding: 6px;
}

.footer-name {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.footer-tag {
  font-size: 1.04rem;
  color: var(--terracotta);
  margin-top: 4px;
  font-style: italic;
  line-height: 1.35;
}

.footer-info {
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.footer-geo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 0;
  margin-left: 0;
  padding: 4px 9px 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
  justify-content: flex-start;
  white-space: nowrap;
  box-shadow: none;
}

.footer-geo svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--terracotta);
}

.footer-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.footer-icon:hover {
  color: var(--terracotta);
  border-color: rgba(232, 121, 56, 0.4);
}

.footer-info-title {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  line-height: 1.6;
}

.footer-policy {
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-policy-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
  display: inline-block;
}

.footer-legal {
  margin-top: 12px;
  max-width: 280px;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.54);
}

.footer-policy-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width 0.3s;
}

.footer-policy-link:hover {
  color: white;
}

.footer-policy-link:hover::after {
  width: 100%;
}

.footer-seo-line {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.34);
  letter-spacing: 0.01em;
}


/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--d, 0s);
}

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

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s),
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s);
}

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


/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  :root {
    --header-height: 74px;
    --header-offset: 124px;
    --brand-mark-height: 114px;
  }

  .header {
    padding: 0;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 6px 0;
    min-height: var(--header-height);
  }

  .header-contact-row {
    display: none;
  }

  .hamburger {
    order: 2;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(79, 121, 163, 0.14);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 24px rgba(26, 58, 110, 0.08);
    -webkit-tap-highlight-color: transparent;
    justify-self: end;
  }

  .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-wrapper {
    order: 4;
    position: fixed;
    top: var(--header-offset);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: rgba(252, 251, 248, 0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 24px 20px;
    gap: 18px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 0.25s ease,
      visibility 0s linear 0.35s;
    z-index: 99;
    overflow: hidden;
    border-top: 1px solid rgba(93, 134, 166, .08);
    border-radius: 0 0 28px 28px;
    box-shadow:
      0 18px 32px rgba(26, 58, 110, 0.08),
      0 36px 56px rgba(26, 58, 110, 0.06);
  }

  .nav-toggle:checked ~ .nav-wrapper {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 0.25s ease;
  }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav a {
    font-size: 1.05rem;
    padding: 8px 0;
  }

  .menu-contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(93, 134, 166, 0.12);
  }

  .menu-contact-row .header-phone {
    font-size: 0.95rem;
  }

  .hero {
    min-height: max(720px, calc(100svh - 20px));
    padding: calc(var(--header-offset) - 32px) 0 56px;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-text {
    max-width: 620px;
  }

  .hero-kicker {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .title-xl,
  .hero-title {
    font-size: clamp(3rem, 5vw, 4.6rem);
    line-height: 1.06;
  }

  .hero-partner,
  .hero-subtitle {
    max-width: 560px;
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 64px;
  }

  .case-card {
    padding: 30px 26px;
  }

  .case-num {
    font-size: 3rem;
  }

  .case-label {
    font-size: 0.92rem;
  }

  .footer-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 28px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-copy {
    text-align: left;
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 18px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .service-card-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .service-card-large .service-img {
    height: 320px;
  }

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

  .auction-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

 .testimonials-carousel {
    max-width: 820px;
    padding: 0 76px;
  }

  .cta-wrap {
    grid-template-columns: 1fr;
  }

  .cta-main,
  .cta-side {
    padding: 48px 40px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-copy {
    text-align: left;
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero-bg {
    transform: none !important;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 72px;
    --header-offset: 120px;
    --brand-mark-height: 108px;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 72px 0;
  }

  .header {
    padding: 0;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 6px 0;
    min-height: var(--header-height);
  }

  .brand-logo {
    order: 1;
  }

  .header-contact-row {
    display: none;
  }

  .hamburger {
    order: 2;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(79, 121, 163, 0.14);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 24px rgba(26, 58, 110, 0.08);
    -webkit-tap-highlight-color: transparent;
    justify-self: end;
  }

  .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-wrapper {
    order: 4;
    position: fixed;
    top: var(--header-offset);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: rgba(252, 251, 248, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 20px 20px;
    gap: 18px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 0.25s ease,
      visibility 0s linear 0.35s;
    z-index: 99;
    overflow: hidden;
    border-top: 1px solid rgba(93, 134, 166, .08);
    border-radius: 0 0 28px 28px;
    box-shadow:
      0 18px 32px rgba(26, 58, 110, 0.08),
      0 36px 56px rgba(26, 58, 110, 0.06);
  }

  .nav-toggle:checked ~ .nav-wrapper {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 0.25s ease;
  }

  .nav {
    width: 100%;
  }

  .nav ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
  }

  .nav li {
    width: auto;
  }

  .nav a {
    display: inline-flex;
    width: auto;
    padding: 6px 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    font-size: 0.893rem;
  }

  .nav a::after {
    display: block;
  }

  .menu-contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(93, 134, 166, 0.1);
  }

  .menu-geo {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.82rem;
    background: rgba(79, 121, 163, 0.06);
    border-color: rgba(79, 121, 163, 0.1);
    box-shadow: none;
  }

  .menu-contact-row .header-phone {
    display: inline-flex;
    font-size: 0.98rem;
    font-weight: 700;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .header-phone {
    display: none;
  }

  .stat-divider {
    display: none;
  }

  .stat-num {
    font-size: 1.9rem;
  }

  .visual-card-main {
    width: 90%;
  }

  .hero {
    min-height: 640px;
    height: auto;
    padding: calc(var(--header-height) - 28px) 0 56px;
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-kicker {
    font-size: 0.95rem;
    letter-spacing: 0.07em;
    padding: 10px 18px;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: clamp(3.8rem, 8vw, 5.8rem);
    line-height: 1.06;
  }

    .hero-partner {
    font-size: 1.05rem;
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 48rem;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 62px;
    font-size: 1.05rem;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat {
    flex: 1 1 calc(33.333% - 8px);
    min-width: 0;
    padding: 14px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    backdrop-filter: blur(10px);
  }

  .stat strong {
    font-size: 1.45rem;
    margin-bottom: 2px;
  }

  .stat span {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .marquee {
    margin-top: 60px;
  }

  .marquee-track span {
    font-size: 1.6rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card-large {
    grid-column: span 1;
  }

  .service-card-large .service-img {
    height: 240px;
  }

  .service-card-large .service-title {
    font-size: 1.7rem;
  }

  .service-card,
  .service-card-large .service-body,
  .principle,
  .auction-feat,
  .team-card,
  .case-card,
  .faq-item summary {
    padding-left: 22px;
    padding-right: 22px;
  }

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

  .lead,
  .muted {
    font-size: 1rem;
    line-height: 1.6;
  }

  .title-lg {
    line-height: 1.1;
  }

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

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

  .case-num {
    font-size: 2.8rem;
  }

  .testimonials-carousel {
    padding: 0 52px;
  }

  .testimonial-card {
    flex-basis: 100%;
    min-height: 0;
    padding: 30px 24px 24px;
  }

  .testimonial-text {
    font-size: 1rem;
    line-height: 1.72;
  }

  .testimonial-summary {
    font-size: 0.92rem;
  }

  .testimonial-nav {
    width: 44px;
    height: 44px;
  }

  .testimonial-nav span {
    font-size: 1.6rem;
  }

  .cta-main,
  .cta-side {
    padding: 36px 24px;
  }

  .cta-contacts {
    gap: 12px;
  }

  .cta-contact-item {
    align-items: flex-start;
    font-size: 1rem;
  }

  .form-card {
    padding: 28px 22px;
  }

  .input,
  .btn-full {
    min-height: 52px;
  }

  .process-line {
    left: 30px;
  }

  .process-num {
    width: 60px;
    height: 60px;
    font-size: 1.1rem;
    border-width: 6px;
  }

  .process-step {
    gap: 24px;
  }

  .process-content h3 {
    font-size: 1.2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .footer-brand {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .footer-brand-row {
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
    --header-offset: 104px;
    --brand-mark-height: 96px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .section-intro {
    padding-bottom: 28px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: var(--header-height);
  }

  .header-contact-row {
    display: none;
  }

  .header-icon {
    width: 26px;
    height: 26px;
  }

  .header-icon svg {
    width: 16px;
    height: 16px;
  }

  .header-icon-image {
    width: 100%;
    height: 100%;
  }

  .header-icon-max {
    font-size: 0.68rem;
  }

  .nav-wrapper {
    top: var(--header-offset);
    padding: 14px 16px 18px;
  }

  .menu-contact-row {
    gap: 10px;
    padding-top: 16px;
  }

  .header-geo {
    padding: 7px 10px;
    font-size: 0.74rem;
  }

  .menu-contact-row .header-phone {
    font-size: 0.9rem;
  }

  .hero {
    height: auto;
    min-height: min(100svh, 760px);
    padding: 76px 0 42px;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-kicker {
    display: block;
    width: fit-content;
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .title-xl,
  .hero-title {
    font-size: 3rem;
    line-height: 1.06;
  }

  .hero-partner {
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 100%;
    margin-bottom: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 62px;
    font-size: 1.05rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 22px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:last-child {
    grid-column: 1 / -1;
  }

  .stat strong {
    font-size: 1.6rem;
  }

  .stat span {
    font-size: 0.95rem;
  }

  .service-card,
  .service-card-large .service-body,
  .principle,
  .auction-feat,
  .team-card,
  .case-card {
    padding: 20px 18px;
  }

  .service-icon,
  .team-icon {
    margin-bottom: 18px;
  }

  .principle-mark {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }

  .process-step {
    gap: 16px;
    padding: 18px 0;
  }

  .process-line {
    left: 24px;
  }

  .process-num {
    width: 48px;
    height: 48px;
    font-size: 1rem;
    border-width: 4px;
  }

  .process-content {
    padding-top: 4px;
  }

 .testimonials-carousel {
    padding: 0;
  }

  .testimonial-card {
    min-height: 100%;
    border-radius: 24px;
  }

  .testimonial-nav {
    bottom: -58px;
    top: auto;
    transform: none;
  }

  .testimonial-nav:hover {
    transform: scale(1.04);
  }

  .testimonial-nav-prev {
    left: calc(50% - 52px);
  }

  .testimonial-nav-next {
    right: calc(50% - 52px);
  }


  .faq-item summary {
    padding: 18px;
    font-size: 1rem;
  }

  .faq-item p {
    padding: 0 18px 20px;
    font-size: 0.94rem;
  }

  .cta-main,
  .cta-side {
    padding: 28px 18px;
  }

  .form-card {
    padding: 22px 18px;
  }

  .footer {
    padding: 48px 0 28px;
  }

  .footer-mark {
    width: 64px;
    height: 64px;
  }

  .footer-name {
    font-size: 1.25rem;
  }

  .footer-tag {
    font-size: 0.98rem;
  }

    .footer-legal {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


.hero-text {
  max-width: 820px;
}

.hero-partner {
  max-width: 760px;
  margin-bottom: 28px;
}

.title-xl,
.title-lg,
.title-md,
.footer-name,
.testimonials-title,
.testimonial-name,
.testimonial-agent-name,
.case-num,
.process-num,
.principle h3,
.process-content h3 {
  letter-spacing: -0.01em;
}

.hero-kicker {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.32);
  color: rgba(255,255,255,0.96);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

@media (max-width: 640px) {
  .hero {
    height: auto;
    min-height: min(100svh, 760px);
    padding: 76px 0 42px;
  }

  .hero-content {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-kicker {
    display: block;
    width: fit-content;
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 18px;
  }

  .title-xl,
  .hero-title {
    font-size: 3rem;
    line-height: 1.06;
  }

  .hero-partner {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 62px;
    font-size: 1.05rem;
  }
}

.services-ribbon {
  position: relative;
  margin-top: 2px;
  padding: 2px 0 4px;
  border-radius: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.services-ribbon-top, .services-carousel, .services-ribbon-nav, .services-ribbon-dots { position: relative; z-index: 1; }
.services-ribbon-top {
  display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 2px;
}
.services-ribbon-copy { max-width: 760px; }
.services-ribbon-title br { display:none; }
.services-ribbon-title {
  font-family: var(--display); font-size: 2rem; line-height: 1.08; color: var(--navy); margin: 0 0 10px;
}
.services-ribbon-text {
  margin: 0; max-width: 620px; color: var(--muted); font-size: 1.02rem; line-height: 1.65;
}
.services-ribbon-nav { display: flex; gap: 12px; justify-content: center; margin-top: 22px; }
.services-nav-btn {
  width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(26, 58, 110, 0.14);
  background: var(--cream-soft); color: var(--navy); display: inline-flex; align-items: center;
  justify-content: center; box-shadow: 0 8px 20px rgba(20, 30, 48, 0.05);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.services-nav-btn span { font-size: 1.9rem; line-height: 1; transform: translateY(-1px); }
.services-nav-btn:hover { transform: translateY(-2px); border-color: rgba(201, 130, 40, 0.45); background: var(--cream-soft); }
.services-nav-btn:disabled { opacity: .45; cursor: default; transform: none; }
.services-carousel {
  overflow: hidden;
  background: transparent;
  padding-top: 12px;
  margin-top: -12px;
}
.services-track { display: flex; gap: 18px; transition: transform .55s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.service-ribbon-card {
  flex: 0 0 calc((100% - 36px) / 3); min-width: 0; border-radius: 28px; overflow: hidden; background: var(--cream-soft);
  border: 1px solid rgba(26, 58, 110, 0.08);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .35s ease;
}
.service-ribbon-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(201, 130, 40, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(201, 130, 40, 0.08) 100%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}
.service-ribbon-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201, 130, 40, 0.34);
}
.service-ribbon-card:hover::before { opacity: 1; }
.service-ribbon-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.service-ribbon-image::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.01) 0%, rgba(13, 34, 67, 0.05) 100%);
  transition: background .35s ease, opacity .35s ease;
}
.service-ribbon-card:hover .service-ribbon-image::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(201, 130, 40, 0.14) 100%);
}
.service-ribbon-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1), filter .35s ease; }
.service-ribbon-card:hover .service-ribbon-image img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.02);
}
.service-ribbon-body { position: relative; z-index: 1; padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-ribbon-badge {
  position: absolute; top: -19px; right: 18px; background: linear-gradient(135deg, #ddaa58, #c98228); color: #fff;
  font-size: 0.84rem; font-weight: 700; border-radius: 999px; padding: 8px 14px; box-shadow: 0 10px 20px rgba(201, 130, 40, 0.22);
}
.service-ribbon-title-card { font-family: var(--display); font-size: 1.46rem; line-height: 1.1; color: var(--navy); margin: 0 0 12px; }
.service-ribbon-desc { margin: 0 0 18px; color: var(--muted); font-size: 0.98rem; line-height: 1.62; flex: 1; }
.service-ribbon-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.service-ribbon-tags span {
  border-radius: 999px; padding: 6px 12px; background: var(--cream); border: 1px solid rgba(26,58,110,0.12);
  color: var(--navy); font-size: 0.76rem; font-weight: 600; transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.service-ribbon-card:hover .service-ribbon-tags span {
  transform: translateY(-2px);
  border-color: rgba(201, 130, 40, 0.24);
  background: rgba(255, 250, 239, 0.96);
}
.service-ribbon-link { color: var(--terracotta); font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; transition: gap .25s ease, color .25s ease; }
.service-ribbon-card:hover .service-ribbon-link { gap: 12px; color: var(--terracotta-deep); }
.service-ribbon-link span { transition: transform .25s ease; }
.service-ribbon-link:hover span { transform: translateX(4px); }
.services-ribbon-dots { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 20px; }
.services-ribbon-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: rgba(26, 58, 110, 0.18); transition: all .25s ease; }
.services-ribbon-dots button.active { width: 28px; background: linear-gradient(135deg, #1a3a6e 0%, #c98228 100%); }
@media (max-width: 1180px) { .service-ribbon-card { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 860px) {
  .services-ribbon { padding: 4px 0 0; border-radius: 0; }
  .services-ribbon-top { flex-direction: column; align-items: stretch; gap: 18px; }
  .services-ribbon-title { font-size: 1.6rem; }
  .services-ribbon-nav { margin-top: 18px; }
  .service-ribbon-card { flex-basis: 100%; }
  .service-ribbon-body { padding: 18px 18px 20px; }
  .service-ribbon-title-card { font-size: 1.28rem; }
  .service-ribbon-desc { font-size: 0.94rem; }
}

.testimonials-title,
.testimonial-name,
.testimonial-agent-name {
  letter-spacing: -0.01em;
}

.testimonials-head {
  margin-bottom: 34px;
}

.testimonials-carousel {
  max-width: 1120px;
  padding: 0 86px;
  --testimonial-gap: 28px;
}

.testimonials-title {
  color: #fff;
}

.testimonials-title em {
  color: #ddaa58;
  font-style: normal;
}

.testimonials-viewport {
  overflow: hidden;
  padding: 6px 0 10px;
}

.testimonial-card {
  flex: 0 0 calc((100% - var(--testimonial-gap)) / 2);
  min-height: 332px;
  padding: 28px 26px 24px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.38);
  box-shadow: 0 18px 48px rgba(0,0,0,0.12);
  border-radius: 26px;
  color: var(--ink);
  backdrop-filter: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 130, 40, 0.55);
}

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

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.testimonial-avatar,
.testimonial-agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.testimonial-avatar {
  background: linear-gradient(135deg, rgba(2,41,83,0.12), rgba(201,130,40,0.26));
  color: var(--navy);
  border: 1px solid rgba(2, 41, 83, 0.10);
}

.testimonial-client-name {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.testimonial-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--terracotta);
  font-size: 1rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.testimonial-summary {
  display: none;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.72;
  color: #303847;
  font-weight: 500;
  margin-bottom: 18px;
}

.testimonial-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(2, 41, 83, 0.10);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.testimonial-agent {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.testimonial-agent-avatar {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
  box-shadow: 0 10px 24px rgba(2, 41, 83, 0.16);
}

.testimonial-agent-name {
  font-family: var(--body);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
}

.testimonial-agent-role,
.testimonial-date {
  font-size: 0.86rem;
  color: #7b8292;
  line-height: 1.45;
}

.testimonial-date {
  white-space: nowrap;
  font-weight: 600;
}

.testimonial-author,
.testimonial-name,
.testimonial-task {
  display: none;
}

.testimonial-nav {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.testimonial-nav:hover {
  background: rgba(201, 130, 40, 0.22);
  border-color: rgba(201, 130, 40, 0.50);
}

@media (max-width: 980px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 480px) {
  .testimonials-carousel {
    padding: 0 18px;
  }

  .testimonial-card {
    padding: 24px 20px 22px;
  }

  .testimonial-top {
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .testimonial-client-name {
    font-size: 1rem;
  }

  .testimonial-stars {
    font-size: 0.92rem;
  }

  .testimonial-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .testimonial-agent {
    align-items: flex-start;
  }

  .testimonial-agent-role,
  .testimonial-date {
    font-size: 0.82rem;
  }

  .testimonial-date {
    white-space: normal;
  }
}
