/* ============================================================
   Century Three — Main Stylesheet
   Exact match to the Next.js / Tailwind original
   Brand: #000000 (black), #f29200 (orange), #fdfdfd (white)
   Fonts: Cormorant Garamond (display), DM Sans (body)
   ============================================================ */

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

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

:root {
  --orange:       #f29200;
  --orange-hover: #d98200;
  --black:        #000000;
  --white:        #fdfdfd;
  --offwhite:     #f5f5f5;
  --gray:         #6b6b6b;
  --gray-light:   #e8e8e8;
  --gray-mid:     #d0d0d0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--offwhite); }
::-webkit-scrollbar-thumb { background: var(--gray-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Typography utilities ───────────────────────── */
.font-display { font-family: 'Cormorant Garamond', Georgia, serif; }
.font-body    { font-family: 'DM Sans', system-ui, sans-serif; }

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
}

.brand-rule {
  display: block;
  height: 1px;
  background: var(--orange);
  width: 48px;
}

/* ── Layout ─────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

/* ── Buttons ────────────────────────────────────── */
/* Base .btn class — used as 'btn btn-primary', 'btn btn-outline' etc */
/* Just resets border and cursor; btn-primary/btn-outline supply all other styles */
.btn {
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border: none; cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
  text-decoration: none;
}
.btn-primary:hover { background: var(--orange-hover); box-shadow: 0 8px 24px rgba(242,146,0,0.2); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--black); color: var(--black);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.15s ease;
  text-decoration: none;
}
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline:active { transform: scale(0.98); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--white); color: var(--white);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
}
.btn-outline-white:hover { background: var(--white); color: var(--black); }

/* ── Navbar ─────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--black);
  height: 64px;
}
@media (min-width: 1024px) { .navbar { height: 80px; } }

.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}

.navbar-logo img { height: 36px; width: auto; object-fit: contain; }
@media (min-width: 1024px) { .navbar-logo img { height: 40px; } }

.navbar-nav {
  display: none;
  list-style: none;
  gap: 0;
}
@media (min-width: 1024px) { .navbar-nav { display: flex; align-items: center; } }

.navbar-nav li a {
  position: relative;
  display: inline-block;
  padding: 8px 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  text-decoration: none;
}
.navbar-nav li a:hover { color: var(--white); }
.navbar-nav li a.active { color: var(--orange); }

.navbar-nav li a::after {
  content: '';
  position: absolute; bottom: 0; left: 10px; right: 10px;
  height: 1px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.navbar-nav li a:hover::after,
.navbar-nav li a.active::after { transform: scaleX(1); }

/* Smaller CTA button in navbar */
#nav-cta {
  font-size: 12px;
  padding: 9px 18px;
  letter-spacing: 0.04em;
}

.navbar-burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
@media (min-width: 1024px) { .navbar-burger { display: none; } }
.navbar-burger span {
  display: block; width: 24px; height: 1px; background: var(--white);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0;
  background: var(--black); z-index: 99;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  overflow-y: auto;
  max-height: calc(100vh - 64px);
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 0; }

.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu a.btn-primary {
  margin-top: 20px;
  justify-content: center;
  border-bottom: none;
  padding: 14px 28px;
}

.navbar-spacer { height: 64px; }
@media (min-width: 1024px) { .navbar-spacer { height: 80px; } }

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--black); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to right, black, rgba(0,0,0,0.8), transparent);
}
.hero-stripe {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--orange);
}
.hero-content { position: relative; max-width: 640px; }
.hero-content h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}

/* ── Page Header ─────────────────────────────────── */
.page-header {
  background: var(--black); padding: 4rem 0;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--orange);
}
.page-header h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
}
.page-header p {
  color: rgba(255,255,255,0.4);
  font-size: 14px; margin-top: 12px; max-width: 480px;
}

/* ── Stats bar ───────────────────────────────────── */
.stats-bar { background: var(--orange); padding: 14px 0; }
.stats-bar-inner {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--white);
}
.stats-bar-inner .dot { opacity: 0.4; }

/* ── Sections ────────────────────────────────────── */
.section     { padding: 6rem 0; }
.section-lg  { padding: 8rem 0; }
.section-offwhite { background: var(--offwhite); }
.section-dark     { background: var(--black); }
.section-white    { background: var(--white); }

/* ── Verticals grid — WHITE background, hover to BLACK ──── */
/* Matches original: bg-brand-white, hover:bg-brand-black */
.verticals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--gray-light);
}
@media (min-width: 640px)  { .verticals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .verticals-grid { grid-template-columns: repeat(3, 1fr); } }

.vertical-card {
  background: var(--white);
  padding: 32px 40px;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background 0.5s ease;
  text-decoration: none;
}
.vertical-card:hover { background: var(--black); }

.vertical-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300;
  color: var(--gray-light);
  transition: color 0.5s ease;
  line-height: 1;
}
.vertical-card:hover .vertical-num { color: rgba(255,255,255,0.1); }

