/* ==========================================
   ESTATE — Property Management Landing
   ========================================== */

/* ---------- CSS Variables ---------- */
:root {
  --bg-light: #ffffff;
  --bg-off: #f7f7f7;
  --bg-dark: #111111;
  --text-primary: #000000;
  --text-secondary: #666666;
  --text-light: #ffffff;
  --border: #e0e0e0;
  --border-dark: #333333;
  --accent: #000000;

  --container: 1200px;
  --section-pad: 120px;
  --section-pad-mobile: 64px;

  --font: 'Creato Display', Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-light);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  line-height: 1;
}

.btn svg {
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

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

.btn--primary {
  background: var(--text-primary);
  color: var(--text-light);
  border: 1.5px solid var(--text-primary);
}

.btn--primary:hover {
  background: transparent;
  color: var(--text-primary);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--text-primary);
}

.btn--outline:hover {
  background: var(--text-primary);
  color: var(--text-light);
}

.btn--white {
  background: var(--text-light);
  color: var(--text-primary);
  border: 1.5px solid var(--text-light);
}

.btn--white:hover {
  background: transparent;
  color: var(--text-light);
}

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  color: #ffffff;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 16px 0;
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  color: var(--text-primary);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__logo {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.header__nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

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

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

.header__cta {
  flex-shrink: 0;
  margin-left: 8px;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 2px;
}

.header__cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.header__cta:hover::after {
  width: 100%;
}

.header__cta svg {
  transition: transform 0.3s var(--ease);
}

.header__cta:hover svg {
  transform: translateX(4px);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  margin-left: auto;
  padding: 4px 0;
}

.burger span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.burger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 900px) {
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100dvh;
    background: var(--bg-light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-left: 0;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
    z-index: 99;
  }

  .header__nav.open {
    transform: translateY(0);
  }

  .header__nav {
    color: var(--text-primary);
  }

  .header__nav-link {
    font-size: 1.5rem;
  }

  .header__cta {
    display: none;
  }

  .burger {
    display: flex;
  }
}

/* ==========================================
   HERO — full-screen overlay
   ========================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Background image via tizer */
.hero__tizer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__tizer-img {
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero__tizer-img img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center 40%;
  transform: translateY(0);
  filter: brightness(1.08) saturate(1.02);
}

/* Gradient overlay — lighter so the photo reads brighter; keeps headline legible */
.hero__tizer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.22) 0%,
      rgba(0, 0, 0, 0.32) 45%,
      rgba(0, 0, 0, 0.48) 100%);
  z-index: 1;
}

/* New Hero Inner (div.container.relative) */
.hero .container.relative {
  position: relative;
  z-index: 5;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 60px;
}

/* Top part inside container */
.hero-title-wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 24px;
}

.hero-title-box {
  display: flex;
  flex-direction: column;
  max-width: 900px;
}

