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

:root {
  --brand: #1b2a5e;
  --brand-dark: #0e1a3d;
  --brand-light: #3553a8;
  --accent: #d62828;
  --accent-dark: #ad1f1f;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --text: #1e2430;
  --muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(13, 23, 56, 0.08);
  --shadow: 0 6px 18px rgba(13, 23, 56, 0.12);
  --shadow-lg: 0 14px 34px rgba(13, 23, 56, 0.18);
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(210, 36, 44, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--brand);
  box-shadow: var(--shadow);
}

.btn-white:hover {
  background: #eef1f8;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand);
  color: var(--white);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  flex: none;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.brand-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  color: var(--white);
}

.brand-text em {
  font-style: normal;
  color: var(--accent);
}

.brand-tag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 9px 20px;
  font-size: 14px;
}

/* ---------- Nav dropdown ---------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.nav-dropdown-btn::after {
  content: "▾";
  font-size: 11px;
  transition: transform 0.2s ease;
}

.nav-dropdown-btn:hover,
.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown.open .nav-dropdown-btn {
  color: var(--accent);
}

.nav-dropdown:hover .nav-dropdown-btn::after,
.nav-dropdown.open .nav-dropdown-btn::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 210px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: var(--bg-soft);
  color: var(--accent);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 110px 0 130px;
  text-align: center;
  background: var(--brand-dark);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 30s ease-in-out infinite alternate;
}

.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.hero-media.has-video img {
  display: none;
  animation: none;
}

.hero-media.has-video video {
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(14, 26, 61, 0.72) 0%,
    rgba(27, 42, 94, 0.4) 55%,
    rgba(14, 26, 61, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge,
.hero h1,
.hero p,
.hero-stats {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

@keyframes kenburns {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.12) translate(1.2%, -1.2%);
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 span,
.hero h1 .hero-accent {
  color: var(--accent);
}

.hero p {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-search {
  max-width: 760px;
  margin: 40px auto 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.hero-search label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.hero-search select,
.hero-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
}

.hero-search select:focus,
.hero-search input:focus {
  outline: 2px solid var(--brand-light);
  outline-offset: 1px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
}

.stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Sections ---------- */
.section {
  padding: 84px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--brand);
  line-height: 1.2;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Property cards ---------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.property-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.property-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.property-media {
  position: relative;
}

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
}

.property-badge.for-sale {
  background: var(--accent);
}

.property-badge.for-rent {
  background: var(--brand-light);
}

.property-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-location {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.property-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

.property-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.property-price {
  font-size: 21px;
  font-weight: 800;
  color: var(--accent);
}

.property-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.property-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.view-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}

.view-link:hover {
  color: var(--accent);
}

/* ---------- Featured carousel ---------- */
.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 10px;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track .property-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.carousel-btn:hover {
  background: var(--brand);
  color: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
  left: -18px;
}

.carousel-next {
  right: -18px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

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

.service-card h3 {
  font-size: 20px;
  color: var(--brand);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- About band / stats ---------- */
.about-band {
  background: var(--brand-dark);
  color: var(--white);
}

.about-band .section-head h2 {
  color: var(--white);
}

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

.about-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-text h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 16px;
}

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

.about-points {
  margin: 18px 0 24px;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
}

.about-points .tick {
  color: var(--accent);
  font-weight: 800;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--bg-soft);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.testimonial-stars {
  color: #f59e0b;
  letter-spacing: 3px;
  margin-bottom: 14px;
  font-size: 15px;
}

.testimonial-card p {
  color: var(--text);
  font-size: 15px;
  font-style: italic;
  margin-bottom: 18px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse at bottom left, rgba(210, 36, 44, 0.3), transparent 55%),
    var(--brand);
  color: var(--white);
  text-align: center;
  padding: 70px 20px;
}

.cta-band h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
}

.cta-band p {
  margin: 12px auto 30px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: var(--brand);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 620px;
  margin: 12px auto 0;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 14px;
}

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

.breadcrumb a:hover {
  color: var(--accent);
}

/* ---------- Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 34px;
  box-shadow: var(--shadow-sm);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-group select,
.filter-group input {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-soft);
}

.purpose-tabs {
  display: flex;
  gap: 6px;
}

.purpose-tab {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 9px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.purpose-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.results-info {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.empty-state h3 {
  color: var(--brand);
  margin-bottom: 8px;
}

/* ---------- Property detail ---------- */
.property-hero {
  position: relative;
  background: var(--brand-dark);
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}

.property-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.property-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 60px 0 40px;
  width: 100%;
}

.property-hero-content h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
}

.property-hero-content .location {
  color: rgba(255, 255, 255, 0.85);
  margin: 8px 0 16px;
}

.property-detail-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 36px;
  margin-top: 40px;
}

.property-detail-grid h2 {
  font-size: 22px;
  color: var(--brand);
  margin-bottom: 14px;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.quick-stat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.quick-stat strong {
  display: block;
  font-size: 22px;
  color: var(--brand);
}

.quick-stat span {
  font-size: 13px;
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feature-list li {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
}

.feature-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  margin-right: 8px;
}

.side-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.side-card .price {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
}

.side-card .price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-of-type {
  border-bottom: none;
}

.contact-row .icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.contact-row strong {
  display: block;
  font-size: 14px;
}

.contact-row span {
  font-size: 13px;
  color: var(--muted);
  word-break: break-word;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--brand);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 15px;
  background: var(--bg-soft);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--brand-light);
  outline-offset: 1px;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 34px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.contact-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.contact-card h3 {
  font-size: 16px;
  color: var(--brand);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 14px;
  color: var(--muted);
}

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

.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px;
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
}

.team-card h3 {
  color: var(--brand);
  font-size: 18px;
}

.team-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-card p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}

.value-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--border);
}

.value-card h3 {
  color: var(--brand);
  margin-bottom: 8px;
  font-size: 18px;
}

.value-card p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand .brand-text {
  font-size: 26px;
  color: var(--white);
}

.footer-brand .brand-text em {
  font-style: normal;
  color: var(--accent);
}

.footer-brand .brand-tag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  max-width: 280px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-grid a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- Utilities ---------- */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 12px;
}

.mt-2 {
  margin-top: 24px;
}

.mt-3 {
  margin-top: 36px;
}

.gap-2 {
  gap: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .property-grid,
  .services-grid,
  .testimonial-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .property-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-search {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--brand-dark);
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px 22px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-dropdown {
    display: block;
  }

  .nav-dropdown-btn {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: 0;
    padding: 0 0 6px 16px;
    display: none;
    transition: none;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown.open .dropdown-menu {
    transform: none;
    display: block;
  }

  .dropdown-menu a {
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 12px 4px;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a.active {
    background: transparent;
    color: var(--accent);
  }

  .dropdown-divider {
    display: none;
  }

  .carousel-track .property-card {
    flex-basis: 86%;
  }

  .carousel-prev {
    left: 6px;
  }

  .carousel-next {
    right: 6px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .hero-search .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 26px;
  }

  .property-grid,
  .services-grid,
  .testimonial-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .quick-stats {
    grid-template-columns: 1fr 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 60px 0;
  }

  .filters {
    flex-direction: column;
    align-items: stretch;
  }

  .purpose-tabs {
    flex-wrap: wrap;
  }
}
