/* ============================================================
   CDPCN — Desert Modernism Editorial
   Soft pastels, bold asymmetry, magazine-grade typography
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Palette — warm desert pastels with punch */
  --cream:       #FAF7F2;
  --cream-warm:  #F5F0E8;
  --sand:        #E8DFD0;
  --terracotta:  #C4734F;
  --terracotta-deep: #A85A3A;
  --sage:        #7A9E7E;
  --sage-deep:   #5B7E5F;
  --sage-pale:   #D4E4D6;
  --clay:        #B8967A;
  --slate:       #3D3D3D;
  --charcoal:    #2A2A2A;
  --ink:         #1A1A1A;
  --white:       #FFFFFF;
  --olive:       #8B956D;
  --olive-pale:  #E7EBD9;
  --blush:       #E8C4B8;
  --sky:         #B8CDD6;
  
  /* Functional */
  --bg:          var(--cream);
  --text:        var(--charcoal);
  --text-muted:  #6B6B6B;
  --heading:     var(--ink);
  --accent:      var(--terracotta);
  --accent-hover:var(--terracotta-deep);
  --surface:     var(--white);
  --border:      rgba(0,0,0,0.06);
  
  /* Typography scale */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Outfit', -apple-system, sans-serif;
  
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.625rem;
  --text-3xl:  2rem;
  --text-4xl:  2.75rem;
  --text-5xl:  3.5rem;
  --text-6xl:  4.5rem;
  --text-hero: clamp(3rem, 7vw, 6rem);
  
  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  
  /* Layout */
  --max-width:  1280px;
  --nav-height: 80px;
  
  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:   0.6s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.15;
  font-weight: 500;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { max-width: 65ch; }

.label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.label--sage { color: var(--sage-deep); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.nav--scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--heading);
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav__logo-text small {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  position: relative;
  transition: color 0.3s ease;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

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

.nav__links .nav__cta {
  background: var(--accent);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav__cta::after { display: none !important; }

.nav__cta:hover {
  background: var(--accent-hover) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.nav__dropdown:hover .nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 200px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  list-style: none;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: var(--text-sm);
  transition: background 0.2s ease;
}

.nav__dropdown-menu a:hover {
  background: var(--cream-warm);
}

.nav__dropdown-menu a::after { display: none; }

/* Mobile toggle */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

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

/* Organic blob shapes in the background */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.hero__blob--1 {
  width: 600px;
  height: 600px;
  background: var(--sage-pale);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero__blob--2 {
  width: 400px;
  height: 400px;
  background: var(--blush);
  bottom: 10%;
  left: -5%;
  animation-delay: -7s;
}

.hero__blob--3 {
  width: 300px;
  height: 300px;
  background: var(--olive-pale);
  top: 40%;
  right: 30%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Desert texture grain */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

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

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 400;
  margin-bottom: var(--space-md);
  line-height: 1.05;
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: 520px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* --- Decorative Side Element --- */
.hero__aside {
  position: absolute;
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-sm);
  z-index: 1;
}

.hero__stat {
  text-align: right;
  padding: var(--space-md);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid var(--border);
  min-width: 180px;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 115, 79, 0.3);
}

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

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

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

.btn--sage:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122, 158, 126, 0.3);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

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

/* ============================================================
   MISSION PILLARS (Home)
   ============================================================ */
.pillars {
  background: var(--white);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.pillar {
  background: var(--white);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: background 0.4s ease;
  position: relative;
}

.pillar:hover {
  background: var(--cream-warm);
}

.pillar__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--cream-warm);
  color: var(--accent);
  transition: background 0.3s ease, color 0.3s ease;
}

.pillar:hover .pillar__icon {
  background: var(--accent);
  color: var(--white);
}

.pillar__icon svg {
  width: 24px;
  height: 24px;
}

.pillar__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}

.pillar__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   ABOUT SPLIT SECTION
   ============================================================ */
.about-split {
  position: relative;
}

.about-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-split__visual {
  position: relative;
}

.about-split__shape {
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--sage-pale), var(--olive-pale));
  position: relative;
  overflow: hidden;
}

/* Abstract geometric pattern for visual block */
.about-split__shape::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, var(--sage) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, var(--blush) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, var(--olive-pale) 0%, transparent 70%);
  opacity: 0.6;
}

/* Decorative floating card */
.about-split__card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--white);
  padding: var(--space-md) var(--space-lg);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.about-split__card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-deep);
}

.about-split__card-text strong {
  display: block;
  font-size: var(--text-lg);
  color: var(--heading);
}

.about-split__card-text span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.about-split__content {
  max-width: 520px;
}

.about-split__content h2 {
  margin-bottom: var(--space-md);
}

.about-split__content p {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.about-split__content p:last-of-type {
  margin-bottom: var(--space-lg);
}

/* ============================================================
   PROPERTIES SHOWCASE
   ============================================================ */
.properties-showcase {
  background: var(--white);
}

.properties-showcase__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  gap: var(--space-lg);
}

