/* ======================================================
   THE BLUTH COMPANY — Corporate Design System
   "Solid as a Rock"
   There's always money in the stylesheet.
   ====================================================== */

:root {
  --navy: #1B2A4A;
  --navy-dark: #0F1B33;
  --navy-light: #2A3F66;
  --gold: #C4993B;
  --gold-light: #D4AD5C;
  --gold-pale: #F5EDD6;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --charcoal: #2D2D2D;
  --gray: #6B7280;
  --gray-light: #F3F4F6;
  --gray-border: #E5E7EB;
  --orange: #D97706;
  --blue-tobias: #2563EB;
  --success: #059669;
  --danger: #DC2626;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --transition: 0.2s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: var(--navy);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.15rem; }

a { color: var(--navy-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

img { max-width: 100%; }

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

/* ===================== NAVBAR ===================== */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.nav-logo {
  height: 52px;
  width: auto;
}
.brand-tagline {
  font-size: 0.6rem;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: italic;
}
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-menu a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: all var(--transition);
}
.nav-menu a:hover { background: var(--gray-light); color: var(--navy); }
.nav-menu a.active { color: var(--navy); background: var(--gold-pale); }

.nav-portal {
  background: var(--navy) !important;
  color: var(--white) !important;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-portal:hover { background: var(--navy-light) !important; }
.nav-portal.active { background: var(--navy-light) !important; }

.nav-signout {
  color: var(--gray) !important;
  font-size: 0.85rem;
}
.nav-signout:hover { color: var(--accent) !important; }

.dash-signout { margin-left: auto; }
.dash-profile-header { display: flex; align-items: center; }

.portal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('/images/hero-bg.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,27,51,0.85) 0%, rgba(27,42,74,0.75) 50%, rgba(42,63,102,0.7) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 4rem 2rem; max-width: 800px; }
.hero-logo {
  width: 380px;
  max-width: 90%;
  margin-bottom: 1rem;
}
.hero-tagline {
  color: var(--gold-light);
  font-size: 1.35rem;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}
.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Page Heroes (interior pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: 2.75rem; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }
.page-hero small { font-size: 0.8rem; opacity: 0.6; }

.page-hero-properties {
  background: url('/images/sudden-valley-aerial.jpg') center/cover no-repeat;
  position: relative;
}
.page-hero-properties::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,27,51,0.88) 0%, rgba(44,74,110,0.82) 100%);
}
.page-hero-properties .page-hero-content { position: relative; z-index: 1; }

.page-hero-about {
  background: url('/images/about-bg.jpg') center/cover no-repeat;
  position: relative;
}
.page-hero-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.88) 0%, rgba(27,42,74,0.82) 100%);
}
.page-hero-about .page-hero-content { position: relative; z-index: 1; }

.page-hero-careers {
  background: linear-gradient(135deg, var(--navy) 0%, #2d4a22 100%);
}
.page-hero-contact {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #4a2c1b 100%);
}
.page-hero-dashboard {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1a3a4a 100%);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1.4;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--white); }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.35rem 0.85rem; font-size: 0.8rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===================== SECTIONS ===================== */
.section { padding: 5rem 0; }
.section-alt { background: var(--gray-light); }
.section-cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
}
.section-cta h2 { color: var(--white); }
.section-cta p { color: rgba(255,255,255,0.8); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================== CARDS ===================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-image {
  height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-hot { background: var(--orange); color: var(--white); }
.badge-exclusive { background: var(--gold); color: var(--white); }
.badge-new { background: var(--success); color: var(--white); }

.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: 0.25rem; }
.card-location {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.card-meta {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1rem 0;
}
.price { color: var(--navy); font-size: 1.1rem; }
.price strong { font-size: 1.25rem; }
.price-was {
  color: var(--danger);
  font-size: 0.85rem;
  text-decoration: line-through;
}

/* ===================== VALUES ===================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

/* ===================== TESTIMONIALS ===================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.testimonial blockquote {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--navy);
  font-style: italic;
  margin-bottom: 0.75rem;
}
.testimonial cite {
  font-size: 0.85rem;
  color: var(--gray);
  font-style: normal;
}

/* ===================== FOUNDER MESSAGE ===================== */
.founder-message {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}
.founder-photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-initials {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
}
.founder-text blockquote {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--charcoal);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.founder-text cite {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
  font-style: normal;
}
.founder-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ===================== CTA / NEWSLETTER ===================== */
.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-input {
  flex: 1;
  min-width: 250px;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1rem;
}
.cta-input::placeholder { color: rgba(255,255,255,0.5); }
.cta-input:focus { outline: none; border-color: var(--gold); }
.cta-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1rem;
}
.cta-confirm {
  color: var(--gold-light);
  font-style: italic;
  margin-top: 0.75rem;
  width: 100%;
}

/* ===================== PROPERTY DETAILS ===================== */
.property-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--gray-border);
}
.property-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
}
.property-price-badge {
  text-align: right;
  background: var(--gold-pale);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
}
.price-label { display: block; font-size: 0.8rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; }
.price-value { display: block; font-family: Georgia, serif; font-size: 1.75rem; color: var(--navy); font-weight: 700; }
.price-note { display: block; font-size: 0.75rem; color: var(--orange); font-style: italic; }

