/* Mitraansh Realty — Main Stylesheet */

:root {
  --navy: #0f2744;
  --navy-light: #1a3a5c;
  --gold: #c9a227;
  --gold-light: #e4c04a;
  --cream: #f8f6f1;
  --white: #ffffff;
  --text: #2d3748;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 39, 68, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Poppins", system-ui, sans-serif;
  --header-h: 80px;
  --page-gutter: 1.25rem;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.section {
  padding: 5rem 0;
}

.section--cream {
  background: var(--cream);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section--navy .section__title {
  color: var(--white);
}

.section__subtitle {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section--navy .section__subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header {
  position: relative;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.nav-backdrop {
  display: none;
}

@media (min-width: 769px) {
  .header,
  .header__bar,
  .header__inner {
    overflow: visible;
  }

  .header__inner .nav {
    flex: 1;
    justify-content: center;
    min-width: 0;
  }

  .nav__links {
    overflow: visible;
  }

  .nav__item--dropdown {
    position: relative;
  }

  .nav__dropdown-menu {
    z-index: 1100;
  }
}

.header--on-dark:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(15, 39, 68, 0.85) 0%, rgba(15, 39, 68, 0.35) 70%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.is-scrolled,
.header:not(.header--on-dark) {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(15, 39, 68, 0.08);
}

.header__bar {
  min-height: var(--header-h);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.header--on-dark:not(.is-scrolled) .logo {
  color: var(--white);
}

.logo__icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, var(--navy) 0%, #1e4976 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  letter-spacing: -0.02em;
}

.logo__name span {
  color: var(--gold);
}

.logo__tagline {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.header--on-dark:not(.is-scrolled) .logo__tagline {
  color: rgba(255, 255, 255, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem;
  background: rgba(15, 39, 68, 0.04);
  border-radius: 50px;
  border: 1px solid rgba(15, 39, 68, 0.06);
}

.header--on-dark:not(.is-scrolled) .nav__links {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.55rem 1rem;
  border-radius: 50px;
  transition: color 0.25s ease, background 0.25s ease;
}

.header--on-dark:not(.is-scrolled) .nav__link {
  color: rgba(255, 255, 255, 0.92);
}

.nav__link:hover {
  color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
}

.header--on-dark:not(.is-scrolled) .nav__link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
}

.nav__link.is-active {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  box-shadow: 0 2px 12px rgba(201, 162, 39, 0.35);
}

.header--on-dark:not(.is-scrolled) .nav__link.is-active {
  color: var(--navy);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.75rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(201, 162, 39, 0.45);
  color: var(--navy);
}

.header__cta svg {
  width: 16px;
  height: 16px;
}

.header__cta.is-active {
  box-shadow: 0 0 0 3px rgba(15, 39, 68, 0.15), 0 4px 16px rgba(201, 162, 39, 0.4);
}

.footer .logo__text {
  display: flex;
  flex-direction: column;
}

.nav__caret {
  display: inline-block;
  font-size: 0.55em;
  margin-left: 0.2em;
  opacity: 0.65;
  transition: transform 0.2s ease;
}

.nav__item--dropdown:hover .nav__caret,
.nav__item--dropdown.is-open .nav__caret {
  transform: rotate(180deg);
}

.nav__item--dropdown {
  position: relative;
}

.nav__item--dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  z-index: 1002;
}

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(15, 39, 68, 0.15);
  padding: 0.5rem;
  margin-top: 0;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav__dropdown-label {
  display: block;
  padding: 0.5rem 1rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav__dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__dropdown-menu a:hover,
.nav__dropdown-menu a.is-active {
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.15), transparent);
  color: var(--gold);
}

.nav__item--dropdown:hover .nav__dropdown-menu,
.nav__item--dropdown.is-open .nav__dropdown-menu,
.nav__item--dropdown:focus-within .nav__dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(15, 39, 68, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
  transition: background 0.2s ease;
}

.header--on-dark:not(.is-scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.header--on-dark:not(.is-scrolled) .nav-toggle span {
  background: var(--white);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

#projects {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* City pages */
.city-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  margin-bottom: 2rem;
  border-radius: 0 0 4rem 0;
  overflow: hidden;
}

.city-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.city-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 39, 68, 0.88) 0%, rgba(15, 39, 68, 0.5) 100%);
}

.city-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.city-hero__title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.city-hero__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.city-grid .project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.city-grid .project-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.city-grid .project-card__body .btn {
  margin-top: auto;
}

/* Project detail */
.project-hero {
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.project-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.project-hero .project-hero__tag {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.feature-list li {
  background: var(--cream);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  border-left: 3px solid var(--gold);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.amenity-item {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.city-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}

.city-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.city-card:hover .city-card__bg {
  transform: scale(1.05);
}

.city-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 39, 68, 0.92), transparent 60%);
}

.city-card__body {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
  width: 100%;
}

.city-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.city-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: var(--navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 39, 68, 0.92) 0%, rgba(15, 39, 68, 0.75) 45%, rgba(15, 39, 68, 0.4) 100%),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1920&q=80") center / cover no-repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero__badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid var(--gold);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero__title span {
  color: var(--gold);
}