.vertical-card .eyebrow-wrap {
  display: block; margin-top: 16px;
  transition: color 0.3s ease;
}
.vertical-card:hover .eyebrow-wrap { color: var(--orange); }

.vertical-card h3 {
  font-size: 1.5rem; font-weight: 500;
  color: var(--black);
  margin-top: 8px;
  transition: color 0.3s ease;
}
.vertical-card:hover h3 { color: var(--white); }

.vertical-card p {
  font-size: 14px;
  color: var(--gray);
  margin-top: 12px; line-height: 1.6;
  transition: color 0.3s ease;
}
.vertical-card:hover p { color: rgba(255,255,255,0.6); }

.vertical-card .explore {
  display: flex; align-items: center; gap: 8px;
  margin-top: 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange);
}
.vertical-card .explore svg {
  transition: transform 0.3s ease;
}
.vertical-card:hover .explore svg { transform: translateX(6px); }

/* ── Property Card ───────────────────────────────── */

/* .luxury-card — hover lift, used by .prop-card-outer in property-card.php */
.luxury-card {
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.4s cubic-bezier(0.22,1,0.36,1);
}
.luxury-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.10);
}

.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px)  { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .property-grid { grid-template-columns: repeat(3, 1fr); } }

.property-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  text-decoration: none;
  /* luxury-card effect */
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.4s cubic-bezier(0.22,1,0.36,1);
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.10);
}

.property-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden; /* img-zoom */
  background: var(--offwhite);
}
.property-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.property-card:hover .property-card-image img { transform: scale(1.06); }

.property-card-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  opacity: 0;
  transition: opacity 0.5s;
  display: flex; align-items: center; justify-content: center;
}
.property-card:hover .property-card-image-overlay { opacity: 1; }

.view-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  padding: 10px 20px;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}
.property-card:hover .view-label { transform: translateY(0); }

.badge-available { background: var(--orange); color: var(--white); }
.badge-other     { background: rgba(0,0,0,0.7); color: var(--white); backdrop-filter: blur(4px); }
.prop-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 4px 10px;
}
.prop-featured {
  position: absolute; top: 12px; right: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 4px 10px;
  background: var(--white); color: var(--black);
}

.property-card-body { padding: 20px 24px; }

.property-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600; margin-bottom: 6px; line-height: 1;
}
.property-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.property-location {
  font-size: 12px; color: var(--gray);
  display: flex; align-items: center; gap: 6px;
}
.property-location svg { color: var(--orange); flex-shrink: 0; }
.property-divider { height: 1px; background: var(--gray-light); margin: 16px 0; }
.property-stats { display: flex; align-items: center; gap: 20px; }
.property-stat { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray); }
.property-stat svg { width: 14px; height: 14px; }

/* ── Search bar ──────────────────────────────────── */
.search-bar {
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 24px; margin-bottom: 32px;
}
.search-bar form {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 640px)  { .search-bar form { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .search-bar form { grid-template-columns: repeat(4,1fr) auto; align-items: flex-end; } }

.search-bar label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 6px;
}
.search-bar input,
.search-bar select {
  width: 100%; border: 1px solid var(--gray-light);
  padding: 10px 12px;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  background: var(--white); outline: none; border-radius: 0;
  transition: border-color 0.2s;
}
.search-bar input:focus,
.search-bar select:focus { border-color: var(--orange); }

/* ── Stats strip (dark) ──────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: rgba(255,255,255,0.1);
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }

.stat-item { background: var(--black); padding: 32px; text-align: center; }
.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: var(--white); line-height: 1;
}
.stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-top: 8px;
}

/* ── Section header ──────────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 12px; }
.brand-rule-center { margin-left: auto; margin-right: auto; }

/* ── Testimonials ────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3,1fr); } }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 32px;
}
.testimonial-stars { color: var(--orange); margin-bottom: 16px; font-size: 14px; }
.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; line-height: 1.6;
  color: var(--black); margin-bottom: 20px;
}
.testimonial-meta { font-size: 12px; font-weight: 600; }
.testimonial-location { color: var(--gray); font-size: 11px; margin-top: 2px; }

/* ── UAE Banner ──────────────────────────────────── */
.uae-banner {
  position: relative; padding: 7rem 0;
  background: var(--black); overflow: hidden;
}
.uae-banner-bg { position: absolute; inset: 0; }
.uae-banner-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.uae-banner-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, black, rgba(0,0,0,0.7), transparent);
}
.uae-banner-content { position: relative; max-width: 480px; }
.uae-banner-content h2 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  margin: 16px 0 24px;
}
.uae-banner-content p {
  color: rgba(255,255,255,0.6);
  font-size: 15px; line-height: 1.7; margin-bottom: 32px;
}