.property-description p { margin-bottom: 1rem; }
.property-description h3 { margin-top: 2rem; margin-bottom: 1rem; }

.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--gray-border);
}
.feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.feature-list li em { color: var(--gray); font-size: 0.9rem; }

.floorplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.floorplan {
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.section-alt .floorplan { background: var(--gray-light); }
.floorplan h4 { color: var(--navy); margin-bottom: 0.25rem; }
.floorplan-price {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 700;
  margin: 0.5rem 0;
}
.floorplan-note { font-size: 0.85rem; color: var(--gray); }
.property-disclaimer {
  font-size: 0.8rem;
  color: var(--gray);
  font-style: italic;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-border);
}

/* ===================== ABOUT / TIMELINE ===================== */
.about-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-intro p { font-size: 1.1rem; margin-bottom: 1rem; }
.about-tagline {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  color: var(--gold);
  font-style: italic;
  margin-top: 1.5rem;
}

.timeline {
  max-width: 800px;
  margin: 2rem auto 0;
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}
.timeline-year {
  font-family: Georgia, serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.timeline-content h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.timeline-content p { color: var(--gray); font-size: 0.95rem; }

/* ===================== TEAM ===================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition);
}
.team-card:hover { transform: translateY(-2px); }
.team-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-initials {
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.team-title {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.team-card p:last-child { font-size: 0.9rem; color: var(--gray); text-align: left; }

.team-support { margin-top: 3rem; text-align: center; }
.team-support h3 { margin-bottom: 1.5rem; }
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.support-card {
  background: var(--gray-light);
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: left;
}
.support-card p { font-size: 0.9rem; color: var(--gray); margin-top: 0.25rem; }

/* ===================== JOBS ===================== */
.jobs-list { max-width: 800px; margin: 0 auto; }
.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.job-meta { color: var(--gray); font-size: 0.9rem; }
.job-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--white);
}
.job-badge-important { background: var(--danger); }
.job-badge-hold { background: var(--gray); }
.job-reqs {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.job-reqs li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--gray);
}
.job-reqs li::before {
  content: '\2022';
  position: absolute;
  left: 0.5rem;
  color: var(--gold);
}

/* ===================== CONTACT ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}
.contact-form { margin-top: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.optional { font-weight: 400; color: var(--gray); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-light);
}
.form-success {
  text-align: center;
  padding: 3rem;
  background: var(--gray-light);
  border-radius: var(--radius-lg);
}
.form-success h3 { color: var(--success); }
.form-success-note { font-size: 0.85rem; color: var(--gray); font-style: italic; margin-top: 1rem; }

.contact-card {
  background: var(--gray-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.contact-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.9rem; color: var(--gray); margin-bottom: 0.5rem; }

/* ===================== DASHBOARD ===================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}
.dashboard-sidebar { position: sticky; top: 90px; }

.dash-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.dash-card-header h3 { margin-bottom: 0; }
.dash-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
}
.dash-card-highlight {
  background: var(--navy);
  color: var(--white);
}
.dash-card-highlight h3 { color: var(--white); }
.dash-card-highlight a { color: var(--gold-light); }
.dash-card-highlight a:hover { color: var(--gold); }

.dash-subtitle { color: var(--gray); font-size: 0.85rem; margin-bottom: 1rem; }

.dash-profile-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.dash-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.dash-profile-info h2 { margin-bottom: 0.15rem; font-size: 1.5rem; }
.dash-email { color: var(--gray); font-size: 0.9rem; }
.dash-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--success);
  margin-top: 0.25rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  table-layout: fixed;
}
.dash-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid var(--gray-border);
}
.dash-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--gray-border);
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: break-all;
}
.dash-table td:first-child {
  width: 35%;
  word-break: normal;
}
.dash-table-mono td code {
  font-size: 0.8rem;
  background: var(--gray-light);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}
.header-value {
  word-break: break-all;
  max-width: 400px;
  display: inline-block;
}

.collapsed { display: none; }
.dash-empty { color: var(--gray); font-style: italic; font-size: 0.9rem; }

.dash-links {
  list-style: none;
  padding: 0;
}
.dash-links li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.dash-links li:last-child { border-bottom: none; }

.notice {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-border);
}
.notice:last-child { border-bottom: none; }
.notice strong { font-size: 0.85rem; color: var(--navy); }
.notice p { font-size: 0.8rem; color: var(--gray); margin-top: 0.25rem; }

/* Unauthenticated Dashboard */
.dashboard-unauth {
  max-width: 700px;
  margin: 0 auto;
}
.unauth-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}
.unauth-icon { font-size: 4rem; margin-bottom: 1rem; }
.unauth-note { color: var(--gray); font-size: 0.9rem; margin-top: 1rem; }
.unauth-details {
  text-align: left;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--gray-light);
  border-radius: var(--radius);
}
.unauth-details h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.unauth-details ul { padding-left: 1.25rem; }
.unauth-details li { padding: 0.25rem 0; font-size: 0.9rem; color: var(--gray); }
.unauth-details em { color: var(--gray); font-size: 0.85rem; }

