/*
Theme Name: Mystic Remedy Integrative Health
Author: Mystic Remedy Integrative Health
Description: Custom WordPress theme for the Connect the Dots functional wellness website.
Version: 1.0
Text Domain: mystic-remedy-integrative-health
*/


:root {
  --bg: #fbf8f4;
  --paper: #ffffff;
  --ink: #2b2430;
  --muted: #6f6474;
  --brand: #6f4e7c;
  --brand-dark: #4d365a;
  --accent: #c8a26a;
  --soft: #efe5f2;
  --soft2: #f5eadb;
  --border: #e6d9ea;
  --success: #5d7b63;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--brand-dark);
  color: white;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  padding: 8px 0;
  text-align: center;
}

header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 22px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--ink);
}

.logo strong {
  font-size: 1.35rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.logo span {
  color: var(--muted);
  font-size: .88rem;
  font-family: Arial, sans-serif;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  font-family: Arial, sans-serif;
  font-size: .92rem;
}

nav a {
  color: var(--ink);
  font-weight: 600;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  border: 2px solid var(--brand);
  text-align: center;
}

.btn:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.btn.secondary {
  background: transparent;
  color: var(--brand) !important;
}

.btn.secondary:hover {
  background: var(--soft);
}

.hero {
  padding: 80px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(200,162,106,.23), transparent 30%),
    radial-gradient(circle at 80% 15%, rgba(111,78,124,.18), transparent 35%),
    linear-gradient(135deg, #fbf8f4 0%, #f6edf4 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  font-family: Arial, sans-serif;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
}

h1, h2, h3, h4 {
  line-height: 1.14;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 4.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.55rem;
}

h4 {
  font-size: 1.12rem;
  color: var(--brand-dark);
}

.lead {
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 760px;
}

.hero-card {
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: 0 20px 70px rgba(77,54,90,.13);
  border-radius: 30px;
  padding: 30px;
}

.hero-card ul,
.card ul {
  padding-left: 22px;
  margin: 10px 0 0;
}

.hero-card li { margin: 8px 0; }

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

section {
  padding: 72px 0;
}

.section-soft { background: var(--soft); }
.section-white { background: var(--paper); }

.center {
  text-align: center;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(77,54,90,.06);
}

.card.soft {
  background: #fff9f0;
  border-color: #ead8b8;
}

.card.purple {
  background: #f8f1fb;
}

.pathway {
  border-left: 6px solid var(--accent);
}

.badge {
  display: inline-block;
  background: var(--soft2);
  color: var(--brand-dark);
  padding: 5px 10px;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.price {
  font-size: 2.2rem;
  color: var(--brand-dark);
  font-weight: 800;
  margin: 10px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 18px;
}

th, td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--brand-dark);
  color: white;
  font-family: Arial, sans-serif;
}

blockquote {
  border-left: 5px solid var(--accent);
  margin: 24px 0;
  padding: 18px 24px;
  background: #fff9f0;
  color: var(--brand-dark);
  font-size: 1.25rem;
}

.notice {
  background: #fff9f0;
  border: 1px solid #ead8b8;
  border-radius: 18px;
  padding: 22px;
  color: #5f4b28;
}

.form-box {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
}

label {
  display: block;
  font-family: Arial, sans-serif;
  font-weight: 700;
  margin: 14px 0 6px;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  font-size: 1rem;
  font-family: Arial, sans-serif;
}

textarea { min-height: 140px; }

footer {
  background: var(--brand-dark);
  color: white;
  padding: 42px 0;
}

footer a { color: white; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 26px;
}

.small {
  font-family: Arial, sans-serif;
  color: var(--muted);
  font-size: .92rem;
}

footer .small { color: rgba(255,255,255,.75); }

.page-hero {
  padding: 62px 0;
  background: linear-gradient(135deg, #f7edf7 0%, #fbf8f4 100%);
  border-bottom: 1px solid var(--border);
}

.anchor-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.anchor-list a {
  background: white;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: .85rem;
}

@media (max-width: 900px) {
  .hero-grid, .grid-2, .grid-3, .grid-4, .footer-grid {
    grid-template-columns: 1fr;
  }
  header { position: static; }
  .nav { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  nav { justify-content: flex-start; }
  section { padding: 52px 0; }
}
