/* A single, image-led hero with an ivory architectural setting. */
#homepage-hero.cphero-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  background: #f7eddd;
  color: #111;
}
#homepage-hero .cphero-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
}
#homepage-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #fffdf5d9 0%, #fffdf5c2 32%, #fffdf58c 52%, #fffdf51a 72%, #fffdf500 90%);
  pointer-events: none;
}
#homepage-hero .cphero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: 'copy visual';
  align-items: center;
  width: 100%;
  max-width: 1500px;
  min-height: 480px;
  margin-inline: auto;
  padding-inline: clamp(28px, 4vw, 64px);
  gap: clamp(18px, 2.5vw, 40px);
}
#homepage-hero .cphero-copy {
  grid-area: copy;
  min-width: 0;
  padding-block: 34px 42px;
  animation: cphero-copy-in 650ms cubic-bezier(.2,.7,.2,1) both;
}
#homepage-hero .cphero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #68553c;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
#homepage-hero .cphero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: #af7a37;
}
#homepage-hero #hero-title {
  max-width: 720px;
  margin: 0;
  color: #101010;
  font-family: Newsreader, Georgia, 'Times New Roman', serif;
  font-optical-sizing: auto;
  font-size: clamp(36px, 2.92vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.025em;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: wrap;
}
#homepage-hero #hero-title .cphero-heading-line { display: block; white-space: nowrap; }
#homepage-hero #hero-title .cphero-brand {
  color: #b74418;
  font-weight: 700;
}
#homepage-hero #hero-summary {
  max-width: 610px;
  margin: 21px 0 0;
  color: #111;
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 550;
  line-height: 1.6;
  letter-spacing: -.012em;
  text-wrap: pretty;
}
#homepage-hero .cphero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
#homepage-hero .cphero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}
#homepage-hero .cphero-button i { font-size: 19px; }
#homepage-hero .cphero-button-primary {
  color: #fff;
  background: #c94b0a;
  border-color: #b94308;
  box-shadow: 0 10px 20px -9px #8b39094d, inset 0 1px 0 #ffffff55;
}
#homepage-hero .cphero-button-primary:hover { background: #ae3e06; }
#homepage-hero .cphero-button-secondary {
  color: #111;
  background: #fffdf8f2;
  border-color: #ae8d70;
  box-shadow: 0 8px 18px -10px #684b2e4d, inset 0 1px 0 #fff;
}
#homepage-hero .cphero-button-secondary:hover { background: #fff; }
#homepage-hero .cphero-button:focus-visible {
  outline: 3px solid #a33d0d;
  outline-offset: 4px;
}
#homepage-hero .cphero-visual {
  grid-area: visual;
  position: relative;
  align-self: end;
  display: flex;
  align-items: end;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding-top: 24px;
  filter: none;
  box-shadow: none;
}
#homepage-hero .cphero-doctors {
  display: block;
  width: 100%;
  max-width: 710px;
  max-height: 470px;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: none;
  box-shadow: none;
  user-select: none;
  animation: cphero-doctors-in 850ms 80ms cubic-bezier(.2,.7,.2,1) both;
}
@keyframes cphero-copy-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cphero-doctors-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 1700px) {
  #homepage-hero .cphero-inner { min-height: 500px; }
  #homepage-hero .cphero-doctors { max-height: 475px; }
}
@media (max-width: 1199px) and (min-width: 1024px) {
  #homepage-hero .cphero-inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); min-height: 460px; padding-inline: 28px; gap: 16px; }
  #homepage-hero #hero-title { font-size: 36px; }
  #homepage-hero .cphero-copy { padding-block: 32px; }
  #homepage-hero .cphero-button { padding-inline: 15px; font-size: 14px; gap: 7px; }
}
@media (max-width: 1023px) {
  #homepage-hero .cphero-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'eyebrow' 'title' 'visual' 'summary' 'actions';
    gap: 0;
    min-height: 0;
    padding-inline: 24px;
    padding-block: 26px 28px;
  }
  #homepage-hero .cphero-backdrop { object-position: center bottom; }
  #homepage-hero::before { background: linear-gradient(180deg, #fffdf5ce 0%, #fffdf5a6 18%, #fffdf53d 44%, #fffdf5b3 72%, #fffdf5cc 100%); }
  #homepage-hero .cphero-copy { display: contents; }
  #homepage-hero .cphero-eyebrow { grid-area: eyebrow; margin-bottom: 12px; font-size: 11px; }
  #homepage-hero #hero-title { grid-area: title; max-width: none; font-size: 34px; line-height: 1.15; }
  #homepage-hero #hero-summary { grid-area: summary; max-width: none; margin-top: 9px; font-size: 16px; line-height: 1.55; }
  #homepage-hero .cphero-actions { grid-area: actions; margin-top: 20px; gap: 10px; }
  #homepage-hero .cphero-visual { isolation: isolate; width: 100%; padding-top: 17px; padding-bottom: 7px; }
  #homepage-hero .cphero-visual::after { content: none; }
  #homepage-hero .cphero-doctors { width: auto; max-width: 100%; max-height: 300px; mask-image: linear-gradient(180deg, #000 0%, #000 83%, #000a 93%, transparent 100%); }
}
@media (max-width: 639px) {
  #homepage-hero #hero-title .cphero-heading-line { display: inline; white-space: normal; }
}
@media (max-width: 480px) {
  #homepage-hero .cphero-inner { padding: 22px 18px 26px; }
  #homepage-hero .cphero-eyebrow { font-size: 10px; letter-spacing: .13em; margin-bottom: 10px; }
  #homepage-hero #hero-title { font-size: 29px; line-height: 1.16; letter-spacing: -.025em; }
  #homepage-hero #hero-summary { font-size: 16px; margin-top: 8px; line-height: 1.5; }
  #homepage-hero .cphero-actions { gap: 9px; margin-top: 18px; }
  #homepage-hero .cphero-button { flex: 1; padding: 12px 10px; min-height: 50px; font-size: 14px; gap: 6px; }
  #homepage-hero .cphero-button i { display: none; }
  #homepage-hero .cphero-visual { padding-top: 13px; padding-bottom: 5px; }
  #homepage-hero .cphero-doctors { max-height: 248px; }
}
@media (max-width: 359px) {
  #homepage-hero .cphero-inner { padding-inline: 16px; }
  #homepage-hero #hero-title { font-size: 27px; line-height: 1.17; }
  #homepage-hero .cphero-actions { flex-direction: column; gap: 8px; }
  #homepage-hero .cphero-button { width: 100%; }
  #homepage-hero .cphero-doctors { max-height: 235px; }
}
@media (prefers-reduced-motion: reduce) {
  #homepage-hero *, #homepage-hero *::before, #homepage-hero *::after {
    animation: none !important;
    transition: none !important;
  }
}
