/* =========================================
   OLENAR HOMES — Sophisticated UI Theme
   ========================================= */

:root {
  --bg-body: #0f1720;          /* deep slate */
  --bg-elevated: #111827;
  --bg-soft: #101620;
  --bg-section: #0b1118;

  --surface: #111827;
  --surface-soft: #0f172a;
  --surface-alt: #020617;

  --accent-gold: #e1c089;
  --accent-gold-soft: rgba(225, 192, 137, 0.18);
  --accent-emerald: #4ade80;

  --border-subtle: rgba(148, 163, 184, 0.35);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;

  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.65);
  --transition-fast: 0.22s ease-out;

  --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* RESET / GLOBALS */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at top, #111827 0, #020617 50%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* CONTAINER */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.9), rgba(15,23,42,0.85));
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text-main);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background:
    radial-gradient(circle at 0% 0%, #fef9c3, transparent 60%),
    linear-gradient(135deg, #e1c089, #b1813f);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,0.85);
  border-bottom-width: 2px;
}

.logo-text {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.logo-text strong {
  color: var(--text-main);
  letter-spacing: 0.16em;
}

/* NAV */

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.86rem;
  color: var(--text-muted);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.nav a:hover {
  color: var(--accent-gold);
  border-color: rgba(148,163,184,0.4);
  background: rgba(15,23,42,0.85);
  transform: translateY(-1px);
}

.nav .nav-cta-primary {
  color: #020617;
  background: linear-gradient(135deg, #e1c089, #d6aa61);
  border-color: transparent;
  font-weight: 600;
  padding-inline: 1.1rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.55);
}
.nav .nav-cta-primary:hover {
  background: linear-gradient(135deg, #f1d8a4, #e1c089);
}

.nav .nav-cta-outline {
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text-main);
}

/* HERO */

.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.8;
}
.hero::before {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(225,192,137,0.45), transparent 70%);
  top: -80px;
  right: 5%;
}
.hero::after {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(74,222,128,0.28), transparent 70%);
  bottom: -40px;
  left: -60px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--accent-gold);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.9rem;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.8rem 0 1.2rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #e1c089, #c69a55);
  color: #020617;
  box-shadow: 0 14px 38px rgba(0,0,0,0.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.85);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: rgba(148,163,184,0.55);
}
.btn-ghost:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(15,23,42,0.85);
}

/* HERO SIDE CARD */

.hero-card {
  background: radial-gradient(circle at top left, rgba(225,192,137,0.16), transparent 50%), rgba(15,23,42,0.9);
  border-radius: 24px;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: var(--shadow-soft);
  padding: 1.7rem 1.8rem;
  backdrop-filter: blur(18px);
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.3rem;
}
.hero-metrics li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(55,65,81,0.7);
  font-size: 0.9rem;
}
.hero-metrics span {
  color: var(--text-muted);
}
.hero-metrics strong {
  font-size: 1.02rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

/* SECTIONS */

.section {
  padding: 4rem 0 3.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 1.8rem;
  margin: 0 0 0.6rem;
}
.section-subtitle {
  max-width: 40rem;
  margin: 0.2rem auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* GRIDS */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.8rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.8rem;
}

.grid-4-flex {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.5rem;
}

/* CARD GENERIC */

.card {
  background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(15,23,42,0.97));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.7rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(148,163,184,0.12), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}
.card:hover::before {
  opacity: 1;
}
.card h3, .card h4 {
  margin-top: 0;
}
.card h4 {
  font-size: 1.05rem;
}

/* ABOUT SPLIT */

.about-copy {
  color: var(--text-muted);
  font-size: 0.96rem;
}
.about-copy p {
  margin-bottom: 0.9rem;
}

/* BRRR STEPS */

.brrr-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.2rem;
  font-size: 0.9rem;
}
.brrr-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* PROCESS TIMELINE */

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline-item {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}
.timeline-dot {
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-gold);
}
.timeline-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
.timeline-title {
  font-size: 0.98rem;
  margin-top: 0.1rem;
}

/* METRICS CARDS */

.metric-value {
  font-size: 1.6rem;
  margin: 0.3rem 0;
}
.metric-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

/* TESTIMONIALS */

.quote-text {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 0.8rem;
}
.quote-author {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* CTA SECTION */

.cta-shell {
  padding-bottom: 4.5rem;
}
.cta {
  background: radial-gradient(circle at top, rgba(225,192,137,0.25), transparent 65%), #020617;
  border-radius: 26px;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: var(--shadow-soft);
  padding: 2.6rem 2.2rem;
  text-align: center;
}
.cta h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}
.cta p {
  margin-top: 0.2rem;
  color: var(--text-muted);
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(31,41,55, 0.9);
  background: #020617;
  padding: 1.6rem 0 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.footer-inner a {
  color: var(--accent-gold);
  text-decoration: none;
}
.footer-inner a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-4-flex,
  .brrr-steps {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .cta {
    border-radius: 18px;
    padding-inline: 1.5rem;
  }
  .nav {
    display: none; /* simple approach for now; can add burger later */
  }
}

@media (max-width: 640px) {
  .brrr-steps,
  .grid-4-flex {
    grid-template-columns: minmax(0,1fr);
  }
}
.badge-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #e1c089;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}
.badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #e1c089;
    color: #020617;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    margin-left: 6px;
    line-height: 1;
}