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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111111;
  background-color: #ffffff;
  line-height: 1.6;
}

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

a {
  color: #145374;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #f5f5f5, #e4e4e4);
  color: #111111;
  padding: 1.5rem 0 2.5rem;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  width: 120px;
  border-radius: 12px;
  background-color: #ffffff;
  padding: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.header-text h1 {
  margin: 0 0 0.25rem;
  font-size: 2rem;
}

.tagline {
  margin: 0 0 1rem;
  font-size: 1rem;
  opacity: 0.75;
}

.btn-primary {
  display: inline-block;
  background-color: #0077b6;
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: background-color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn-primary:hover {
  background-color: #005f8f;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.booking-note {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #4a4a4a;
}

.btn-full-width {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

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

.section-alt {
  background-color: #ffffff;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: #111111;
}

.section h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  color: #111111;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-item {
  background-color: #f7f7f7;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
}

.service-item h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  color: #111111;
}

.service-item p {
  margin-bottom: 0;
  color: #333333;
}

/* Practitioner layout */
.practitioner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.practitioner-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.photo-placeholder {
  border-radius: 16px;
  border: 2px dashed #d0d0d0;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #666666;
  background-color: #f7f7f7;
  font-size: 0.95rem;
}

.practitioner-photo img {
  border-radius: 16px;
  border: 1px solid #dcdcdc;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.practitioner-name {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.practitioner-credentials {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: #555555;
}

.practitioner-bio {
  margin-bottom: 2rem;
}

.practitioner-bio p {
  margin-bottom: 1rem;
  color: #333333;
  line-height: 1.7;
}

.practitioner-bio p:last-of-type {
  margin-bottom: 0;
}

.accreditation-note {
  background-color: #f7f7f7;
  border-left: 3px solid #0077b6;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.accreditation-note h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: #111111;
}

.accreditation-note p {
  margin-bottom: 1.25rem;
  color: #333333;
  font-size: 0.95rem;
  line-height: 1.6;
}

.accreditation-note .logo-container {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.contact-block {
  background-color: #f7f7f7;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.contact-block h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.address {
  margin-bottom: 0.75rem;
}

/* Footer */
.site-footer {
  background-color: #111111;
  color: #f3f3f3;
  padding: 1rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-domain {
  opacity: 0.9;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f3f3f3;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.logo-container {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hpc-logo {
  height: 80px;
  width: auto;
  max-width: 200px;
  opacity: 1;
  object-fit: contain;
}

.rcop-logo {
  height: 80px;
  width: auto;
  max-width: 200px;
  opacity: 1;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    width: 100px;
  }

  .practitioner-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-block {
    padding: 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-links {
    margin-top: 0.5rem;
  }

  .logo-container {
    gap: 1rem;
  }

  .hpc-logo,
  .rcop-logo {
    height: 70px;
    max-width: 180px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-item {
    padding: 1.25rem;
  }
}