.animation-content-wrap {
  overflow: hidden;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  word-break: keep-all;
  hyphens: none;
  overflow-wrap: normal;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.main-hero-description-box {
  margin-top: 24px;
}

.main-hero-description {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 500px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-year-box {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

/* Bottom flex inside container */
.hero-bottom-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 24px;
}

.hero-bottom-left-box {
  flex-shrink: 0;
}

.large-white-button {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #000000;
  border-radius: 100px;
  padding: 16px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  gap: 12px;
  transition: opacity 0.3s;
}

.large-white-button:hover {
  opacity: 0.85;
}

.primary-button-arrow-wrap.left {
  display: none;
}

.primary-button-arrow-icon {
  width: 28px;
  height: 28px;
  background: #000;
  border-radius: 50%;
  padding: 8px;
  filter: invert(1);
}

.hero-flex-right-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 380px;
}

.hero-divider-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.hero-divider {
  flex-grow: 1;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
}

.description.very-light-gray {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Hero Card */
.hero-card-wrap {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  color: #000;
  transition: transform 0.3s ease;
}

.hero-card-wrap:hover {
  transform: translateY(-4px);
}

.hero-image-box {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-content-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-project-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  margin-bottom: 4px;
}

.hero-card-description {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #666;
}

.hero-project-card {
  font-weight: 400;
}

.hero-card-button-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

.hero-card-icon-box {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  width: 12px;
  height: 12px;
}

.description-card-iocn {
  width: 12px;
  height: 12px;
  position: absolute;
  top: 0;
  left: 0;
}

.description-card-iocn:nth-child(2) {
  opacity: 0;
  transform: translateX(-100%);
}

@media (max-width: 900px) {
  .hero-title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-top: 16px;
  }

  .hero-year-box {
    align-self: flex-start;
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero-bottom-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .hero-flex-right-box {
    width: 100%;
  }
}


/* ==========================================
   REVEAL (shared scroll animation class)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* ==========================================
   GLOBAL SECTION HEADER
   ========================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 64px;
  width: 100%;
}

.section-title {
  font-size: clamp(2rem, 3vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
  min-width: 0;
}

.title-accent {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--text-secondary);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
}

@media (max-width: 900px) {
  .section-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    max-width: 100%;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 48px;
  }

  .section-badge {
    margin-bottom: 0;
  }
}

/* ==========================================
   ABOUT + STATS
   ========================================== */
.about {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

/* Top: two columns */
.about__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 80px;
}

.about__3d-shape {
  position: relative;
  width: 160px;
  height: 160px;
  color: var(--accent);
  /* Uses accent color for svg strokes/fills */
  opacity: 0.15;
  z-index: 1;
  flex-shrink: 0;
}

.about__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-top: 8px;
}

.about__text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  max-width: 800px;
  width: 100%;
}

.about__text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.about__text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about__btn {
  align-self: flex-start;
}

/* Stats row */
.stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}

.stats__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 24px;
}

.stats__num {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stats__label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.stats__divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}


@media (max-width: 900px) {
  .about__top {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
  }

  .about__3d-shape {
    display: none;
  }

  .about__text-wrap {
    max-width: 100%;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    margin-bottom: 48px;
  }

  .stats__divider {
    display: none;
  }

  .stats__item {
    padding: 24px 16px;
    border-bottom: 1px solid var(--border);
  }

  .stats__item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
}


@media (max-width: 600px) {
  .about {
    padding: var(--section-pad-mobile) 0;
  }
}

/* ==========================================
   SERVICES
   ========================================== */
.services {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.services__head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 64px;
}

.services__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-top: 8px;
}

.services__sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  grid-column: 3;
  padding-bottom: 4px;
}

/* Grid */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

/* Card */
.services__card {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  cursor: default;
  opacity: 0;
  transform: translateY(30px);
}

.services__card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 36px;
  height: 100%;
  min-height: 340px;
  color: var(--text-light);
  transition: color 0.4s;
}

.services__card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.services__card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.services__card:hover .services__card-bg {
  opacity: 0;
}

.services__card:hover .services__card-inner {
  color: var(--text-primary);
}

.services__card:hover .services__num {
  color: var(--text-secondary);
}

.services__card:hover .services__card-desc {
  color: var(--text-secondary);
}

.services__card:hover .services__tags span {
  border-color: var(--border);
  color: var(--text-primary);
}

.services__card:hover .services__card-cta {
  color: var(--text-primary);
}

.services__card:hover .services__card-cta::after {
  background: var(--text-primary);
}

.services__num {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.4s;
}

.services__card-content {
  flex: 1;
}

.services__card-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.services__card-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  transition: color 0.4s;
}

.services__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.services__tags span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.8);
  transition: border-color 0.4s, color 0.4s;
}

.services__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  align-self: flex-start;
  padding-bottom: 2px;
  transition: color 0.4s;
}

.services__card-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text-light);
  transition: background 0.4s;
}

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

  .services__sub {
    grid-column: 2;
  }

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

@media (max-width: 640px) {
  .services {
    padding: var(--section-pad-mobile) 0;
  }

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

  .services__sub {
    grid-column: 1;
  }

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

  .services__card-inner {
    min-height: auto;
    padding: 28px 24px;
  }
}

/* ==========================================
   PROBLEMS
   ========================================== */
.problems {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

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

.problems__img-col {
  overflow: hidden;
}

.problems__img {
  width: 100%;
  height: clamp(400px, 50vw, 620px);
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.problems__img-col:hover .problems__img {
  transform: scale(1.03);
}

.problems__title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 12px 0 40px;
}

.problems__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}

