.novo-thanks {
  --thanks-ink: #271a35;
  --thanks-muted: #544861;
  --thanks-purple: #604083;
  --thanks-border: #e1d6e9;
  --thanks-surface: #f8f3fa;
  box-sizing: border-box;
  color: var(--thanks-ink);
  background: var(--thanks-surface);
  padding: clamp(32px, 5vw, 76px) clamp(16px, 4vw, 42px);
  font-family: var(--novo-font-body, "Open Sans", Arial, sans-serif);
}

.novo-thanks *,
.novo-thanks *::before,
.novo-thanks *::after {
  box-sizing: border-box;
}

.novo-thanks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 92px);
  width: min(100%, 1120px);
  margin-inline: auto;
}

.novo-thanks-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 9px;
  background: #eee4f5;
  color: #513471;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.novo-thanks-status svg {
  flex: 0 0 auto;
}

.novo-thanks h1 {
  margin: 15px 0 12px;
  color: var(--thanks-ink);
  font-family: var(--novo-font-heading, Montserrat, Arial, sans-serif);
  font-size: clamp(28px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-transform: none;
  text-wrap: balance;
}

.novo-thanks .novo-thanks-lead {
  max-width: 540px;
  margin: 0;
  color: var(--thanks-muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
}

.novo-thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.novo-thanks .novo-thanks-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--thanks-purple);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  text-align: center;
}

.novo-thanks .novo-thanks-button-primary {
  background: var(--thanks-purple);
  color: #fff;
}

.novo-thanks .novo-thanks-button-primary:hover {
  background: #4c306c;
}

.novo-thanks .novo-thanks-button-secondary {
  background: #fff;
  color: var(--thanks-purple);
}

.novo-thanks .novo-thanks-button-secondary:hover {
  background: #eee4f5;
}

.novo-thanks a:focus-visible {
  outline: 2px solid #402365;
  outline-offset: 3px;
}

.novo-thanks-contact {
  padding-top: 13px;
  border-top: 1px solid var(--thanks-border);
}

.novo-thanks-contact p {
  margin: 0 0 4px;
  color: var(--thanks-muted);
  font-size: 14px;
  line-height: 1.4;
}

.novo-thanks-contact ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.novo-thanks-contact a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #513471;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.novo-thanks-clinic {
  overflow: hidden;
  border: 1px solid var(--thanks-border);
  border-radius: 20px;
  background: #fff;
}

.novo-thanks-photo {
  display: grid;
  justify-items: center;
  background: #fafafa;
}

.novo-thanks-photo picture {
  display: block;
  width: min(100%, 395px);
}

.novo-thanks-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.novo-thanks-location {
  padding: 18px 20px;
  border-top: 1px solid var(--thanks-border);
}

.novo-thanks-location p {
  margin: 0;
  color: var(--thanks-muted);
  font-size: 14px;
  line-height: 1.55;
}

.novo-thanks-location .novo-thanks-location-label {
  color: #513471;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.novo-thanks-location .novo-thanks-address {
  margin: 3px 0 5px;
  color: var(--thanks-ink);
  font-family: var(--novo-font-heading, Montserrat, Arial, sans-serif);
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 699px) {
  .novo-thanks-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    max-width: 520px;
  }

  .novo-thanks h1 {
    margin-top: 12px;
    font-size: clamp(28px, 8.6vw, 44px);
  }

  .novo-thanks-actions {
    margin-block: 17px;
  }

  .novo-thanks .novo-thanks-button {
    flex: 1 1 auto;
    padding-inline: 10px;
  }

  .novo-thanks-contact ul {
    gap: 0 13px;
  }

  .novo-thanks-clinic {
    border-radius: 16px;
  }

  .novo-thanks-location {
    padding: 14px 16px;
  }
}
