/**
 * PVG Hero Component v1.1.0
 * Mobile first, BEM, framework-independent and Elementor-safe.
 */

@property --pvg-hero-reveal {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

.pvg-hero {
  /* Public design-token fallbacks. A page-level token system may override them. */
  --pvg-hero-primary: var(--pvg-lp-color-primary, #00498e);
  --pvg-hero-primary-hover: var(--pvg-lp-color-primary-hover, #003b73);
  --pvg-hero-secondary: var(--pvg-lp-color-accent, #58bd9c);
  --pvg-hero-secondary-dark: var(--pvg-lp-color-accent-dark, #14775f);
  --pvg-hero-white: #fff;
  --pvg-hero-background: #f7fafc;
  --pvg-hero-text: var(--pvg-lp-color-text, #14293b);
  --pvg-hero-muted: var(--pvg-lp-color-text-muted, #587087);
  --pvg-hero-border: #d6e5ee;
  --pvg-hero-focus: var(--pvg-lp-color-focus, #ffbf47);
  --pvg-hero-radius: 24px;
  --pvg-hero-shadow: 0 24px 64px rgb(0 73 142 / 9%);
  --pvg-hero-gutter: clamp(1rem, 4vw, 2.5rem);
  --pvg-hero-max-width: 1280px;
  --pvg-hero-card-width: min(78vw, 17rem);
  --pvg-hero-theme-tint: #eaf7f3;
  --pvg-hero-reveal: 1;

  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  container-name: pvg-hero;
  container-type: inline-size;
  width: 100%;
  max-width: 100%;
  padding: clamp(1rem, 3vw, 2rem);
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--pvg-hero-text);
  background: var(--pvg-hero-background);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pvg-hero[data-pvg-theme="dentist"] {
  --pvg-hero-theme-tint: #eff7fb;
}

.pvg-hero[data-pvg-theme="veterinary"] {
  --pvg-hero-theme-tint: #edf8f4;
}

.pvg-hero[data-pvg-theme="pharmacy"] {
  --pvg-hero-theme-tint: #f3f8ee;
}

.pvg-hero[data-pvg-theme="psychology"] {
  --pvg-hero-theme-tint: #f3f2fb;
}

.pvg-hero[data-pvg-theme="student"] {
  --pvg-hero-theme-tint: #eaf7f3;
}

.pvg-hero *,
.pvg-hero *::before,
.pvg-hero *::after {
  box-sizing: border-box;
}

.pvg-hero__background {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 8%, rgb(88 189 156 / 8%), transparent 32rem),
    var(--pvg-hero-background);
  opacity: var(--pvg-hero-reveal);
}

.pvg-hero__inner {
  position: relative;
  display: grid;
  grid-template-areas:
    "heading"
    "media"
    "intro"
    "benefits"
    "actions";
  gap: clamp(1.25rem, 4vw, 2rem);
  width: min(100%, var(--pvg-hero-max-width));
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 3rem) var(--pvg-hero-gutter);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgb(88 189 156 / 9%), transparent 34%),
    var(--pvg-hero-white);
  border: 1px solid rgb(0 73 142 / 8%);
  border-radius: var(--pvg-hero-radius);
  box-shadow: var(--pvg-hero-shadow);
}

.pvg-hero__lead {
  display: contents;
  min-width: 0;
}

.pvg-hero__heading {
  grid-area: heading;
  min-width: 0;
}

.pvg-hero__decision {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  max-width: 100%;
  margin: 0 0 0.75rem;
  color: var(--pvg-hero-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
}

.pvg-hero__decision svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--pvg-hero-secondary-dark);
  fill: none;
  stroke: currentcolor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pvg-hero__decision-state,
.pvg-hero__decision-goal {
  overflow-wrap: anywhere;
}

.pvg-hero__decision-goal {
  color: var(--pvg-hero-secondary-dark);
}

.pvg-hero__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--pvg-hero-secondary-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pvg-hero__title {
  max-width: 18ch;
  margin: 0;
  color: var(--pvg-hero-primary);
  font-size: clamp(1.75rem, 7.5vw, 3.75rem);
  font-weight: 800;
  hyphens: auto;
  letter-spacing: -0.025em;
  line-height: 1.08;
  overflow-wrap: break-word;
}

.pvg-hero__intro {
  grid-area: intro;
  max-width: 62ch;
  margin: 1rem 0 0;
  color: var(--pvg-hero-muted);
  font-size: clamp(1.0625rem, 3.6vw, 1.25rem);
  line-height: 1.6;
}

.pvg-hero__summary {
  grid-area: benefits;
  display: block;
  max-width: 62ch;
  margin-top: 1rem;
  padding: 1rem;
  color: var(--pvg-hero-text);
  background: rgb(88 189 156 / 10%);
  border: 1px solid rgb(88 189 156 / 38%);
  border-radius: 1rem;
}

.pvg-hero__summary p,
.pvg-hero .pvg-cta__microcopy {
  margin: 0;
}

.pvg-hero__summary p {
  font-size: 0.9375rem;
  line-height: 1.55;
}

.pvg-hero__benefits {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pvg-hero__benefits li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
}

.pvg-hero__benefits li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--pvg-hero-secondary-dark);
  font-weight: 800;
}

.pvg-hero__media {
  grid-area: media;
  min-width: 0;
}

.pvg-hero__figure {
  position: relative;
  width: min(100%, 36rem);
  min-height: clamp(25rem, 118vw, 31rem);
  aspect-ratio: auto;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(180deg, rgb(88 189 156 / 10%), rgb(0 73 142 / 5%));
  border-radius: calc(var(--pvg-hero-radius) - 4px);
}

.pvg-hero__figure picture {
  display: block;
  height: 100%;
}

.pvg-hero__portrait {
  display: block;
  width: 91.54%;
  min-width: 0;
  height: auto;
  max-width: none;
  max-height: none;
  margin-left: 3.54%;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}

.pvg-hero__trustbar {
  display: grid;
  width: min(100%, var(--pvg-hero-max-width));
  margin: clamp(1rem, 2vw, 1.5rem) auto 0;
  padding: 0;
  overflow: hidden;
  color: var(--pvg-hero-text);
  list-style: none;
  background: var(--pvg-hero-white);
  border: 1px solid var(--pvg-hero-border);
  border-radius: var(--pvg-hero-radius);
  box-shadow: 0 14px 38px rgb(0 73 142 / 6%);
}

.pvg-hero__trustbar-item {
  display: grid;
  gap: 0.35rem;
  align-content: center;
  min-height: 7.25rem;
  padding: 1.25rem clamp(1rem, 3vw, 1.5rem);
  text-align: center;
}

.pvg-hero__trustbar-item + .pvg-hero__trustbar-item {
  border-top: 1px solid var(--pvg-hero-border);
}

.pvg-hero__trustbar-item strong {
  color: var(--pvg-hero-primary);
  font-size: clamp(1.55rem, 6vw, 2rem);
  font-weight: 800;
  line-height: 1;
}

.pvg-hero__trustbar-item span {
  max-width: 26ch;
  margin-inline: auto;
  color: var(--pvg-hero-muted);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.pvg-hero__actions {
  grid-area: actions;
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

.pvg-hero__actions .pvg-cta__link {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pvg-hero__actions .pvg-cta__link sup {
  margin-right: 0.18em;
}

.pvg-hero__action-group {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  min-width: 0;
}

.pvg-hero__action-group .pvg-cta__link {
  width: 100%;
}

.pvg-hero__action-group--primary .pvg-cta__link--primary {
  min-height: clamp(3.5rem, 5vw, 4.5rem);
  padding: 1rem 1.5rem;
  color: var(--pvg-hero-white);
  background: #287f66;
  border-color: transparent;
  border-radius: 999px;
  box-shadow: none;
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  font-weight: 700;
  white-space: nowrap;
  overflow-wrap: normal;
}

.pvg-hero__action-group--primary .pvg-cta__link--primary:hover {
  color: var(--pvg-hero-white);
  background: #23775f;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.pvg-hero__action-group--secondary .pvg-cta__link--secondary {
  min-height: 3.125rem;
  padding: 0.875rem 1.25rem;
  color: var(--pvg-hero-white);
  background: var(--pvg-hero-primary);
  border-color: var(--pvg-hero-primary);
}

.pvg-hero__action-group--secondary .pvg-cta__link--secondary:hover {
  color: var(--pvg-hero-white);
  background: var(--pvg-hero-primary-hover);
  border-color: var(--pvg-hero-primary-hover);
}

.pvg-hero__action-group--secondary .pvg-hero__action-note {
  color: color-mix(in srgb, var(--pvg-hero-muted) 82%, white);
}

.pvg-hero__action-note {
  color: var(--pvg-hero-muted);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
}

.pvg-hero__ratings {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
  margin-top: 0;
}

.pvg-hero__rating {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(0.875rem, 1.3vw, 1.125rem);
  align-items: center;
  min-width: 0;
  min-height: 5.5rem;
  padding: 0.75rem 0.875rem;
  color: var(--pvg-hero-primary);
  text-decoration: none;
  background: var(--pvg-hero-white);
  border: 1px solid var(--pvg-hero-border);
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgb(0 73 142 / 6%);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.pvg-hero__rating:hover {
  box-shadow: 0 18px 38px rgb(0 73 142 / 12%);
  transform: translateY(-2px);
}

.pvg-hero__rating:active {
  box-shadow: 0 10px 24px rgb(0 73 142 / 8%);
  transform: translateY(0);
}

.pvg-hero__rating:focus-visible {
  outline: 3px solid var(--pvg-hero-focus);
  outline-offset: 3px;
}

.pvg-hero__google-mark {
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
}

.pvg-hero__rating-copy,
.pvg-hero__rating strong,
.pvg-hero__rating small {
  display: block;
  min-width: 0;
}

.pvg-hero__rating strong {
  color: var(--pvg-hero-primary);
  font-size: clamp(0.9375rem, 2vw, 1rem);
  font-weight: 700;
  line-height: 1.25;
}

.pvg-hero__rating small {
  margin-top: 0.1rem;
  color: var(--pvg-hero-muted);
  font-size: 0.8125rem;
  line-height: 1.25;
}

.pvg-hero__rating-score,
.pvg-hero__rating-stars {
  display: block;
  margin-top: 0.15rem;
  color: var(--pvg-hero-primary);
  font-size: 0.875rem;
  font-weight: 750;
  line-height: 1.2;
}

.pvg-hero__rating-stars {
  margin-top: 0;
  white-space: nowrap;
}

.pvg-hero__rating-score > span,
.pvg-hero__rating-stars {
  color: #8a6c14;
  letter-spacing: 0.04em;
}

.pvg-hero__rating-score small {
  display: inline;
  margin: 0;
  font-size: 0.8125rem;
}

.pvg-hero__rating-arrow {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--pvg-hero-primary);
  fill: none;
  stroke: currentcolor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pvg-hero .pvg-cta__microcopy {
  flex-basis: 100%;
  color: var(--pvg-hero-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.pvg-hero__summary[hidden] {
  display: none;
}

@container pvg-hero (min-width: 44rem) {
  .pvg-hero__figure {
    width: min(100%, 39rem);
    min-height: 34rem;
  }

  .pvg-hero__portrait {
    width: 142%;
    min-width: 0;
    height: auto;
    margin-left: -21%;
    transform: none;
  }

  .pvg-hero__trustbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pvg-hero__trustbar-item:nth-child(even) {
    border-left: 1px solid var(--pvg-hero-border);
  }

  .pvg-hero__trustbar-item:nth-child(2) {
    border-top: 0;
  }
}

@container pvg-hero (min-width: 64rem) {
  .pvg-hero__inner {
    grid-template-areas:
      "heading media"
      "intro media"
      "benefits media"
      "actions media";
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    grid-template-rows: auto auto auto auto;
    column-gap: clamp(2rem, 3vw, 3.25rem);
    row-gap: clamp(0.75rem, 1.2vw, 1rem);
    align-items: start;
    min-height: 38rem;
    padding-block: clamp(2rem, 3vw, 3rem);
  }

  .pvg-hero__title {
    font-size: clamp(2.65rem, 3.9cqi, 3.45rem);
  }

  .pvg-hero__intro {
    max-width: 66ch;
    margin-top: 0;
    font-size: clamp(1.25rem, 1.75cqi, 1.375rem);
    line-height: 1.5;
  }

  .pvg-hero__summary {
    max-width: 100%;
    margin-top: 0;
    padding: clamp(1.125rem, 1.8cqi, 1.375rem);
  }

  .pvg-hero__benefits {
    gap: 0.65rem;
  }

  .pvg-hero__benefits li {
    font-size: clamp(1.125rem, 1.55cqi, 1.25rem);
    line-height: 1.5;
  }

  .pvg-hero__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .pvg-hero__media {
    position: relative;
    align-self: stretch;
    display: grid;
    align-items: end;
    justify-self: end;
    width: 100%;
    min-height: 36rem;
    margin-block-end: calc(-1 * clamp(2rem, 3vw, 3rem));
  }

  .pvg-hero__figure {
    align-self: end;
    justify-self: end;
    width: min(100%, 43rem);
    height: calc(100% + clamp(2rem, 3vw, 3rem));
    min-height: 38rem;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    aspect-ratio: auto;
    overflow: visible;
    background: radial-gradient(circle, rgb(88 189 156 / 16%), transparent 67%);
  }

  .pvg-hero__figure picture {
    position: absolute;
    inset: 0;
  }

  .pvg-hero__portrait {
    position: absolute;
    inset: auto auto 0 calc(21.76% - 1.25rem);
    width: 88.56%;
    height: auto;
    max-height: none;
    margin-left: 0;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
  }

  .pvg-hero__trustbar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pvg-hero__trustbar-item {
    min-height: 8.5rem;
  }

  .pvg-hero__trustbar-item + .pvg-hero__trustbar-item {
    border-top: 0;
    border-left: 1px solid var(--pvg-hero-border);
  }

}

@media (min-width: 48rem) {
  .pvg-hero__ratings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pvg-hero *,
  .pvg-hero *::before,
  .pvg-hero *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }

}

@media print {
  .pvg-hero {
    padding: 0;
    color: #000;
    background: #fff;
  }

  .pvg-hero__inner {
    box-shadow: none;
  }

  .pvg-hero__actions {
    display: none;
  }
}
