/* ============================================================
   Golden Sky Management — Custom Styles
   Inspired by goldenskymanagement.com design system
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  /* Primary */
  --navy: #0d1b2a;
  --navy-dark: #070d17;
  --navy-mid: #0f1e30;
  --navy-light: #162540;

  /* Gold palette */
  --gold: #b8942e;
  --gold-light: #d4ad4a;
  --gold-dark: #9a7a22;
  --gold-pale: rgba(184, 148, 46, 0.08);
  --gold-border: rgba(184, 148, 46, 0.25);

  /* Neutrals */
  --white: #ffffff;
  --canvas: #f7f6f3;
  --canvas-light: #faf9f7;
  --border-light: #e8e5e0;
  --border-default: #d6d2cb;
  --text-primary: #1a1a2e;
  --text-secondary: #6b6b7b;
  --text-tertiary: #9696a8;
  --text-inverse: rgba(255, 255, 255, 0.85);

  /* Surface */
  --surface-inverse: #0d1b2a;
  --surface-inverse-deep: #070d17;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 4px 20px rgba(184, 148, 46, 0.3);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* Radii */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--gold-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

/* ---- Utility ---- */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---- Section Common ---- */
.section {
  padding: 80px 0;
}

@media (min-width: 640px) {
  .section { padding: 112px 0; }
}

.section-canvas {
  background-color: var(--canvas);
}

.section-dark {
  background-color: var(--surface-inverse);
  color: var(--text-inverse);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .section-title { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
  .section-title { font-size: 2.75rem; }
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.6;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(184, 148, 46, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-light);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-text:hover {
  color: var(--gold-dark);
  gap: 10px;
}

.btn-text .arrow {
  transition: transform 0.2s ease;
}

.btn-text:hover .arrow {
  transform: translateX(4px);
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  padding: 0;
}

.site-header.scrolled {
  background: var(--surface-inverse-deep);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo img,
.header-logo svg {
  height: 64px;
  width: auto;
}

.header-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.header-logo-sub {
  font-size: 0.65rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
}

/* Desktop Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  text-decoration: none;
  position: relative;
}

.header-nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.header-nav-link.active {
  color: var(--gold);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  transition: var(--transition-fast);
}

.header-phone:hover {
  color: var(--gold);
}

.header-login {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  text-decoration: none;
}

.header-login-resident {
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.header-login-resident:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.header-login-owner {
  background: var(--gold);
  color: var(--white);
}

.header-login-owner:hover {
  background: var(--gold-light);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface-inverse-deep);
  padding: 24px;
  overflow-y: auto;
  z-index: 999;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-link {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--gold);
}

.mobile-nav-link.active {
  color: var(--gold);
}

.mobile-phone {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  padding: 16px 0;
  text-decoration: none;
}

.mobile-login-resident,
.mobile-login-owner {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 12px;
  text-decoration: none;
}

.mobile-login-resident {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.mobile-login-owner {
  background: var(--gold);
  color: var(--white);
}

/* ---- Desktop Nav: hide on mobile, show on lg ---- */
@media (max-width: 1023px) {
  .header-nav,
  .header-right { display: none; }
  .hamburger { display: flex; }
}

@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
  .hamburger { display: none !important; }
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--navy-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 13, 23, 0.92) 0%,
    rgba(7, 13, 23, 0.7) 50%,
    rgba(7, 13, 23, 0.5) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 0 80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  background: rgba(184, 148, 46, 0.08);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .hero-title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-title .gold {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  max-width: 600px;
}

@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.25rem; }
}

.hero-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

@media (min-width: 640px) {
  .hero-stat-number { font-size: 2.5rem; }
}

.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.hero-stat-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Hero Scroll */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll a {
  color: rgba(255, 255, 255, 0.3);
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ================================================================
   PATH CARDS (Choose Your Path)
   ================================================================ */
.path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .path-grid { grid-template-columns: 1fr 1fr; }
}

.path-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  cursor: default;
}

.path-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.path-card-bg .placeholder-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.path-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.path-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.path-card-body {
  position: relative;
  z-index: 2;
  padding: 48px 36px;
  width: 100%;
}

.path-card-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 8px;
}

.path-card-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .path-card-title { font-size: 2rem; }
}

.path-card-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  max-width: 440px;
  line-height: 1.6;
}

.path-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.path-card-bullets li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.path-card-bullets li::before {
  content: '';
  display: inline-flex;
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 7px;
}

.path-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.path-card.resident {
  background: var(--white);
}

.path-card.resident .path-card-overlay {
  display: none;
}

.path-card.resident .path-card-body {
  padding: 48px 36px;
}

.path-card.resident .path-card-title {
  color: var(--text-primary);
}

.path-card.resident .path-card-text {
  color: var(--text-secondary);
}

.path-card.resident .path-card-bullets li {
  color: var(--text-secondary);
}

/* ================================================================
   PROCESS (How We Work)
   ================================================================ */
.process-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-light);
}

.process-item:first-child {
  padding-top: 0;
}

.process-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .process-item {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
}

.process-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.6;
}

.process-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 8px;
}

.process-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .process-title { font-size: 1.75rem; }
}

.process-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.process-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.process-bullets li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.process-bullets li::before {
  content: '';
  display: inline-flex;
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 9px;
}

