/* EHCSL MVP Styles */

:root {
  --green: #2BCB4A;
  --green-dark: #22a83c;
  --cyan: #00A3D9;
  --gold: #F5B800;
  --dark: #111111;
  --white: #FFFFFF;
  --grey: #F4F6F8;
  --muted: #6B7280;
  --danger: #DC2626;
  --surface: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 8px;
  --transition: 0.25s ease;
  --font-display: 'Ultra', 'Cooper Black', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
}

.section {
  padding: 80px 0;
}

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

.section__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 1rem;
}

.section__subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  font-size: 0.95rem;
}

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

.btn--primary:hover {
  background: var(--green-dark);
}

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

.btn--secondary:hover {
  background: #008bb9;
}

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

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

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

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

.btn--lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

/* Badges */

.badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge--available {
  background: #d1fae5;
  color: #065f46;
}

.badge--sold {
  background: #fee2e2;
  color: #991b1b;
}

.badge--coming-soon {
  background: #fef3c7;
  color: #92400e;
}

.badge--active {
  background: #d1fae5;
  color: #065f46;
}

.badge--pending {
  background: #fef3c7;
  color: #92400e;
}

.badge--info {
  background: #e0f2fe;
  color: #0369a1;
}

.badge--member {
  background: #d1fae5;
  color: #065f46;
}

.badge--client {
  background: #e0f2fe;
  color: #0369a1;
}

.badge--late {
  background: #fef3c7;
  color: #92400e;
}

.badge--missed {
  background: #fee2e2;
  color: #991b1b;
}

/* Navbar */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar--scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 0.6rem 0;
}

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

.navbar__logo img {
  height: 52px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar__links a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.navbar--scrolled .navbar__links a {
  color: var(--dark);
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--green);
}

.navbar__actions {
  display: flex;
  gap: 0.75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: var(--transition);
}

.navbar--scrolled .hamburger span {
  background: var(--dark);
}

/* Mobile nav */

@media (max-width: 900px) {
  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 2rem 2rem;
    transition: var(--transition);
  }

  .navbar__links.open {
    right: 0;
  }

  .navbar__links a {
    color: var(--dark);
  }

  .navbar__actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--white);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero__eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

/* Stats bar */

