/* =============================================
   Stop Sitting and Stand — site.css
   Base design system, all public pages
   ============================================= */

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

:root {
  --bg:        #e9e2d7;
  --text:      #5a3a34;
  --accent:    #7d5450;
  --accent-dk: #5e3c39;
  --border:    #cbbfb5;
  --white:     #ffffff;
  --font-serif: Georgia, 'Times New Roman', serif;
  --max:       1200px;
  --radius:    8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: var(--text); text-decoration: none; }

/* ---- Nav ---- */
.nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: var(--max);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
}
.logo { font-size: 22px; font-weight: normal; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 0.65; }
.consult-btn {
  border: 1px solid var(--accent);
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 14px !important;
  transition: background 0.2s, color 0.2s !important;
}
.consult-btn:hover { background: var(--accent); color: var(--white) !important; opacity: 1 !important; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ---- Buttons ---- */
.primary-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 15px 42px;
  border-radius: 6px;
  font-size: 16px;
  font-family: var(--font-serif);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.primary-btn:hover { background: var(--accent-dk); transform: translateY(-1px); }

/* ---- Hero ---- */
.hero { padding: 90px 24px; }
.hero-content {
  max-width: var(--max);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.hero-text { max-width: 520px; }
.hero-text h2 { font-size: 34px; line-height: 1.3; margin-bottom: 20px; }
.hero-text p  { font-size: 18px; line-height: 1.75; color: #6b4640; }
.hero-book img { width: 280px; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(90,58,52,0.18); }

/* ---- Mission ---- */
.mission {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 70px 24px;
}
.mission h3 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.75; margin-bottom: 16px; }
.mission p  { font-size: 22px; max-width: 640px; margin: auto; line-height: 1.65; }

/* ---- Testimonials ---- */
.testimonials { padding: 80px 24px; }
.testimonials h3 {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 48px;
}
.testimonials-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.testimonial {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  background: rgba(255,255,255,0.35);
}
.testimonial blockquote { font-size: 17px; line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.testimonial cite { font-size: 14px; opacity: 0.65; font-style: normal; }

/* ---- Book Section ---- */
.book-section { padding: 80px 24px; background: rgba(255,255,255,0.28); }
.book-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.book-desc h2 { font-size: 28px; margin-bottom: 20px; line-height: 1.3; }
.book-desc p  { font-size: 17px; line-height: 1.8; color: #6b4640; margin-bottom: 24px; }
.book-img img { width: 320px; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(90,58,52,0.18); }

/* ---- Newsletter ---- */
.newsletter { padding: 80px 24px; }
.newsletter-inner {
  max-width: 560px;
  margin: auto;
  text-align: center;
}
.newsletter h3 { font-size: 26px; margin-bottom: 10px; }
.newsletter p  { font-size: 16px; opacity: 0.75; margin-bottom: 36px; }
.newsletter-form { display: flex; flex-direction: column; gap: 14px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.newsletter-form input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: var(--font-serif);
  font-size: 15px;
  background: var(--white);
  color: var(--text);
}
.newsletter-form input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.newsletter-form .primary-btn { width: 100%; }

/* ---- Footer ---- */
.footer { padding: 44px 24px; background: var(--bg); border-top: 1px solid var(--border); }
.footer-inner {
  max-width: var(--max);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer h4 { font-size: 17px; font-weight: normal; }
.footer-contact { text-align: right; }
.footer-contact p { font-size: 14px; opacity: 0.7; line-height: 1.8; }

/* ---- About ---- */
.about-section { padding: 90px 24px; }
.about-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text h2 { font-size: 30px; margin-bottom: 22px; }
.about-text p  { font-size: 17px; line-height: 1.85; margin-bottom: 18px; color: #6b4640; }
.about-image img { width: 100%; max-width: 440px; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(90,58,52,0.16); }

/* ---- Schedule / Booking ---- */
.schedule-section { padding: 90px 24px; }
.schedule-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.schedule-form h2 { font-size: 30px; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 13px; letter-spacing: 0.06em; opacity: 0.65; margin-bottom: 6px; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: var(--font-serif);
  font-size: 15px;
  background: var(--white);
  color: var(--text);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form-group textarea { height: 130px; resize: vertical; }
.submit-btn {
  margin-top: 8px;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: var(--font-serif);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.submit-btn:hover { background: var(--accent-dk); transform: translateY(-1px); }
.schedule-image img { width: 100%; max-width: 440px; border-radius: 40px; box-shadow: 0 12px 40px rgba(90,58,52,0.16); }

/* Calendar */
.calendar-wrap { margin-top: 36px; }
.calendar-wrap h3 { font-size: 16px; margin-bottom: 16px; letter-spacing: 0.04em; }
.calendar {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--accent);
  color: var(--white);
}
.cal-header button {
  background: none;
  border: none;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}
.cal-header button:hover { background: rgba(255,255,255,0.2); }
.cal-header span { font-family: var(--font-serif); font-size: 15px; }
.cal-days { display: grid; grid-template-columns: repeat(7,1fr); text-align: center; }
.cal-days .day-name {
  padding: 10px 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.55;
  background: var(--bg);
}
.cal-days .day {
  padding: 10px 4px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s;
}
.cal-days .day:hover:not(.empty):not(.past) { background: #f0e8e2; }
.cal-days .day.available { color: var(--accent); font-weight: bold; }
.cal-days .day.selected { background: var(--accent); color: var(--white); border-radius: 4px; }
.cal-days .day.past,
.cal-days .day.empty { opacity: 0.25; cursor: default; }
.cal-days .day.today { border: 1px solid var(--accent); border-radius: 4px; }

.time-slots { margin-top: 20px; }
.time-slots h4 { font-size: 14px; margin-bottom: 12px; opacity: 0.7; }
.slots-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.slot-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--white);
  font-family: var(--font-serif);
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.slot-btn:hover { border-color: var(--accent); color: var(--accent); }
.slot-btn.selected { background: var(--accent); color: var(--white); border-color: var(--accent); }
.slot-btn.booked { opacity: 0.35; cursor: not-allowed; }

/* ---- Blog ---- */
.blog-section { padding: 80px 24px; }
.blog-section h2 { text-align: center; font-size: 30px; margin-bottom: 52px; }
.blog-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.35);
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: 0 8px 28px rgba(90,58,52,0.12); transform: translateY(-3px); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-body .tag { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.blog-card-body h3 { font-size: 18px; line-height: 1.4; margin-bottom: 10px; }
.blog-card-body p  { font-size: 14px; opacity: 0.7; line-height: 1.7; margin-bottom: 18px; }
.blog-card-body .read-more { font-size: 13px; color: var(--accent); letter-spacing: 0.04em; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.blog-card-body .read-more:hover { opacity: 0.7; }
.blog-meta { font-size: 12px; opacity: 0.5; margin-top: 12px; }

/* Single post */
.post-section { padding: 80px 24px; }
.post-inner { max-width: 720px; margin: auto; }
.post-inner .post-tag { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.post-inner h1 { font-size: 36px; line-height: 1.3; margin-bottom: 16px; }
.post-inner .post-date { font-size: 13px; opacity: 0.5; margin-bottom: 36px; }
.post-inner .post-featured { width: 100%; border-radius: var(--radius); margin-bottom: 40px; }
.post-body { font-size: 18px; line-height: 1.9; }
.post-body p  { margin-bottom: 24px; }
.post-body h2 { font-size: 24px; margin: 36px 0 16px; }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 32px 0;
  font-style: italic;
  opacity: 0.8;
  background: rgba(255,255,255,0.4);
  border-radius: 0 6px 6px 0;
}
.back-link { font-size: 14px; color: var(--accent); margin-bottom: 36px; display: inline-block; border-bottom: 1px solid var(--accent); }

/* ---- Alerts / Messages ---- */
.alert {
  padding: 14px 18px;
  border-radius: 5px;
  font-size: 14px;
  margin-top: 16px;
}
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error   { background: #fce4ec; color: #880e4f; border: 1px solid #f48fb1; }

/* ---- Page Header ---- */
.page-header {
  padding: 60px 24px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: 36px; margin-bottom: 10px; }
.page-header p  { font-size: 17px; opacity: 0.65; max-width: 480px; margin: auto; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-content,
  .about-grid,
  .schedule-grid,
  .book-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-book  { order: -1; }
  .hero-book img { width: 220px; margin: auto; }
  .book-img img { width: 220px; margin: auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .schedule-image { display: none; }
  .about-image img { max-width: 100%; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 20px 24px; border-bottom: 1px solid var(--border); gap: 18px; }
  .nav-links.open { display: flex; }
  .nav-toggle  { display: flex; }
  .nav { position: relative; }
  .blog-grid   { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .form-row-2  { grid-template-columns: 1fr; }
  .hero-text h2 { font-size: 26px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-contact { text-align: center; }
  .post-inner h1 { font-size: 26px; }
}
