@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --primary-black: #0d0d0d;
  --soft-white: #f8f8f6;
  --warm-gray: #d9d9d6;
  --text-gray: #6b6b6b;
  --accent-gold: #c6a46a;
  --border-gray: #eaeaea;
  --container: 1280px;
  --radius-card: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 18px 44px rgba(0, 0, 0, 0.12);
  --section-space: 100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'DM Sans', sans-serif;
  background: linear-gradient(165deg, #ffffff 0%, var(--soft-white) 60%, #f2f2ef 100%);
  color: var(--primary-black);
  line-height: 1.65;
}

body[data-theme='dark'] {
  background: linear-gradient(165deg, #0d0f12 0%, #13161b 55%, #0b0e13 100%);
  color: #f3f5f7;
}

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

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.about-tight {
  padding: 46px 0;
}

.section-title {
  font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 1.05rem;
  max-width: 58ch;
  margin-top: 14px;
}

.kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: var(--text-gray);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn .arrow {
  transition: transform 0.25s ease;
}

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

.btn-primary {
  background: var(--primary-black);
  color: #fff;
}

.btn-primary:hover {
  background: #1f1f1f;
}

.btn-secondary {
  background: #fff;
  color: var(--primary-black);
  border-color: var(--warm-gray);
}

.btn-secondary:hover {
  border-color: var(--primary-black);
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: all 0.28s ease;
}

.top-nav .nav-wrap {
  margin: 16px auto;
  width: min(100% - 30px, var(--container));
  padding: 14px 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  border: 1px solid var(--border-gray);
  background: #fff;
  color: #111;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.top-nav.scrolled .nav-wrap,
.top-nav.inner .nav-wrap {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gray);
  box-shadow: var(--shadow-soft);
}

.top-nav:not(.scrolled):not(.inner) .brand,
.top-nav:not(.scrolled):not(.inner) .brand small {
  color: #fff;
}

.top-nav:not(.scrolled):not(.inner) .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}

.top-nav:not(.scrolled):not(.inner) .nav-links a:hover,
.top-nav:not(.scrolled):not(.inner) .nav-links a.active {
  color: #fff;
}

.top-nav:not(.scrolled):not(.inner) .btn-primary {
  background: #fff;
  color: var(--primary-black);
}

.top-nav:not(.scrolled):not(.inner) .btn-primary:hover {
  background: #efefef;
}

.brand {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand small {
  color: var(--text-gray);
  margin-left: 6px;
  font-weight: 600;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

.brand-logo-black {
  display: none;
}

.top-nav.scrolled .brand-logo-white,
.top-nav.inner .brand-logo-white {
  display: none;
}

.top-nav.scrolled .brand-logo-black,
.top-nav.inner .brand-logo-black {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-gray);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-black);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border-gray);
  background: #fff;
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 0.9rem;
}

.hero {
  min-height: 94vh;
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.32) 48%, rgba(0, 0, 0, 0.65));
  z-index: -1;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-content {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  padding: 140px 0 84px;
}

.hero h1 {
  font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(3.6rem, 8vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  max-width: 13ch;
}

.hero p {
  margin-top: 22px;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.9);
}

.hero .kicker {
  color: #fff;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.process-section {
  padding-top: 52px;
  padding-bottom: 52px;
}

.process-section .card-body {
  padding: 16px 14px;
}

.process-section .badge {
  font-size: 0.68rem;
  padding: 4px 10px;
}

