/* Seitai (Chiropractic Clinic) Template by Bouqlet AI */

:root {
  --st-primary: #0d7377;
  --st-primary-dark: #095456;
  --st-primary-light: #e6f4f4;
  --st-accent: #ff6b35;
  --st-accent-hover: #e55a28;
  --st-text: #1a1a2e;
  --st-text-light: #555;
  --st-bg: #ffffff;
  --st-bg-gray: #f5f7f8;
  --st-border: #e0e4e8;
  --st-radius: 10px;
  --st-radius-lg: 16px;
  --st-shadow: 0 4px 16px rgba(0,0,0,0.09);
  --st-shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --st-transition: 0.25s ease;
  --st-max-width: 1080px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  padding: 0;
  background: var(--st-bg);
  color: var(--st-text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--st-primary); text-decoration: none; }
a:hover { color: var(--st-primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.st-container {
  max-width: var(--st-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--st-radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--st-transition);
  line-height: 1.4;
}
.st-btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.st-btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.st-btn-block { width: 100%; }

.st-btn-accent {
  background: var(--st-accent);
  color: #fff;
}
.st-btn-accent:hover { background: var(--st-accent-hover); color: #fff; text-decoration: none; }

.st-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.8);
}
.st-btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; text-decoration: none; }

.st-btn-white {
  background: #fff;
  color: var(--st-primary);
}
.st-btn-white:hover { background: var(--st-primary-light); color: var(--st-primary-dark); text-decoration: none; }

/* ── Header ── */

#st-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--st-border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.st-header-inner {
  max-width: var(--st-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.st-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--st-primary);
  white-space: nowrap;
}
.st-logo:hover { color: var(--st-primary-dark); text-decoration: none; }

.st-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: auto;
}
.st-nav a {
  color: var(--st-text);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}
.st-nav a:hover { background: var(--st-primary-light); color: var(--st-primary); text-decoration: none; }

.st-header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  flex-shrink: 0;
}

.st-header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--st-primary);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.st-header-phone:hover { color: var(--st-primary-dark); text-decoration: none; }

.st-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}
.st-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--st-text);
  border-radius: 2px;
  transition: all var(--st-transition);
}

/* ── Hero ── */

.st-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--st-primary);
}

.st-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.st-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,115,119,0.75) 0%, rgba(9,84,86,0.85) 100%);
}

.st-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  max-width: 720px;
}

.st-hero-title {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  letter-spacing: 0.02em;
}

.st-hero-subtitle {
  color: rgba(255,255,255,0.95);
  font-size: 1.2rem;
  margin: 0 0 36px;
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.st-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Section Base ── */

.st-section {
  padding: 72px 0;
}
.st-section-white { background: var(--st-bg); }
.st-section-gray { background: var(--st-bg-gray); }
.st-section-primary { background: var(--st-primary); }

.st-section-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--st-text);
  position: relative;
  padding-bottom: 16px;
}
.st-section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--st-primary);
  border-radius: 2px;
  margin: 12px auto 0;
}
.st-section-title-light { color: #fff; }
.st-section-title-light::after { background: rgba(255,255,255,0.5); }

.st-section-lead {
  text-align: center;
  color: var(--st-text-light);
  font-size: 1rem;
  margin: 0 0 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.st-section-lead-light { color: rgba(255,255,255,0.85); }

/* ── Features ── */

.st-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.st-feature-card {
  background: var(--st-bg-gray);
  border-radius: var(--st-radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: box-shadow var(--st-transition);
}
.st-feature-card:hover { box-shadow: var(--st-shadow-hover); }

.st-feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st-primary);
  color: #fff;
  font-size: 1.5rem;
  border-radius: 50%;
}

.st-feature-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--st-text);
}

.st-feature-card p {
  font-size: 0.95rem;
  color: var(--st-text-light);
  margin: 0;
  line-height: 1.7;
}

/* ── Symptoms ── */

