/* Grounded Soles Wellness — brand colors from client brief */
:root {
  --dark-green: #4e5b28;
  --light-green: #a8b89a;
  --cream: #f4e8d7;
  --cream-deep: #ebe0cd;
  --dark-orange: #b95d1f;
  --light-orange: #e8954d;
  --blue: #7297aa;
  --blue-deep: #5a7d90;
  --text: #2c3220;
  --text-soft: #5a6250;
  --white: #fffefb;
  --shadow: 0 8px 28px rgba(78, 91, 40, 0.12);
  --radius: 16px;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-sub: "Quicksand", system-ui, sans-serif;
  --font-body: "Antic", "Segoe UI", sans-serif;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--dark-orange); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark-green);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0.75rem; }
h3 {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--blue-deep);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(168, 184, 154, 0.45);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--dark-green);
  line-height: 1.1;
}

.brand-text span {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  list-style: none;
  font-family: var(--font-sub);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  padding: 0.35rem 0;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--dark-orange);
}

.nav-cta {
  background: var(--dark-orange) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--light-orange) !important; color: var(--white) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--light-green);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-family: var(--font-sub);
  color: var(--dark-green);
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--light-green);
    gap: 0.75rem;
  }
  .nav-links.open { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--dark-orange); color: var(--white) !important; }
.btn-primary:hover { background: var(--light-orange); color: var(--white) !important; }
.btn-secondary {
  background: transparent;
  color: var(--dark-green) !important;
  border: 2px solid var(--dark-green);
}
.btn-secondary:hover { background: var(--dark-green); color: var(--white) !important; }
.btn-blue { background: var(--blue); color: var(--white) !important; }
.btn-blue:hover { background: var(--blue-deep); color: var(--white) !important; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0 3.5rem;
}

.hero-copy .eyebrow {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.hero-copy p {
  color: var(--text-soft);
  margin: 1rem 0 1.75rem;
  max-width: 36rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(244, 232, 215, 0.92);
  backdrop-filter: blur(6px);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--dark-green);
}

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .hero-visual { max-width: 420px; margin-inline: auto; aspect-ratio: 1; }
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--white); }
.section-green {
  background: linear-gradient(135deg, var(--dark-green), #3d4820);
  color: var(--cream);
}
.section-green h2 { color: var(--cream); }
.section-green p { color: rgba(244, 232, 215, 0.9); }

.section-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}
.section-intro p { color: var(--text-soft); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(168, 184, 154, 0.35);
  display: flex;
  flex-direction: column;
}

.card .price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--dark-orange);
  margin: 0.5rem 0;
}

.card .meta {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card p { color: var(--text-soft); flex: 1; font-size: 0.98rem; }
.card .btn { margin-top: 1.25rem; align-self: flex-start; }

.card.featured {
  border-color: var(--dark-orange);
  position: relative;
}
.card.featured::before {
  content: "Most booked";
  position: absolute;
  top: -0.7rem;
  left: 1.25rem;
  background: var(--dark-orange);
  color: white;
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.split p + p { margin-top: 1rem; }
.split .muted { color: var(--text-soft); }

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse-mobile .split-media { order: -1; }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
  list-style: none;
}
.steps li {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(168, 184, 154, 0.4);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.steps h3 { margin-bottom: 0.4rem; color: var(--dark-green); }
.steps p { font-size: 0.92rem; color: var(--text-soft); }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3rem 1.5rem;
}
.cta-band p { max-width: 32rem; margin: 0.75rem auto 1.5rem; }

/* Page hero (inner) */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}
.page-hero p {
  color: var(--text-soft);
  max-width: 34rem;
  margin: 0.75rem auto 0;
}

/* Booking calendar */
.calendar-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(168, 184, 154, 0.35);
  margin-bottom: 2rem;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.cal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--dark-green);
  font-weight: 600;
}

.cal-nav button {
  background: var(--cream);
  border: 1px solid var(--light-green);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-family: var(--font-sub);
  color: var(--dark-green);
}
.cal-nav button:hover { background: var(--light-green); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.cal-day-label {
  text-align: center;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 0.35rem;
}

.cal-day {
  min-height: 100px;
  background: var(--cream);
  border-radius: 10px;
  padding: 0.5rem;
  border: 1px solid transparent;
}
.cal-day.today { border-color: var(--blue); }
.cal-day.past { opacity: 0.45; }
.cal-day .date-num {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark-green);
  margin-bottom: 0.35rem;
}

.slot {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.35rem;
  margin-bottom: 0.25rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: var(--light-green);
  color: var(--dark-green);
}
.slot:hover, .slot.selected {
  background: var(--dark-orange);
  color: white;
}
.slot.booked {
  background: #ddd5c8;
  color: var(--text-soft);
  cursor: not-allowed;
  text-decoration: line-through;
}

@media (max-width: 700px) {
  .cal-grid { grid-template-columns: 1fr; }
  .cal-day-label { display: none; }
  .cal-day {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 0.5rem;
    min-height: auto;
    align-items: start;
  }
  .cal-day.past { display: none; }
  .cal-day .slots { display: flex; flex-wrap: wrap; gap: 0.35rem; }
  .slot { width: auto; }
}

.cal-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.selected-slot-display {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(114, 151, 170, 0.15);
  border-radius: 10px;
  font-family: var(--font-sub);
  font-weight: 500;
  color: var(--dark-green);
  display: none;
}
.selected-slot-display.visible { display: block; }

/* Forms */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(168, 184, 154, 0.35);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: 0.35rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--light-green);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream);
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  background: var(--white);
}

.field { margin-bottom: 0.25rem; }
.field.full { grid-column: 1 / -1; }

.checkbox-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1rem 0;
}

.checkbox-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.checkbox-list input[type="checkbox"] {
  margin-top: 0.3rem;
  accent-color: var(--dark-orange);
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.inline-input {
  display: inline-block;
  width: auto;
  min-width: 10rem;
  padding: 0.25rem 0.5rem;
  margin-left: 0.35rem;
  border: none;
  border-bottom: 1px solid var(--light-green);
  border-radius: 0;
  background: transparent;
  font-size: 0.95rem;
}

.form-section-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--dark-green);
  margin: 1.75rem 0 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(168, 184, 154, 0.5);
}

.before-note {
  background: rgba(184, 93, 31, 0.08);
  border-left: 3px solid var(--dark-orange);
  padding: 0.85rem 1rem;
  border-radius: 0 10px 10px 0;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.form-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  display: none;
  font-family: var(--font-sub);
}
.form-status.success {
  display: block;
  background: rgba(168, 184, 154, 0.35);
  color: var(--dark-green);
}
.form-status.error {
  display: block;
  background: rgba(185, 93, 31, 0.15);
  color: var(--dark-orange);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--dark-green);
  color: var(--cream);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}
.footer-brand strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  display: block;
}
.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.35rem;
}

.site-footer h4 {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--light-green);
}

.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: 0.4rem; }
.site-footer a {
  color: var(--cream);
  text-decoration: none;
  opacity: 0.9;
}
.site-footer a:hover { opacity: 1; color: var(--light-orange); }

.footer-bottom {
  border-top: 1px solid rgba(168, 184, 154, 0.3);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.75;
  text-align: center;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.pill {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(114, 151, 170, 0.2);
  color: var(--blue-deep);
}
