/* ==========================================================================
   Template VYNTH Build — Clean Professional Styles
   All brand colors via CSS custom properties (set dynamically from API)
   ========================================================================== */

/* -- Reset & Base --------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1f2937;
  background: var(--brand-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  background: #ffffff;
}

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

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  text-decoration: underline;
}

/* -- Container ------------------------------------------------------------ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 780px;
}

/* -- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn--primary {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.btn--primary:hover {
  opacity: 0.92;
}

.btn--accent {
  background: var(--brand-accent);
  color: #ffffff;
  border-color: var(--brand-accent);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
}

.btn--outline:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

.btn--outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* -- Navigation ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #1f2937;
}

.nav__logo:hover {
  text-decoration: none;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--brand-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.nav__logo-text {
  font-weight: 700;
  font-size: 1.15rem;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__link {
  color: #4b5563;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav__link:hover {
  color: var(--brand-primary);
  text-decoration: none;
}

.nav__cta {
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  background: var(--brand-accent);
  border-color: var(--brand-accent);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: #1f2937;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile__links {
  list-style: none;
  text-align: center;
}

.nav-mobile__links li {
  margin-bottom: 1.5rem;
}

.nav-mobile__links a {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
}

.nav-mobile__links a:hover {
  color: var(--brand-primary);
  text-decoration: none;
}

/* -- Hero ----------------------------------------------------------------- */
.hero {
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, var(--brand-primary) 0%, color-mix(in srgb, var(--brand-primary) 70%, #1a1a2e) 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
              radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn--primary {
  background: var(--brand-accent);
  color: #ffffff;
  border-color: var(--brand-accent);
}

.hero .btn--primary:hover {
  opacity: 0.9;
}

/* -- Sections ------------------------------------------------------------- */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: #f8fafc;
}

.section__title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
  color: #111827;
  letter-spacing: -0.01em;
}

.section__desc {
  text-align: center;
  color: #6b7280;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.section__subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  color: var(--brand-accent);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f3f4f6;
}

.section__subtitle:first-child {
  margin-top: 0;
}

.section__cta {
  text-align: center;
  margin-top: 2.5rem;
}

.page-header {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.page-header__desc {
  color: #6b7280;
  font-size: 1.05rem;
}

/* -- Card Grid ------------------------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.card--link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card--link:hover {
  text-decoration: none;
}

.card--placeholder {
  border-style: dashed;
  border-color: #d1d5db;
}

.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.card__img-placeholder svg {
  width: 48px;
  height: 48px;
}

.card__img-placeholder--sm {
  height: 140px;
}

.card__img-placeholder--sm svg {
  width: 36px;
  height: 36px;
}

.card__body {
  padding: 1.5rem;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827;
}

.card__text {
  font-size: 0.92rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.card__price {
  font-weight: 700;
  color: var(--brand-accent);
  font-size: 0.95rem;
}

.card__price--placeholder {
  color: #9ca3af;
  font-weight: 500;
  font-style: italic;
}

.card__duration {
  font-size: 0.85rem;
  color: #9ca3af;
}

.card__date {
  font-size: 0.85rem;
  color: #9ca3af;
  display: block;
  margin-bottom: 0.5rem;
}

.card__read-more {
  font-size: 0.9rem;
  color: var(--brand-primary);
  font-weight: 600;
  display: inline-block;
  margin-top: 0.25rem;
}

.card__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.card__badge--unavailable {
  background: #fef2f2;
  color: #dc2626;
}

/* -- Team Grid ------------------------------------------------------------ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.team-card--placeholder {
  border-style: dashed;
  border-color: #d1d5db;
}

.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid #f3f4f6;
}

.team-card__photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), color-mix(in srgb, var(--brand-primary) 70%, #1a1a2e));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}

.team-card__name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-card__role {
  color: var(--brand-primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-card__bio {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.team-card__email {
  font-size: 0.85rem;
}

/* -- Hours Table ---------------------------------------------------------- */
.hours-table {
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 0.5rem 1.5rem;
}

.hours-table--full {
  max-width: 560px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row--placeholder {
  opacity: 0.6;
}

.hours-row__day {
  font-weight: 600;
  color: var(--brand-primary);
}

.hours-row__time {
  color: #6b7280;
}

/* -- FAQ Accordion -------------------------------------------------------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  text-align: left;
  line-height: 1.4;
  font-family: inherit;
  transition: color 0.2s;
}

.faq-item__question:hover {
  color: var(--brand-primary);
}

.faq-item__icon {
  font-size: 1.25rem;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer p {
  padding-bottom: 1.25rem;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* -- Service Areas -------------------------------------------------------- */
.service-area {
  margin-bottom: 2rem;
}

.service-area__section {
  margin-bottom: 1.5rem;
}

.service-area__section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111827;
}

.service-area__radius {
  color: #6b7280;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
}

/* -- Contact Info --------------------------------------------------------- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}

.contact-info__item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--brand-primary);
}

.contact-info__icon svg {
  width: 100%;
  height: 100%;
}

.contact-info__item h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.contact-info__item a,
.contact-info__item p {
  font-size: 1rem;
  color: #111827;
  font-weight: 500;
}

.contact-info__item a:hover {
  color: var(--brand-primary);
}

/* -- Policies ------------------------------------------------------------- */
.policies-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.policy-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.policy-card__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.policy-card__type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--brand-primary);
  color: #ffffff;
  flex-shrink: 0;
}