.st-symptoms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.st-symptom-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--st-radius);
  padding: 18px 20px;
  box-shadow: var(--st-shadow);
  transition: box-shadow var(--st-transition), transform var(--st-transition);
  min-width: 0;
}
.st-symptom-card:hover { box-shadow: var(--st-shadow-hover); transform: translateY(-2px); }

.st-symptom-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st-primary-light);
  color: var(--st-primary);
  font-size: 1.15rem;
  border-radius: 50%;
}

.st-symptom-name {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--st-text);
  line-height: 1.4;
}

/* ── Concept ── */

.st-concept-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.st-concept-image {
  position: relative;
  border-radius: var(--st-radius-lg);
  overflow: hidden;
}
.st-concept-image img {
  width: 100%;
  border-radius: var(--st-radius-lg);
}

.st-concept-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--st-text);
  margin: 0;
}

/* ── Services ── */

.st-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.st-service-card {
  background: #fff;
  border-radius: var(--st-radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--st-shadow);
  transition: box-shadow var(--st-transition), transform var(--st-transition);
  border: 1px solid var(--st-border);
}
.st-service-card:hover { box-shadow: var(--st-shadow-hover); transform: translateY(-3px); }

.st-service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st-primary-light);
  color: var(--st-primary);
  font-size: 1.35rem;
  border-radius: 50%;
}

.st-service-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--st-text);
}

.st-service-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--st-accent);
  margin-bottom: 10px;
}

.st-service-desc {
  font-size: 0.93rem;
  color: var(--st-text-light);
  margin: 0;
  line-height: 1.7;
}

/* ── Pricing ── */

.st-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.st-pricing-card {
  background: #fff;
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  box-shadow: var(--st-shadow);
  border: 1px solid var(--st-border);
}

.st-pricing-header {
  background: var(--st-primary);
  color: #fff;
  padding: 24px;
  text-align: center;
}
.st-pricing-header h3 { margin: 0 0 6px; font-size: 1.15rem; }
.st-pricing-price { font-size: 1.6rem; font-weight: 700; }

.st-pricing-body { padding: 24px; }
.st-pricing-body p { color: var(--st-text-light); font-size: 0.92rem; margin: 0 0 14px; }

.st-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.st-pricing-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--st-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.st-pricing-features li i { color: var(--st-primary); font-size: 0.85rem; }

/* ── Flow ── */

.st-flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
  counter-reset: flow-counter;
}

.st-flow-step {
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.st-flow-number {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st-primary);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
}

.st-flow-step h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  color: var(--st-text);
}

.st-flow-step p {
  font-size: 0.88rem;
  color: var(--st-text-light);
  margin: 0;
  line-height: 1.6;
}

/* ── Staff ── */

.st-staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.st-staff-card {
  text-align: center;
}

.st-staff-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--st-primary-light);
}

.st-staff-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st-bg-gray);
  color: var(--st-text-light);
  font-size: 2rem;
}

.st-staff-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--st-text);
}

.st-staff-role {
  font-size: 0.85rem;
  color: var(--st-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.st-staff-desc {
  font-size: 0.9rem;
  color: var(--st-text-light);
  line-height: 1.65;
  margin: 0;
}

/* ── Testimonials ── */

.st-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.st-testimonial-card {
  background: #fff;
  border-radius: var(--st-radius-lg);
  padding: 28px;
  box-shadow: var(--st-shadow);
  border-left: 4px solid var(--st-primary);
}

.st-testimonial-icon {
  color: var(--st-primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
  opacity: 0.4;
}

.st-testimonial-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--st-text);
  margin: 0 0 14px;
}

.st-testimonial-author {
  font-size: 0.85rem;
  color: var(--st-text-light);
  font-weight: 600;
}

/* ── Gallery ── */

.st-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.st-gallery-cell {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--st-radius);
  aspect-ratio: 1 / 1;
  background: var(--st-bg-gray);
}
.st-gallery-cell:hover .st-gallery-thumb { transform: scale(1.05); }

