/* ============================================
   Apartments030 — modern 1-pager styles
   ============================================ */

:root {
  --navy: #0B1F3B;
  --navy-2: #15294a;
  --ink: #0A1024;
  --muted: #5b6478;
  --line: #e6e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-dark: #0B1F3B;
  --accent: #FF6B4A;
  --accent-2: #ff8466;
  --accent-dark: #d8442a;
  --success: #2bb673;
  --gold: #f5b942;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 59, 0.06), 0 2px 6px rgba(11, 31, 59, 0.04);
  --shadow: 0 6px 18px rgba(11, 31, 59, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 59, 0.18);
  --maxw: 1180px;
  --maxw-narrow: 760px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--maxw-narrow); }

.text-center { text-align: center; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  z-index: 9999;
}
.skip-link:focus { left: 8px; color: #fff; }

/* ============================
   HEADER
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.brand-name { letter-spacing: -0.01em; }
.brand-accent { color: var(--accent); }

.main-nav {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
}
.main-nav a {
  color: var(--navy);
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.main-nav a:hover { color: var(--accent-dark); }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; display: flex; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255,107,74,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--navy);
  color: #fff;
}
.btn-secondary:hover { background: var(--navy-2); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #fdfaf6 0%, #ffffff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(253,250,246,0.92) 0%, rgba(253,250,246,0.72) 45%, rgba(253,250,246,0.4) 100%),
    radial-gradient(ellipse at 80% 0%, rgba(255,107,74,0.18), transparent 55%);
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.55;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 720px; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
  margin: 0 0 16px;
  padding: 6px 12px;
  background: rgba(255,107,74,0.12);
  border-radius: 999px;
}
.eyebrow-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-serif);
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 16px;
  max-width: 620px;
}

.hero-ctas {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-strip {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}
.trust-strip strong {
  display: block;
  color: var(--navy);
  font-size: 1.35rem;
  font-family: var(--font-serif);
  font-weight: 700;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-card h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.hero-card p { color: var(--muted); font-size: 0.95rem; }
.microcopy {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 12px 0 0;
  text-align: center;
}

/* ============================
   SECTIONS
   ============================ */
.section {
  padding: 96px 0;
}
.section-light { background: var(--bg-soft); }
.section-dark {
  background: var(--bg-dark);
  color: #e8ecf5;
  position: relative;
  overflow: hidden;
}
.hood-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background:
    linear-gradient(180deg, rgba(11,31,59,0.6) 0%, rgba(11,31,59,0) 50%, rgba(11,31,59,0.7) 100%);
}
.hood-pattern img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(0.4) brightness(1.4);
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-lede { color: #b8c2d6; }

.section-head {
  max-width: 760px;
  margin: 0 0 48px;
}
.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-lede {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 8px;
}

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

/* FEATURE CARDS */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,107,74,0.12);
  color: var(--accent-dark);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); margin: 0; }

/* STEPS */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: stepc;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-serif);
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* NEIGHBORHOOD */
.neighborhood-grid .hood {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .15s ease, background .15s ease;
}
.neighborhood-grid .hood:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
}
.hood h3 { color: #fff; margin-bottom: 6px; }
.hood p { color: #c4cce0; margin: 0 0 14px; }
.hood-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hood-tags li {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: rgba(255,107,74,0.15);
  color: #ffb19a;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* TYPE CARDS */
.type-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.type-figure {
  margin: 0;
  background: linear-gradient(180deg, #fef3e2 0%, #f5e2c4 100%);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 600 / 360;
  overflow: hidden;
}
.type-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.type-body {
  padding: 28px 32px 32px;
}
.type-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.checklist li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--ink);
  font-size: 0.98rem;
  border-bottom: 1px dashed var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success);
  background-image: linear-gradient(135deg, #2bb673, #1f9a5e);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.6);
}

/* AUDIENCE */
.audience-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.audience-card h3 { font-size: 1.35rem; }

/* ============================
   FORM
   ============================ */
.section-form {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255,107,74,0.10), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #fdfaf6 100%);
}
/* Honeypot — must be hidden from real users but visible to bots */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.req { color: var(--accent-dark); }

.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 88px; font-family: inherit; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,107,74,0.15);
}
.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #e0394a;
  box-shadow: 0 0 0 4px rgba(224,57,74,0.12);
}
.hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 6px 0 0;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 400;
}
.checkbox input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.lead-form .btn { margin-top: 20px; }
.form-microcopy { margin-top: 14px; }

.form-success {
  background: #eafbf2;
  border: 1px solid #b6ecd1;
  color: #1d6b48;
  padding: 20px;
  border-radius: var(--radius);
  margin-top: 24px;
}
.form-success h3 { color: #1d6b48; margin-bottom: 4px; }
.form-success p { margin: 0; }

.form-error {
  background: #fdecee;
  border: 1px solid #f3b8be;
  color: #a82231;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 0.95rem;
}

/* ============================
   FAQ
   ============================ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .15s ease;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  color: var(--muted);
  margin: 10px 0 6px;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ============================
   FINAL CTA
   ============================ */
.section-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #182d52 100%);
  color: #fff;
}
.section-cta h2 { color: #fff; }
.section-cta .section-lede { color: #c4cce0; }

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: #08172e;
  color: #c4cce0;
  padding: 56px 0 24px;
  font-size: 0.94rem;
}
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: #fff; color: var(--navy); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 32px;
}
.footer-brand p { color: #8c98b3; max-width: 320px; margin-top: 14px; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-nav h4 { color: #fff; margin-bottom: 12px; font-size: 0.85rem; }
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: #c4cce0; }
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #8c98b3;
}
.legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px;
}
.legal a { color: #8c98b3; }
.legal a:hover { color: #fff; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 960px) {
  .hero { padding: 64px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-card { order: 2; }
  .main-nav { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .lead-form { padding: 24px; }
  .header-inner { height: 60px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .trust-strip { gap: 18px; }
  h1 { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