.process-section .card-title {
  font-size: clamp(1rem, 1.2vw, 1.28rem);
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.process-section .meta {
  margin-top: 6px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.card {
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

body[data-theme='dark'] .top-nav.scrolled .nav-wrap,
body[data-theme='dark'] .top-nav.inner .nav-wrap {
  background: rgba(22, 26, 33, 0.96);
  border-color: #2a313b;
}

body[data-theme='dark'] .top-nav.scrolled .brand-logo-white,
body[data-theme='dark'] .top-nav.inner .brand-logo-white {
  display: block;
}

body[data-theme='dark'] .top-nav.scrolled .brand-logo-black,
body[data-theme='dark'] .top-nav.inner .brand-logo-black {
  display: none;
}

body[data-theme='dark'] .brand small,
body[data-theme='dark'] .nav-links a,
body[data-theme='dark'] .meta,
body[data-theme='dark'] .section-subtitle,
body[data-theme='dark'] .kicker,
body[data-theme='dark'] .stat-card p,
body[data-theme='dark'] .form-group label,
body[data-theme='dark'] .legal,
body[data-theme='dark'] .footer a,
body[data-theme='dark'] .footer p {
  color: #aeb7c3;
}

body[data-theme='dark'] .nav-links a:hover,
body[data-theme='dark'] .nav-links a.active,
body[data-theme='dark'] .section-title,
body[data-theme='dark'] .card-title,
body[data-theme='dark'] .price,
body[data-theme='dark'] .stat-card h3 {
  color: #f3f5f7;
}

body[data-theme='dark'] .card,
body[data-theme='dark'] .panel,
body[data-theme='dark'] .stat-card,
body[data-theme='dark'] .filter-toolbar,
body[data-theme='dark'] .segment-tabs {
  background: #171c24;
  border-color: #2a313b;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

body[data-theme='dark'] .theme-toggle,
body[data-theme='dark'] .btn-secondary,
body[data-theme='dark'] .segment-tab,
body[data-theme='dark'] .filter-toolbar select,
body[data-theme='dark'] .filter-toolbar input,
body[data-theme='dark'] .form-group input,
body[data-theme='dark'] .form-group select,
body[data-theme='dark'] .form-group textarea {
  background: #11161d;
  color: #f3f5f7;
  border-color: #303a46;
}

body[data-theme='dark'] .segment-tab:hover {
  background: #202833;
}

body[data-theme='dark'] .segment-tab.active {
  background: #f3f5f7;
  color: #11161d;
  border-color: #f3f5f7;
}

body[data-theme='dark'] .btn-primary {
  background: #f3f5f7;
  color: #11161d;
}

body[data-theme='dark'] .btn-primary:hover {
  background: #dde3ea;
}

body[data-theme='dark'] .footer {
  background: #07090d;
}

body[data-theme='dark'] .testimonial blockquote {
  color: #fff;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #ececea;
}

.card-media img {
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 22px;
}

.card-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.01em;
}

.meta {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-top: 4px;
}

.price {
  margin-top: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}

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

.stat-card {
  padding: 26px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-gray);
}

.stat-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.stat-card p {
  color: var(--text-gray);
  margin-top: 6px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: stretch;
}

.split .panel {
  border-radius: var(--radius-card);
  border: 1px solid var(--border-gray);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.about-visual-card {
  display: flex;
}

.about-visual-card .about-visual-media {
  flex: 1;
  min-height: 100%;
  aspect-ratio: auto;
}

.about-visual-card .about-visual-media img {
  height: 100%;
}

.team-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-slider {
  --testimonial-visible: 3;
  --testimonial-gap: 20px;
  position: relative;
  overflow: hidden;
}

.testimonial-slider .testimonial-grid {
  display: flex;
  gap: var(--testimonial-gap);
  grid-template-columns: none;
  transition: transform 0.6s ease;
  will-change: transform;
}

.testimonial-slider .testimonial {
  min-width: calc((100% - (var(--testimonial-gap) * (var(--testimonial-visible) - 1))) / var(--testimonial-visible));
  flex: 0 0 calc((100% - (var(--testimonial-gap) * (var(--testimonial-visible) - 1))) / var(--testimonial-visible));
}

.testimonial-slider .testimonial .card-body {
  padding: clamp(24px, 4vw, 38px);
}

.testimonial blockquote {
  color: #222;
  font-size: 1.03rem;
}

.testimonial .author {
  margin-top: 18px;
  color: var(--text-gray);
  font-size: 0.92rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.testimonial-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: none;
  background: #d3d1cb;
  cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.testimonial-dot.active {
  background: var(--primary-black);
  transform: scale(1.15);
}

@media (max-width: 1080px) {
  .testimonial-slider {
    --testimonial-visible: 2;
  }
}

@media (max-width: 820px) {
  .testimonial-slider {
    --testimonial-visible: 1;
  }
}

.cta-banner {
  color: #fff;
  border-radius: 30px;
  padding: 56px;
  background: linear-gradient(120deg, #111, #2a2a2a);
}

.cta-banner p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-gray);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border-gray);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.filter-toolbar {
  margin-top: 20px;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
  border: 1px solid #e3e3de;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(15, 15, 15, 0.06);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.filter-toolbar select,
.filter-toolbar input {
  height: 46px;
  border-radius: 14px;
  border: 1px solid #ddddd8;
  background: #fff;
  color: #111;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0 14px;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.filter-toolbar input::placeholder {
  color: #8b8b87;
}

.filter-toolbar select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23222222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 14px) 50%;
  background-size: 14px;
}

.filter-toolbar select:focus,
.filter-toolbar input:focus {
  border-color: #c8c8c2;
  box-shadow: 0 0 0 4px rgba(198, 164, 106, 0.12);
  transform: translateY(-1px);
}

.filter-toolbar [data-filter-close] {
  display: none;
}

.filter-actions {
  display: none;
}

.segment-tabs {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e5e0;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.06);
}

.segment-tab {
  border: 1px solid transparent;
  background: transparent;
  color: #5f5f5a;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.segment-tab:hover {
  color: #111;
  background: #f4f4f1;
}

.segment-tab.active {
  background: var(--primary-black);
  color: #fff;
  border-color: var(--primary-black);
}

.filter-chip {
  border-radius: 999px;
  border: 1px solid var(--warm-gray);
  background: #fff;
  font-size: 0.88rem;
  padding: 8px 14px;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid var(--warm-gray);
  color: var(--text-gray);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

body[data-theme='dark'] .badge {
  background: #fff;
  color: #0d0d0d;
  border-color: #fff;
}

.property-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.gallery {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 760px;
}

.gallery img {
  height: 100%;
}

.gallery-nav {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}

.gallery-nav button {
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.list-clean {
  list-style: none;
  display: grid;
  gap: 8px;
}

.list-clean li {
  color: var(--text-gray);
  padding-left: 16px;
  position: relative;
}

.list-clean li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  position: absolute;
  left: 0;
  top: 11px;
}

.map-box {
  width: 100%;
  min-height: 300px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-gray);
}

.footer {
  background: #111;
  color: #f2f2f2;
  padding: 52px 0 26px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 26px;
}

.footer a,
.footer p {
  color: #d1d1d1;
}

.footer-logo-black {
  display: inline-block;
  height: 52px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 6px 8px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #3a3a3a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: #c6a46a;
  background: rgba(198, 164, 106, 0.12);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.legal {
  border-top: 1px solid #2d2d2d;
  margin-top: 30px;
  padding-top: 16px;
  color: #aaa;
  font-size: 0.86rem;
}

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

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

.sticky-mobile-cta {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  box-shadow: var(--shadow-hover);
  display: none;
}

.page-hero {
  padding-top: 170px;
  padding-bottom: 60px;
}

.page-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.page-hero p {
  margin-top: 16px;
  color: var(--text-gray);
  max-width: 62ch;
}

@media (max-width: 1080px) {
  .grid-3,
  .team-grid,
  .testimonial-grid,
  .stats,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split,
  .property-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    min-height: 620px;
  }

  .filter-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .segment-tabs {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border-radius: 18px;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(94vw, 280px);
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border-gray);
    box-shadow: var(--shadow-soft);
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .top-nav:not(.scrolled):not(.inner) .nav-links a {
    color: var(--text-gray);
  }

  .top-nav:not(.scrolled):not(.inner) .nav-links a:hover,
  .top-nav:not(.scrolled):not(.inner) .nav-links a.active {
    color: var(--primary-black);
  }

  .top-nav .btn {
    display: none;
  }

  .hero-content {
    padding-top: 132px;
    padding-bottom: 58px;
  }

  .section {
    padding: 56px 0;
  }

  .grid-3,
  .team-grid,
  .testimonial-grid,
  .stats,
  .grid-4,
  .process-grid,
  .form-grid,
  .filter-toolbar {
    grid-template-columns: 1fr;
  }

  .segment-tabs {
    border-radius: 16px;
    padding: 10px;
    width: 100%;
  }

  .segment-tab {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .filter-toolbar {
    display: none;
  }

  .filter-toolbar.open {
    display: grid;
    position: fixed;
    inset: 64px 14px 14px;
    overflow-y: auto;
    z-index: 1200;
    padding: 20px;
  }

  .filter-toolbar.open [data-filter-close] {
    display: inline-flex;
  }

  .filter-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    gap: 12px;
  }

  .cta-banner {
    padding: 34px;
  }

  .sticky-mobile-cta {
    display: inline-flex;
  }
}
