/* ─────────────────────────────────────────────────────────────────────────
   LotBasis marketing landing — single page, scroll style, wide framed.
   Backgrounds: construction stock imagery via Unsplash CDN; brand-blue
   gradient overlays for text contrast. Falls back to brand color when
   image URLs 404. No JS dependency, no analytics.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --brand: #3b7fd6;
  --brand-dark: #1f4e8c;
  --brand-darker: #122d52;
  --accent: #d4a747;
  --ink: #1a1a1a;
  --ink-soft: #2a2a2a;
  --muted: #8a8a8a;
  --bg: #ffffff;
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.85);
  --on-dark-muted: rgba(255, 255, 255, 0.65);

  /* Type scale */
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Section frame ──────────────────────────────────────────────────── */
.section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--on-dark);
  overflow: hidden;
  /* Fallback background — used if the Unsplash URL 404s. */
  background-color: var(--brand-dark);
}

.section-hero {
  min-height: 100vh;
  background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1920&q=70&auto=format');
}
.section-estimator {
  background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1920&q=70&auto=format');
}
.section-auditor {
  background-image: url('https://images.unsplash.com/photo-1581094488379-6b34e80e6c01?w=1920&q=70&auto=format');
}
.section-proforma {
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1920&q=70&auto=format');
}
.section-cta {
  background-image: url('https://images.unsplash.com/photo-1581094271901-8022df4466f9?w=1920&q=70&auto=format');
}

/* ─── Overlays for text contrast ─────────────────────────────────────── */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.overlay-dark {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(31, 78, 140, 0.75) 100%);
}
.overlay-darker {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(18, 45, 82, 0.92) 100%);
}
.overlay-blue {
  background: linear-gradient(135deg, rgba(31, 78, 140, 0.92) 0%, rgba(18, 45, 82, 0.85) 100%);
}

/* ─── Inner content frame ────────────────────────────────────────────── */
.inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2.5rem;
  width: 100%;
}
.inner-narrow {
  max-width: 800px;
}
.inner.center {
  text-align: center;
}

/* ─── Typography ─────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.brand-dot {
  color: var(--accent);
}

.hero-tagline {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--on-dark-soft);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--on-dark-soft);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.hero-foot {
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.section .lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--on-dark-soft);
  max-width: 700px;
  margin-bottom: 2rem;
}

/* ─── Feature lists ──────────────────────────────────────────────────── */
.feature-list {
  margin-top: 2rem;
  max-width: 720px;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  padding-block: 0.5rem;
  font-size: 1.05rem;
  color: var(--on-dark-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.feature-list li:last-child {
  border-bottom: none;
}

/* ─── CTAs ───────────────────────────────────────────────────────────── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.cta-row.center-cta {
  justify-content: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-primary {
  background: var(--accent);
  color: var(--brand-darker);
  border: 2px solid var(--accent);
}

.cta-primary:hover {
  background: #e0b757;
  border-color: #e0b757;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 167, 71, 0.35);
}

.cta-secondary {
  background: transparent;
  color: var(--on-dark);
  border: 2px solid var(--on-dark);
}

.cta-secondary:hover {
  background: var(--on-dark);
  color: var(--brand-darker);
  transform: translateY(-1px);
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.footer {
  background: var(--brand-darker);
  color: var(--on-dark-muted);
  padding: 3rem 0;
  border-top: 4px solid var(--accent);
}

.footer-inner {
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--on-dark);
  margin-bottom: 0.5rem;
}

.footer-meta {
  font-size: 0.95rem;
  color: var(--on-dark-soft);
  margin-bottom: 1rem;
}

.footer-meta a {
  color: var(--on-dark);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.footer-meta a:hover {
  text-decoration-color: var(--accent);
}

.footer-fine {
  font-size: 0.8rem;
  color: var(--on-dark-muted);
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .inner {
    padding: 4rem 1.5rem;
  }
  .section {
    min-height: 80vh;
  }
  .section-hero {
    min-height: 100vh;
  }
  .cta {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }
}