.problems__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.problems__item:first-child {
  border-top: 1px solid var(--border);
}

.problems__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.problems__item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.problems__item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .problems__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problems__img {
    height: 280px;
  }

  .problems {
    padding: var(--section-pad-mobile) 0;
  }
}

/* ==========================================
   PARTNERS
   ========================================== */
.partners {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.partners__head {
  display: flex;
  flex-direction: column;
  margin-bottom: 56px;
}

.partners__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-top: 8px;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.partners__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
  text-decoration: none;
  color: inherit;
}

.partners__card:hover {
  background: var(--bg-off);
}

.partners__card-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.partners__card-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.partners__card-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.partners__card-logo-img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  object-position: left center;
}

.partners__card-meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

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

  .partners__card {
    padding: 28px 24px;
  }

  .partners {
    padding: var(--section-pad-mobile) 0;
  }
}

/* ==========================================
   MARQUEE
   ========================================== */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-dark);
  overflow: hidden;
  padding: 32px 0;
  user-select: none;
}

.marquee-track {
  overflow: hidden;
  display: flex;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  will-change: transform;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-inner span {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
}

.marquee-dot {
  color: rgba(255, 255, 255, 0.3) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
}

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

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

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}

.testimonials__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.testimonials__title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
}

.testimonials__nav {
  display: flex;
  gap: 12px;
}

.testimonials__nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f7f7f7;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: all 0.3s ease;
}

.testimonials__nav-btn:hover {
  background: #fff;
  border-color: #ddd;
  color: #000;
}

.testimonials__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.testimonials__track::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

.testimonials__card {
  flex-shrink: 0;
  width: calc(33.333% - 16px);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  scroll-snap-align: start;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonials__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonials__author-info {
  display: flex;
  flex-direction: column;
}

.testimonials__name {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
}

.testimonials__role {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.testimonials__quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .testimonials__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .testimonials__card {
    width: calc(50% - 12px);
  }
}

@media (max-width: 600px) {
  .testimonials__card {
    width: 85%;
  }
}

/* ==========================================
   PRICING
   ========================================== */
.pricing {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.pricing__head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 64px;
}

.pricing__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-top: 8px;
}

.pricing__sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  grid-column: 3;
  padding-bottom: 4px;
}

.pricing__percent {
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-align: center;
}

.pricing__card {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-dark);
  display: flex;
  overflow: hidden;
  border-radius: 24px;
}