.hero__text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Property types — strip below hero */
.property-types {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding-bottom: 1rem;
}

.property-types__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.type-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem 1.35rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 39, 68, 0.08);
  box-shadow: 0 12px 40px rgba(15, 39, 68, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  position: relative;
}

.type-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(15, 39, 68, 0.14);
  border-color: rgba(201, 162, 39, 0.35);
}

.type-card:hover::before {
  transform: scaleX(1);
}

.type-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 14px;
  color: var(--gold);
  box-shadow: 0 6px 16px rgba(15, 39, 68, 0.2);
}

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

.type-card__body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.type-card__body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.type-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  transition: gap 0.2s ease;
}

.type-card:hover .type-card__link {
  color: var(--navy);
}

/* About preview */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-grid__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-grid__text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat__label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.service-card__num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Why choose */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.why-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.why-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition);
}

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

.project-card__img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.project-card__body {
  padding: 1.5rem;
}

.project-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  background: rgba(201, 162, 39, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.project-card h3 {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.project-card__location {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.project-card ul {
  margin-bottom: 1rem;
}

.project-card li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.project-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.project-card__price {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

/* CTA banner */
.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  margin: 0 1.25rem;
  max-width: calc(1140px - 2.5rem);
  margin-left: auto;
  margin-right: auto;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

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

.page-hero--about {
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: calc(var(--header-h) + 5rem) 0 5rem;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 39, 68, 0.92) 0%, rgba(15, 39, 68, 0.75) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.page-hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.page-hero--about h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero--about p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* About page */
.about-intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-intro__visual {
  position: relative;
}

.about-intro__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.about-intro__badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  line-height: 1.2;
}

.about-intro__badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.about-intro__badge span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-intro__highlights {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about-highlight__num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.about-highlight__text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.section-head-center {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head-center .section__subtitle {
  margin: 0 auto;
}

.mvv-grid--enhanced .mvv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mvv-grid--enhanced .mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.mvv-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.values-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.about-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  color: var(--white);
}

.about-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.about-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.mvv-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--gold);
}

.mvv-card h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.mvv-card p,
.mvv-card li {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.mvv-card ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.mvv-card li {
  margin-bottom: 0.35rem;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.value-item::before {
  content: "◆";
  color: var(--gold);
  font-size: 0.75rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-info__item h4 {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-info__item a,
.contact-info__item p {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-info__item a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-group label .required {
  color: #e53e3e;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

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

.form-success {
  display: none;
  padding: 1.5rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  color: #065f46;
  text-align: center;
}

.form-success.is-visible {
  display: block;
}

.contact-form.is-hidden {
  display: none;
}

.map-embed {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 320px;
  background: var(--cream);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer__links a {
  display: block;
  font-size: 0.9375rem;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.75);
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition);
}

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

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Responsive */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  :root {
    --page-gutter: 1.75rem;
    --header-h: 60px;
  }

  body {
    overflow-x: hidden;
  }

  .section {
    padding: 3.5rem 0;
  }

  .header__bar {
    min-height: 60px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo__tagline {
    display: none;
  }

  /* Hero — breathing room on small screens */
  .hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }

  .hero__content {
    max-width: none;
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .hero__badge {
    margin-bottom: 1rem;
  }

  .hero__title {
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .hero__text {
    margin-bottom: 1.75rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.875rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.5rem;
  }

  .property-types {
    margin-top: 0;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .property-types__grid {
    gap: 1rem;
  }

  .type-card {
    padding: 1.25rem;
  }

  .cta-banner {
    margin-left: var(--page-gutter);
    margin-right: var(--page-gutter);
    max-width: none;
    padding: 3rem 1.5rem;
  }

  .city-hero {
    padding-bottom: 3rem;
  }

  .page-hero {
    padding-bottom: 3rem;
  }

  .page-hero--about {
    padding-bottom: 3.5rem;
  }

  /* Prevent backdrop-filter from clipping the full-screen mobile menu */
  .header,
  .header.is-scrolled,
  .header:not(.header--on-dark) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-header,
  .header,
  .header__bar,
  .header__inner {
    overflow: visible;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1998;
    background: rgba(15, 39, 68, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header {
    z-index: 2002;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 1rem) var(--page-gutter) 2rem;
    gap: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Force readable link colors inside mobile menu (overrides transparent header) */
  .nav .nav__link,
  .header--on-dark:not(.is-scrolled) .nav .nav__link,
  .header--on-dark .nav .nav__link {
    color: var(--navy);
    background: transparent;
    box-shadow: none;
  }

  .nav .nav__link:hover,
  .header--on-dark .nav .nav__link:hover {
    color: var(--navy);
    background: rgba(201, 162, 39, 0.12);
  }

  .nav .nav__link.is-active {
    color: var(--navy);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    box-shadow: 0 2px 8px rgba(201, 162, 39, 0.25);
  }

  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border-radius: var(--radius);
    padding: 0.5rem;
    background: var(--cream);
    border: none;
    gap: 0.25rem;
  }

  .nav__item--dropdown {
    display: block;
    width: 100%;
  }

  .nav__item--dropdown::before {
    display: none;
  }

  .nav__link {
    display: block;
    width: 100%;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .header__cta {
    margin-left: 0;
    margin-top: auto;
    justify-content: center;
    width: 100%;
    padding: 0.95rem;
    flex-shrink: 0;
  }

  .nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: rgba(15, 39, 68, 0.04);
    border-radius: 8px;
    padding: 0.35rem 0.5rem;
    margin: 0.25rem 0 0.5rem;
    display: block;
    min-width: 0;
  }

  .nav__dropdown-label {
    display: none;
  }

  .nav__dropdown-menu a {
    color: var(--navy);
    padding: 0.65rem 0.75rem;
  }

  .nav__item--dropdown:hover .nav__dropdown-menu {
    display: block;
    transform: none;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 2003;
  }

  .logo {
    position: relative;
    z-index: 2003;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .nav-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .property-types__grid {
    grid-template-columns: 1fr;
  }

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

  .stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

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

  .about-intro__badge {
    right: 1rem;
    bottom: -0.5rem;
  }

  .about-intro__highlights {
    flex-wrap: wrap;
  }

  .values-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero--about {
    text-align: center;
  }

  .page-hero__content {
    margin: 0 auto;
  }

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

  .project-detail-grid {
    grid-template-columns: 1fr;
  }

  .nav__item--dropdown .nav__dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 400px) {
  :root {
    --page-gutter: 1.5rem;
  }

  .hero__title {
    font-size: 1.5rem;
  }
}
