/* ==========================================================================
   Levi Orman - Realtor Landing Page
   Design System & Styling (Quiet Luxury Theme)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Imports & Core Variables
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette - Extracted from Levi's Brand Guide */
  --primary-hex: #326FB6;
  --primary-rgb: 50, 111, 182;
  --primary: rgb(var(--primary-rgb));
  --primary-light: #4c8dd9;
  --primary-dark: #22518a;
  
  --secondary-hex: #95CDEA;
  --secondary-rgb: 149, 205, 234;
  --secondary: rgb(var(--secondary-rgb));
  --secondary-light: #bde4f7;
  
  --bg-dark-hex: #2B425B;
  --bg-dark-rgb: 43, 66, 91;
  --bg-dark: rgb(var(--bg-dark-rgb));
  --bg-darker: #1a2a3b;
  --bg-dark-gradient: linear-gradient(135deg, #2b425b 0%, #152230 100%);
  
  /* Neutral Color Tones */
  --text-light: #ffffff;
  --text-muted: #cbd5e1;
  --text-dark: #0f172a;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(149, 205, 234, 0.4);
  
  /* Glassmorphism Styles */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --glass-shadow-hover: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
  
  /* Fonts Stack */
  --font-heading: 'Tablet Gothic', 'Outfit', sans-serif;
  --font-body: 'Azo Sans', 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing & Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) var(--bg-darker);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  background-color: var(--bg-darker);
}

body {
  font-family: var(--font-body);
  color: var(--text-light);
  background: var(--bg-dark-gradient);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* --------------------------------------------------------------------------
   3. Typography & UI Utilities
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
  font-weight: 400;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphic Cards */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.glass-panel-hover:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(50, 111, 182, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(50, 111, 182, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--secondary);
  color: var(--bg-darker);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(149, 205, 234, 0.3);
}

.btn-accent:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(149, 205, 234, 0.5);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Animated Abstract Background */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(43, 66, 91, 0.5) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(50, 111, 182, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(149, 205, 234, 0.05) 0%, transparent 60%);
}

.bg-mesh::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(50, 111, 182, 0.05) 0%, transparent 50%);
  animation: rotateMesh 40s linear infinite;
}

@keyframes rotateMesh {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   4. Header / Navigation Component
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 42, 59, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.header-scrolled {
  background: rgba(26, 42, 59, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.brokerage-logo-header {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--glass-border);
}

.brand-identity {
  display: flex;
  flex-direction: column;
}

.agent-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-light);
  line-height: 1;
}

.agent-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--secondary);
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. Hero Section (QR-friendly, high-conversion)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 90vh;
  padding: 120px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(149, 205, 234, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.hero-bg-accent-2 {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(50, 111, 182, 0.1) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-tag {
  align-self: flex-start;
  background: rgba(149, 205, 234, 0.08);
  border: 1px solid rgba(149, 205, 234, 0.2);
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

/* Hero Lead Gen Interactive Component */
.hero-search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: -1px;
}

.hero-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-bottom: none;
  color: var(--text-muted);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hero-tab-btn:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.04);
}

.hero-tab-btn.active {
  background: rgba(43, 66, 91, 0.6);
  border-color: rgba(149, 205, 234, 0.3);
  color: var(--secondary);
  backdrop-filter: var(--glass-blur);
}

.hero-search-box {
  background: rgba(43, 66, 91, 0.6);
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(149, 205, 234, 0.3);
}

.search-input-group {
  display: flex;
  background: rgba(26, 42, 59, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 6px;
  transition: var(--transition-smooth);
}

.search-input-group:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 0 10px rgba(149, 205, 234, 0.25);
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-light);
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
}

.search-input::placeholder {
  color: #64748b;
}

.hero-visual-col {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-qr-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 10;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--bg-darker);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: floatQR 4s ease-in-out infinite;
}

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

.hero-headshot-card {
  width: 100%;
  max-width: 380px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-headshot-card:hover .hero-image {
  transform: scale(1.03);
}

.hero-headshot-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 42, 59, 0.95) 0%, rgba(26, 42, 59, 0.8) 40%, transparent 100%);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
}

.headshot-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.1;
}

