/*
Theme Name: Claire Philips Realtor
Theme URI: 
Author: Chris
Author URI: 
Description: Custom theme for Claire Philips Real Estate
Version: 1.0
License: 
License URI: 
Text Domain: claire-realtor
*/

/* ==========================================================
   Claire Philips | Corcoran Real Estate
   Design System & Shared Styles
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&display=swap');

/* ----------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   ---------------------------------------------------------- */
:root {
  /* Colors */
  --color-primary:       #2e4da7;
  --color-primary-dark:  #1e3480;
  --color-primary-light: #3d5fc0;
  --color-secondary:     #FFD580;
  --color-secondary-dark:#e6b84a;

  --color-text:          #1a1a2e;
  --color-text-muted:    #6b7280;
  --color-text-light:    #9ca3af;
  --color-white:         #ffffff;
  --color-bg:            #ffffff;
  --color-bg-alt:        #f8f9fb;
  --color-bg-dark:       #0f1a3a;
  --color-border:        #e5e7eb;
  --color-border-light:  #f0f2f5;

  /* Typography */
  --font-heading:   'Source Serif 4', Georgia, serif;
  --font-body:      'Montserrat', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.15);

  /* Transitions */
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

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

p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ----------------------------------------------------------
   Layout Utilities
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

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

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255,255,255,0.72);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.flex {
  display: flex;
  align-items: center;
}

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

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

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ----------------------------------------------------------
   Section Headers (reusable across pages)
   ---------------------------------------------------------- */
.section-header {
  margin-bottom: var(--space-16);
}

.section-header.text-center {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-16);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-label--gold {
  color: var(--color-secondary);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--color-secondary);
  margin-top: var(--space-4);
  border-radius: var(--radius-full);
}

.section-divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background-color: var(--color-secondary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

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

.btn--outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.6);
}

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

.btn--lg {
  padding: 18px 44px;
  font-size: var(--text-base);
}

.btn--sm {
  padding: 10px 20px;
  font-size: var(--text-xs);
}

/* ----------------------------------------------------------
   Badge / Tag
   ---------------------------------------------------------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

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

.badge--gold {
  background-color: var(--color-secondary);
  color: var(--color-text);
}

.badge--light {
  background-color: rgba(46,77,167,0.08);
  color: var(--color-primary);
}

/* ----------------------------------------------------------
   Navigation
   ---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-4) 0;
  transition: all var(--transition);
  background-color: transparent;
}

.nav.nav--scrolled {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3) 0;
}

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

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.nav__logo-mark {
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__logo-mark--gold-bar {
  position: relative;
}

.nav__logo-mark--gold-bar::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: var(--radius-full);
}

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

.nav__logo-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

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

/* Nav on dark hero — white text */
.nav--on-dark .nav__logo-name,
.nav--on-dark .nav__logo-agency,
.nav--on-dark .nav__link {
  color: var(--color-white);
}

.nav--on-dark .nav__logo-mark {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.nav--scrolled .nav__logo-name { color: var(--color-text); }
.nav--scrolled .nav__logo-agency { color: var(--color-text-muted); }
.nav--scrolled .nav__link { color: var(--color-text); }
.nav--scrolled .nav__logo-mark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Nav Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition);
  border-radius: var(--radius-full);
}

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

.nav__link.active {
  color: var(--color-secondary);
}

.nav--scrolled .nav__link {
  color: var(--color-text);
}

.nav--scrolled .nav__link.active {
  color: var(--color-primary);
}

.nav__cta {
  margin-left: var(--space-4);
}

/* ----------------------------------------------------------
   Hero Section
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f1a3a 0%, #1e2d5a 50%, #2e4da7 100%);
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1505118380757-91f5f5632de0?w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: var(--space-16);
  align-items: center;
  padding-top: var(--space-32);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero__eyebrow-line {
  width: 32px;
  height: 2px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-full);
}

.hero__eyebrow-text {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

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

.hero__desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  margin-top: var(--space-1);
}

.hero__image-wrap {
  position: relative;
}

.hero__image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero__image-card img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero__image-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hero__image-badge-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
}

.hero__image-badge-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.hero__image-badge-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.hero__accent-dot {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--color-secondary);
  opacity: 0.15;
  border-radius: var(--radius-full);
  top: -30px;
  right: -30px;
}

.hero__accent-line {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border: 3px solid var(--color-secondary);
  opacity: 0.3;
  border-radius: var(--radius-md);
}

/* ----------------------------------------------------------
   Trust Bar / Stats Strip
   ---------------------------------------------------------- */
.trust-bar {
  background-color: var(--color-primary);
  padding: var(--space-10) 0;
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.trust-bar__item-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.trust-bar__item-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}

.trust-bar__divider {
  width: 1px;
  height: 48px;
  background-color: rgba(255,255,255,0.15);
  margin: 0 auto;
}

/* ----------------------------------------------------------
   About / Agent Card
   ---------------------------------------------------------- */