.pricing__card-left {
  flex: 1;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing__price-wrap {
  position: relative;
  z-index: 2;
}

.pricing__percent {
  display: block;
  font-size: clamp(5rem, 10vw, 8.5rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--text-light);
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.pricing__card:hover .pricing__percent {
  transform: scale(1.05);
}

.pricing__card-period {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  /* Lighter for better contrast */
  line-height: 1.5;
  font-weight: 500;
}

.pricing__card-min {
  position: relative;
  z-index: 2;
  font-size: 0.875rem;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.08);
  /* Slightly more visible */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  margin-top: 0;
  transition: background 0.3s;
}

.pricing__card-min strong {
  color: #fff;
  font-weight: 600;
}

.pricing__card-right {
  flex: 1.2;
  padding: 64px;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.pricing__card-title {
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.pricing__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

.pricing__feature svg {
  flex-shrink: 0;
  color: #fff;
}

.pricing__exclusions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.pricing__exclusions svg {
  flex-shrink: 0;
}

.pricing__card-cta {
  margin-top: 16px;
}

.pricing__card-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 18px 32px;
}

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

  .pricing__sub {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .pricing__card {
    flex-direction: column;
    max-width: 500px;
  }

  .pricing__card-left,
  .pricing__card-right {
    padding: 48px 32px;
  }
}

@media (max-width: 640px) {
  .pricing {
    padding: var(--section-pad-mobile) 0;
  }

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

  .pricing__sub {
    grid-column: 1;
  }
}

/* ==========================================
   CTA FORM
   ========================================== */
.cta-form {
  padding: var(--section-pad) 0;
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-label--light {
  color: rgba(255, 255, 255, 0.4);
}

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

.cta-form__right {
  align-self: center;
}

.cta-form__title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 12px 0 20px;
  color: var(--text-light);
}

.cta-form__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-form__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-form__contact-link {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.cta-form__contact-link:hover {
  color: var(--text-light);
}

/* Form */
.cta-form__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-form__field {
  display: flex;
  flex-direction: column;
}

.cta-form__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  font-family: var(--font);
  font-size: 0.9375rem;
  padding: 18px 22px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s;
  appearance: none;
  -webkit-appearance: none;
}

.cta-form__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.cta-form__input:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-form__input.error {
  border-color: #e55;
}

.cta-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4L6 8L10 4' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.cta-form__select option {
  background: #1a1a1a;
  color: #fff;
}

.cta-form__submit {
  padding: 18px 40px;
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

.cta-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cta-form__success {
  display: none;
  color: #4ade80;
  font-size: 0.9375rem;
  padding: 16px 0 0;
  text-align: center;
}

.cta-form__error {
  display: none;
  color: #f87171;
  font-size: 0.875rem;
  padding: 12px 0 0;
  text-align: center;
}

@media (max-width: 900px) {
  .cta-form__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cta-form {
    padding: var(--section-pad-mobile) 0;
  }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0 40px;
}

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

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
}

.footer__logo {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer__nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer__nav-link:hover {
  color: var(--text-light);
}

.footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__contacts {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__contact {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.footer__contact:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 16px;
  }

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

  .footer__contacts {
    gap: 12px;
  }
}

/* ==========================================
   APPROACH (Our Process)
   ========================================== */
.approach {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.approach__head {
  display: flex;
  flex-direction: column;
  margin-bottom: 72px;
}

.approach__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-top: 8px;
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  position: relative;
}

.approach__step {
  position: relative;
  z-index: 3;
  padding: 56px 40px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.approach__step:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
}

.approach__num {
  position: absolute;
  top: -10px;
  right: -5px;
  font-size: 9rem;
  font-weight: 900;
  line-height: 0.8;
  color: var(--text-primary);
  opacity: 0.03;
  pointer-events: none;
  font-family: 'Playfair Display', serif;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.approach__step:hover .approach__num {
  opacity: 0.06;
  transform: scale(1.05) translateX(-10px);
}

.approach__icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  background: #fff;
  margin-bottom: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  position: relative;
  z-index: 4;
}

.approach__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.approach__step:hover .approach__icon-wrap {
  background: var(--accent);
  color: #fff;
}

.approach__step:hover .approach__icon {
  transform: rotate(10deg);
}

.approach__step-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text-primary);
}

.approach__step-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 900px) {

  .approach__line-bg,
  .approach__line-fg {
    display: none;
  }

  .approach__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .approach {
    padding: var(--section-pad-mobile) 0;
  }

  .approach__head {
    margin-bottom: 48px;
  }
}

/* ==========================================
   MILESTONES
   ========================================== */
.milestones {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.milestones__head {
  display: flex;
  flex-direction: column;
  margin-bottom: 48px;
}

.milestones__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-top: 8px;
}

.milestones__list {
  display: flex;
  flex-direction: column;
}

.milestones__item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 0 40px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  cursor: default;
}

.milestones__item:first-child {
  border-top: 1px solid var(--border);
}

.milestones__item:hover {
  background: var(--bg-off);
  margin: 0 -32px;
  padding-left: 32px;
  padding-right: 32px;
}

