/* =========================================================
   PH32 Property Management Services Inc.
   Design System v1.0 — Main Stylesheet
   ========================================================= */

:root {
  --primary: #0B1F3A;
  --primary-hover: #143E7A;
  --secondary: #2D6BFF;
  --accent: #4F8CFF;
  --success: #21C55D;
  --warning: #F59E0B;
  --danger: #EF4444;
  --white: #FFFFFF;
  --bg: #F7F9FC;
  --card: #FFFFFF;
  --border: #E7EDF5;
  --text: #111827;
  --text-secondary: #6B7280;
  --gradient: linear-gradient(135deg, #0B1F3A 0%, #143E7A 60%, #2D6BFF 100%);
  --gradient-btn: linear-gradient(135deg, #2D6BFF 0%, #4F8CFF 100%);

  --radius-btn: 14px;
  --radius-card: 24px;
  --radius-input: 14px;
  --radius-dashboard: 28px;
  --radius-hero: 40px;

  --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 20px 70px rgba(0, 0, 0, 0.12);
  --shadow-floating: 0 40px 80px rgba(0, 0, 0, 0.18);
  --shadow-glass: 0 8px 30px rgba(31, 38, 135, 0.15);

  --font: 'Plus Jakarta Sans', Inter, Roboto, sans-serif;
  --max-width: 1400px;
  --section-py: 120px;
  --nav-height: 80px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }

.container-ph32 {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

.section-sm {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

.eyebrow-pill {
  background: rgba(45, 107, 255, 0.1);
  color: var(--secondary);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.heading-xl {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin: 0 0 20px;
}

.heading-lg {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--primary);
  margin: 0 0 20px;
}

.heading-md {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  margin: 0 0 12px;
}

.subheading {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
}

.lead {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
}

.text-accent { color: var(--secondary); }
.text-white { color: var(--white) !important; }
.text-muted-ph32 { color: var(--text-secondary); }

/* ---------- Buttons ---------- */
.btn-ph32 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none !important;
}

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

.btn-ph32-primary {
  background: var(--gradient-btn);
  color: var(--white) !important;
  box-shadow: 0 12px 30px rgba(45, 107, 255, 0.35);
}

.btn-ph32-primary:hover {
  box-shadow: 0 18px 40px rgba(45, 107, 255, 0.45);
  color: var(--white) !important;
}

.btn-ph32-navy {
  background: var(--primary);
  color: var(--white) !important;
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.25);
}

.btn-ph32-navy:hover {
  background: var(--primary-hover);
  color: var(--white) !important;
}

.btn-ph32-secondary {
  background: var(--white);
  color: var(--primary) !important;
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.btn-ph32-secondary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white) !important;
}

.btn-ph32-outline-light {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ph32-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white) !important;
}

.btn-ph32-sm {
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

/* ---------- Glassmorphism ---------- */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-glass);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

/* ---------- Cards ---------- */
.card-ph32 {
  background: var(--card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card-ph32:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.card-title { font-size: 24px; font-weight: 700; color: var(--primary); margin: 0 0 8px; }
.card-text { font-size: 16px; color: var(--text-secondary); margin: 0; line-height: 1.6; }

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 107, 255, 0.1);
  color: var(--secondary);
  flex-shrink: 0;
}

.icon-box i, .icon-box svg { width: 26px; height: 26px; }

.icon-box-lg {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.icon-box-navy {
  background: rgba(45, 107, 255, 0.18);
  color: var(--accent);
}

/* ---------- Forms ---------- */
.form-floating-ph32 {
  position: relative;
  margin-bottom: 20px;
}

.form-floating-ph32 input,
.form-floating-ph32 textarea,
.form-floating-ph32 select {
  width: 100%;
  height: 56px;
  padding: 18px 18px 6px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-floating-ph32 textarea {
  height: 140px;
  padding-top: 28px;
  resize: vertical;
}

.form-floating-ph32 label {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--text-secondary);
  pointer-events: none;
  transition: all 0.2s ease;
  background: transparent;
}

.form-floating-ph32 textarea + label { top: 28px; transform: none; }

.form-floating-ph32 input:focus,
.form-floating-ph32 textarea:focus,
.form-floating-ph32 select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(45, 107, 255, 0.12);
}

