/* ============================================================
   Lift Pickleball — Shared Styles
   Warm & Approachable design system
   ============================================================ */

:root {
  /* Color palette */
  --cream:        #FBF5EC;
  --cream-deep:    #F4EAD9;
  --white:        #FFFFFF;
  --ink:          #3E3226;
  --ink-soft:      #6B5D4F;
  --sage:         #7E9A72;
  --sage-deep:     #5F7A54;
  --sage-pale:     #E7EEE1;
  --terracotta:    #DD7C55;
  --terracotta-deep: #C4623D;
  --terracotta-pale: #FBE6DA;
  --gold:         #E7B04D;
  --gold-pale:     #FBEFD6;
  --border:        #E7DCC9;

  /* Type */
  --font-head: 'Quicksand', 'Trebuchet MS', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;

  /* Rhythm */
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(62, 50, 38, 0.08);
  --shadow-sm: 0 4px 14px rgba(62, 50, 38, 0.07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em 0;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em 0; }

a { color: var(--terracotta-deep); }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--terracotta-deep); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--terracotta-deep);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 236, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.1;
  color: var(--ink);
}
.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-bottom-color: var(--terracotta);
}

.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 0; }
  .nav-cta { margin-left: 0; margin-top: 8px; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-block;
  background: var(--sage-pale);
  color: var(--sage-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-art {
  background: var(--sage-pale);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.photo-placeholder {
  border: 2px dashed var(--sage-deep);
  border-radius: var(--radius-sm);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--sage-deep);
  font-weight: 600;
  padding: 24px;
  min-height: 240px;
  gap: 8px;
}
.photo-placeholder svg { width: 48px; height: 48px; opacity: 0.7; }
.photo-placeholder small {
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 220px;
}

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head.left { margin: 0 0 36px; text-align: left; }

.bg-white { background: var(--white); }
.bg-sage { background: var(--sage-pale); }
.bg-cream-deep { background: var(--cream-deep); }

/* ---------- Cards / Grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.sage { background: var(--sage-pale); color: var(--sage-deep); }
.icon-badge.terracotta { background: var(--terracotta-pale); color: var(--terracotta-deep); }
.icon-badge.gold { background: var(--gold-pale); color: #A9782A; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
}
.quote-mark {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--terracotta);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.quote-author {
  margin-top: 16px;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--sage-deep);
}
.placeholder-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  background: var(--terracotta-pale);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--sage-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #E7EFE3; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--terracotta);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.price-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--terracotta-deep);
  margin: 10px 0 4px;
}
.price-tag small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  flex-grow: 1;
}
.price-list li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price-list li:first-child { border-top: none; }
.price-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--sage-deep); }

.pill-note {
  display: inline-block;
  background: var(--gold-pale);
  color: #8A6317;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* ---------- Lists with check icons ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
}
.check-list svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; color: var(--sage-deep);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-item .icon-badge { margin-bottom: 0; flex-shrink: 0; }

form.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-family: var(--font-head);
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--cream);
  color: var(--ink);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item h3 { margin-bottom: 8px; }
.faq-item p { color: var(--ink-soft); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #E9E2D6;
  padding: 44px 0 26px;
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}
.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.footer-links a { color: #E9E2D6; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--terracotta); }
.footer-bottom {
  border-top: 1px solid rgba(233, 226, 214, 0.15);
  padding-top: 18px;
  font-size: 0.88rem;
  color: #B9AF9E;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Editor note banner (remove before launch) ---------- */
.build-note {
  background: var(--gold);
  color: #4A3A0F;
  font-weight: 700;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.92rem;
}
.build-note a { color: #4A3A0F; text-decoration: underline; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.text-soft { color: var(--ink-soft); }