.milestones__year {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.milestones__name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.milestones__cat {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .milestones {
    padding: var(--section-pad-mobile) 0;
  }

  .milestones__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }

  .milestones__item:hover {
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .milestones__cat {
    display: none;
  }
}

/* Footer social + back-to-top */
.footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.footer__social-link {
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.footer__social-link:hover {
  color: var(--text-light);
}

.footer__back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.footer__back-top:hover {
  color: var(--text-light);
}

.footer__back-top svg {
  transition: transform 0.3s;
}

.footer__back-top:hover svg {
  transform: translateY(-3px);
}

/* ==========================================
   MOBILE L — 480px and below
   ========================================== */
@media (max-width: 480px) {
  :root {
    --section-pad-mobile: 52px;
  }

  .container {
    padding: 0 20px;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
    padding: 100px 0 40px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2.4rem);
  }

  .main-hero-description {
    font-size: 0.9375rem;
  }

  .large-white-button {
    padding: 14px 22px;
    gap: 12px;
  }

  .large-button-text {
    font-size: 0.9375rem;
  }

  .hero-card-wrap {
    border-radius: 12px;
  }

  .hero-card-content-box {
    padding: 14px 16px;
    gap: 6px;
  }

  .hero-project-card-title {
    font-size: 0.9375rem;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(1.9rem, 8.5vw, 2.8rem);
  }

  /* About */
  .about__text {
    font-size: 0.9375rem;
  }

  .stats__num {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .stats__label {
    font-size: 0.75rem;
  }

  /* Services */
  .services__card-inner {
    padding: 28px 22px;
    min-height: auto;
  }

  .services__card-num {
    font-size: 0.75rem;
  }

  /* Partners */
  .partners__card {
    padding: 28px 22px;
  }

  /* Pricing */
  .pricing__card-left,
  .pricing__card-right {
    padding: 40px 24px;
  }

  .pricing__percent {
    font-size: clamp(4rem, 15vw, 6rem);
  }

  .pricing__card-period {
    font-size: 1rem;
  }

  .pricing__feature {
    font-size: 0.9375rem;
  }

  /* Testimonials */
  .testimonials__card {
    width: 90%;
    padding: 28px 24px;
  }

  /* CTA Form */
  .cta-form__title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .cta-form__input {
    padding: 14px 18px;
    font-size: 0.9375rem;
  }

  .cta-form__btn {
    padding: 16px 24px;
    font-size: 0.9375rem;
  }

  /* Footer */
  .footer__logo {
    font-size: 1.125rem;
  }

  .footer__contacts {
    font-size: 0.875rem;
  }

  /* Approach */
  .approach__step {
    padding: 24px 0;
  }
}

/* ==========================================
   MOBILE M/S — 375px and below
   ========================================== */
@media (max-width: 375px) {
  :root {
    --section-pad-mobile: 48px;
  }

  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero {
    padding: 90px 0 36px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .hero-year {
    font-size: 0.75rem;
  }

  .large-white-button {
    padding: 12px 18px;
    width: 100%;
    justify-content: space-between;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .section-badge {
    font-size: 0.625rem;
    padding: 6px 12px;
  }

  /* Stats */
  .stats__num {
    font-size: clamp(2.25rem, 9.5vw, 3rem);
  }

  .stats__item {
    padding: 20px 12px;
  }

  /* About */
  .about__text {
    font-size: 0.875rem;
    line-height: 1.65;
  }

  /* Services */
  .services__card-inner {
    padding: 24px 18px;
  }

  .services__card-title {
    font-size: 1rem;
  }

  /* Partners */
  .partners__card {
    padding: 24px 18px;
  }

  .partners__card-logo {
    font-size: 1.125rem;
  }

  /* Pricing */
  .pricing__card-left,
  .pricing__card-right {
    padding: 32px 20px;
  }

  .pricing__percent {
    font-size: clamp(3.5rem, 14vw, 5rem);
  }

  .pricing__card-min {
    font-size: 0.8125rem;
    padding: 8px 16px;
  }

  .pricing__feature {
    font-size: 0.875rem;
    gap: 10px;
  }

  .pricing__exclusions {
    font-size: 0.75rem;
  }

  /* Testimonials */
  .testimonials__card {
    width: 94%;
    padding: 24px 20px;
  }

  /* CTA Form */
  .cta-form__title {
    font-size: clamp(1.5rem, 7.5vw, 2rem);
  }

  .cta-form__input {
    padding: 12px 16px;
    font-size: 0.875rem;
  }

  .cta-form__btn {
    padding: 14px 20px;
    font-size: 0.875rem;
  }

  /* Milestones */
  .milestones__name {
    font-size: 0.875rem;
  }

  .milestones__year {
    font-size: 0.6875rem;
  }

  /* Footer */
  .footer__copy {
    font-size: 0.75rem;
  }

  .footer__back-top {
    font-size: 0.6875rem;
  }
}