.stats-bar {
  background: var(--green);
  color: var(--white);
  padding: 50px 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.stat__plus,
.stat__suffix {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat__label {
  font-size: 0.95rem;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Section header */

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Card grids */

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

@media (max-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Service cards */

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.service-card p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Property cards */

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

.property-card:hover {
  transform: translateY(-4px);
}

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

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card__image .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.property-card__body {
  padding: 1.25rem;
}

.property-card__name {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.property-card__location {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.property-card__price {
  color: var(--dark);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.property-card__price strong {
  color: var(--green);
}

/* Testimonials */

.testimonials {
  background: var(--grey);
  text-align: center;
}

.testimonial {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 0 1.5rem;
  transition: opacity 0.6s ease;
}

.testimonial.active {
  opacity: 1;
  position: relative;
  left: 0;
  transform: none;
}

.testimonial__quote {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.testimonial__author {
  font-weight: 700;
  color: var(--dark);
}

.testimonial__location {
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonial__stars {
  color: var(--gold);
  margin-top: 0.5rem;
}

.testimonials__slider {
  position: relative;
  min-height: 200px;
}

/* Newsletter */

.newsletter {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0;
}

.newsletter__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter__form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter__form input {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: none;
  min-width: 280px;
}

/* Footer */

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 0;
}

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

.footer__brand img {
  height: 48px;
  margin-bottom: 1rem;
}

.footer__tagline {
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  color: var(--white);
  font-size: 1.1rem;
}

.footer__col h4 {
  margin-bottom: 1rem;
  color: var(--green);
}

.footer__col a {
  color: #d1d5db;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

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

.footer__bottom {
  border-top: 1px solid #374151;
  padding: 1.5rem 0;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp FAB */

.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 1000;
}

.whatsapp-fab:hover {
  background: #1fae54;
}

/* Page hero banner */

.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  margin-top: 0;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  font-size: 0.9rem;
  opacity: 0.9;
}

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

.breadcrumb span {
  margin: 0 0.5rem;
}

/* About page */

.about__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about__split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .about__split {
    grid-template-columns: 1fr;
  }
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}

.mv-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
}

.mv-card h3 {
  margin-bottom: 0.75rem;
  color: var(--green);
}

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

.value-card {
  text-align: center;
  padding: 1.5rem;
}

.value-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Timeline */

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline__item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 2rem;
}

.timeline__item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline__content {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 90%;
  margin-right: 1.5rem;
}

.timeline__item:nth-child(even) .timeline__content {
  margin-right: 0;
  margin-left: 1.5rem;
}

.timeline__dot {
  position: absolute;
  left: 50%;
  top: 1.25rem;
  width: 16px;
  height: 16px;
  background: var(--green);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .timeline::before,
  .timeline__dot {
    left: 0;
  }
  .timeline__item,
  .timeline__item:nth-child(even) {
    padding-left: 2rem;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline__content,
  .timeline__item:nth-child(even) .timeline__content {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Properties page */

.filter-bar {
  background: var(--grey);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.filter-bar__inner {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-select,
.filter-input {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  min-width: 160px;
}

/* Contact page */

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

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

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

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

.contact__info {
  background: var(--grey);
  padding: 2rem;
  border-radius: var(--radius);
}

.contact__info-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.contact__map {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  height: 250px;
}

@media (max-width: 768px) {
  .contact__split {
    grid-template-columns: 1fr;
  }
}

/* Login page */

.login-page {
  min-height: 100vh;
  display: flex;
}

.login__brand {
  flex: 1;
  background: var(--green);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.login__brand img {
  max-height: 120px;
  margin-bottom: 1.5rem;
}

.login__brand h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.login__brand p {
  font-size: 1.1rem;
  opacity: 0.95;
}

.login__form-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: var(--white);
}

.login__form {
  width: 100%;
  max-width: 400px;
}

.login__form h2 {
  margin-bottom: 0.5rem;
}

.login__form > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.login__options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.login__register {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.login__demo {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.login__demo p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.login__demo-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .login-page {
    flex-direction: column;
  }
  .login__brand {
    padding: 3rem 2rem;
  }
}

/* Portal layout */

.portal {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--green);
  color: var(--white);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}

.sidebar--client {
  background: var(--cyan);
}

.sidebar--staff {
  background: var(--dark);
}

.sidebar--admin {
  background: var(--dark);
}

.sidebar__logo {
  margin-bottom: 2rem;
}

.sidebar__logo img {
  height: 45px;
  filter: brightness(0) invert(1);
}

.sidebar__nav {
  flex: 1;
}

.sidebar__nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  transition: var(--transition);
  opacity: 0.9;
}

.sidebar__nav a:hover,
.sidebar__nav a.active {
  background: rgba(255,255,255,0.15);
  opacity: 1;
}

.sidebar__nav a.active {
  border-left: 3px solid var(--white);
}

.sidebar__section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin: 1.5rem 0 0.5rem;
  padding-left: 1rem;
}

.sidebar__logout {
  margin-top: auto;
}

.sidebar__logout a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.sidebar__toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1001;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.main {
  margin-left: 260px;
  flex: 1;
  background: var(--grey);
  min-height: 100vh;
}

.topbar {
  background: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar__greeting {
  font-weight: 600;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 36px;
  height: 36px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.content {
  padding: 1.5rem;
}

@media (max-width: 768px) {
  .sidebar {
    left: -260px;
    transition: var(--transition);
  }
  .sidebar.open {
    left: 0;
  }
  .main {
    margin-left: 0;
  }
  .sidebar__toggle {
    display: block;
  }
}

/* Dashboard components */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.kpi-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.kpi-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

.kpi-card {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
}

.kpi-card--cyan {
  border-left-color: var(--cyan);
}

.kpi-card--gold {
  border-left-color: var(--gold);
}

.kpi-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.kpi-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .kpi-grid,
  .kpi-grid--3,
  .kpi-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .kpi-grid,
  .kpi-grid--3,
  .kpi-grid--6 {
    grid-template-columns: 1fr;
  }
}

/* Card panel */

.card-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.card-panel__title {
  font-size: 1.1rem;
  color: var(--dark);
}

/* Tables */

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  font-weight: 700;
}

.table td {
  font-size: 0.95rem;
}

.table tr:hover td {
  background: var(--grey);
}

/* Progress bar */

.progress-bar {
  background: #e5e7eb;
  border-radius: 20px;
  height: 16px;
  overflow: hidden;
  margin: 0.75rem 0;
}

.progress-bar__fill {
  height: 100%;
  background: var(--green);
  border-radius: 20px;
  transition: width 0.6s ease;
}

.progress-bar__fill--cyan {
  background: var(--cyan);
}

.progress-bar__fill--gold {
  background: var(--gold);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Milestone tracker */

.milestone-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 2rem 0;
  padding: 0 1rem;
}

.milestone-track::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: var(--border);
  z-index: 0;
}

.milestone {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.milestone__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--white);
}

.milestone--completed .milestone__dot {
  background: var(--green);
}

.milestone--current .milestone__dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,184,0,0.3);
}

.milestone__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark);
}

.milestone__date {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Bar chart */

.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  height: 180px;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.bar-chart__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.bar-chart__bar {
  width: 100%;
  max-width: 40px;
  background: var(--green);
  border-radius: 4px 4px 0 0;
  transition: height 0.6s ease;
}

.bar-chart__bar--cyan {
  background: var(--cyan);
}

.bar-chart__label {
  font-size: 0.75rem;
  color: var(--muted);
  position: absolute;
  bottom: -1.5rem;
}

.bar-chart__item {
  position: relative;
}

.split-70-30 {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
  .split-70-30 {
    grid-template-columns: 1fr;
  }
}

/* Activity feed */

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.activity-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.activity-item__dot--green { background: var(--green); }
.activity-item__dot--blue { background: var(--cyan); }
.activity-item__dot--gold { background: var(--gold); }
.activity-item__dot--red { background: var(--danger); }

.activity-item__time {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

/* Property summary */

.property-summary {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.property-summary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

.property-summary__details h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.property-summary__meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--muted);
  margin: 1rem 0;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .property-summary {
    grid-template-columns: 1fr;
  }
}

/* Quick actions */

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.quick-action {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.quick-action:hover {
  transform: translateY(-2px);
}

.quick-action__icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quick-action__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

@media (max-width: 992px) {
  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .quick-actions {
    grid-template-columns: 1fr;
  }
}

/* Coming soon */

.coming-soon {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 4rem 2rem;
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
}

.coming-soon__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.coming-soon h2 {
  margin-bottom: 0.5rem;
}

.coming-soon p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Staff dashboard extras */

.status-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.status-bar__label {
  width: 100px;
  font-size: 0.9rem;
  color: var(--muted);
  flex-shrink: 0;
}

.status-bar__track {
  flex: 1;
  height: 24px;
  background: var(--grey);
  border-radius: 4px;
  overflow: hidden;
}

.status-bar__fill {
  height: 100%;
  background: var(--green);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.5rem;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Stub cards */

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

.stub-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  text-align: center;
}

.stub-card h3 {
  margin-bottom: 0.5rem;
}

.stub-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .stub-grid {
    grid-template-columns: 1fr;
  }
}

/* Admin content cards */

.admin-content-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.admin-content-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  text-align: center;
}

.admin-content-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.admin-content-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.admin-content-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

@media (max-width: 992px) {
  .admin-content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .admin-content-grid {
    grid-template-columns: 1fr;
  }
}

/* Pagination */

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination a {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow);
  font-weight: 600;
}

.pagination a.active {
  background: var(--green);
  color: var(--white);
}

/* Utility */

.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none !important; }
