/* Dr. Eva Coleman base theme styles */
:root {
  color-scheme: light;
}

body {
  color: var(--hm-color-text);
  background-color: var(--hm-color-surface);
  font-family: "Source Sans Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.hm-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 60, 172, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.hm-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.hm-brand__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(255, 60, 172, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-brand__icon img {
  width: 32px;
  height: 32px;
}

.hm-brand__title {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--hm-color-primary);
  line-height: 1.1;
}

.hm-brand__tagline {
  font-size: 0.85rem;
  color: var(--hm-color-muted);
}

.hm-brand__text {
  display: flex;
  flex-direction: column;
}

.hm-site-nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
}

.hm-site-nav a {
  font-weight: 600;
  color: var(--hm-color-text);
}

.hm-site-nav a {
  font-weight: 600;
  color: var(--hm-color-text);
  font-size: 1rem;
}

.hm-site-nav a:hover {
  color: var(--hm-color-primary);
}

.hm-site-nav .menu-item a[target="_blank"]::after {
  content: "↗";
  font-size: 0.75rem;
  margin-left: 0.25rem;
  color: var(--hm-color-primary);
}

a {
  color: var(--hm-color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--hm-color-secondary);
}

.hm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hm-button--primary {
  background-color: var(--hm-color-primary);
  color: var(--hm-color-surface);
  border: 1px solid var(--hm-color-primary);
}

.hm-button--primary:hover {
  background-color: var(--hm-color-secondary);
  border-color: var(--hm-color-secondary);
}

.hm-button--outline {
  background-color: transparent;
  color: var(--hm-color-primary);
  border: 1px solid var(--hm-color-primary);
}

.hm-button--outline:hover {
  background-color: var(--hm-color-primary);
  color: var(--hm-color-surface);
}

.hm-button--ghost {
  background-color: transparent;
  color: var(--hm-color-primary);
  border: none;
  font-weight: 600;
}

.hm-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  color: #048ce2;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hm-front {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin: 0;
}

.hm-section {
  padding: 4rem clamp(1.5rem, 5vw, 5rem);
  background-color: var(--hm-color-surface);
}

.hm-section--tight {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hm-section--symptoms {
  background-color: var(--hm-color-surface);
}

.hm-section:nth-of-type(odd) {
  background-color: var(--hm-color-background);
}

.hm-section h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
  color: var(--hm-color-heading);
}

.hm-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  padding: 4rem clamp(1.5rem, 5vw, 5rem);
  background: radial-gradient(circle at top left, rgba(255, 58, 172, 0.2), transparent 55%), var(--hm-color-surface);
}

.hm-hero__content h1 {
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
  color: var(--hm-color-primary);
}

.hm-hero__content p {
  margin-bottom: 1.75rem;
  font-size: 1.15rem;
}

.hm-hero__media {
  max-width: 420px;
  justify-self: end;
}

.hm-hero__media img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 25px 55px rgba(135, 41, 95, 0.25);
}

.hm-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


.hm-hero__phone a {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--hm-color-primary);
}

.hm-hero__phone a:hover {
  color: var(--hm-color-secondary);
}

.hm-section__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hm-video iframe {
  width: 100%;
  min-height: 320px;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(135, 41, 95, 0.2);
}

.hm-grid {
  display: grid;
  gap: 2rem;
}

.hm-grid--three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.hm-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hm-card {
  padding: 2rem;
  background-color: var(--hm-color-surface);
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(135, 41, 95, 0.08);
}

.hm-card--service {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hm-card--quote {
  font-style: italic;
}

.hm-symptom-form {
  padding: 2rem;
  border-radius: 24px;
  background-color: var(--hm-color-background);
  box-shadow: 0 20px 40px rgba(135, 41, 95, 0.08);
}

.hm-symptom-form--download {
  text-align: center;
}

.hm-symptom-form--download p {
  margin-bottom: 1.5rem;
}

.hm-alert {
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hm-alert--success {
  background-color: rgba(244, 193, 97, 0.15);
  color: var(--hm-color-deep);
}

.hm-alert--error {
  background-color: rgba(255, 60, 172, 0.1);
  color: var(--hm-color-primary);
}

.hm-form--inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: end;
}

.hm-form--inline button {
  align-self: end;
}

.hm-form__footnote {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--hm-color-muted);
}

