/* ============================================================
   PROVIDENCE HOMES & CONSTRUCTIONS — Global Stylesheet
   Design: Royal Blue × Gold × White
   ============================================================ */

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

/* ─── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Brand Colors */
  --royal-blue:        #0f2460;
  --royal-blue-mid:    #1a3a8f;
  --royal-blue-light:  #2050b8;
  --royal-blue-pale:   #e8edf8;
  --gold:              #c9a227;
  --gold-light:        #e6c94e;
  --gold-dark:         #a07d15;
  --white:             #ffffff;
  --off-white:         #f9f7f0;
  --cream:             #fdf8ee;
  --dark:              #0d1b3e;
  --dark-2:            #1a2952;
  --gray-100:          #f4f6fb;
  --gray-200:          #e2e8f4;
  --gray-400:          #94a3b8;
  --gray-600:          #64748b;
  --gray-800:          #334155;

  /* Typography */
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Border Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(15, 36, 96, 0.08);
  --shadow-md:   0 4px 24px rgba(15, 36, 96, 0.12);
  --shadow-lg:   0 8px 48px rgba(15, 36, 96, 0.18);
  --shadow-gold: 0 4px 24px rgba(201, 162, 39, 0.30);
  --shadow-card: 0 2px 16px rgba(15, 36, 96, 0.10), 0 0 1px rgba(15, 36, 96, 0.06);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-med:  0.35s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-Index */
  --z-nav:     1000;
  --z-modal:   2000;
  --z-toast:   3000;
}

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

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

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

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-title span { color: var(--royal-blue-mid); }
.section-title .gold { color: var(--gold); }

.section-desc {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 580px;
  line-height: 1.7;
}

/* ─── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: var(--space-2xl);
}

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 2rem; }

.text-center { text-align: center; }
.text-center .section-desc { margin-inline: auto; }
.text-center .section-label { justify-content: center; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition-med);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 162, 39, 0.40);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

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

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--royal-blue-mid);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

/* ─── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-gold    { background: var(--gold); color: var(--dark); }
.badge-blue    { background: var(--royal-blue); color: var(--white); }
.badge-green   { background: #16a34a; color: var(--white); }
.badge-outline { background: transparent; border: 1.5px solid currentColor; }

/* ─── Navigation ────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 1.25rem 0;
  transition: all 0.4s ease;
}

#navbar.transparent {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(13, 27, 62, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.85rem 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo img {
  height: 52px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo-text .tagline {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
}
.nav-link:hover::after, .nav-link.active::after {
  width: calc(100% - 2rem);
}

.nav-cta {
  margin-left: 1rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.nav-hamburger:hover { background: rgba(255,255,255,0.1); }
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-med);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  z-index: calc(var(--z-nav) - 1);
  padding: 7rem 2rem 3rem;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-mobile.open {
  transform: translateX(0);
}
.nav-mobile .nav-link {
  font-size: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile .btn { width: 100%; justify-content: center; margin-top: 1.5rem; }

/* ─── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 62, 0.88) 0%,
    rgba(15, 36, 96, 0.72) 50%,
    rgba(13, 27, 62, 0.60) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-top: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--gold-light);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-badge svg { width: 14px; height: 14px; }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-title .gold { color: var(--gold); }
.hero-title .line-break { display: block; }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--royal-blue);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-item {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Property Cards ────────────────────────────────────────── */
.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-med);
  border: 1px solid var(--gray-200);
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.property-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-2);
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.property-card-image img.prop-img-2 {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.property-card:hover .property-card-image img.prop-img-1 {
  opacity: 0;
}

.property-card:hover .property-card-image img.prop-img-2 {
  opacity: 1;
  transform: scale(1.05);
}

.property-card:hover .property-card-image img:not(.prop-img-2) {
  transform: scale(1.05);
}

.property-card-badges {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  right: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.property-card-body {
  padding: 1.25rem;
}

.property-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--royal-blue-mid);
  margin-bottom: 0.4rem;
}

.property-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}
.property-location svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

.property-meta {
  display: flex;
  gap: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--gray-200);
}
.property-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--gray-600);
  font-weight: 500;
}
.property-meta-item svg { width: 14px; height: 14px; color: var(--royal-blue-light); }

.property-card-footer {
  padding: 0 1.25rem 1.25rem;
}

/* ─── Filter Tabs ───────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  border: 2px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-tab:hover {
  border-color: var(--royal-blue-light);
  color: var(--royal-blue);
}
.filter-tab.active {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

/* ─── Service Cards ─────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--royal-blue-mid), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-med);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--royal-blue-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-med);
}
.service-icon svg { width: 28px; height: 28px; color: var(--royal-blue-mid); }
.service-card:hover .service-icon {
  background: var(--royal-blue);
}
.service-card:hover .service-icon svg { color: var(--white); }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ─── About / Profile Cards ─────────────────────────────────── */
.profile-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.profile-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.profile-info { padding: 1.5rem; }
.profile-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.profile-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Value Cards ───────────────────────────────────────────── */
.value-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition-fast);
}
.value-card:hover { box-shadow: var(--shadow-md); }
.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-mid));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg { width: 22px; height: 22px; color: var(--gold-light); }
.value-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.value-content p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ─── Testimonial Cards ─────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  color: var(--royal-blue-pale);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}
.testimonial-text {
  font-size: 0.925rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-blue), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.testimonial-role { font-size: 0.75rem; color: var(--gray-600); }
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.25rem; }

