.hero-brand {
  position: relative;
  isolation: isolate;
  width: min(1240px, calc(100% - 32px));
  min-height: 700px;
  margin: 28px auto 76px;
  padding: 66px 64px 0;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(8,124,145,.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 11% 9%, rgba(96,206,208,.15), transparent 27%),
    linear-gradient(124deg, #ffffff 0%, #f1fbfa 53%, #91dddd 53.2%, #16899a 100%);
  box-shadow: 0 28px 80px rgba(13,48,57,.10);
}

/* Crop the untouched original photograph; no generative or facial retouching. */
.hero-brand .hero-original {
  top: 36px;
  bottom: auto;
  right: -12px;
  width: 390px;
  height: 594px;
  object-fit: contain;
  object-position: center top;
  border-radius: 0;
  filter: none;
  transform: none;
}
@media (max-width: 980px) {
  .hero-brand .hero-original { right: -24px; width: 330px; height: 544px; }
}
@media (max-width: 860px) {
  .hero-brand .hero-original { right: 50%; top: 0; transform: translateX(50%); width: 360px; height: 560px; }
}
@media (max-width: 520px) {
  .hero-brand .hero-original { width: 320px; height: 490px; object-position: 85% 40%; }
}

.hero-brand::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -210px;
  bottom: -260px;
  border: 80px solid rgba(8,124,145,.07);
  border-radius: 50%;
  z-index: -1;
}

.hero-brand .hero-copy {
  position: relative;
  z-index: 4;
  padding-bottom: 66px;
}

.hero-name {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.hero-name span {
  color: var(--muted);
  font-size: .83em;
  font-weight: 500;
}

.hero-brand h1 {
  max-width: 670px;
  font-size: clamp(47px, 4.8vw, 62px);
}

.hero-brand .lead {
  max-width: 650px;
  margin: 24px 0 28px;
  font-size: 19px;
}

.hero-brand .button {
  min-height: 48px;
  align-items: center;
  justify-content: center;
}

.hero-brand .primary {
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(8,124,145,.19);
}

.hero-brand .ghost {
  border-color: rgba(16,39,45,.20);
  background: rgba(255,255,255,.48);
  backdrop-filter: blur(8px);
}

.hero-brand .trust-line {
  font-size: 12px;
  letter-spacing: .02em;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 630px;
  z-index: 2;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-shape-a {
  width: 520px;
  height: 520px;
  right: -185px;
  top: -100px;
  background: rgba(255,255,255,.16);
}

.hero-shape-b {
  width: 330px;
  height: 330px;
  left: -45px;
  bottom: -150px;
  border: 70px solid rgba(255,255,255,.12);
}

.hero-doctor {
  position: absolute;
  z-index: 2;
  right: -130px;
  bottom: -470px;
  width: auto;
  height: 1080px;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  filter: brightness(1.06) contrast(1.01) drop-shadow(0 18px 24px rgba(4,31,38,.20));
}

.hero-specialty {
  position: absolute;
  z-index: 3;
  left: 4px;
  bottom: 31px;
  max-width: 295px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 14px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 14px 34px rgba(4,31,38,.16);
  backdrop-filter: blur(12px);
}

.hero-specialty b,
.hero-specialty span {
  display: block;
}

.hero-specialty b {
  color: var(--ink);
  font: 700 13px/1.35 var(--latin);
}

.hero-specialty span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .hero-brand {
    padding: 58px 44px 0;
    grid-template-columns: 1fr .82fr;
  }

  .hero-brand h1 {
    font-size: clamp(43px, 6.4vw, 60px);
  }

  .hero-visual {
    min-height: 580px;
  }

  .hero-doctor {
    right: -145px;
    bottom: -400px;
    width: auto;
    height: 960px;
  }

  .hero-specialty {
    left: -10px;
  }
}

@media (max-width: 860px) {
  .hero-brand {
    width: min(100% - 24px, 700px);
    min-height: auto;
    margin-top: 18px;
    padding: 54px 32px 0;
    grid-template-columns: 1fr;
    gap: 4px;
    background:
      radial-gradient(circle at 8% 7%, rgba(96,206,208,.16), transparent 25%),
      linear-gradient(170deg, #ffffff 0%, #f1fbfa 57%, #91dddd 57.2%, #16899a 100%);
  }

  .hero-brand .hero-copy {
    padding-bottom: 28px;
  }

  .hero-brand h1 {
    max-width: 620px;
  }

  .hero-visual {
    width: 100%;
    min-height: 560px;
  }

  .hero-doctor {
    right: 50%;
    bottom: -360px;
    width: auto;
    height: 900px;
    transform: translateX(53%);
  }

  .hero-specialty {
    left: 0;
    bottom: 24px;
  }
}

@media (max-width: 520px) {
  .hero-brand {
    width: calc(100% - 16px);
    margin-bottom: 54px;
    padding: 42px 20px 0;
    border-radius: 24px;
  }

  .hero-name {
    font-size: 17px;
  }

  .hero-name span {
    display: block;
    margin-top: 4px;
  }

  .hero-brand h1 {
    font-size: clamp(39px, 11.5vw, 49px);
  }

  .hero-brand .lead {
    font-size: 17px;
    line-height: 1.65;
  }

  .hero-brand .hero-actions {
    gap: 9px;
  }

  .hero-visual {
    min-height: 490px;
  }

  .hero-doctor {
    bottom: -310px;
    width: auto;
    height: 780px;
  }

  .hero-specialty {
    left: -2px;
    bottom: 20px;
    max-width: 240px;
    padding: 12px 14px;
  }
}