/* ===================== PORTAL LOGIN PAGE ===================== */
.portal-page {
  min-height: calc(100vh - 72px);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  padding: 3rem 0;
}
.portal-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.portal-brand {
  text-align: center;
  padding: 2.5rem 2rem 1.5rem;
  background: var(--gray-light);
  border-bottom: 3px solid var(--gold);
}
.portal-logo-img {
  width: 240px;
  max-width: 80%;
  margin-bottom: 1rem;
}
.portal-brand h1 { font-size: 1.75rem; margin-bottom: 0.25rem; }
.portal-tagline { color: var(--gray); font-size: 0.85rem; }

.portal-body {
  padding: 2rem;
}
.portal-body > p:first-child {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.portal-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.portal-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.portal-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: center;
}
.portal-feature strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.1rem;
}
.portal-feature p {
  font-size: 0.8rem;
  color: var(--gray);
  margin: 0;
}

.portal-signin {
  font-size: 1.1rem;
  padding: 1rem;
}

.portal-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 1.25rem;
}
.portal-note small { display: block; margin-top: 0.25rem; font-style: italic; opacity: 0.7; }

.portal-footer-note {
  padding: 1.25rem 2rem;
  background: var(--gray-light);
  border-top: 1px solid var(--gray-border);
}
.portal-footer-note p { font-size: 0.85rem; color: var(--gray); margin-bottom: 0.5rem; }
.portal-legal { font-size: 0.7rem; font-style: italic; opacity: 0.7; }

/* ===================== 404 ERROR ===================== */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.error-content { text-align: center; max-width: 600px; margin: 0 auto; }
.error-code {
  font-family: Georgia, serif;
  font-size: 8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  opacity: 0.15;
}
.error-content h1 { font-size: 2rem; margin-bottom: 1rem; }
.error-description { font-size: 1.1rem; color: var(--gray); margin-bottom: 2rem; }
.error-dove {
  display: inline-block;
  border: 2px dashed var(--gray-border);
  padding: 1.5rem 2.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.dove-label {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
}
.dove-sublabel {
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
}
.error-actions { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2rem; }
.error-note { font-size: 0.8rem; color: var(--gray); font-style: italic; }

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  color: var(--white);
  padding: 1rem;
  z-index: 10000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-content p { font-size: 0.9rem; margin: 0; }
.cookie-actions { display: flex; gap: 0.5rem; }
.cookie-banner .btn-primary { background: var(--gold); border-color: var(--gold); }
.cookie-banner .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); }
.footer-main { padding: 4rem 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand {
  margin-bottom: 1rem;
}
.footer-logo {
  height: 60px;
  width: auto;
}
.footer-about p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.75rem; }
.footer-small { font-size: 0.75rem; opacity: 0.5; }

.footer-links h4 {
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}
.footer-bottom-content { text-align: center; }
.footer-bottom p { font-size: 0.8rem; margin-bottom: 0.5rem; }
.footer-tagline { color: var(--gold); }
.footer-disclaimer { font-size: 0.7rem; opacity: 0.5; max-width: 700px; margin: 0 auto; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero { min-height: 450px; }
  .hero-tagline { font-size: 1.1rem; }

  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-border);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active { display: flex; }
  .nav-menu a { padding: 0.75rem 1rem; width: 100%; }

  .card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; }
  .founder-message { flex-direction: column; align-items: center; text-align: center; }

  .property-header { flex-direction: column; }
  .property-price-badge { text-align: left; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cookie-content { flex-direction: column; text-align: center; }
}
