/* ============================================
   LA Affordable Rentals — Custom Styles
   Palette: Deep Navy (#0F2B4C) + Warm Gold (#D4A843)
   ============================================ */

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

:root {
  --navy: #0F2B4C;
  --navy-light: #1a3d65;
  --navy-dark: #091e36;
  --gold: #D4A843;
  --gold-light: #e6c06a;
  --gold-dark: #b8902e;
  --cream: #FAF6F0;
  --cream-dark: #f0e8da;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --shadow-sm: 0 1px 3px rgba(15,43,76,0.08);
  --shadow-md: 0 4px 16px rgba(15,43,76,0.10);
  --shadow-lg: 0 8px 32px rgba(15,43,76,0.12);
  --shadow-xl: 0 16px 48px rgba(15,43,76,0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: 14px;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 16px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--lg { padding: 18px 36px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-light:hover {
  background: var(--navy);
  color: var(--white);
}

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15,43,76,0.06);
  transition: all var(--transition);
}
.site-header.scrolled {
  background: rgba(250, 246, 240, 0.96);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  z-index: 1001;
}
.logo--light { color: var(--white); }
.logo--light .logo-text { color: var(--white); }

.logo-mark {
  flex-shrink: 0;
}

.logo-text .gold { color: var(--gold); }

/* NAV */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: all var(--transition);
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-list a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  border-radius: 50px;
  transition: all var(--transition);
}
.nav-list a:hover {
  background: rgba(15,43,76,0.06);
  color: var(--navy-light);
}

/* --- HERO --- */
.hero {
  position: relative;
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 80px;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0 120px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title .accent {
  color: var(--gold);
  font-style: italic;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  margin: 0 24px;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  height: 620px;
}
.hero-img-card {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-img-card--main {
  width: 360px;
  height: 480px;
  top: 20px;
  right: 0;
}
.hero-img-card--accent {
  width: 260px;
  height: 200px;
  bottom: 60px;
  left: -20px;
  border: 5px solid var(--navy);
}
.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: 0;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* Decorative blob */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,67,0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

/* --- SECTIONS --- */
.section--dark {
  background: var(--navy);
  padding: 100px 0;
}
.section--cream {
  background: var(--cream);
  padding: 100px 0;
}
.section--light {
  background: var(--white);
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.section-title--dark { color: var(--navy); }
.section-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.section-title--dark + .section-subtitle,
.section--cream .section-subtitle { color: var(--gray-500); }

/* --- SERVICES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}
.service-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,168,67,0.15);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.service-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
}
.service-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* --- ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}
.about-img-stack {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-float {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-lg);
}
.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.about-experience-badge .exp-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.about-experience-badge .exp-label {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  margin-top: 4px;
}

.about-content { max-width: 520px; }
.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 20px;
}
.about-features {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 32px 0;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
}
.check-icon { flex-shrink: 0; }

/* --- NEIGHBORHOODS --- */
.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.neighborhood-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 7/5;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
.neighborhood-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.neighborhood-card:hover img {
  transform: scale(1.08);
}
.neighborhood-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,43,76,0.85) 0%, rgba(15,43,76,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background var(--transition);
}
.neighborhood-card:hover .neighborhood-overlay {
  background: linear-gradient(to top, rgba(15,43,76,0.92) 0%, rgba(15,43,76,0.2) 60%, transparent 100%);
}
.neighborhood-overlay h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--white);
  margin-bottom: 8px;
}
.neighborhood-overlay p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
  position: absolute;
  top: 20px;
  right: 28px;
  opacity: 0.4;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 24px;
  margin-top: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}
.author-detail {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 2px;
}

/* --- CTA BANNER --- */
.cta-banner {
  background: var(--gold);
  padding: 80px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-text {
  font-size: 17px;
  color: rgba(15,43,76,0.7);
  max-width: 480px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-details {
  list-style: none;
  display: grid;
  gap: 24px;
  margin-bottom: 36px;
}
.contact-item-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-item dd {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}
.contact-item dd a {
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.contact-item dd a:hover {
  color: var(--gold);
}
.contact-map {
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* FORM */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-xl);
}
.form-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--gray-700);
  background: var(--gray-50);
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(212,168,67,0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success h4 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--navy);
  margin: 16px 0 8px;
}
.form-success p {
  color: var(--gray-500);
  font-size: 15px;
}
.success-icon {
  margin: 0 auto;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--navy-dark);
  padding: 80px 0 0;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links ul {
  list-style: none;
  display: grid;
  gap: 12px;
}
.footer-links a,
.footer-address a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover,
.footer-address a:hover {
  color: var(--gold);
}
.footer-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a {
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--gold); }

/* --- ANIMATIONS --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 32px;
    padding: 48px 0 100px;
  }
  .hero-img-card--main {
    width: 300px;
    height: 400px;
  }
  .hero-img-card--accent {
    width: 200px;
    height: 160px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .neighborhoods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: fixed;
    inset: 0;
    background: rgba(250,246,240,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }
  .nav-list.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-list a {
    font-size: 20px;
    padding: 12px 24px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0 100px;
  }
  .hero-visual {
    display: none;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .section--dark, .section--cream, .section--light {
    padding: 72px 0;
  }
  .section-header { margin-bottom: 48px; }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .about-visual { order: -1; }
  .about-img-float { right: -16px; bottom: -20px; }

  .neighborhoods-grid {
    grid-template-columns: 1fr;
  }
  .neighborhood-card { aspect-ratio: 16/9; }

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

  .cta-banner { padding: 56px 0; }
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions { justify-content: center; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 2rem; }
  .btn--lg { padding: 14px 24px; font-size: 15px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
}
