/* ═══════════════════════════════════════════════════════════════
   Zenna Landing Pages — Stylesheet
   Brand: gold #F7AF2F, dark #0f172a, flat, corporate, no gradients
   ═══════════════════════════════════════════════════════════════ */

:root {
  --gold: #F7AF2F;
  --gold-light: #FDE68A;
  --gold-dark: #D97706;
  --dark: #0f172a;
  --dark-card: #1e293b;
  --border: #e2e8f0;
  --text-muted: #64748b;
  --white: #ffffff;
  --bg: #f8fafc;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--tight { padding: 48px 0; }

/* ── Header / Nav ───────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header__logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark);
}
.header__logo span { color: var(--gold); }
.header__nav { display: flex; gap: 32px; align-items: center; }
.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.header__nav a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .header__nav { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-size: cover;
  background-position: center;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}
.hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
  max-width: 600px;
}
.hero__subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero { min-height: 500px; }
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 1.1rem; }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}
.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn--secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover { background: var(--dark-card); }
.btn--block { width: 100%; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.card__image {
  width: 100%;
  height: 240px;
  background: var(--dark-card);
  background-size: cover;
  background-position: center;
}
.card__body { padding: 24px; }
.card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}
.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.card__location {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.card__highlights {
  list-style: none;
  margin-bottom: 20px;
}
.card__highlights li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 24px;
  position: relative;
}
.card__highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ── Grid ───────────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--auto { grid-template-columns: 1fr; }
}

/* ── Section titles ─────────────────────────────────────────── */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-title--center { text-align: center; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.section-subtitle--center { text-align: center; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ── Lead Form ──────────────────────────────────────────────── */
.lead-form-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}
.lead-form-wrapper--dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}
.lead-form-wrapper--dark label,
.lead-form-wrapper--dark .form-title { color: var(--white); }

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.lead-form-wrapper--dark .form-subtitle { color: rgba(255, 255, 255, 0.6); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
  background: var(--white);
  color: var(--dark);
}
.lead-form-wrapper--dark .form-group input,
.lead-form-wrapper--dark .form-group select,
.lead-form-wrapper--dark .form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── Form messages ──────────────────────────────────────────── */
.form-message {
  display: none;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-message--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form-message--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ── Features section ───────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature {
  text-align: center;
}
.feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(247, 175, 47, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.feature__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature__text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .features { grid-template-columns: 1fr; }
}

/* ── Portal tiles (index page) ──────────────────────────────── */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.portal-tile {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.2s;
  cursor: pointer;
}
.portal-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--gold);
}
.portal-tile__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(247, 175, 47, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.75rem;
}
.portal-tile__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.portal-tile__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 32px;
  font-size: 0.9rem;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}
.footer__logo span { color: var(--gold); }

/* ── Split layout (hero + form side by side) ────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}
.split__left {
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split__right {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .split__left, .split__right { padding: 48px 24px; }
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
.mt-16 { margin-top: 64px; }
.mb-8 { margin-bottom: 32px; }
.hidden { display: none; }