.hm-section__header {
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hm-resource__hero {
  padding: 5rem clamp(1.5rem, 6vw, 6rem);
  text-align: center;
  background: linear-gradient(135deg, rgba(135, 41, 95, 0.9), rgba(255, 58, 172, 0.85)),
      url('../images/drcoleman-dr.jpg') center / cover no-repeat;
  color: var(--hm-color-surface);
}

.hm-resource__hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.hm-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.hm-video-grid--portrait {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  justify-items: center;
}

.hm-card--video iframe {
  width: 100%;
  min-height: 200px;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hm-video--portrait iframe {
  aspect-ratio: 9 / 16;
  width: min(320px, 100%);
  min-height: auto;
  margin: 0 auto 1rem;
  display: block;
}

.hm-media__hero {
  position: relative;
  min-height: 320px;
  background: linear-gradient(135deg, rgba(135, 41, 95, 0.85), rgba(255, 58, 172, 0.85)),
      url('../images/drcoleman-glam.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem clamp(1.5rem, 6vw, 6rem);
  color: var(--hm-color-surface);
  text-align: center;
}

.hm-media__overlay h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.hm-card--media {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.hm-card--media img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.hm-media__booking .hm-section__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.hm-form {
  display: grid;
  gap: 1rem;
}

.hm-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  gap: 0.4rem;
}

.hm-form input,
.hm-form select,
.hm-form textarea {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 60, 172, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--hm-color-text);
  background-color: var(--hm-color-surface);
}

.hm-faq__hero {
  padding: 4.5rem clamp(1.5rem, 5vw, 5rem) 2rem;
  text-align: center;
}

.hm-partners__hero {
  padding: 4.5rem clamp(1.5rem, 5vw, 5rem) 2rem;
  text-align: center;
  background: radial-gradient(circle at top, rgba(255, 58, 172, 0.15), transparent 65%);
}

.hm-accordion {
  display: grid;
  gap: 1rem;
}

.hm-accordion__item {
  border: 1px solid rgba(255, 60, 172, 0.15);
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--hm-color-surface);
  box-shadow: 0 10px 20px rgba(11, 41, 32, 0.05);
}

.hm-accordion__toggle {
  appearance: none;
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background-color: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--hm-color-primary);
  cursor: pointer;
  white-space: normal;
}

.hm-accordion__toggle span:first-child {
  flex: 1;
}

.hm-accordion__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--hm-color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.hm-accordion__panel {
  padding: 0 1.5rem 1.5rem;
}

.hm-accordion__panel p {
  margin: 0;
}

.hm-accordion__toggle[aria-expanded="true"] .hm-accordion__icon {
  transform: rotate(45deg);
}

.hm-pathway {
  list-style: none;
  counter-reset: pathway;
  display: grid;
  gap: 1.5rem;
  margin: 0 0 2.5rem;
  padding: 0;
}

.hm-pathway li {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.5rem;
  background-color: var(--hm-color-surface);
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(135, 41, 95, 0.12);
}

.hm-pathway li strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.hm-pathway li span {
  display: block;
  color: var(--hm-color-muted);
}

.hm-pathway li::before {
  counter-increment: pathway;
  content: counter(pathway);
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--hm-color-primary);
  color: var(--hm-color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.hm-section--cta .hm-section__content {
  background: linear-gradient(135deg, var(--hm-color-primary), var(--hm-color-deep));
  border-radius: 24px;
  padding: 3rem;
  color: var(--hm-color-surface);
  align-items: center;
}

.hm-section--cta h2 {
  color: var(--hm-color-surface);
}

.hm-site-footer {
  background-color: #0f0f0f;
  color: white;
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  margin-top: auto;
}

.hm-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.hm-footer__block h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hm-color-accent-light, #ff8cc8);
}

.hm-footer__link {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.hm-footer__link:hover {
  color: var(--hm-color-secondary);
}

.hm-footer__link--small {
  font-size: 0.95rem;
  margin-top: 0.35rem;
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
}

.hm-footer__hint {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.25rem 0 0;
}

.hm-site-footer address {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.85);
}

.hm-footer__meta {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.hm-footer__cta .hm-button {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.hm-footer__cta .hm-button:hover {
  background-color: white;
  color: var(--hm-color-primary);
}

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

.hm-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
}

.hm-footer__social a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.hm-footer__social img {
  width: 18px;
  height: 18px;
  display: block;
  filter: none;
}

@media (max-width: 960px) {
  .hm-site-header {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .hm-brand {
    justify-content: center;
    gap: 0.6rem;
  }

  .hm-brand__icon {
    width: 40px;
    height: 40px;
  }

  .hm-brand__icon img {
    width: 30px;
    height: 30px;
  }

  .hm-brand__title {
    font-size: 1rem;
  }

  .hm-brand__tagline {
    font-size: 0.75rem;
  }

  .hm-site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .hm-site-nav a {
    font-size: 0.95rem;
  }

  .hm-hero {
    grid-template-columns: 1fr;
  }

  .hm-hero__media {
    order: -1;
    justify-self: center;
    max-width: 360px;
  }

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

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