.st-gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.st-gallery-thumb-video {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.st-play {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
}

.st-gallery-thumb-empty {
  width: 100%;
  height: 100%;
  background: var(--st-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--st-text-light);
  font-size: 1.5rem;
}

/* ── News ── */

.st-news-list {
  margin-top: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.st-news-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--st-border);
}

.st-news-date {
  font-size: 0.85rem;
  color: var(--st-text-light);
  flex-shrink: 0;
}

.st-news-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--st-primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

.st-news-body { flex: 1; min-width: 0; }
.st-news-body h3 { font-size: 0.95rem; margin: 0 0 4px; }
.st-news-body p { font-size: 0.88rem; color: var(--st-text-light); margin: 0; }

/* ── FAQ ── */

.st-faq-list {
  margin-top: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.st-faq-item {
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.st-faq-question {
  padding: 18px 20px;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  list-style: none;
}
.st-faq-question::-webkit-details-marker { display: none; }
.st-faq-question::marker { content: ''; }
.st-faq-question span {
  flex-shrink: 0;
  color: var(--st-primary);
  font-weight: 700;
  font-size: 1.05rem;
}

.st-faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  margin-left: auto;
  color: var(--st-text-light);
  transition: transform var(--st-transition);
  flex-shrink: 0;
  padding-top: 3px;
}

details[open] .st-faq-question::after {
  transform: rotate(180deg);
}

.st-faq-answer {
  padding: 0 20px 18px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--st-text-light);
  display: flex;
  gap: 10px;
}
.st-faq-answer span {
  flex-shrink: 0;
  color: var(--st-accent);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ── Access ── */

.st-access-layout {
  margin-top: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.st-access-hours {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
  padding: 20px;
  background: #fff;
  border-radius: var(--st-radius);
  border: 1px solid var(--st-border);
}

.st-access-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 20px;
  font-size: 0.95rem;
}
.st-access-dl dt {
  font-weight: 600;
  color: var(--st-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.st-access-dl dt i { color: var(--st-primary); }
.st-access-dl dd { margin: 0; color: var(--st-text-light); }
.st-access-dl dd a { color: var(--st-primary); }

/* ── Contact ── */

.st-contact-layout {
  margin-top: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.st-contact-quick {
  margin-bottom: 28px;
  text-align: center;
}

.st-contact-form input,
.st-contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: var(--st-radius);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  transition: border-color var(--st-transition), background var(--st-transition);
}
.st-contact-form input::placeholder,
.st-contact-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}
.st-contact-form input:focus,
.st-contact-form textarea:focus {
  outline: none;
  border-color: var(--st-accent);
  background: rgba(255,255,255,0.22);
}

/* ── Footer ── */

#st-footer {
  background: var(--st-text);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.st-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}

.st-footer-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

#st-footer p {
  margin: 4px 0;
  font-size: 0.85rem;
}
#st-footer a { color: rgba(255,255,255,0.7); }
#st-footer a:hover { color: #fff; }

.st-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.st-footer-nav a {
  font-size: 0.85rem;
  white-space: nowrap;
}

.st-copyright {
  text-align: center;
  font-size: 0.78rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin: 0;
}

/* ── Lightbox ── */

#st-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.88);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#st-lightbox.is-open { display: flex; }

.st-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10001;
}

.st-lightbox-body {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.st-lightbox-body img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--st-radius);
}
.st-lightbox-body iframe {
  width: 80vw;
  max-width: 860px;
  aspect-ratio: 16/9;
  border: none;
  border-radius: var(--st-radius);
}

.st-lightbox-caption {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: 12px;
  text-align: center;
}

/* ── Mobile CTA Bar ── */

.st-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: #fff;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
  padding: 8px;
  gap: 8px;
}