.policy-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

.policy-card__content {
  padding: 1.25rem 1.5rem;
}

.policy-card__content p {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* -- Blog Post ------------------------------------------------------------ */
.blog-post__back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--brand-primary);
  font-weight: 500;
}

.blog-post__back:hover {
  text-decoration: none;
  opacity: 0.8;
}

.blog-post__header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.blog-post__header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.blog-post__date {
  color: #9ca3af;
  font-size: 0.9rem;
}

.blog-post__content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
}

.blog-post__content h1,
.blog-post__content h2,
.blog-post__content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #111827;
}

.blog-post__content p {
  margin-bottom: 1.25rem;
}

.blog-post__content ul,
.blog-post__content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-post__content li {
  margin-bottom: 0.5rem;
}

.blog-post__content pre {
  background: #f3f4f6;
  padding: 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

.blog-post__content code {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.9em;
}

.blog-post__content a {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* -- CTA Section ---------------------------------------------------------- */
.cta-section {
  text-align: center;
  background: var(--brand-primary);
  color: #ffffff;
  padding: 5rem 0;
}

.cta-section h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn--primary {
  background: var(--brand-accent);
  color: #ffffff;
  border-color: var(--brand-accent);
}

.cta-section .btn--primary:hover {
  opacity: 0.9;
}

/* -- Placeholder Section -------------------------------------------------- */
.placeholder-section {
  text-align: center;
  padding: 4rem 2rem;
  background: #f8fafc;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.placeholder-section__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: #94a3b8;
}

.placeholder-section__icon svg {
  width: 100%;
  height: 100%;
}

.placeholder-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.75rem;
}

.placeholder-section p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 450px;
  margin: 0 auto;
}

.placeholder-note {
  text-align: center;
  color: #9ca3af;
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 1.5rem;
}

/* -- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--brand-primary);
  color: rgba(255, 255, 255, 0.75);
  padding: 0;
}

.site-footer .footer__inner {
  padding-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__logo {
  height: 32px;
  width: auto;
}

.footer__name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.footer__nav {
  display: flex;
  gap: 4rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col h4 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__powered a {
  color: var(--brand-accent);
  font-weight: 600;
}

.footer__powered a:hover {
  color: #ffffff;
  text-decoration: none;
}

/* -- Empty State ---------------------------------------------------------- */
.empty-state {
  text-align: center;
  color: #9ca3af;
  font-size: 1rem;
  padding: 3rem 0;
}

/* -- Responsive ----------------------------------------------------------- */
@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero__tagline {
    font-size: 1.05rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 2.5rem 0 2rem;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer__nav {
    gap: 2.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .blog-post__header h1 {
    font-size: 1.5rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .hours-table {
    padding: 0.25rem 1rem;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .btn--lg {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }
}