.headshot-sub {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Trust Badges Ribbon */
.trust-ribbon {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(26, 42, 59, 0.3);
  backdrop-filter: var(--glass-blur);
  padding: 24px 0;
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.trust-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 40px;
}

.trust-logo-img {
  height: 32px;
  width: auto;
  opacity: 0.75;
  filter: brightness(0) invert(1);
  transition: var(--transition-smooth);
}

.trust-logo-img:hover {
  opacity: 1;
  filter: none;
}

/* --------------------------------------------------------------------------
   6. About Section (17th & South Billboard connection)
   -------------------------------------------------------------------------- */
.about-section {
  padding: 100px 24px;
  position: relative;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  align-items: center;
}

.about-visual-grid {
  position: relative;
}

.about-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  aspect-ratio: 4 / 5;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.about-image-card:hover .about-image {
  transform: scale(1.02);
}

.local-stat-float {
  position: absolute;
  bottom: -30px;
  right: -30px;
  padding: 24px;
  max-width: 250px;
  border: 1px solid rgba(149, 205, 234, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 24px;
  font-weight: 800;
}

.about-bio {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.highlight-box {
  background: rgba(149, 205, 234, 0.05);
  border-left: 3px solid var(--secondary);
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 30px 0;
}

.highlight-text {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.grid-stat {
  padding: 16px;
  text-align: center;
}

.grid-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-light);
}

.grid-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   7. Interactive Mortgage Calculator Dashboard
   -------------------------------------------------------------------------- */
.calc-section {
  padding: 100px 24px;
  background: rgba(26, 42, 59, 0.2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.calc-container {
  max-width: 1200px;
  margin: 0 auto;
}

.calc-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.calc-inputs-card {
  padding: 40px;
}

.calc-group {
  margin-bottom: 30px;
}

.calc-label-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calc-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-value-display {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
}

/* Slider Custom Styling */
.calc-slider {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 10px rgba(149, 205, 234, 0.5);
  transition: var(--transition-smooth);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--text-light);
}

.calc-results-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(43, 66, 91, 0.5);
}

.payment-circle {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(149, 205, 234, 0.15);
  background: rgba(26, 42, 59, 0.4);
}

.payment-circle::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(149, 205, 234, 0.25);
  animation: rotateCircle 30s linear infinite;
}

@keyframes rotateCircle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.payment-amt {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1;
}

.payment-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.breakdown-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.breakdown-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.breakdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-piti { background: var(--secondary); }
.dot-taxes { background: var(--primary); }
.dot-ins { background: #cbd5e1; }

.breakdown-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   8. Lead Capture Form Section (QR Code optimization)
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 100px 24px;
  position: relative;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
}

.contact-card-glass {
  padding: 40px;
}

.card-agent-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
}

.card-agent-img-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--secondary);
}

.card-agent-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-agent-details {
  display: flex;
  flex-direction: column;
}

.card-agent-name {
  font-size: 1.3rem;
  font-weight: 800;
}

.card-agent-broker {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-decoration: none;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(149, 205, 234, 0.08);
  border: 1px solid rgba(149, 205, 234, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail-text {
  display: flex;
  flex-direction: column;
}

.contact-detail-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-detail-val {
  font-size: 0.98rem;
  color: var(--text-light);
  font-weight: 500;
  transition: var(--transition-smooth);
}

a.contact-detail-item:hover .contact-detail-val {
  color: var(--secondary);
}

.form-column {
  display: flex;
  flex-direction: column;
}

.contact-form-wrapper {
  padding: 45px;
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.form-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 35px;
}

/* Custom Styled Input Controls */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.form-control {
  background: rgba(26, 42, 59, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 10px rgba(149, 205, 234, 0.2);
  background: rgba(26, 42, 59, 0.7);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(149, 205, 234, 0.15);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(149, 205, 234, 0.3);
}

.success-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.success-msg {
  color: var(--text-muted);
  max-width: 400px;
}

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

/* --------------------------------------------------------------------------
   9. Strict Compliance Footer (NREC display guidelines)
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: #152230;
  padding: 80px 24px 40px;
  font-family: var(--font-body);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brokerage-display {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-broker-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-broker-divider {
  width: 1px;
  height: 35px;
  background: var(--border-light);
}

.footer-broker-name-group {
  display: flex;
  flex-direction: column;
}

.footer-broker-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-light);
  line-height: 1;
}

.footer-broker-sub {
  font-size: 0.72rem;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.compliance-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 25px;
}

.footer-address {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.footer-contact-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-contact-link {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.footer-contact-link:hover {
  color: var(--text-light);
}

.footer-badge-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-badge-logos {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-badge-img {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.footer-badge-img:hover {
  opacity: 1;
}

.footer-links-quick {
  list-style: none;
  display: flex;
  gap: 24px;
  margin-top: 30px;
}

.quick-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--transition-smooth);
}

.quick-link:hover {
  color: var(--text-light);
}

.footer-bottom {
  padding-top: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.creator-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.creator-tag a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

.creator-tag a:hover {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   10. Responsive Design Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .hero-container,
  .about-container,
  .calc-grid,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual-col, .about-visual-grid {
    order: -1;
  }
  
  .about-image-card {
    aspect-ratio: 16 / 9;
    max-height: 400px;
  }
  
  .local-stat-float {
    bottom: 20px;
    right: 20px;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-badge-col {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Mobile menu toggled via JS */
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-search-box {
    padding: 16px;
  }
  
  .search-input-group {
    flex-direction: column;
    background: none;
    border: none;
    gap: 12px;
    padding: 0;
  }
  
  .search-input {
    background: rgba(26, 42, 59, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    width: 100%;
  }
  
  .search-btn-hero {
    width: 100%;
    padding: 16px;
  }
  
  .calc-inputs-card, .calc-results-card {
    padding: 24px;
  }
  
  .contact-form-wrapper {
    padding: 24px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .trust-logos {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .local-stat-float {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
    max-width: 100%;
  }
}