.form-floating-ph32 input:focus + label,
.form-floating-ph32 input:not(:placeholder-shown) + label,
.form-floating-ph32 textarea:focus + label,
.form-floating-ph32 textarea:not(:placeholder-shown) + label,
.form-floating-ph32 select:focus + label,
.form-floating-ph32 select:valid + label {
  top: 8px;
  transform: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--secondary);
}

.form-floating-ph32 input::placeholder,
.form-floating-ph32 textarea::placeholder { color: transparent; }

.alert-ph32 {
  padding: 16px 20px;
  border-radius: var(--radius-btn);
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 500;
}

.alert-success-ph32 {
  background: rgba(33, 197, 93, 0.1);
  color: #15803d;
  border: 1px solid rgba(33, 197, 93, 0.25);
}

.alert-danger-ph32 {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.navbar-ph32 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.35s ease;
  background: transparent;
}

.navbar-ph32.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(231, 237, 245, 0.8);
}

.navbar-ph32 .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-text {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  letter-spacing: 0.02em;
  max-width: 160px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  position: relative;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* Dark nav variant for dark hero pages */
.navbar-ph32.nav-dark:not(.scrolled) .brand-text,
.navbar-ph32.nav-dark:not(.scrolled) .nav-menu a {
  color: rgba(255, 255, 255, 0.85);
}

.navbar-ph32.nav-dark:not(.scrolled) .nav-menu a:hover,
.navbar-ph32.nav-dark:not(.scrolled) .nav-menu a.active {
  color: var(--white);
}

.navbar-ph32.nav-dark:not(.scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* =========================================================
   HERO — Light SaaS (matches design mockup 2)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(45, 107, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(79, 140, 255, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #EEF3FB 0%, #F7F9FC 50%, #F7F9FC 100%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: floatShape 12s ease-in-out infinite;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(45, 107, 255, 0.15);
  top: -100px;
  right: 10%;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(11, 31, 58, 0.08);
  bottom: 10%;
  left: -50px;
  animation-delay: -4s;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: rgba(79, 140, 255, 0.2);
  top: 40%;
  left: 40%;
  animation-delay: -7s;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content { max-width: 600px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  object-fit: cover;
  margin-left: -12px;
}

.avatar-stack img:first-child { margin-left: 0; }

.trust-rating {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stars {
  display: flex;
  gap: 2px;
  color: #F59E0B;
}

.stars svg { width: 14px; height: 14px; fill: currentColor; }

.trust-rating span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-visual {
  position: relative;
  perspective: 1200px;
}

.hero-building {
  position: relative;
  border-radius: var(--radius-hero);
  overflow: hidden;
  box-shadow: var(--shadow-floating);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s ease;
  will-change: transform;
  background: linear-gradient(160deg, #1a3a5c 0%, #0B1F3A 50%, #143E7A 100%);
  min-height: 480px;
  opacity: 1;
}

.hero-building img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1;
  position: relative;
  z-index: 1;
}

.hero-float-card {
  position: absolute;
  bottom: 40px;
  left: -30px;
  padding: 20px 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 300px;
  z-index: 5;
  animation: floatCard 5s ease-in-out infinite;
}

.hero-float-card .float-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(45, 107, 255, 0.35);
}

.hero-float-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 4px;
}

.hero-float-card p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.hero-stat-float {
  position: absolute;
  top: 60px;
  right: -20px;
  padding: 16px 20px;
  border-radius: 18px;
  z-index: 5;
  animation: floatCard 6s ease-in-out infinite reverse;
}

.hero-stat-float .stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.hero-stat-float .stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 4px;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* =========================================================
   SERVICES BAR (Navy)
   ========================================================= */
.services-bar {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  padding-bottom: 0;
}

.services-bar-inner {
  background: var(--primary);
  border-radius: 32px;
  padding: 48px 40px;
  box-shadow: var(--shadow-medium);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.service-item {
  text-align: left;
}

.service-item .icon-box {
  margin-bottom: 20px;
  background: rgba(45, 107, 255, 0.2);
  color: var(--accent);
}

.service-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
}

.service-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.55;
}

/* =========================================================
   STATISTICS
   ========================================================= */
.stats-section {
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
}

.stat-card .icon-box {
  margin: 0 auto 20px;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* =========================================================
   DASHBOARD / WHY CHOOSE
   ========================================================= */
.why-section {
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.check-list {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(45, 107, 255, 0.12);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg { width: 14px; height: 14px; }

/* Dashboard mockup */
.dashboard-preview {
  position: relative;
  transform: perspective(1400px) rotateY(-6deg) rotateX(4deg);
  transition: transform 0.6s ease;
}

.dashboard-frame {
  background: var(--white);
  border-radius: var(--radius-dashboard);
  box-shadow: var(--shadow-floating);
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 72px 1fr 200px;
  min-height: 420px;
}

.dash-sidebar {
  background: var(--primary);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.dash-sidebar .dash-logo {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
}

.dash-nav-item {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition: all 0.2s;
}

.dash-nav-item.active,
.dash-nav-item:hover {
  background: rgba(45, 107, 255, 0.35);
  color: var(--white);
}

.dash-nav-item svg { width: 18px; height: 18px; }

.dash-main {
  padding: 24px;
  background: #F8FAFC;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dash-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.dash-metric {
  background: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
}

.dash-metric .label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.dash-metric .value {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.dash-metric .value.blue { color: var(--secondary); }
.dash-metric .value.green { color: var(--success); }
.dash-metric .value.orange { color: var(--warning); }

.dash-chart-box {
  background: var(--white);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  height: 160px;
}

.dash-chart-box h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 8px;
}

.dash-activity {
  background: var(--white);
  border-left: 1px solid var(--border);
  padding: 20px 16px;
}

.dash-activity h5 {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.activity-item {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  margin-top: 5px;
  flex-shrink: 0;
}

.activity-dot.green { background: var(--success); }
.activity-dot.orange { background: var(--warning); }

.activity-item p {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 2px;
  line-height: 1.35;
}

.activity-item span {
  font-size: 11px;
  color: var(--text-secondary);
}

.dash-scene {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 40px;
  background: linear-gradient(90deg, transparent, rgba(11, 31, 58, 0.06), transparent);
  border-radius: 50%;
  filter: blur(8px);
  z-index: -1;
}

/* =========================================================
   SERVICES GRID (full page / homepage section)
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  padding: 36px 32px;
}

.service-card .icon-box {
  margin-bottom: 24px;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
}

.service-card .card-link:hover { gap: 10px; }

/* =========================================================
   PROCESS
   ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 25px rgba(45, 107, 255, 0.3);
}

.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* =========================================================
   PROPERTY CARDS
   ========================================================= */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.property-card {
  overflow: hidden;
  padding: 0;
}

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

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

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

.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.property-status {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--success);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
}

.property-body {
  padding: 24px;
}

.property-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 6px;
}

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

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

.property-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
}

.property-meta {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.property-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.property-meta svg { width: 15px; height: 15px; color: var(--secondary); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-card {
  padding: 40px 36px;
  height: 100%;
}

.testimonial-card .quote-icon {
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.6;
}

.testimonial-card .quote-icon svg { width: 32px; height: 32px; }

.testimonial-card blockquote {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 28px;
  font-style: normal;
}

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

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 2px;
}

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

.swiper-testimonials {
  padding-bottom: 48px !important;
}

.swiper-pagination-bullet {
  background: var(--secondary) !important;
  opacity: 0.3 !important;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* =========================================================
   NEWS / RESOURCES
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  overflow: hidden;
  padding: 0;
}

.news-card .news-img {
  height: 200px;
  overflow: hidden;
}

.news-card .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.news-body {
  padding: 28px;
}

.news-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.news-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
  line-height: 1.4;
}

.news-body p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* =========================================================
   PARTNERS
   ========================================================= */
.partners-section {
  padding: 60px 0;
  text-align: center;
}

.partners-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px 64px;
}

.partner-logo {
  opacity: 0.45;
  filter: grayscale(1);
  transition: all 0.3s;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-logo:hover {
  opacity: 1;
  filter: none;
}

.partner-logo svg { width: 28px; height: 28px; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-section {
  padding: 80px 0;
}

.cta-banner {
  background: var(--gradient);
  border-radius: 40px;
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -150px;
  right: -100px;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  bottom: -100px;
  left: -80px;
}

.cta-banner .heading-lg {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.cta-banner .lead {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto 36px;
  position: relative;
  z-index: 2;
}

.cta-banner .hero-actions {
  justify-content: center;
  position: relative;
  z-index: 2;
  margin: 0;
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(45, 107, 255, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, #EEF3FB 0%, var(--bg) 100%);
  text-align: center;
}

.page-hero .lead {
  margin: 0 auto;
}

.breadcrumb-ph32 {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.breadcrumb-ph32 a { color: var(--secondary); font-weight: 500; }
.breadcrumb-ph32 span { opacity: 0.5; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer-ph32 {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand .brand {
  margin-bottom: 20px;
}

.footer-brand .brand-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 280px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s;
}

.social-links a:hover {
  background: var(--secondary);
  color: white;
}

.social-links svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 24px;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

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

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  align-items: flex-start;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.newsletter-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
}

.newsletter-box h4 {
  margin-bottom: 8px;
}

.newsletter-box p {
  font-size: 13px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-family: var(--font);
  font-size: 14px;
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }

.newsletter-form button {
  height: 46px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: var(--secondary);
  color: white;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s;
}

.newsletter-form button:hover { background: var(--accent); }

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

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
}

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

/* =========================================================
   FLOATING CTA
   ========================================================= */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 35px rgba(45, 107, 255, 0.45);
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.floating-cta:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 45px rgba(45, 107, 255, 0.55);
  color: white;
}

.floating-cta svg { width: 24px; height: 24px; }

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header .lead {
  margin: 0 auto;
}

.section-header-left {
  text-align: left;
  max-width: 560px;
  margin: 0 0 48px;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  padding: 40px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 4px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.contact-form-card {
  padding: 40px;
}

/* =========================================================
   ABOUT / FEATURES ROW
   ========================================================= */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius-hero);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  height: 480px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.feature-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.feature-pill h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 2px;
}

.feature-pill p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

/* =========================================================
   CRM PREVIEW PAGE
   ========================================================= */
.crm-full {
  background: var(--white);
  border-radius: var(--radius-dashboard);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 700px;
}

.crm-sidebar {
  background: var(--primary);
  padding: 28px 20px;
}

.crm-sidebar .brand { margin-bottom: 36px; }
.crm-sidebar .brand-text { color: white; font-size: 10px; }

.crm-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
  transition: all 0.2s;
}

.crm-nav a:hover,
.crm-nav a.active {
  background: rgba(45, 107, 255, 0.3);
  color: white;
}

.crm-nav a svg { width: 18px; height: 18px; }

.crm-content { padding: 28px; background: #F8FAFC; }

.crm-widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.crm-widget {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
}

.crm-widget .w-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.crm-widget .w-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.crm-charts {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.crm-chart-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
}

.crm-chart-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 16px;
}

.crm-chart-card canvas {
  max-height: 220px;
}

.pipeline-stages {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.pipeline-stage {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  background: var(--bg);
}

.pipeline-stage .count {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.pipeline-stage .label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .services-bar-inner { gap: 24px; padding: 40px 28px; }
  .dashboard-frame { grid-template-columns: 64px 1fr 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .crm-full { grid-template-columns: 200px 1fr; }
}

@media (max-width: 992px) {
  :root { --section-py: 80px; }

  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 16px;
    right: 16px;
    background: white;
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-medium);
    gap: 4px;
  }
  .nav-toggle { display: flex; }
  .nav-cta .btn-ph32 { display: none; }

  .hero-grid,
  .why-grid,
  .feature-row,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-building img { height: 400px; }
  .hero-float-card { left: 16px; bottom: 24px; }
  .hero-stat-float { right: 16px; top: 24px; }

  .services-bar-inner,
  .stats-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .dashboard-preview { transform: none; }
  .dashboard-frame { grid-template-columns: 1fr; }
  .dash-sidebar, .dash-activity { display: none; }

  .cta-banner { padding: 56px 32px; }

  .crm-full { grid-template-columns: 1fr; }
  .crm-sidebar { display: none; }
  .crm-widgets { grid-template-columns: repeat(2, 1fr); }
  .crm-charts { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .heading-xl { font-size: 36px; }
  .heading-lg { font-size: 28px; }

  .services-bar-inner,
  .stats-grid,
  .process-grid,
  .services-grid,
  .properties-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-ph32 { width: 100%; }

  .newsletter-form { flex-direction: column; }
  .floating-cta { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (max-width: 576px) {
  .container-ph32 { padding-left: 16px; padding-right: 16px; }
  .brand-text { display: none; }
  .hero { padding-top: calc(var(--nav-height) + 24px); }
  .hero-building img { height: 300px; border-radius: 24px; }
  .services-bar-inner { border-radius: 24px; padding: 32px 24px; }
  .cta-banner { border-radius: 24px; padding: 48px 24px; }
}

/* ---------- Utility ---------- */
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 1.5rem; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
