/* ─────────────────────────────────────────
   ARIZONA SENIOR HOME ADVISORS
   Color palette: Sage green + cream + brown
   Fonts: Lora (display) + DM Sans (body)
───────────────────────────────────────── */

:root {
  --cream:       #F5F0E8;
  --cream-dark:  #EDE6D6;
  --brown:       #5C4033;
  --brown-light: #8B6657;
  --brown-pale:  #D4B8A8;
  --sage:        #6B8C6B;
  --sage-dark:   #4A6741;
  --sage-light:  #A8C4A8;
  --sage-pale:   #E8F0E8;
  --white:       #FFFFFF;
  --text-dark:   #2C1F1A;
  --text-mid:    #5C4A40;
  --text-light:  #8B7B74;
  --shadow-sm:   0 2px 12px rgba(92,64,51,0.08);
  --shadow-md:   0 6px 30px rgba(92,64,51,0.12);
  --radius:      12px;
  --radius-sm:   8px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Lora', Georgia, serif;
  line-height: 1.25;
  color: var(--text-dark);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION LABELS & TITLES ── */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 48px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
  border-color: var(--sage-dark);
}
.btn-primary:hover { background: var(--sage); border-color: var(--sage); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.btn-secondary {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown-pale);
}
.btn-secondary:hover { background: var(--cream-dark); transform: translateY(-1px); }

.btn-secondary-light {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-secondary-light:hover { background: rgba(255,255,255,0.25); }

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage-dark);
}
.btn-outline:hover { background: var(--sage-pale); transform: translateY(-1px); }

.btn-cream {
  background: var(--cream);
  color: var(--brown);
  border-color: var(--cream);
}
.btn-cream:hover { background: var(--cream-dark); transform: translateY(-1px); }

/* ── NAVIGATION ── */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245,240,232,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--brown);
  text-transform: uppercase;
}

.logo-mark {
  color: var(--sage-dark);
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--brown); }

.nav-cta {
  background: var(--sage-dark) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 500 !important;
  font-size: 13px !important;
}
.nav-cta:hover { background: var(--sage) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 40%, rgba(107,140,107,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(92,64,51,0.06) 0%, transparent 60%),
    var(--cream);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 16px;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--brown);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-headline em {
  font-style: italic;
  color: var(--sage-dark);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-light);
}
.hero-note a {
  color: var(--sage-dark);
  font-weight: 500;
}
.hero-note a:hover { text-decoration: underline; }

.trust-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  text-align: center;
}

.trust-num {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.trust-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 2px;
}

.trust-divider {
  height: 1px;
  background: var(--cream-dark);
  width: 100%;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero-scroll span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--brown-pale), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ── PATHS ── */
.paths {
  padding: 100px 0;
  background: var(--white);
}

.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.path-card {
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.path-care {
  background: var(--sage-pale);
  border: 1px solid var(--sage-light);
}

.path-home {
  background: #FDF6EF;
  border: 1px solid var(--brown-pale);
}

.path-icon {
  font-size: 2rem;
  line-height: 1;
}

.path-card h3 {
  font-size: 1.4rem;
  color: var(--brown);
}

.path-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
}

.path-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0;
}

.path-list li {
  font-size: 14px;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
}

.path-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--sage-dark);
  font-size: 8px;
  top: 6px;
}

/* ── QUIZ BAND ── */
.quiz-band {
  background: var(--sage-dark);
  padding: 64px 0;
}

.quiz-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.quiz-text .section-label { color: var(--sage-light); }

.quiz-text h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--white);
  margin-bottom: 12px;
}

.quiz-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
.how {
  padding: 100px 0;
  background: var(--cream);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--brown-pale);
  line-height: 1;
}

.step h4 {
  font-size: 1.05rem;
  color: var(--brown);
}

.step p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── RESOURCES ── */
.resources {
  padding: 100px 0;
  background: var(--white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  transition: all 0.2s ease;
  cursor: pointer;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brown-pale);
}

.resource-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: var(--sage-pale);
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
}

.resource-card h4 {
  font-size: 1rem;
  color: var(--brown);
  line-height: 1.35;
}

.resource-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}

.resource-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--sage-dark);
}

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

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 100px 0;
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #D4A017;
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--cream-dark);
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-light);
}

/* ── FOOTER CTA ── */
.footer-cta {
  background: var(--brown);
  padding: 80px 0;
}

.footer-cta-inner {
  text-align: center;
}

.footer-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 12px;
}

.footer-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.footer-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
  background: var(--text-dark);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand .logo-text { color: var(--cream); }

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 220px;
}

.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ── FADE IN ANIMATION ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .paths-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .quiz-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 24px; }
  .nav-toggle { display: flex; }
  .steps-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .footer-cta-actions { flex-direction: column; align-items: center; }
}
