/* ============================================================
   EVERMORE LIFE — BASE RESET & GLOBAL STYLES
   Import after _tokens.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 78px;
  }
  .btn {
    justify-content: center;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

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

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

ul { list-style: none; }

/* ── Utility: Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--section-padding-x);
}

/* ── Utility: Section wrapper ── */
.section {
  padding-block: var(--section-padding-y);
  padding-inline: var(--section-padding-x);
}

/* ── Utility: Section header ── */
.section-label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: var(--space-3);
  text-align: center;
}
.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  text-align: center;
  margin-bottom: var(--space-4);
}
.section-sub {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 580px;
  margin-inline: auto;
  text-align: center;
  line-height: 1.7;
  margin-bottom: var(--space-12);
}

/* ── Utility: Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Utility: Card ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ── Utility: Fade-in on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Mobile conversion bar ── */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    display: flex;
    gap: 1px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(9,18,56,0.96);
    border-top: 1px solid rgba(200,169,110,0.35);
    box-shadow: 0 -8px 30px rgba(9,18,56,0.22);
  }
  .mobile-cta-bar a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 46px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: clamp(0.75rem, 3.2vw, 0.875rem);
    font-weight: 800;
    white-space: nowrap;
  }
  .mobile-cta-call {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.18);
  }
  .mobile-cta-quote {
    background: var(--gold);
    color: var(--navy);
  }
}
