/* ============================================
   ICOSA DFW - dallas.thepropertyjoes.com
   The Property Joes Group - City Migration Page
   Brand: Navy #1B2A4A | Gold #C9A84C | Cream #C7C1BA
   Fonts: Alice (headings) | Karla (body)
   ============================================ */

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

:root {
  --navy: #1B2A4A;
  --navy-light: #2A3D5F;
  --gold: #C9A84C;
  --gold-light: #D4BA6A;
  --cream: #C7C1BA;
  --cream-light: #F5F3F0;
  --cream-dark: #B0A99F;
  --white: #FFFFFF;
  --text-dark: #1B2A4A;
  --text-body: #3A3A3A;
  --text-muted: #6B6B6B;
  --shadow-sm: 0 1px 3px rgba(27, 42, 74, 0.08);
  --shadow-md: 0 4px 12px rgba(27, 42, 74, 0.12);
  --shadow-lg: 0 8px 24px rgba(27, 42, 74, 0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Karla', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Alice', serif;
  color: var(--text-dark);
  line-height: 1.3;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--gold-light);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(27, 42, 74, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
}

.nav-logo span {
  font-family: 'Alice', serif;
  color: var(--white);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--gold-light);
  color: var(--navy) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1e3355 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero h1 .gold {
  color: var(--gold);
}

.hero p {
  font-size: 1.2rem;
  color: var(--cream);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-number {
  font-family: 'Alice', serif;
  font-size: 2rem;
  color: var(--gold);
  display: block;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--cream-dark);
  margin-top: 4px;
}

/* --- Section Base --- */
.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .overline {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}

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

.section-cream {
  background: var(--cream-light);
}

.section-navy {
  background: var(--navy);
}

.section-navy h2,
.section-navy p,
.section-navy .overline {
  color: var(--white);
}

.section-navy .overline {
  color: var(--gold);
}

/* --- Cost Comparison --- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.comparison-card.houston {
  border: 2px solid var(--gold);
  position: relative;
}

.comparison-card.houston::after {
  content: 'YOUR NEW HOME';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.comparison-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.comparison-card .city-state {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.comparison-row:last-child {
  border-bottom: none;
}

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

.comparison-value {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.comparison-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-badge {
  background: var(--navy);
  color: var(--gold);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.savings-callout {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.savings-callout .amount {
  font-family: 'Alice', serif;
  font-size: 2.4rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.savings-callout .note {
  font-size: 0.95rem;
  color: var(--cream);
}

/* --- Migration Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
}

.stat-card .number {
  font-family: 'Alice', serif;
  font-size: 2.8rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.stat-card .label {
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.4;
}

.stat-card .source {
  font-size: 0.75rem;
  color: var(--cream-dark);
  margin-top: 12px;
  font-style: italic;
}

/* --- Neighborhoods --- */
.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.neighborhood-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
}

.neighborhood-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.neighborhood-card h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.neighborhood-card .area-type {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 16px;
}

.neighborhood-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.neighborhood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.neighborhood-tags span {
  background: var(--cream-light);
  color: var(--text-dark);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 500;
}

/* --- Team Section --- */
.team-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.team-image {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.team-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--gold);
}

.team-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.team-info p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.team-credentials {
  list-style: none;
  margin-bottom: 24px;
}

.team-credentials li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-body);
}

.team-credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* --- Lead Capture Form --- */
.form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.form-wrapper h3 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 8px;
}

.form-wrapper .form-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  padding: 14px 16px;
  border: 1px solid var(--cream);
  border-radius: var(--radius);
  background: var(--cream-light);
  color: var(--text-dark);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.form-submit .btn-primary {
  width: 100%;
  font-size: 1.05rem;
  padding: 18px 36px;
}

.form-privacy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: var(--cream);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--cream-dark);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--cream-dark);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--cream-dark);
}

.footer-bottom .brokerage {
  font-size: 0.75rem;
  color: rgba(199, 193, 186, 0.6);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .comparison-vs {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .neighborhoods-grid {
    grid-template-columns: 1fr;
  }

  .team-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .team-credentials li {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-content {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 32px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }
}