.properties-showcase__header h2 {
  max-width: 500px;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--cream);
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--accent);
  color: var(--white);
}

/* Property cards */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-md);
}

.property-card {
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
  border-color: var(--sand);
}

.property-card__image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--sand), var(--blush));
  position: relative;
  overflow: hidden;
}

.property-card__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.property-card__badge--family {
  background: rgba(196, 115, 79, 0.9);
  color: var(--white);
}

.property-card__badge--senior {
  background: rgba(122, 158, 126, 0.9);
  color: var(--white);
}

.property-card__body {
  padding: var(--space-md);
}

.property-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--heading);
  line-height: 1.3;
}

.property-card__address {
  font-size: var(--text-sm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: var(--space-sm);
}

.property-card__address svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.property-card__phone {
  font-size: var(--text-sm);
  color: var(--sage-deep);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.property-card__phone svg {
  width: 14px;
  height: 14px;
}

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

.property-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.3s ease;
}

.property-card:hover .property-card__link {
  gap: 0.6rem;
}

.property-card__link svg {
  width: 14px;
  height: 14px;
}

/* Amenities chips */
.property-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.amenity-chip {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--sage-pale);
  color: var(--sage-deep);
}

/* ============================================================
   BOARD SECTION
   ============================================================ */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.board-card {
  background: var(--white);
  border-radius: 20px;
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.board-card:hover {
  border-color: var(--sand);
  box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}

.board-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-pale), var(--olive-pale));
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--sage-deep);
  font-weight: 600;
}

.board-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: 0.25rem;
}

.board-card__title {
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.board-card__bio {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   APPLICATION SECTION
   ============================================================ */
.application-section {
  background: linear-gradient(135deg, var(--sage-pale) 0%, var(--olive-pale) 100%);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.application-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.application-section .container {
  position: relative;
  z-index: 1;
}

.application-section h2 {
  margin-bottom: var(--space-md);
}

.application-section p {
  color: var(--text-muted);
  margin: 0 auto var(--space-lg);
  max-width: 560px;
  font-size: var(--text-lg);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info__text h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-info__text p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.contact-info__text a {
  color: var(--accent);
  font-weight: 500;
}

/* Contact form */
.contact-form {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: 24px;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.form-group {
  margin-bottom: var(--space-sm);
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--sand);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 115, 79, 0.1);
}

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

.form-math {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.form-math input {
  width: 72px;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1.5px solid var(--sand);
  background: var(--cream);
  text-align: center;
  font-size: var(--text-base);
  font-family: var(--font-body);
  outline: none;
}

.form-math input:focus {
  border-color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand {
  max-width: 320px;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer__brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
}

.footer h5 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-md);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: var(--text-sm);
  transition: color 0.3s ease;
}

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

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.footer__social a:hover {
  background: var(--accent);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.footer__eho {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.footer__eho svg {
  width: 24px;
  height: 24px;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cream-warm) 0%, var(--cream) 100%);
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--sage-pale);
  opacity: 0.3;
  filter: blur(80px);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: var(--space-sm);
}

.page-hero p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 600px;
}

/* ============================================================
   PROPERTY DETAIL (modal / expanded in properties page)
   ============================================================ */
.property-detail {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  animation: fadeIn 0.3s ease;
}

.property-detail.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.property-detail__panel {
  background: var(--cream);
  border-radius: 24px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-xl);
  position: relative;
  animation: slideUp 0.4s var(--ease-out);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.property-detail__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
  z-index: 1;
}

.property-detail__close:hover {
  transform: scale(1.1);
}

.property-detail__close svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   EQUAL HOUSING SVG ICON
   ============================================================ */
.eho-icon {
  display: inline-block;
}

/* ============================================================
   MARQUEE (decorative text ticker)
   ============================================================ */
.marquee {
  overflow: hidden;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--cream-warm);
}

.marquee__inner {
  display: flex;
  gap: var(--space-xl);
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--sand);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.marquee__item span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__aside { display: none; }
  .about-split__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .about-split__card { position: relative; bottom: auto; right: auto; margin-top: var(--space-md); display: inline-flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-hero: clamp(2.25rem, 8vw, 3.5rem);
    --space-3xl: 5rem;
    --space-2xl: 3.5rem;
  }
  
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }
  
  .nav__links.open {
    opacity: 1;
    visibility: visible;
  }
  
  .nav__links a {
    font-size: var(--text-2xl);
    font-family: var(--font-display);
  }
  
  .nav__burger { display: flex; }
  
  .nav__dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    padding-left: var(--space-md);
  }
  
  .nav__dropdown-menu a {
    font-size: var(--text-lg) !important;
  }
  
  .hero { min-height: auto; padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-2xl); }
  .pillars__grid { grid-template-columns: 1fr; }
  .properties-showcase__header { flex-direction: column; align-items: flex-start; }
  .properties-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