/* ─── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--royal-blue-mid) 100%);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,162,39,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(32,80,184,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-title .gold { color: var(--gold); }
.cta-desc {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ─── Page Heroes ───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--royal-blue-mid) 100%);
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-abuja-skyline.png') center/cover no-repeat;
  opacity: 0.12;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.page-hero-desc {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 540px;
  margin-inline: auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ─── Contact ───────────────────────────────────────────────── */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

/* ─── Shared Grids & Layouts ──────────────────────────────── */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  transition: all 0.3s ease;
}

.teaser-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.teaser-img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  height: 240px;
  width: 100%;
}
.teaser-img-2 {
  margin-top: 2rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}


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

.contact-info-card {
  background: linear-gradient(145deg, var(--royal-blue) 0%, var(--dark) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
}
.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.contact-info-card p {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 18px; height: 18px; color: var(--gold-light); }
.contact-item-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.2rem;
}
.contact-item-value { font-weight: 500; font-size: 0.9rem; color: var(--white); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--royal-blue-light);
  box-shadow: 0 0 0 3px rgba(32, 80, 184, 0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
}

.footer-main {
  padding-block: 5rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 1.25rem; }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.footer-social:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.footer-social svg { width: 16px; height: 16px; color: var(--white); }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-link:hover { color: var(--gold-light); }
.footer-link::before {
  content: '›';
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}

.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a {
  color: var(--gold-light);
  transition: color var(--transition-fast);
}
.footer-bottom a:hover { color: var(--gold); }

/* ─── WhatsApp Float ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-med);
  animation: pulse-green 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg { width: 28px; height: 28px; color: white; }
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.65), 0 0 0 8px rgba(37,211,102,0.08); }
}

/* ─── Scroll Reveal Animations ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ─── Section Backgrounds ───────────────────────────────────── */
.bg-light  { background: var(--gray-100); }
.bg-cream  { background: var(--cream); }
.bg-dark   { background: var(--dark); }
.bg-blue   { background: var(--royal-blue); }

/* ─── Divider ────────────────────────────────────────────────── */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.gold-divider::before,
.gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.gold-divider-icon { color: var(--gold); font-size: 1.2rem; }

/* ─── Map Container ──────────────────────────────────────────── */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  border: 3px solid var(--gray-200);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ─── About Page Specifics ──────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-story-img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  height: 480px;
}
.motto-card {
  margin-top: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--dark), var(--royal-blue-mid));
  border-radius: var(--radius-lg);
}
.md-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.md-portrait-img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.mv-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.mv-card-mission {
  background: linear-gradient(135deg, var(--royal-blue) 0%, var(--dark) 100%);
}
.mv-card-vision {
  background: linear-gradient(135deg, var(--gold-dark) 0%, #7a5c0a 100%);
}
.mv-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.mv-card p {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  line-height: 1.8;
}
.mv-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4    { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --space-2xl: 4rem; --space-xl: 3rem; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }

  .container { padding-inline: 2rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .properties-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  .teaser-images { grid-template-columns: 1fr; }
  .teaser-img-2 { margin-top: 0; }
  .cta-grid { grid-template-columns: 1fr; text-align: center; justify-content: center; justify-items: center; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-story-img { height: 320px; }
  .motto-card { padding: 2rem 1.5rem; }
  .md-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .hero-stats { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.5rem; }

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

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

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .cta-actions { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-item:last-child { border-bottom: none; }
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; }
}

/* ─── Video Highlights Section ──────────────────────────────── */
.video-highlights-section {
  background: linear-gradient(180deg, var(--dark) 0%, #0d1f4a 100%);
  color: var(--white);
}
.video-highlights-section .section-label { color: var(--gold); }
.video-highlights-section .section-title { color: var(--white); }
.video-highlights-section .section-desc  { color: rgba(255,255,255,0.65); }

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

.video-highlight-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark);
}
.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-highlight-card:hover .video-thumb-img { transform: scale(1.05); }

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.video-play-btn svg { width: 56px; height: 56px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6)); }
.video-highlight-card:hover .video-play-btn { opacity: 0.9; }

.video-card-info { padding: 1.25rem; }
.video-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.video-card-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ─── Loading spinner ────────────────────────────────────────── */
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255,255,255,0.12);
  border-top-color: var(--royal-m);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 0.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading {
  text-align: center;
  padding: 2.5rem;
  color: var(--gray-5);
  font-size: 0.875rem;
}

/* ─── Responsive: Video Grid ────────────────────────────────── */
@media (max-width: 900px) {
  .video-highlights-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .video-highlights-grid { grid-template-columns: 1fr; }
}