/* ── Forms ───────────────────────────────────────── */
.enquiry-form {
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 32px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 6px;
}
.form-control {
  width: 100%; border: 1px solid var(--gray-light);
  padding: 12px; border-radius: 0;
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  background: var(--white); outline: none;
  transition: border-color 0.2s;
  color: var(--black);
}
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(242,146,0,0.15); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ── Alerts ──────────────────────────────────────── */
.alert { padding: 14px 20px; margin-bottom: 20px; font-size: 14px; border-left: 3px solid; }
.alert-success { background: #d1fae5; color: #065f46; border-color: #10b981; }
.alert-error   { background: #fee2e2; color: #991b1b; border-color: #ef4444; }
.alert-info    { background: #dbeafe; color: #1e40af; border-color: #3b82f6; }

/* ── Property detail ─────────────────────────────── */
.property-detail-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 1024px) { .property-detail-grid { grid-template-columns: 2fr 1fr; } }

.property-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 320px 160px;
  gap: 4px; margin-bottom: 32px;
}
.property-gallery .main-image { grid-row: span 2; }
.property-gallery img { width: 100%; height: 100%; object-fit: cover; }

.key-info-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
@media (min-width: 640px) { .key-info-grid { grid-template-columns: repeat(3,1fr); } }
.key-info-item { background: var(--offwhite); padding: 16px; text-align: center; }
.key-info-value { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; }
.key-info-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); margin-top: 4px;
}

.detail-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--gray-light); }
.detail-section:last-child { border-bottom: none; }
.detail-section h3 { font-size: 1.25rem; margin-bottom: 16px; }

.features-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(2,1fr); gap: 8px;
}
.features-list li {
  display: flex; align-items: center; gap: 8px; font-size: 14px;
}
.features-list li::before {
  content: ''; display: block;
  width: 6px; height: 6px;
  background: var(--orange); border-radius: 50%; flex-shrink: 0;
}

/* ── Contact ─────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 1fr; } }

.contact-info-item { display: flex; gap: 16px; margin-bottom: 32px; }
.contact-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: rgba(242,146,0,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}

/* ── Footer ──────────────────────────────────────── */
.footer { background: var(--black); color: var(--white); }
.footer-top-line { height: 1px; background: var(--orange); }
.footer-inner { padding: 5rem 0; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 768px)  { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; margin: 16px 0 24px; }
.footer-phone { color: var(--orange); font-size: 14px; display: block; margin-bottom: 4px; }
.footer-email { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-heading { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 400; margin-bottom: 20px; }
.footer-rule { width: 32px; height: 1px; background: var(--orange); margin-bottom: 20px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: rgba(255,255,255,0.5); font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--white); }
.footer-address { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.8; font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner {
  padding: 20px 0;
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: space-between;
}
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; } }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 12px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.3); font-size: 12px; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ── Empty state ─────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; color: var(--gray); }
.empty-state h3 { font-size: 1.5rem; margin-bottom: 8px; }

/* ── Link underline hover ────────────────────────── */
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--orange);
  transition: width 0.3s cubic-bezier(0.22,1,0.36,1);
}
.link-underline:hover::after { width: 100%; }

/* ── Utility ─────────────────────────────────────── */
.text-orange { color: var(--orange); }
.text-white  { color: var(--white); }
.text-gray   { color: var(--gray); }
.text-center { text-align: center; }
.italic      { font-style: italic; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

/* ── Animations — match original exactly ─────────── */
.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}
.animate-delay-100 { animation-delay: 100ms; }
.animate-delay-200 { animation-delay: 200ms; }
.animate-delay-300 { animation-delay: 300ms; }
.animate-delay-400 { animation-delay: 400ms; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Missing utility classes used by property-search.php & property-card.php ── */

/* Form label (used in contact, property detail enquiry form) */
.form-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 6px;
}

/* Form hint (used in property add/edit) */
.form-hint {
  font-size: 11px; color: var(--gray);
  margin-top: 4px;
}

/* font-semibold utility */
.font-semibold { font-weight: 600; }

/* Property search result grid */
.prop-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px)  { .prop-results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .prop-results-grid { grid-template-columns: repeat(3, 1fr); } }

/* Search form main grid */
.search-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (min-width: 640px)  { .search-main-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .search-main-grid { grid-template-columns: 1fr 1fr 1fr auto; } }

/* Advanced filters grid */
.adv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .adv-grid { grid-template-columns: repeat(3, 1fr); } }

/* Image items (property admin upload) */
.img-item { cursor: grab; }
.img-item:active { cursor: grabbing; }

/* Property card image container */
.prop-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--offwhite);
}
.prop-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.prop-card-outer:hover .prop-card-img img { transform: scale(1.06); }

/* Card bottom accent line */
.card-bottom-accent {
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.prop-card-outer:hover .card-bottom-accent { transform: scaleX(1); }

/* Alert variants used in property search / forms */
.alert-success { background: #d1fae5; color: #065f46; border-left: 3px solid #10b981; }
.alert-error   { background: #fee2e2; color: #991b1b; border-left: 3px solid #ef4444; }
.alert-info    { background: #dbeafe; color: #1e40af; border-left: 3px solid #3b82f6; }

/* Legal pages */
.legal-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--gray-light); }
.legal-section:last-child { border-bottom: none; }
.legal-address { font-style: normal; color: var(--gray); font-size: 14px; line-height: 1.8; }

/* Responsive util */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }