/* ============================================================
   HARLOS REAL ESTATE TEAM — styles.css
   Merged: styles new.css (base) + required styles from styles old.css
   ============================================================ */

:root {
  /* Core Colors - Client's Original Dark Theme */
  --bg-main: #05070a;       /* Deepest Slate / Background */
  --bg-alt: #0a0e13;        /* Secondary Dark Slate */
  --bg-panel: #0f1621;      /* Elevated Dark Panel */

  --primary: #ffffff;       /* Pure White for Headings */
  --accent: #c0191d;        /* Signature Red — darkened for professional tone */
  --accent-hover: #a01418;  /* Deeper red for hover */

  /* Text */
  --text-main: #e9eef6;     /* Soft Light Gray-Blue */
  --text-muted: #b9c4d6;    /* Mid-tone Muted Gray-Blue */

  /* Utilities */
  --border: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(192, 25, 29, 0.3);

  --radius: 16px;
  --radius-sm: 8px;

  /* Dark mode shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
  --glow-accent: 0 8px 20px -4px rgba(192, 25, 29, 0.25);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Legacy variable aliases (used by old JS and inline styles) ── */
  --bg: var(--bg-main);
  --panel: var(--bg-panel);
  --panel2: #0c121b;
  --text: var(--text-main);
  --muted: var(--text-muted);
  --line: var(--border);
  --good: #4ade80;
  --shadow: var(--shadow-md);
  --max: 1280px;
  --glass-panel: rgba(15, 22, 33, 0.9);
  --accent2: #8a9bb7;
  --accent-gold: #ffd700;
  --chrome-silver: linear-gradient(180deg, #ffffff 0%, #cbd5e1 45%, #94a3b8 50%, #ffffff 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text-main);
  background: radial-gradient(ellipse 2000px 1200px at 50% 10%, rgba(192, 25, 29, 0.15), transparent 50%),
              radial-gradient(ellipse 1800px 1000px at 50% 90%, rgba(138, 155, 183, 0.12), transparent 50%),
              linear-gradient(180deg, #0a0e13, #070a0e 50%, #05070a);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.wrap { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-muted { color: var(--text-muted); }
.center { text-align: center; }
.bg-light { background: var(--bg-alt); }
.bg-alt { background: rgba(10, 14, 19, 0.6); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mb-2 { margin-bottom: 16px; }
.font-sm { font-size: 0.85rem; }

/* ── Typography ── */
h1, h2, h3, h4 { color: var(--primary); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.eyebrow { display: block; font-size: 0.85rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-top: 8px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 700;
  font-size: 1rem; cursor: pointer; transition: var(--transition); border: 2px solid transparent;
}
.btn.primary { background: var(--accent); color: #fff; box-shadow: var(--glow-accent); }
.btn.primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 24px -4px rgba(192, 25, 29, 0.4); }
.btn.primary.outline { background: transparent; color: var(--accent); border-color: var(--accent); box-shadow: none; }
.btn.primary.outline:hover { background: var(--accent); color: #fff; box-shadow: var(--glow-accent); }
.btn.secondary { background: rgba(255, 255, 255, 0.05); color: var(--primary); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn.secondary:hover { border-color: var(--border-glow); transform: translateY(-2px); background: rgba(255, 255, 255, 0.1); }
.btn.large { padding: 16px 32px; font-size: 1.1rem; }
.btn.small { padding: 8px 16px; font-size: 0.9rem; }
.btn.full-width { width: 100%; }
.link-arrow { font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; transition: var(--transition); }
.link-arrow:hover { color: var(--accent-hover); transform: translateX(4px); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(rgba(11, 15, 20, 0.25), rgba(11, 15, 20, 0.45)), url("/images/denver.png") center 45% / cover no-repeat;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .top { display: flex; align-items: center; justify-content: space-between; height: 97px; }
.brand { display: flex; align-items: center; gap: 16px; }
.wayne-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(192, 25, 29, 0.4);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Add this brand new block right beneath it */
.avatar-link:hover .wayne-photo {
  transform: scale(1.15) rotate(-3deg);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px rgba(192, 25, 29, 0.6);
}
.harlos-title { 
  font-size: 1.5rem; 
  color: var(--primary); 
  display: block; 
  /* This adds a dense, dark shadow behind the white text to lift it off the sunset */
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 4px 16px rgba(0, 0, 0, 0.7);
}

.harlos-word { 
  color: var(--accent); 
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  
  /* Add these two lines: */
  font-size: 1.45em;  /* Makes "Harlos" 45% larger than "Real Estate Team" */
  font-weight: 800;   /* Uses the heaviest font weight to make it punchy */
}
.broker-subtext { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; display: none; }
.logo-under { width: 140px; margin-top: 4px; opacity: 0.9; }

.desktop-nav { display: flex; align-items: center; gap: 24px; }
.navlink { font-weight: 600; color: var(--text-main); font-size: 0.95rem; }
.navlink:hover { color: var(--accent); }
.hamburger { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.hamburger span { width: 24px; height: 2px; background: var(--primary); transition: 0.2s; border-radius: 2px; }

/* ── Hero Section (Modern Dark) ── */
.hero-modern { padding: 80px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; margin-bottom: 60px; }
.kicker-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--primary);
  padding: 6px 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 20px; margin-bottom: 24px;
}
.pulse-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2); }
.hero-content h1 { font-size: clamp(1.9rem, 5vw, 3.5rem); margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 32px; max-width: 90%; word-wrap: break-word; overflow-wrap: break-word; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

.county-bar-modern { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.county-bar-modern span { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; position: relative; }
.county-bar-modern span + span::before { content: "·"; position: absolute; left: -10px; color: rgba(185, 196, 214, 0.3); }

/* Glass Quick Actions Side Panel */
.glass-panel {
  background: rgba(15, 22, 33, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-md);
}
.panel-title { font-weight: 700; font-size: 1.1rem; color: var(--primary); margin-bottom: 20px; }
.quick-links { display: grid; gap: 16px; }
.action-card {
  display: flex; align-items: center; gap: 16px; padding: 16px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: var(--transition); background: rgba(255, 255, 255, 0.02);
}
.action-card:hover { border-color: var(--border-glow); background: rgba(255,255,255,0.05); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.action-icon { font-size: 1.5rem; }
.action-text strong { display: block; color: var(--primary); font-size: 0.95rem; }
.action-text span { font-size: 0.8rem; color: var(--text-muted); }
.arrow { margin-left: auto; color: var(--accent); font-weight: bold; }

/* Trust Strip */
.trust-strip {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  padding: 40px; background: rgba(15, 22, 33, 0.8); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-md); backdrop-filter: blur(8px);
  margin-top: 24px;
}
.trust-stat { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; text-shadow: 0 2px 10px rgba(192,25,29,0.3); }
.stat-label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── MLS Search Bar ── */
.search-section { margin-top: -30px; position: relative; z-index: 10; padding-bottom: 40px; }
.search-container {
  background: var(--bg-panel); border-radius: var(--radius); box-shadow: var(--shadow-hover);
  padding: 24px 32px; border: 1px solid var(--border); backdrop-filter: blur(12px);
}
.search-label { font-weight: 700; color: var(--primary); margin-bottom: 16px; font-size: 1.1rem; }
.search-bar-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.input-group, .select-group { position: relative; flex: 1; min-width: 150px; }
.input-group input, .select-group select {
  width: 100%; height: 50px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0 16px; font-family: inherit; font-size: 1rem; color: var(--primary); background: rgba(0, 0, 0, 0.4);
  transition: border 0.2s;
}
.input-group input:focus, .select-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(192,25,29,0.15); }
.input-group .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); }
.input-group input { padding-left: 44px; }
.search-btn { height: 50px; flex: 0 0 auto; white-space: nowrap; }

/* ── Values Grid ── */
.values-section { padding: 80px 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card-modern {
  background: var(--bg-panel); padding: 40px 32px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition);
}
.value-card-modern:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--border-glow); background: rgba(15, 22, 33, 0.95); }
.icon-wrap { font-size: 2.5rem; margin-bottom: 20px; }
.value-card-modern h3 { margin-bottom: 12px; font-size: 1.25rem; }

/* ── Services Split ── */
.services-section { padding: 80px 0; }
.split-modern { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-panel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  padding: 48px; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--bg-panel); border: 1px solid var(--border);
}
.service-panel.accented {
  background: linear-gradient(135deg, var(--bg-panel), rgba(192, 25, 29, 0.1));
  border-color: rgba(192, 25, 29, 0.3);
}
.badge {
  display: inline-block; padding: 6px 16px; background: rgba(255,255,255,0.05); color: var(--primary);
  border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 24px;
  border: 1px solid var(--border);
}
.badge.accent { background: rgba(192,25,29,0.15); color: #e05555; border-color: rgba(192,25,29,0.3); }
.panel-content { position: relative; z-index: 2; }
.service-panel h3 { font-size: 2rem; margin-bottom: 16px; }
.service-panel p { margin-bottom: 32px; font-size: 1.1rem; color: var(--text-muted); }
.panel-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ── Featured Listings ── */
.listings-section { padding: 80px 0; }
.shadow-box { background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow-md); overflow: hidden; }
.featured-splash { display: flex; align-items: center; justify-content: center; min-height: 400px; text-align: center; padding: 40px; background: rgba(0,0,0,0.2); border-radius: calc(var(--radius) - 8px); }
.splash-content h4 { font-size: 1.5rem; margin-bottom: 16px; color: var(--primary); }
.splash-content p { color: var(--text-muted); margin-bottom: 24px; max-width: 400px; margin-inline: auto; }
.fine-print { font-size: 0.85rem; color: var(--text-muted); margin-top: 16px; text-align: center; }

/* ── Contact Form ── */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; padding: 0; box-shadow: var(--shadow-md); }
.contact-form-side { padding: 56px; }
.modern-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.modern-form input, .modern-form select, .modern-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.3); font-family: inherit; font-size: 1rem; color: var(--primary); transition: border 0.2s;
}
.modern-form input:focus, .modern-form textarea:focus, .modern-form select:focus { outline: none; border-color: var(--accent); background: rgba(0,0,0,0.5); box-shadow: 0 0 0 3px rgba(192,25,29,0.15); }
.modern-form textarea { height: 140px; resize: vertical; margin-bottom: 16px; }

.contact-info-side { background: linear-gradient(135deg, #0f1621, #05070a); border-left: 1px solid var(--border); padding: 56px; display: flex; flex-direction: column; }
.contact-info-side h3 { font-size: 1.5rem; margin-bottom: 16px; color: var(--primary); }
.office-address { font-style: normal; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.phone-link { color: var(--accent); font-weight: 700; font-size: 1.25rem; display: block; margin-top: 8px; }
.map-embed { width: 100%; height: 200px; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 32px; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 100%; border: none; }
.next-steps-box h4 { margin-bottom: 12px; font-size: 1.1rem; color: var(--primary); }
.next-steps-box ol { list-style: decimal; padding-left: 20px; color: var(--text-muted); line-height: 1.8; }

/* ── Footer ── */
.site-footer { background: #05070a; padding: 60px 0 80px; border-top: 1px solid var(--border); text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-bottom: 20px; font-weight: 600; font-size: 0.95rem; }
.footer-links a, .footer-links .text-btn { color: inherit; }
.footer-links a:hover, .footer-links .text-btn:hover { color: var(--accent); }
.footer-sep { color: var(--text-muted); opacity: 0.5; }
.text-btn { background: none; border: none; font: inherit; font-weight: 600; color: inherit; cursor: pointer; padding: 0; }
.footer-social { display: flex; justify-content: center; gap: 12px; margin-bottom: 20px; }
.footer-disclaimer { max-width: 900px; margin: 0 auto 20px auto; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.footer-copyright { font-size: 13px; opacity: 0.8; color: var(--text-muted); }
.social-circle { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; color: var(--primary); border: 1px solid var(--border); transition: var(--transition); }
.social-circle:hover { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 12px -2px rgba(192, 25, 29, 0.35); }

/* ── Footer Grid (about.html, blog.html) ── */
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr auto;
  gap: 32px 48px; align-items: start; text-align: left; margin-bottom: 0;
}
.footer-logo { width: 160px; height: auto; opacity: 0.9; margin-bottom: 12px; }
.footer-legal { font-size: 12px; color: var(--text-muted); line-height: 1.6; max-width: 420px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-nav .text-btn {
  font-size: 0.9rem; font-weight: 600; color: var(--text-muted); transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav .text-btn:hover { color: var(--accent); }
.footer-grid .footer-social { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-grid .footer-social .social-circle { width: 36px; height: 36px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-grid .footer-social { flex-direction: row; align-items: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-logo { margin-inline: auto; }
  .footer-legal { margin-inline: auto; text-align: center; }
  .footer-nav { align-items: center; gap: 12px; }
  .footer-grid .footer-social { flex-direction: row; justify-content: center; }
}

/* ── Modals ── */
.modal { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.85); backdrop-filter: blur(4px); align-items: center; justify-content: center; }
.modal.active { display: flex; animation: fadeIn 0.2s; }
.modal-content { background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); width: 90%; max-width: 500px; overflow: hidden; box-shadow: var(--shadow-hover); max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 1.25rem; margin: 0; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); transition: var(--transition); }
.modal-close:hover { color: var(--primary); }
.modal form { padding: 24px; }
.modal form input:not([type="checkbox"]):not([type="radio"]), .modal form textarea { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; font-family: inherit; background: rgba(0,0,0,0.3); color: var(--primary); }
.modal form input[type="checkbox"], .modal form input[type="radio"] { width: auto; padding: 0; margin-bottom: 0; background: none; border: none; }
.modal form input:focus, .modal form textarea:focus { outline: none; border-color: var(--accent); }
.modal form textarea { height: 100px; }
.modal-actions { margin-top: 18px; }
.modal-desc { margin: 0 0 4px; color: var(--muted); font-size: 13px; }

/* ── Review Modal specific ── */
.star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-rating input { display: none; }
.star-rating label { font-size: 2rem; color: rgba(255,255,255,0.1); cursor: pointer; transition: 0.2s; padding:0; margin:0; }
.star-rating label:hover, .star-rating label:hover ~ label, .star-rating input:checked ~ label { color: #fbbf24; text-shadow: 0 0 10px rgba(251,191,36,0.4); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 0.9rem; }
.form-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.check-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.skill-checkbox { width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; }

/* ── Agents Modal ── */
.agents-checklist {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.agents-checklist li {
  display: flex; align-items: center; gap: 10px; font-size: 14px;
  color: var(--muted); padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 12px; background: rgba(255, 255, 255, 0.02);
}
.agents-checklist li::before {
  content: "✓"; color: var(--good); font-weight: 700; font-size: 13px; flex-shrink: 0;
}

/* ── Tag (used in agents modal) ── */
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,0.03); color: var(--muted);
  font-size: 12px; margin-bottom: 12px; width: fit-content;
}
.tag b { color: var(--text); }

/* ── Section Header Row (reviews etc.) ── */
.section-header-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; margin-bottom: 16px;
}

/* ── Fine text (status messages) ── */
.fine { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── Back to Top ── */
.to-top { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-panel); color: var(--primary); border: 1px solid var(--border); font-size: 1.5rem; cursor: pointer; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 50; box-shadow: var(--shadow-md); }
.to-top:hover { border-color: var(--accent); color: var(--accent); }
.to-top.show { opacity: 1; visibility: visible; }

/* ── Off-canvas Mobile Menu ── */
.offcanvas { position: fixed; top: 0; right: -300px; width: 300px; height: 100%; background: var(--bg-panel); z-index: 1100; box-shadow: -10px 0 30px rgba(0,0,0,0.8); transition: right 0.3s; display: flex; flex-direction: column; border-left: 1px solid var(--border); }
.offcanvas.open { right: 0; }
.offcanvas-header { padding: 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; font-weight: 700; color: var(--primary); }
.offcanvas-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); }
.offnav { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.offnav a { font-size: 1.1rem; font-weight: 600; color: var(--primary); }
.offnav a:hover { color: var(--accent); }
.offnav .cta-menu {
  display: flex; align-items: center; justify-content: center; margin-top: 8px;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid rgba(192, 25, 29, 0.7); background: rgba(0,0,0,0.5);
  color: var(--text); font-weight: 600; font-size: 13px;
}
.offnav .cta-menu:hover { border-color: rgba(192,25,29,1); background: rgba(20,0,0,0.8); }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 150; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(2px); }
.overlay.show { opacity: 1; visibility: visible; }

/* ── Mobile Sticky CTA Bar ── */
#mobile-lead-gen {
  display: none; position: fixed; left: 0; right: 0; bottom: 0;
  padding: 14px 18px; background: rgba(8, 12, 18, 0.95);
  border-top: 1px solid var(--line); z-index: 90;
  justify-content: space-between; align-items: center;
  box-shadow: 0 -10px 20px rgba(0,0,0,0.5);
}
#mobile-lead-gen span { font-weight: 700; color: var(--primary); }

/* ── Bounce CTA button ── */
.bounce-btn {
  animation: lead-bounce 2s infinite ease-in-out;
  background: rgba(192, 25, 29, 0.92) !important;
  color: #fff !important;
  font-weight: 700; font-size: 12px;
  padding: 10px 20px; border-radius: 8px;
  text-decoration: none; letter-spacing: 0.3px;
}
.bounce-btn:hover { background: rgba(160, 20, 24, 1) !important; }
@keyframes lead-bounce {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}

/* ── Broker Badges ── */
.broker-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.broker-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 999px;
  background: rgba(255,255,255,0.03); font-size: 11.5px; color: var(--muted);
  letter-spacing: 0.15px; white-space: nowrap;
}
.broker-badge svg { flex-shrink: 0; opacity: 0.7; }

/* ── Dashboard Inline Note ── */
.dashboard-note {
  display: none; margin-top: 10px; padding: 10px 14px;
  border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.02); font-size: 12px;
  color: var(--muted); line-height: 1.5;
}

/* ── About Page ── */
.about-hero { padding: 44px 0 10px; }
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.photo-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(11, 15, 20, 0.85); backdrop-filter: blur(12px);
  box-shadow: var(--shadow); overflow: hidden; position: sticky; top: 90px;
}
.photo-card img.headshot { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; display: block; }
.photo-card .photo-info { padding: 20px; }
.photo-card h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: -0.3px; }
.photo-card .title { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
@media (max-width: 900px) {
  .photo-card { position: static; display: grid; grid-template-columns: 200px 1fr; }
  .photo-card img.headshot { aspect-ratio: 3/4; height: 100%; }
}
@media (max-width: 640px) {
  .photo-card { grid-template-columns: 1fr; }
  .photo-card img.headshot { aspect-ratio: 4/3; }
}

/* ============================================================
   REVIEWS BLOCK - EXACTLY RESTORED FROM ORIGINAL
   ============================================================ */
.review-carousel { position: relative; margin: 20px 0; }
.carousel-wrapper { position: relative; padding: 0 52px; }
.review-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  gap: 16px; padding-bottom: 8px; align-items: flex-start;
}
.review-track::-webkit-scrollbar { display: none; }
.review-track { scrollbar-width: none; }

.review-item {
  scroll-snap-align: start; flex: 0 0 calc(33.333% - 11px);
  display: flex; flex-direction: column; box-sizing: border-box;
}
.review-item .quote {
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; height: 220px; overflow: hidden; display: flex; flex-direction: column;
  box-sizing: border-box; transition: border-color 0.2s ease, background 0.2s ease; flex-shrink: 0;
}
.review-item .quote:hover { background: rgba(15, 20, 27, 0.85); border-color: rgba(255, 255, 255, 0.14); }
.review-item .quote p {
  margin: 0; color: var(--text-main); font-size: 13px; line-height: 1.55;
  word-wrap: break-word; overflow-wrap: break-word; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; flex: 1;
}
.read-more-trigger { color: var(--accent); font-size: 12px; font-weight: 600; cursor: pointer; margin-top: 6px; flex-shrink: 0; }
.review-skills { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 8px 0 4px; min-height: 0; }
.skill-pill {
  background: rgba(180, 30, 34, 0.07); border: 1px solid rgba(180, 30, 34, 0.22);
  border-radius: 999px; padding: 2px 9px; font-size: 11px;
  color: rgba(200, 80, 80, 0.85); white-space: nowrap;
}
.review-footer {
  color: var(--text-muted); font-size: 12px; display: flex; justify-content: space-between;
  align-items: center; gap: 10px; padding: 6px 2px 2px;
  border-top: 1px solid var(--border); margin-top: 2px;
}
.review-name { font-weight: 500; color: rgba(255, 255, 255, 0.75); }
.stars { color: #fbbf24; font-size: 14px; letter-spacing: 2px; }
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--bg-panel); backdrop-filter: blur(8px); border: 1px solid var(--border);
  color: var(--primary); font-size: 28px; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; z-index: 10; transition: all 0.2s ease;
  display: flex; align-items: center; justify-content: center; font-weight: 300; line-height: 1;
}
.carousel-nav:hover { background: rgba(192, 25, 29, 0.18); border-color: rgba(192, 25, 29, 0.35); transform: translateY(-50%) scale(1.05); }
.carousel-nav.prev { left: 5px; }
.carousel-nav.next { right: 5px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dot-indicator {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2); cursor: pointer;
  transition: all 0.3s ease; border: none;
}
.dot-indicator.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ── Responsiveness ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-strip { padding: 24px; }
  .split-modern { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-side { padding: 40px; border-left: none; border-top: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .grid3 { grid-template-columns: 1fr; }
  .search-bar-row { flex-direction: column; }
  .search-container { padding: 20px 16px; }
  .trust-strip { grid-template-columns: 1fr 1fr; display: grid; gap: 24px; }
  .modern-form .form-row { grid-template-columns: 1fr; }
  #mobile-lead-gen { display: flex; }
  body { padding-bottom: 72px; }
  .review-item { flex: 0 0 calc(50% - 8px); }
  .carousel-wrapper { padding: 0 48px; }
  /* HIGH: contact form + service panels + to-top button */
  .contact-form-side { padding: 28px 20px; }
  .contact-info-side { padding: 28px 20px; }
  .service-panel { min-height: auto; padding: 32px 24px; }
  .to-top { bottom: 80px; }
  /* HEADER: compress header on phones */
  .site-header .top { height: 76px; }
  .wayne-photo { width: 64px; height: 64px; }
  .harlos-title { font-size: 1.2rem; }
  /* MEDIUM: hero glass panel */
  .glass-panel { padding: 24px 20px; }
  /* Hero padding reduced */
  .hero-modern { padding: 48px 0 40px; }
  .hero-sub { font-size: 1rem; max-width: 100%; }
  .hero-actions { gap: 12px; }
  /* Section spacing */
  .values-section, .services-section, .listings-section, .contact-section, .reviews-section { padding: 56px 0; }
}

@media (max-width: 640px) {
  #mobile-lead-gen { display: flex; }
  body { padding-bottom: 80px !important; }
  /* LOW: footer links wrap naturally on mobile */
  .footer-links { flex-direction: column; gap: 6px; }
  .footer-sep { display: none; }
}

@media (max-width: 480px) {
  .review-item { flex: 0 0 100%; }
  .carousel-wrapper { padding: 0 40px; }
  .carousel-nav { width: 36px; height: 36px; font-size: 24px; }
  /* MEDIUM: stat grid tighter on small phones */
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  /* Hero actions stack to full width */
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  /* Trust strip: single column on smallest phones */
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-num { font-size: 2rem; }
  /* Header further compressed */
  .site-header .top { height: 68px; }
  .wayne-photo { width: 52px; height: 52px; }
  .harlos-title { font-size: 1.05rem; }
  /* Containers */
  .contact-form-side { padding: 20px 16px; }
  .contact-info-side { padding: 20px 16px; }
  .glass-panel { padding: 20px 16px; }
  .service-panel { padding: 24px 16px; }
  /* Blog body padding */
  .blog-card-body { padding: 20px; }
}

/* ── Narrow phone floor (320px–375px) ── */
@media (max-width: 375px) {
  .hero-content h1 { font-size: 1.7rem; }
  .hero-sub { font-size: 0.95rem; }
  .section-header h2 { font-size: 1.65rem; }
  .kicker-pill { font-size: 0.78rem; padding: 5px 12px; }
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
  .stat-num { font-size: 1.75rem; }
  .stat-label { font-size: 0.78rem; }
  .search-container { padding: 16px 12px; }
  .modal-content { width: 95%; }
  .harlos-title { font-size: 0.95rem; }
  .wayne-photo { width: 48px; height: 48px; }
  .offcanvas { width: 280px; }
}

/* LOW: reduced motion — disable bounce animation */
@media (prefers-reduced-motion: reduce) {
  .bounce-btn { animation: none; }
}

/* ── Animations ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-up { animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── Utility: accent color text ── */
.accent { color: var(--accent); }

/* ── Lockup (brand title + logo stack) ── */
.lockup { display: flex; flex-direction: column; gap: 2px; }

/* ── Index/section missing classes ── */
.reviews-section { padding: 80px 0; }
.listings-container { width: 100%; }
.panel-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.buy-bg { background: linear-gradient(135deg, rgba(15,22,33,0.0) 0%, rgba(15,22,33,0.6) 100%); }
.sell-bg { background: linear-gradient(135deg, rgba(192,25,29,0.08) 0%, rgba(15,22,33,0.4) 100%); }

/* ============================================================
   ABOUT PAGE — page-specific styles
   ============================================================ */

/* ── Contact pills (photo card) ── */
.contact-pills { display: grid; gap: 8px; }
.contact-pill {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, 0.02); font-size: 13px;
  color: var(--muted); transition: all 0.2s ease;
  overflow: hidden; word-break: break-all;
}
.contact-pill:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); color: var(--text); }
.contact-pill .icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }

/* ── Badge strip (about photo card) ── */
.badge-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ── Bio content column ── */
.bio-content { display: flex; flex-direction: column; gap: 16px; }
.bio-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(11, 15, 20, 0.85); backdrop-filter: blur(12px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25); overflow: hidden;
}
.bio-card .inner { padding: 28px 32px; }
.bio-card h3 { margin: 0 0 14px; font-size: 18px; letter-spacing: -0.3px; }
.bio-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.bio-card p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .bio-card .inner { padding: 20px; } }

/* ── Stat grid (about page) ── */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0 0; }
.stat-box {
  text-align: center; padding: 18px 10px; border: 1px solid var(--line);
  border-radius: 16px; background: rgba(255,255,255,0.02); transition: all 0.2s ease;
}
.stat-box:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15); }
.stat-box strong { display: block; font-size: 26px; letter-spacing: -0.5px; color: var(--text); }
.stat-box span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.stat-box .accent { color: var(--accent); }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Timeline ── */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 80px 1fr; gap: 0 20px; position: relative; }
.timeline-item:not(:last-child)::after {
  content: ""; position: absolute; left: 39px; top: 44px; bottom: -1px;
  width: 2px; background: linear-gradient(180deg, rgba(192,25,29,0.4), rgba(192,25,29,0.05));
}
.tl-year { padding-top: 20px; font-size: 13px; font-weight: 700; color: var(--accent); text-align: right; line-height: 1.2; }
.tl-dot-col { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
  border: 2px solid rgba(192,25,29,0.3); box-shadow: 0 0 0 4px rgba(192,25,29,0.1);
  margin-top: 22px; flex-shrink: 0;
}
.tl-body { padding: 16px 0 28px; }
.tl-body h4 { margin: 0 0 6px; font-size: 15px; letter-spacing: -0.2px; }
.tl-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.tl-inner-row { display: flex; gap: 16px; align-items: flex-start; }
@media (max-width: 640px) {
  .timeline-item { grid-template-columns: 60px 1fr; }
  .timeline-item::after { left: 29px; }
}

/* ── Values grid (about page) ── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 4px; }
.value-card {
  padding: 20px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255,255,255,0.02); transition: all 0.2s ease;
}
.value-card:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15); }
.value-icon { font-size: 24px; margin-bottom: 10px; }
.value-card h4 { margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.value-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }

/* ── Metro Brokers callout ── */
.metro-card { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.metro-logo-wrap { flex-shrink: 0; }
.metro-logo { width: 180px; height: auto; opacity: 0.9; }
.metro-text h3 { margin: 0 0 8px; font-size: 16px; }
.metro-text p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
@media (max-width: 640px) { .metro-card { flex-direction: column; } }

/* ── CTA section (about page) ── */
.cta-section { padding: 32px 0 48px; }
.cta-card {
  border: 1px solid rgba(192,25,29,0.3); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(192,25,29,0.08), rgba(11,15,20,0.95));
  backdrop-filter: blur(12px); box-shadow: 0 10px 40px rgba(192,25,29,0.1);
  padding: 40px; text-align: center;
}
.cta-card h2 { margin: 0 0 10px; font-size: 28px; letter-spacing: -0.5px; }
.cta-card p { color: var(--muted); margin: 0 auto 28px; font-size: 15px; max-width: 50ch; line-height: 1.7; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) {
  .cta-card { padding: 28px 20px; }
  .cta-card h2 { font-size: 22px; }
}

/* ============================================================
   BLOG PAGE — page-specific styles
   ============================================================ */

.container { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

.blog-hero {
  background: linear-gradient(135deg, rgba(11,15,20,0.95) 0%, rgba(15,20,27,0.85) 100%);
  padding: 80px 0 60px; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.blog-hero .kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #c0191d;
  margin-bottom: 16px; padding: 8px 12px; background: rgba(192,25,29,0.1);
  border: 1px solid rgba(192,25,29,0.2); border-radius: 999px; width: fit-content;
}
.blog-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin: 0 0 16px; line-height: 1.1; letter-spacing: -0.8px; color: var(--text); }
.blog-hero .lead { font-size: 18px; color: var(--muted); max-width: 600px; line-height: 1.6; }
@media (max-width: 768px) {
  .blog-hero { padding: 40px 0 30px; }
  .blog-hero h1 { font-size: 32px; }
  .blog-hero .lead { font-size: 16px; }
}
@media (max-width: 480px) {
  .blog-hero { padding: 30px 0 20px; }
  .blog-hero h1 { font-size: 24px; }
  .blog-hero .lead { font-size: 14px; }
}

.blog-section { padding: 80px 0; }

.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px; margin-bottom: 40px;
}
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; gap: 20px; } }

.blog-card {
  background: #1a1f26; border: 1px solid rgba(192,25,29,0.15); border-radius: 16px;
  overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94); display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-8px); border-color: rgba(192,25,29,0.4); box-shadow: 0 16px 32px rgba(192,25,29,0.15); }
@media (max-width: 480px) { .blog-card { border-radius: 12px; } }

.blog-card-img-link { display: block; }
.blog-card-img {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, rgba(192,25,29,0.8) 0%, rgba(102,126,234,0.6) 100%);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 13px; text-align: center; padding: 16px;
  position: relative; overflow: hidden;
}
.blog-card-img::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}
.blog-card-body { padding: 28px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; letter-spacing: -0.3px; }
.blog-card-title a { color: #ffffff; text-decoration: none; transition: color 0.2s; }
.blog-card-title a:hover { color: #c0191d; }
.blog-card-excerpt {
  font-size: 15px; color: var(--muted); margin-bottom: 20px; line-height: 1.6; flex-grow: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-footer {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: 20px; border-top: 1px solid rgba(192,25,29,0.15); margin-top: auto;
}
.blog-card-date { font-size: 12px; color: #86868b; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-card-read {
  color: #c0191d; text-decoration: none; font-size: 14px; font-weight: 600;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px;
}
.blog-card-read:hover { color: #d63030; transform: translateX(4px); }

.empty-state {
  text-align: center; padding: 80px 24px; background: #1a1f26;
  border: 1px solid rgba(192,25,29,0.1); border-radius: 16px; grid-column: 1 / -1;
}
.empty-state p { font-size: 16px; color: var(--muted); margin-bottom: 24px; max-width: 500px; margin-inline: auto; }

.loading { text-align: center; padding: 40px; color: var(--muted); }

/* ============================================================
   MOBILE PERFORMANCE PATCH — 2026-03-16
   ============================================================ */

/* Part 1a — Fix background scroll jitter on iOS/mobile */
@media (max-width: 1024px) {
  body { background-attachment: scroll !important; }
}

/* Part 2 — Metro Brokers logo responsive scaling */
@media (max-width: 768px) { .logo-under { width: 110px; } }
@media (max-width: 480px) { .logo-under { width: 90px; } }
@media (max-width: 375px) { .logo-under { width: 80px; } }