.st-mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--st-radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.st-mobile-cta-phone {
  background: var(--st-primary);
  color: #fff;
}
.st-mobile-cta-phone:hover { color: #fff; }

.st-mobile-cta-book {
  background: var(--st-accent);
  color: #fff;
}
.st-mobile-cta-book:hover { color: #fff; }

/* ── Page content (subpage) ── */

.st-page-content { padding-top: 100px; }

.st-page-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--st-text);
  border-bottom: 3px solid var(--st-primary);
  padding-bottom: 12px;
}

.st-page-subtitle {
  color: var(--st-text-light);
  font-size: 1rem;
  margin: 0 0 32px;
}

.st-page-body {
  font-size: 1rem;
  line-height: 1.85;
}
.st-page-body h2 { font-size: 1.4rem; margin: 2em 0 0.8em; border-bottom: 2px solid var(--st-border); padding-bottom: 8px; }
.st-page-body h3 { font-size: 1.15rem; margin: 1.6em 0 0.6em; }
.st-page-body p { margin: 0 0 1em; }
.st-page-body ul, .st-page-body ol { padding-left: 1.5em; margin: 0 0 1em; }

/* ── Responsive ── */

@media (max-width: 768px) {
  .st-nav { display: none; }
  .st-header-cta { display: none; }
  .st-hamburger { display: flex; }

  .st-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 99;
    gap: 0;
    border-top: 1px solid var(--st-border);
  }
  .st-nav.is-open a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--st-border);
  }

  .st-hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .st-hamburger.is-active span:nth-child(2) { opacity: 0; }
  .st-hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .st-hero { min-height: 480px; }
  .st-hero-title { font-size: 1.9rem; }
  .st-hero-subtitle { font-size: 1rem; }

  .st-section { padding: 48px 0; }
  .st-section-title { font-size: 1.35rem; }

  .st-features-grid { grid-template-columns: 1fr; gap: 16px; }
  .st-symptoms-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .st-concept-layout { grid-template-columns: 1fr; gap: 24px; }
  .st-services-grid { grid-template-columns: 1fr; }
  .st-pricing-grid { grid-template-columns: 1fr; }
  .st-flow-steps { grid-template-columns: 1fr 1fr; }
  .st-staff-grid { grid-template-columns: 1fr; }
  .st-testimonials-grid { grid-template-columns: 1fr; }
  .st-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }

  .st-footer-inner { flex-direction: column; }
  .st-footer-nav { gap: 6px 14px; }

  .st-mobile-cta { display: flex; }
  #st-footer { padding-bottom: 80px; }

  .st-page-content { padding-top: 84px; }
}

@media (max-width: 480px) {
  .st-symptoms-grid { grid-template-columns: 1fr; }
  .st-flow-steps { grid-template-columns: 1fr; }
  .st-hero-cta { flex-direction: column; }
  .st-hero-cta .st-btn { width: 100%; }
}

/* Unsplash credit overlay -- keep small and unobtrusive */
.unsplash-credit-host { position: relative; }
.unsplash-credit-overlay {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.3);
  padding: 1px 6px;
  border-radius: 3px;
  text-decoration: none;
  line-height: 1.4;
  z-index: 2;
}
.unsplash-credit-overlay:hover { color: #fff; background: rgba(0,0,0,0.5); text-decoration: none; }
.unsplash-credit-name { font-weight: 600; }

/* ── Booking calendar (JS-rendered) ── */
:root {
  --st-status-available: #0d7377;
  --st-status-few: #e6a817;
  --st-status-full: #c0392b;
  --st-status-closed: #9ca3af;
}

.st-booking-calendar { margin-top: 1.5rem; }

.st-booking-calendar .calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  background: var(--st-primary-light);
  border: 1px solid var(--st-border);
  padding: 12px 18px;
  border-radius: var(--st-radius);
}
.st-booking-calendar .calendar-nav h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--st-primary-dark);
  font-weight: 700;
}
.st-booking-calendar .calendar-nav .nav-btn {
  background: #fff;
  color: var(--st-primary);
  padding: 6px 14px;
  border-radius: var(--st-radius);
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid var(--st-border);
  font-family: inherit;
}
.st-booking-calendar .calendar-nav .nav-btn:hover {
  background: var(--st-primary);
  color: #fff;
  border-color: var(--st-primary);
}

.st-booking-calendar .calendar {
  background: #fff;
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  box-shadow: var(--st-shadow);
  border: 1px solid var(--st-border);
}
.st-booking-calendar .calendar table { width: 100%; border-collapse: collapse; }
.st-booking-calendar .calendar th {
  background: var(--st-primary-light);
  color: var(--st-primary-dark);
  padding: 10px 4px;
  font-size: 0.8rem;
  font-weight: 700;
}
.st-booking-calendar .calendar th.sun { color: #c0392b; }
.st-booking-calendar .calendar th.sat { color: #2980b9; }
.st-booking-calendar .calendar td {
  border: 1px solid var(--st-border);
  vertical-align: top;
  padding: 8px 6px;
  height: 84px;
  width: 14.28%;
  background: #fff;
}
.st-booking-calendar .calendar td.empty { background: var(--st-bg-gray); }
.st-booking-calendar .calendar td.today { background: #fff8f0; }
.st-booking-calendar .calendar td.today .day-num {
  background: var(--st-accent);
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.st-booking-calendar .calendar td .day-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--st-text);
}
.st-booking-calendar .calendar td.sun .day-num { color: #c0392b; }
.st-booking-calendar .calendar td.sat .day-num { color: #2980b9; }
.st-booking-calendar .calendar td .booking-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 6px;
  line-height: 1;
}
.st-booking-calendar .calendar td .booking-mark.available { color: var(--st-status-available); }
.st-booking-calendar .calendar td .booking-mark.few { color: var(--st-status-few); }
.st-booking-calendar .calendar td .booking-mark.full { color: var(--st-status-full); }
.st-booking-calendar .calendar td .booking-mark.closed { color: var(--st-status-closed); }

.st-booking-calendar .booking-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 1.25rem;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--st-text-light);
}
.st-booking-calendar .booking-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.st-booking-calendar .booking-legend .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
}
.st-booking-calendar .booking-legend .mark.available { background: var(--st-status-available); }
.st-booking-calendar .booking-legend .mark.few { background: var(--st-status-few); }
.st-booking-calendar .booking-legend .mark.full { background: var(--st-status-full); }
.st-booking-calendar .booking-legend .mark.closed { background: var(--st-status-closed); }

.st-booking-cta { text-align: center; margin-top: 1.5rem; }

@media (max-width: 640px) {
  .st-booking-calendar .calendar th,
  .st-booking-calendar .calendar td { font-size: 0.7rem; padding: 4px 2px; }
  .st-booking-calendar .calendar td { height: 58px; }
  .st-booking-calendar .calendar td .booking-mark { font-size: 1rem; margin-top: 2px; }
  .st-booking-calendar .calendar-nav { flex-wrap: wrap; gap: 8px; justify-content: center; }
  .st-booking-calendar .calendar-nav h3 { width: 100%; text-align: center; order: -1; }
}

/* === Template fix overrides === */
#st-footer { padding: 2.5em 1.5em; }
#st-footer .st-copyright { margin-top: 1.5em; padding-top: 1em; border-top: 1px solid rgba(255,255,255,0.1); }
.st-testimonial-card { margin-bottom: 1.5em; }
.st-testimonial-card .st-testimonial-author { margin-bottom: 0.5em; display: block; }
@media screen and (max-width: 768px) {
  .st-contact-form input, .st-contact-form textarea, .st-contact-form select { margin-bottom: 1em; }
  .st-section { line-height: 1.8; }
  .st-footer-nav { flex-direction: column; gap: 0.5em; }
  #st-header { flex-wrap: nowrap; }
  .st-nav { display: none; }
  .st-hamburger { display: block; }
}