.process-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-image .placeholder-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--canvas), var(--border-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.process-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================================================================
   SERVICE CARDS
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  border: 1px solid var(--gold);
}

.service-badge {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--gold-pale);
  color: var(--gold);
  margin-bottom: 16px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--gold);
}

.service-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 6px;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-features li i {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ================================================================
   FEATURE CARDS (Owner/Resident 2x2 grid)
   ================================================================ */
.feature-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .feature-grid-2x2 { grid-template-columns: 1fr 1fr; }
}

.feature-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .feature-grid-wrapper {
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
  }
}

.feature-text-content .section-label {
  margin-bottom: 12px;
}

.feature-text-content .section-title {
  margin-bottom: 16px;
}

.feature-text-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-dark .feature-text-content p {
  color: rgba(255, 255, 255, 0.6);
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--white);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.section-dark .feature-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.feature-card-icon i {
  font-size: 1.25rem;
  color: var(--gold);
}

.section-dark .feature-card-icon {
  background: rgba(184, 148, 46, 0.12);
}

.feature-card-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 4px;
}

.feature-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.section-dark .feature-card-title {
  color: var(--white);
}

.feature-card-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.section-dark .feature-card-text {
  color: rgba(255, 255, 255, 0.6);
}

/* ================================================================
   PORTFOLIO CAROUSEL
   ================================================================ */
.portfolio-carousel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .portfolio-carousel {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-carousel {
    grid-template-columns: repeat(4, 1fr);
  }
}

.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--canvas);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
}

.portfolio-item .placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--canvas), var(--border-light));
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

/* ================================================================
   RESOURCE CARDS
   ================================================================ */
.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .resources-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.resources-grid .resource-card:first-child {
  grid-row: span 2;
}

.resource-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}

.resource-meta {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.resource-meta-category {
  color: var(--gold);
  font-weight: 600;
}

.resource-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.resources-grid .resource-card:first-child .resource-title {
  font-size: 1.35rem;
}

.resource-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: auto;
  padding-bottom: 16px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  transition: var(--transition-fast);
}

.resource-link:hover {
  gap: 10px;
  color: var(--gold-dark);
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

@media (min-width: 640px) {
  .cta-section { padding: 112px 0; }
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .cta-title { font-size: 2.5rem; }
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--surface-inverse-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition-fast);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-portal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-portal-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-portal-btn.owner {
  background: var(--gold);
  color: var(--white);
}

.footer-portal-btn.owner:hover {
  background: var(--gold-light);
  color: var(--white);
}

.footer-portal-btn.resident {
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.footer-portal-btn.resident:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.footer-bottom {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-badge i {
  font-size: 1rem;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
}

.footer-legal {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 8px;
  line-height: 1.5;
}

/* ================================================================
   FLASH MESSAGES
   ================================================================ */
.flash-container {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  width: 90%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flash-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  animation: slideDown 0.3s ease;
}

.flash-alert i {
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.flash-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.flash-danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.flash-warning {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.flash-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.flash-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: inherit;
  opacity: 0.5;
  padding: 0;
  line-height: 1;
}

.flash-close:hover {
  opacity: 1;
}

@keyframes slideDown {
  from { transform: translateY(-12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================================
   PROPERTY CARDS (used in multiple pages)
   ================================================================ */
.prop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .prop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .prop-grid { grid-template-columns: repeat(3, 1fr); }
}

.prop-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.prop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.prop-card-img {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--canvas);
  overflow: hidden;
}

.prop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.prop-card:hover .prop-card-img img {
  transform: scale(1.05);
}

.prop-card-img .placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  background: linear-gradient(135deg, var(--canvas), var(--border-light));
}

.prop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
}

.prop-badge.available {
  background: #d1fae5;
  color: #065f46;
}

.prop-badge.unavailable {
  background: #fee2e2;
  color: #991b1b;
}

.prop-card-body {
  padding: 20px 24px 24px;
}

.prop-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.prop-card-location {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.prop-card-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.prop-card-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.prop-card-details {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.prop-detail {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.prop-detail i {
  color: var(--gold);
  font-size: 0.85rem;
}

.prop-card-actions {
  display: flex;
  gap: 8px;
}

.prop-card-actions .btn {
  flex: 1;
  font-size: 0.82rem;
  padding: 10px 16px;
}

/* ================================================================
   PAGE HEADER (for internal pages)
   ================================================================ */
.page-header {
  background: var(--navy-dark);
  padding: 128px 0 64px;
  position: relative;
}

.page-header-title {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .page-header-title { font-size: 2.5rem; }
}

.page-header-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
}

/* ================================================================
   FORM ELEMENTS
   ================================================================ */
.form-step { display: none; }
.form-step.active { display: block; }

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px var(--gold-pale);
}

/* Form step indicators */
.step-item.completed {
  background: var(--gold) !important;
  color: var(--white) !important;
  opacity: 0.7;
}

/* ================================================================
   PAGE CONTENT (simple page body)
   ================================================================ */
.page-content {
  padding: 64px 0;
}

.page-content h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.page-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.page-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-content ul li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ---- Responsive Grid ---- */
@media (max-width: 639px) {
  .hero-title { font-size: 2.25rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .hero-stat { border-right: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .hero-stat:last-child { border-bottom: none; }
  .service-card { padding: 28px 24px; }
  .path-card-body { padding: 32px 24px; }
  .path-card { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