.about-snippet__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-snippet__image img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.about-snippet__image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100px;
  height: 100px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-md);
  z-index: -1;
}

.about-snippet__content {
  padding-left: var(--space-8);
}

.about-snippet__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.about-snippet__highlight-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.about-snippet__highlight-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(46,77,167,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-lg);
}

.about-snippet__highlight-text strong {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

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

/* ----------------------------------------------------------
   Property Cards
   ---------------------------------------------------------- */
.property-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.property-card__image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-card__image img {
  transform: scale(1.05);
}

.property-card__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
}

.property-card__save {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  cursor: pointer;
  transition: background var(--transition);
}

.property-card__save:hover {
  background: var(--color-white);
}

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

.property-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.property-card__address {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.property-card__location {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-5);
}

.property-card__specs {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-light);
}

.property-card__spec {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
}

.property-card__spec-icon {
  font-size: var(--text-base);
}

/* ----------------------------------------------------------
   Testimonials
   ---------------------------------------------------------- */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-secondary);
}

.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.testimonial-card__stars {
  color: var(--color-secondary);
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
  letter-spacing: 2px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-primary);
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ----------------------------------------------------------
   CTA Banner
   ---------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255,213,128,0.08);
  border-radius: var(--radius-full);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255,213,128,0.06);
  border-radius: var(--radius-full);
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: var(--text-4xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.cta-banner p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--space-10);
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ----------------------------------------------------------
   Contact Form
   ---------------------------------------------------------- */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46,77,167,0.10);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-light);
}

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

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

/* ----------------------------------------------------------
   Page Hero (inner pages)
   ---------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, #0f1a3a 0%, #2e4da7 100%);
  padding: 140px 0 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: var(--text-5xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.page-hero p {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   Breadcrumb
   ---------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-5);
  justify-content: center;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

.breadcrumb__sep {
  font-size: var(--text-xs);
  opacity: 0.5;
}

/* ----------------------------------------------------------
   Filter Bar (Listings Page)
   ---------------------------------------------------------- */
.filter-bar {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: var(--space-4);
  align-items: end;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.filter-field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.filter-field select,
.filter-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-white);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.filter-field select:focus,
.filter-field input:focus {
  border-color: var(--color-primary);
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.footer {
  background-color: var(--color-bg-dark);
  padding: var(--space-20) 0 0;
  color: rgba(255,255,255,0.75);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-top: var(--space-5);
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  transition: all var(--transition);
  color: rgba(255,255,255,0.6);
}

.footer__social-link:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background: rgba(255,213,128,0.08);
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-secondary);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer__contact-icon {
  font-size: var(--text-base);
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.footer__bottom {
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.footer__legal-links {
  display: flex;
  gap: var(--space-6);
}

.footer__legal-link {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer__legal-link:hover {
  color: rgba(255,255,255,0.7);
}

/* ----------------------------------------------------------
   Responsive — Tablet (≤ 1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__eyebrow {
    justify-content: center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__image-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

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

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

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

  .trust-bar__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .about-snippet__content {
    padding-left: 0;
  }

  .about-snippet__image img {
    height: 400px;
  }
}

/* ----------------------------------------------------------
   Responsive — Mobile (≤ 768px)
   ---------------------------------------------------------- */
/* ----------------------------------------------------------
   Lucide SVG Icons (injected via lucide.createIcons())
   Lucide replaces <i data-lucide="..."> with inline <svg class="lucide ...">
   ---------------------------------------------------------- */
svg.lucide { display: block; flex-shrink: 0; }

.about-snippet__highlight-icon svg.lucide { width: 22px; height: 22px; }
.credential-card__icon svg.lucide        { width: 36px; height: 36px; color: var(--color-primary); margin: 0 auto; }
.property-card__spec-icon svg.lucide     { width: 15px; height: 15px; }
.property-card__location svg.lucide      { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; flex-shrink: 0; }
.property-card__save svg.lucide          { width: 18px; height: 18px; }
.hero__image-badge-icon svg.lucide       { width: 22px; height: 22px; color: var(--color-text); }
.about-hero__badge svg.lucide            { width: 14px; height: 14px; display: inline-block; vertical-align: -1px; }
.footer__contact-icon svg.lucide         { width: 16px; height: 16px; }
.footer__social-link svg.lucide          { width: 16px; height: 16px; }
.contact-agent-card__detail-icon svg.lucide { width: 18px; height: 18px; color: rgba(255,255,255,0.75); }
.map-placeholder__icon svg.lucide        { width: 52px; height: 52px; color: var(--color-primary); margin: 0 auto; }

/* ----------------------------------------------------------
   Responsive — Mobile (≤ 768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --space-24: 4rem;
    --space-20: 3rem;
    --space-16: 2.5rem;
  }

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

  .container {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .nav__links {
    display: none;
  }

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

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

  .trust-bar__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

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

  .cta-banner h2 {
    font-size: var(--text-3xl);
  }

  .page-hero h1 {
    font-size: var(--text-4xl);
  }

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