/* ============================================================
   PepSquad — Landing page styles
   Warm, soft, rounded, encouraging.
   ============================================================ */

:root {
  --blush:    #f7d9dd;
  --peach:    #ffd9b8;
  --lavender: #e7dffb;
  --cream:    #fff8f1;
  --coral:    #ef8f7e;
  --coral-dk: #e0715d;
  --beige:    #f0e6da;
  --ink:      #4a3f44;     /* warm dark text */
  --ink-soft: #7a6f73;
  --white:    #ffffff;

  --radius:   22px;
  --radius-sm:14px;
  --shadow:   0 14px 40px rgba(122, 80, 90, 0.12);
  --shadow-sm:0 6px 18px rgba(122, 80, 90, 0.10);
  --maxw:     1120px;
  --font:     "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
a { color: inherit; text-decoration: none; }

/* ---------- Announcement bar ---------- */
.announce-bar {
  text-align: center;
  background: linear-gradient(90deg, var(--coral), var(--coral-dk));
  color: var(--white);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .3px;
  padding: 9px 16px;
}

/* ---------- Region badge (hero) ---------- */
.region-badge {
  display: inline-block;
  background: var(--blush);
  color: var(--coral-dk);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .3px;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Region note (above form) ---------- */
.region-note {
  margin-top: 12px;
  font-weight: 700;
  color: var(--coral-dk);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(20px, 5vw, 48px);
  background: rgba(255, 248, 241, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--beige);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark { font-size: 1.4rem; }
.brand-name { font-size: 1.3rem; color: var(--coral-dk); letter-spacing: .2px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--coral-dk); }
.nav-cta {
  background: var(--coral);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--coral-dk); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--coral-dk); }
.btn-ghost { background: var(--white); color: var(--coral-dk); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; margin-top: 8px; }

/* ---------- Hero ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--coral-dk);
  margin-bottom: 12px;
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 48px);
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); margin: 0 auto 30px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--beige);
}
.carousel-track {
  display: flex;
  transition: transform .6s cubic-bezier(.45, .05, .25, 1);
}
.slide {
  min-width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-1 { background: linear-gradient(135deg, var(--blush), var(--lavender)); }
.slide-2 { background: linear-gradient(135deg, var(--peach), var(--blush)); }
.slide-3 { background: linear-gradient(135deg, var(--lavender), var(--peach)); }
.slide-placeholder {
  font-weight: 600;
  color: rgba(74, 63, 68, 0.55);
  background: rgba(255, 255, 255, 0.45);
  padding: 10px 18px;
  border-radius: 999px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--coral-dk);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .2s;
}
.carousel-btn:hover { background: var(--white); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.carousel-dots .dot.active { background: var(--white); transform: scale(1.25); }

/* ---------- Generic section ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 48px);
}
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ---------- About ---------- */
.about-body {
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
  font-size: 1.12rem;
  color: var(--ink-soft);
}
.about-body p + p { margin-top: 18px; }

/* ---------- Cards (services) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.badge {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--coral-dk);
  background: var(--blush);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ---------- How it works ---------- */
.how { background: var(--lavender); border-radius: var(--radius); max-width: var(--maxw); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.step {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.quote {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--peach);
}
.quote p { font-size: 1.08rem; font-style: italic; margin-bottom: 14px; }
.quote footer { color: var(--coral-dk); font-weight: 700; font-size: .9rem; }

/* Coming-soon placeholder (testimonials) */
.coming-soon {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(36px, 6vw, 56px);
  box-shadow: var(--shadow-sm);
}
.coming-soon-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--coral-dk);
  background: var(--blush);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.coming-soon p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Legal / Privacy page ---------- */
.legal { max-width: 800px; }
.legal-meta { color: var(--ink-soft); margin-top: 10px; font-size: .95rem; }
.legal-body { font-size: 1.05rem; }
.legal-body h2 {
  font-size: 1.3rem;
  margin: 34px 0 12px;
  color: var(--coral-dk);
}
.legal-body p { margin-bottom: 14px; color: var(--ink); }
.legal-body ul { margin: 0 0 16px 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--coral-dk); font-weight: 600; text-decoration: underline; }
.legal-back { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--beige); }

/* ---------- Join form ---------- */
.join { max-width: 760px; }
.join-sub { color: var(--ink-soft); margin-top: 10px; }
.join-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--white);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.optional { color: var(--ink-soft); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(239, 143, 126, 0.18);
}
.field textarea { resize: vertical; }
.join-form .btn-block { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; text-align: center; color: var(--coral-dk); font-weight: 600; min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #f3e9ec;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 48px) 28px;
  margin-top: 40px;
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 40px;
}
.footer-col h4 { margin-bottom: 14px; color: var(--peach); }
.footer-col a { display: block; color: #e8dade; margin-bottom: 8px; opacity: .85; transition: opacity .2s; }
.footer-col a:hover { opacity: 1; }
.footer-tag { color: #cbbcc1; margin: 8px 0 16px; }
.social { display: flex; gap: 16px; }
.social a { display: inline; font-weight: 600; color: var(--peach); }

/* Hover tooltip (e.g. "Coming Soon") */
.tooltip { position: relative; }
.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 145%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  background: var(--ink);
  color: var(--cream);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.tooltip::before {
  content: "";
  position: absolute;
  bottom: 145%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: var(--ink);
  margin-bottom: -5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.tooltip:hover::after,
.tooltip:focus-visible::after,
.tooltip:hover::before,
.tooltip:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.disclaimer p { color: #cbbcc1; font-size: .92rem; margin-bottom: 12px; }
.disclaimer strong { color: #f3e9ec; }
.crisis {
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  line-height: 1.9;
}
.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b6a7ac;
  font-size: .88rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-sub { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .join-form { grid-template-columns: 1fr; }
}
