/* ============================================================
   9to5 Real Estate — Main Stylesheet
   Modern, clean property management theme
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --primary:       #1a3a5c;
  --primary-dark:  #0d2137;
  --primary-light: #2a5080;
  --accent:        #c9963a;
  --accent-dark:   #a87b2a;
  --accent-light:  #e8b55a;
  --white:         #ffffff;
  --off-white:     #f8f9fa;
  --light-gray:    #f0f2f5;
  --border:        #e2e8f0;
  --text:          #1e293b;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;
  --success:       #10b981;
  --error:         #ef4444;
  --warning:       #f59e0b;

  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow:        0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:     0 10px 40px rgba(0,0,0,0.14);
  --shadow-xl:     0 20px 60px rgba(0,0,0,0.18);

  --radius:        8px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-full:   9999px;

  --transition:    all 0.25s ease;
  --transition-slow: all 0.4s ease;

  --container:     1200px;
  --nav-height:    72px;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading:  'Playfair Display', Georgia, serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

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

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

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

ul { list-style: none; }

input, textarea, select, button {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 { margin-bottom: 12px; }
.section-header p {
  font-size: 1.125rem;
  max-width: 580px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,150,58,0.35);
}

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

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

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

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-full { width: 100%; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: var(--transition-slow);
}

.site-header.scrolled {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
}

.site-header.scrolled .nav-link {
  color: rgba(255,255,255,0.85);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  font-family: var(--font-body);
  letter-spacing: -0.03em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  margin-top: 2px;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  font-weight: 600;
  padding: 9px 20px;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: var(--white);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  gap: 5px;
  transition: var(--transition);
}

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

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

/* Page offset for fixed header */
.page-wrapper {
  padding-top: var(--nav-height);
}

.page-wrapper.has-hero {
  padding-top: 0;
}

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e4d7a 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Decorative background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,150,58,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(201,150,58,0.05) 0%, transparent 40%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 140px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,150,58,0.2);
  border: 1px solid rgba(201,150,58,0.4);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--accent-light);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* Hero right side card */
.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: var(--white);
}

.hero-card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.quick-search {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-search select,
.quick-search input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
}

.quick-search select option { color: var(--text); background: var(--white); }

.quick-search select:focus,
.quick-search input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.15);
}

.quick-search select::placeholder,
.quick-search input::placeholder {
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--primary);
  padding: 20px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition-slow);
  transform-origin: left;
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(26,58,92,0.08), rgba(201,150,58,0.12));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   FEATURED PROPERTIES
   ============================================================ */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

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

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

.property-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.property-card:hover .property-image img { transform: scale(1.06); }

.property-image-placeholder {
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
}

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.property-badge.available { background: var(--success); }
.property-badge.pending   { background: var(--warning); }

.property-price {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(13,33,55,0.9);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius);
}

.property-price span {
  font-size: 0.7rem;
  opacity: 0.7;
  font-weight: 400;
}

.property-body {
  padding: 22px;
}

.property-type {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.property-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.property-address {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.property-features {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.prop-feat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.property-footer .btn { font-size: 0.85rem; padding: 9px 18px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { background: var(--off-white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.2;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-body);
  position: relative;
  z-index: 1;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.step-item:hover .step-number {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.1);
}

.step-item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-item p {
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(201,150,58,0.12) 0%, transparent 60%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 { color: var(--white); margin-bottom: 10px; }
.cta-text p  { color: rgba(255,255,255,0.65); margin: 0; max-width: 480px; }

.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.testimonial-card:hover { box-shadow: var(--shadow); }

.stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 20px;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-name  { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.author-since { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0 50px;
  margin-top: 0;
}

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

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }
.breadcrumb-current { color: rgba(255,255,255,0.85); font-weight: 500; }

/* ============================================================
   FORMS
   ============================================================ */
.form-section { background: var(--off-white); }

.form-wrapper {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-intro {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.form-intro h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.form-intro p { color: var(--text-muted); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group label .required {
  color: var(--error);
  margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}

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

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

.form-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-divider span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--primary);
  margin-top: 2px;
}

.form-checkbox span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 12px;
}

.form-submit-row {
  grid-column: 1 / -1;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Success / Error messages */
.form-message {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  grid-column: 1 / -1;
}

.form-message.success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #065f46;
  display: block;
}

.form-message.error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #991b1b;
  display: block;
}

/* Radio group */
.radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
}

.radio-option input[type="radio"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

/* ============================================================
   PROPERTIES PAGE
   ============================================================ */
.properties-filters {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
}

.filters-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-select {
  padding: 9px 36px 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.filter-count {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.no-properties {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.no-properties h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ============================================================
   SINGLE PROPERTY
   ============================================================ */
.property-detail { padding: 56px 0; }

.property-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.property-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-gray);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.property-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 24px 0;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.meta-value { font-size: 1rem; font-weight: 700; color: var(--text); }

.property-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  box-shadow: var(--shadow);
}

.sidebar-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-body);
  margin-bottom: 4px;
}

.sidebar-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }

.sidebar-available {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 24px;
}

.sidebar-available::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
}

.sidebar-actions { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 36px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(26,58,92,0.08), rgba(201,150,58,0.12));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 3px;
}

.contact-item-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-block {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-img-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 4rem;
}

.about-card-overlay {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-card-overlay .number {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  font-family: var(--font-body);
}

.about-card-overlay .label {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 4px;
}

.about-text .section-label { margin-bottom: 8px; }
.about-text h2 { margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; }

.about-values { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }

.about-value {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.value-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,150,58,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.value-text strong { display: block; font-size: 0.9rem; color: var(--text); margin-bottom: 3px; }
.value-text span   { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .site-logo { margin-bottom: 16px; }

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--accent);
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

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

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.bg-white    { background: var(--white); }
.bg-light    { background: var(--off-white); }
.bg-primary  { background: var(--primary); }

.mt-0  { margin-top: 0 !important; }
.mb-0  { margin-bottom: 0 !important; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.hidden { display: none !important; }

.wp-block-image { margin: 0; }

/* Alert boxes */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.alert-success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #065f46;
}

.alert-info {
  background: rgba(26,58,92,0.08);
  border: 1px solid rgba(26,58,92,0.2);
  color: var(--primary);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 480px; }

  .property-detail-grid { grid-template-columns: 1fr; }
  .property-sidebar { position: static; }

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

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid   { grid-template-columns: 1fr; }
  .about-image-block { max-width: 500px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }

  /* Nav mobile */
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

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

  .nav-link {
    padding: 12px 16px;
    border-radius: var(--radius);
  }

  .nav-toggle { display: flex; }

  /* Hero mobile */
  .hero-content { padding: 60px 0 100px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 20px; }

  /* Form */
  .form-wrapper { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: 1; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Steps */
  .steps-grid::before { display: none; }

  /* CTA */
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-buttons { justify-content: center; }

  /* Properties */
  .filters-row { gap: 8px; }
  .filter-count { width: 100%; }
}

@media (max-width: 480px) {
  .hero-stat-number { font-size: 1.4rem; }
  .hero-badge { font-size: 0.72rem; }
  .container { padding: 0 16px; }
  .form-wrapper { padding: 24px 16px; }
  .contact-form-card { padding: 24px 16px; }
  .about-card-overlay { right: 0; bottom: -12px; }
}
