﻿/* Hero section extracted from style-shell.css (Lot 8) */

.pl-home-prototype__section-frame--hero {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .pl-home-prototype__section-frame--hero {
    border-radius: 16px;
  }
}

.pl-home-prototype__section-frame--hero .pl-section-hero {
  margin: 0;
  gap: 0;
}

html,
body {
  overflow-x: hidden;
}

.pl-home-hero {
  --pl-hero-body-size: 1rem;
  --pl-hero-title: var(--pl-content-text, #101828);
  --pl-hero-bg: var(--pl-content-surface-alt, #fcfcfd);
  --pl-hero-surface: var(--pl-content-surface, #fff);
  --pl-hero-surface-alt: var(--pl-content-surface-alt, #fcfcfd);
  --pl-hero-text: var(--pl-content-text, #101828);
  --pl-hero-text-inverse: var(--pl-content-accent-contrast, #fff);
  --pl-hero-accent: var(--pl-content-accent, #0b63ce);
  --pl-hero-accent-hover: var(--pl-content-accent-hover, #0b63ce);
  --pl-hero-accent-text: var(--pl-text-on-accent, var(--pl-content-accent-contrast, #fff));
  --pl-hero-safe-bg: var(--pl-accent-safe-bg, var(--pl-hero-accent));
  --pl-hero-safe-fg: var(--pl-accent-safe-fg, var(--pl-hero-accent-text));
  --pl-hero-safe-border: var(--pl-accent-safe-border, var(--pl-hero-safe-bg));
  --pl-hero-safe-bg-hover: var(--pl-accent-safe-bg-hover, var(--pl-hero-safe-bg));
  --pl-hero-safe-fg-hover: var(--pl-accent-safe-fg-hover, var(--pl-hero-safe-fg));
  --pl-hero-safe-border-hover: var(--pl-accent-safe-border-hover, var(--pl-hero-safe-border));
  --pl-hero-chip-bg: var(--pl-accent-safe-bg-hover, var(--pl-accent-safe-bg, var(--pl-hero-accent)));
  --pl-hero-chip-text: var(--pl-accent-safe-fg-hover, var(--pl-accent-safe-fg, var(--pl-hero-accent-text)));
  --pl-hero-chip-border: var(--pl-accent-safe-border-hover, var(--pl-accent-safe-border, var(--pl-hero-safe-bg)));
  --pl-hero-chip-bg-hover: var(--pl-accent-safe-bg-active, var(--pl-hero-chip-bg));
  --pl-hero-chip-text-hover: var(--pl-accent-safe-fg-active, var(--pl-hero-chip-text));
  --pl-hero-chip-border-hover: var(--pl-accent-safe-border-active, var(--pl-hero-chip-border));
  --pl-hero-overlay-top: rgba(0, 0, 0, 0.35);
  --pl-hero-overlay-bottom: rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: visible;
  background: linear-gradient(165deg, var(--pl-hero-surface) 0%, var(--pl-hero-bg) 100%);
  padding: 20px;
  min-height: 420px;
  display: flex;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pl-home-hero {
    border-radius: 16px;
  }
}

.pl-home-hero--color {
  background: var(--pl-home-section-gradient-active);
}

.pl-home-hero--image {
  min-height: 340px;
}

.pl-home-hero--image-strip {
  grid-template-columns: minmax(0, 1fr);
  row-gap: 14px;
  background: var(--pl-home-section-gradient-active);
}

.pl-home-hero--color-fallback .pl-home-hero__media-layer,
.pl-home-hero--color-fallback .pl-home-hero__strip-media {
  display: none;
}

.pl-home-hero--no-media.pl-home-hero--image-overlay {
  background: linear-gradient(155deg, color-mix(in srgb, var(--pl-hero-accent) 40%, #0b1220) 0%, #1d2939 100%);
}

.pl-home-hero--no-media.pl-home-hero--image-overlay .pl-home-hero__media-layer {
  display: block;
}

.pl-home-hero--no-media.pl-home-hero--image-strip .pl-home-hero__strip-media {
  display: none;
  background: none;
}

.pl-home-hero--no-media.pl-home-hero--image-strip {
  grid-template-columns: minmax(0, 1fr);
}

.pl-home-hero--no-media .pl-home-hero__bg-image,
.pl-home-hero--no-media .pl-home-hero__strip-image {
  display: none;
}

.pl-home-hero__media-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

.pl-home-hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 300ms ease-in-out;
}

.pl-home-hero__bg-image.is-active {
  opacity: 1;
}

.pl-home-hero--image-overlay .pl-home-hero__bg-image.is-active {
  animation: pl-home-hero-overlay-pan var(--pl-hero-slide-motion-ms, 4000ms) ease-out both;
}

.pl-home-hero.is-carousel-paused .pl-home-hero__bg-image.is-active,
.pl-home-hero.is-carousel-paused .pl-home-hero__strip-image.is-active {
  animation-play-state: paused;
}

.pl-home-hero__strip-media {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 12px;
}

.pl-home-hero__strip-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 300ms ease-in-out;
}

.pl-home-hero__strip-image.is-active {
  opacity: 1;
}

.pl-home-hero--image-strip .pl-home-hero__strip-image.is-active {
  animation: pl-home-hero-strip-pan var(--pl-hero-slide-motion-ms, 4000ms) ease-out both;
}

.pl-home-hero__carousel-pause-indicator {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%) scale(0.92);
  border-radius: 999px;
  background: color-mix(in srgb, #000 52%, transparent);
  border: 1px solid color-mix(in srgb, #fff 42%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 3;
}

.pl-home-hero__carousel-pause-indicator::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 16px;
  transform: translate(-50%, -50%);
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
}

.pl-home-hero.is-carousel-paused .pl-home-hero__carousel-pause-indicator {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.pl-home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--pl-hero-overlay-top), var(--pl-hero-overlay-bottom));
  pointer-events: none;
}

.pl-home-hero--image-strip .pl-home-hero__overlay {
  background: none;
}

.pl-home-hero--image-overlay .pl-home-hero__overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.5));
}

.pl-home-hero--color .pl-home-hero__overlay,
.pl-home-hero--color .pl-home-hero__media-layer,
.pl-home-hero--color .pl-home-hero__strip-media {
  display: none;
}

.pl-home-hero__content {
  --pl-hero-text-max-width: 62ch;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 600px;
  width: 100%;
  min-height: 0;
  height: auto;
  max-height: none;
  overflow: visible;
  flex: 1 1 auto;
  color: var(--pl-hero-text);
}

.pl-home-hero__inner {
  overflow: visible;
  height: auto;
  min-height: 0;
  max-height: none;
}

.pl-home-hero__content > * + * {
  margin-top: 12px;
}

.pl-hero-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pl-hero-middle {
  display: flex;
  justify-content: center;
  margin: 22px 0 20px;
}

.pl-hero-bottom {
  margin-top: auto;
}

.pl-home-hero[data-hero-initialized="1"] .pl-home-hero__primary,
.pl-home-hero[data-hero-initialized="1"] .pl-home-hero__description,
.pl-home-hero[data-hero-initialized="1"] .pl-reassurance,
.pl-home-hero[data-hero-initialized="1"] .pl-home-hero__cta-row,
.pl-home-hero[data-hero-initialized="1"] .pl-hero-meta {
  opacity: 0;
  transform: translateY(8px);
}

.pl-home-hero[data-hero-initialized="1"].pl-home-hero--animated .pl-home-hero__primary,
.pl-home-hero[data-hero-initialized="1"].pl-home-hero--animated .pl-home-hero__description {
  animation: pl-home-hero-fade-up 420ms ease both;
}

.pl-home-hero[data-hero-initialized="1"].pl-home-hero--animated .pl-home-hero__description {
  animation-delay: 70ms;
}

.pl-home-hero[data-hero-initialized="1"].pl-home-hero--animated .pl-reassurance {
  animation: pl-home-hero-fade-up 340ms ease both;
  animation-delay: 105ms;
}

.pl-home-hero--image-overlay .pl-home-hero__content {
  color: #ffffff;
}

.pl-home-hero--image-overlay {
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pl-home-hero--image-overlay::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.pl-home-hero--image-overlay .pl-home-hero__name,
.pl-home-hero--image-overlay .pl-home-hero__description,
.pl-home-hero--image-overlay .pl-home-hero__primary,
.pl-home-hero--image-overlay .pl-home-hero__meta,
.pl-home-hero--image-overlay .pl-home-hero__city,
.pl-home-hero--image-overlay .pl-home-hero__area-title,
.pl-home-hero--image-overlay .pl-reassurance,
.pl-home-hero--image-overlay .pl-reassurance *,
.pl-home-hero--image-overlay .pl-hero-meta,
.pl-home-hero--image-overlay .pl-hero-meta * {
  color: #ffffff;
}

.pl-home-hero__name,
.pl-home-hero__primary,
.pl-home-hero__meta,
.pl-home-hero__description,
.pl-home-hero__area-title,
.pl-home-hero__city {
  margin: 0;
}

.pl-hero-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pl-hero-title-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--pl-content-border, #d0d5dd) 72%, #fff);
  background: var(--pl-hero-surface);
  color: var(--pl-hero-accent);
  overflow: hidden;
}

.pl-hero-title-icon .pl-icon,
.pl-hero-title-icon svg {
  width: 22px;
  height: 22px;
}

.pl-home-hero__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  box-sizing: border-box;
}

.pl-home-hero__primary {
  min-width: 0;
  font-family: var(--pl-font-title, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif);
  font-weight: 700;
  font-size: clamp(1.18rem, 2.1vw, 1.7rem);
  line-height: 1.24;
  letter-spacing: 0;
  color: var(--pl-hero-title);
  overflow-wrap: anywhere;
}

.pl-home-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  color: color-mix(in srgb, var(--pl-hero-text) 78%, #fff);
  font-size: 0.9rem;
}

.pl-home-hero__description {
  color: var(--pl-hero-text);
  max-width: var(--pl-hero-text-max-width);
  font-size: var(--pl-hero-body-size);
  line-height: 1.52;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.pl-hero-description {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pl-home-hero__geo {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 6px;
}

.pl-home-hero__city,
.pl-home-hero__zone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pl-home-hero__area-title,
.pl-home-hero__city {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--pl-hero-body-size);
  color: color-mix(in srgb, var(--pl-hero-text) 80%, #fff);
}

.pl-home-hero__zone .pl-home-hero__area-title {
  flex: 0 0 auto;
}

.pl-home-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pl-home-hero__chip {
  border-radius: 999px;
  border: 1px solid var(--pl-hero-chip-border);
  background: var(--pl-hero-chip-bg);
  color: var(--pl-hero-chip-text-hover);
  padding: 4px 10px;
  font-size: var(--pl-hero-body-size);
  cursor: default;
  transition: none;
}

.pl-home-hero__chip:hover,
.pl-home-hero__chip:focus-visible {
  background: var(--pl-hero-chip-bg-hover);
  color: var(--pl-hero-chip-text-hover);
  border-color: var(--pl-hero-chip-border-hover);
  outline: none;
}

.pl-home-hero__cta {
  margin: 0;
  display: flex;
  justify-content: center;
}

.pl-home-hero__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 0;
  width: 100%;
}

.pl-hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 2px;
  padding-bottom: 2px;
  margin-top: 0;
}

.pl-hero-cta-group:empty {
  display: none;
}

.pl-hero-cta-group .pl-home-hero__cta-row {
  margin-top: 0;
}

.pl-reassurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  gap: 12px;
  margin-top: 0;
  color: var(--pl-hero-text);
  font-size: var(--pl-hero-body-size);
}

.pl-reassurance:empty {
  display: none;
}

.pl-reassurance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
  min-width: 0;
}

.pl-reassurance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 12px;
  background: color-mix(in srgb, var(--pl-hero-surface) 72%, transparent);
}

.pl-reassurance-icon svg {
  width: 22px;
  height: 22px;
}

.pl-reassurance-text {
  min-width: 0;
  max-width: 120px;
  color: var(--pl-hero-text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.pl-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: color-mix(in srgb, var(--pl-hero-text) 76%, #fff);
  font-size: var(--pl-hero-body-size);
}

.pl-hero-meta:empty {
  display: none;
}

.pl-hero-meta-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pl-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pl-hero-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.pl-hero-meta-icon svg {
  width: 100%;
  height: 100%;
}

.pl-home-hero__city .pl-icon,
.pl-home-hero__city svg,
.pl-home-hero__city img,
.pl-home-hero__area-title .pl-icon,
.pl-home-hero__area-title svg,
.pl-home-hero__area-title img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.pl-hero-meta-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.pl-hero-meta-area .pl-home-hero__geo {
  gap: 8px;
}

.pl-hero-meta-area .pl-home-hero__area-title,
.pl-hero-meta-area .pl-home-hero__city {
  margin: 0;
}

.pl-hero-meta-area .pl-home-hero__zone {
  gap: 8px;
}

@media (max-width: 480px) {
  .pl-reassurance {
    gap: 8px;
    font-size: var(--pl-hero-body-size);
  }

  .pl-reassurance-text {
    max-width: 100%;
    font-size: var(--pl-hero-body-size);
    line-height: 1.2;
  }

  .pl-hero-meta { gap: 6px; }
}

.pl-home-hero[data-hero-initialized="1"].pl-home-hero--animated .pl-home-hero__cta-row {
  animation: pl-home-hero-fade-up 340ms ease both;
  animation-delay: 150ms;
}

.pl-home-hero[data-hero-initialized="1"].pl-home-hero--animated .pl-hero-meta {
  animation: pl-home-hero-fade-up 320ms ease both;
  animation-delay: 220ms;
}

.pl-home-hero[data-hero-initialized="1"].pl-home-hero--animated .pl-home-hero__cta-link,
.pl-home-hero[data-hero-initialized="1"].pl-home-hero--animated .pl-home-hero__info-inline {
  animation: pl-home-hero-heartbeat 1.35s ease-in-out infinite;
  animation-delay: 420ms;
}

.pl-home-hero__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--pl-accent-safe-fg-hover, var(--pl-hero-safe-fg));
  background: var(--pl-accent-safe-bg-hover, var(--pl-hero-safe-bg));
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid var(--pl-accent-safe-border-hover, var(--pl-hero-safe-border));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  min-height: 48px;
  box-sizing: border-box;
}

.pl-home-hero__cta-link:hover,
.pl-home-hero__cta-link:focus-visible {
  background: var(--pl-hero-safe-bg);
  color: var(--pl-hero-safe-fg);
  border-color: var(--pl-hero-safe-border);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.pl-home-hero__cta-link:active {
  background: var(--pl-accent-safe-bg-active, var(--pl-hero-safe-bg-hover));
  color: var(--pl-accent-safe-fg-active, var(--pl-hero-safe-fg-hover));
  border-color: var(--pl-accent-safe-border-active, var(--pl-hero-safe-border-hover));
}

.pl-home-hero__cta-link:visited {
  color: inherit;
}

.pl-home-hero__cta-link > span {
  color: inherit;
}

.pl-home-hero__cta-link:focus-visible,
.pl-home-hero__quick-action:focus-visible {
  outline: 2px solid var(--pl-content-accent, #0b63ce);
  outline-offset: 2px;
}

.pl-home-hero__info-inline {
  min-height: 48px;
  min-width: 88px;
  border: 1px solid color-mix(in srgb, var(--pl-hero-text) 26%, #fff);
  background: color-mix(in srgb, var(--pl-hero-surface) 88%, #fff 12%);
  color: var(--pl-hero-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 14px;
  border-radius: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.pl-home-hero__info-inline-text {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.pl-home-hero__info-inline:hover,
.pl-home-hero__info-inline:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  background: color-mix(in srgb, var(--pl-hero-surface) 78%, #fff 22%);
}

.pl-home-hero__modal[hidden] {
  display: none !important;
}

.pl-home-hero__modal {
  --pl-hero-modal-top-inset: 0px;
  --pl-hero-modal-bottom-inset: 0px;
  position: fixed;
  inset: var(--pl-hero-modal-top-inset) 0 var(--pl-hero-modal-bottom-inset) 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: auto;
}

.pl-home-hero__modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.58);
}

.pl-home-hero__modal-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(100%, 720px);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--pl-hero-text) 20%, #fff);
  background: var(--pl-hero-surface, #fff);
  color: var(--pl-hero-text, #101828);
  padding: 52px 18px 16px;
}

.pl-home-hero__modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--pl-hero-text) 22%, #fff);
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.pl-home-hero__modal-body {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 6px;
}

.pl-home-hero__modal-body > *:first-child {
  margin-top: 0;
}

.pl-home-hero__modal-body > *:last-child {
  margin-bottom: 0;
}

body.pl-modal-open {
  overflow: hidden;
}

body.pl-modal-open .pl-home-prototype__main {
  overflow: hidden;
}

@media (max-width: 767px) {
  .pl-home-hero__modal {
    padding: 12px 10px;
  }

  .pl-home-hero__modal-content {
    width: 100%;
    border-radius: 12px;
  }
}

@keyframes pl-home-hero-blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

.pl-home-prototype[data-pl-shell-mode="dark"] .pl-home-hero,
html[data-pl-shell-mode="dark"] .pl-home-prototype .pl-home-hero {
  --pl-hero-title: #ffffff;
  --pl-hero-text: #e5e7eb;
  --pl-hero-text-inverse: #ffffff;
  --pl-hero-surface: color-mix(in srgb, var(--pl-shell-surface, #111827) 88%, #ffffff 12%);
  --pl-hero-surface-alt: color-mix(in srgb, var(--pl-shell-surface-alt, #1f2937) 92%, #ffffff 8%);
  --pl-hero-chip-bg: var(--pl-accent-safe-bg-hover, var(--pl-accent-safe-bg, color-mix(in srgb, var(--pl-hero-accent) 22%, rgba(255, 255, 255, 0.1) 78%)));
  --pl-hero-chip-text: var(--pl-accent-safe-fg-hover, var(--pl-accent-safe-fg, color-mix(in srgb, var(--pl-hero-accent) 40%, #fff 60%)));
  --pl-hero-chip-border: var(--pl-accent-safe-border-hover, var(--pl-accent-safe-border, color-mix(in srgb, var(--pl-hero-accent) 36%, rgba(255, 255, 255, 0.1) 64%)));
}

.pl-home-prototype[data-pl-shell-mode="dark"] .pl-home-hero--color,
html[data-pl-shell-mode="dark"] .pl-home-prototype .pl-home-hero--color {
  background: var(--pl-home-section-gradient-active);
}

.pl-home-prototype[data-pl-shell-mode="dark"] .pl-home-prototype__section-frame,
html[data-pl-shell-mode="dark"] .pl-home-prototype .pl-home-prototype__section-frame {
  border-color: color-mix(in srgb, var(--pl-content-accent, #0b63ce) 42%, var(--pl-shell-surface, #111827) 58%);
}

.pl-home-prototype[data-pl-shell-mode="dark"] .pl-home-hero--image-strip,
html[data-pl-shell-mode="dark"] .pl-home-prototype .pl-home-hero--image-strip {
  background: var(--pl-home-section-gradient-active);
}

@media (max-width: 767px) {
  .pl-home-hero--image {
    min-height: 0;
  }

  .pl-home-hero--color {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .pl-home-hero--image-overlay {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    padding: 14px 8px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    overflow: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  .pl-home-hero--image-overlay .pl-home-hero__media-layer {
    position: absolute;
    inset: 0;
    width: auto;
    min-height: 0;
    aspect-ratio: auto;
  }

  .pl-home-hero--image-overlay .pl-home-hero__overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.72));
  }

  .pl-home-hero--image-overlay .pl-home-hero__bg-image {
    object-fit: cover;
    object-position: center center;
  }

  .pl-home-hero--image-overlay .pl-home-hero__content {
    order: initial;
    position: relative;
    z-index: 2;
    background: transparent;
    color: #fff;
    padding: 14px 8px 16px;
  }

  .pl-home-hero--image-overlay .pl-home-hero__description,
  .pl-home-hero--image-overlay .pl-home-hero__primary,
  .pl-home-hero--image-overlay .pl-home-hero__meta,
  .pl-home-hero--image-overlay .pl-home-hero__city,
  .pl-home-hero--image-overlay .pl-home-hero__area-title,
  .pl-home-hero--image-overlay .pl-reassurance,
  .pl-home-hero--image-overlay .pl-reassurance *,
  .pl-home-hero--image-overlay .pl-hero-meta,
  .pl-home-hero--image-overlay .pl-hero-meta * {
    color: #fff;
  }

  .pl-home-hero__cta {
    justify-content: center;
  }

  .pl-home-hero__content {
    padding-left: 8px;
    padding-right: 8px;
  }

  .pl-home-hero__info-inline {
    min-height: 48px;
    min-width: 86px;
    padding: 0 12px;
  }

  .pl-home-hero--image-strip {
    display: flex;
    flex-direction: column;
    row-gap: 0;
    padding: 0;
    overflow-y: visible;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  .pl-home-hero--image-strip .pl-home-hero__content {
    order: 1;
    padding: 12px 8px 14px;
    min-height: 0;
  }

  .pl-home-hero--image-overlay .pl-home-hero__media-layer,
  .pl-home-hero--image-strip .pl-home-hero__strip-media {
    display: none !important;
  }
}

.pl-hero-examples {
  display: none;
  position: relative !important;
}

@media (max-width: 767px) {
  body.pl-layout-no_identity_footer_sticky .pl-home-prototype__section[data-section-key="hero"],
  body.pl-layout-identity_footer_sticky .pl-home-prototype__section[data-section-key="hero"],
  body.pl-layout-no_identity_footer_sticky .pl-home-prototype__section[data-section-key="hero"] .pl-home-prototype__section-frame--hero,
  body.pl-layout-identity_footer_sticky .pl-home-prototype__section[data-section-key="hero"] .pl-home-prototype__section-frame--hero,
  body.pl-layout-no_identity_footer_sticky .pl-home-prototype__section[data-section-key="hero"] .pl-section-hero,
  body.pl-layout-identity_footer_sticky .pl-home-prototype__section[data-section-key="hero"] .pl-section-hero {
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
  }

  body.pl-layout-no_identity_footer_sticky .pl-home-prototype__section[data-section-key="hero"] .pl-home-hero,
  body.pl-layout-identity_footer_sticky .pl-home-prototype__section[data-section-key="hero"] .pl-home-hero {
    height: auto !important;
    min-height: 420px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .pl-section-hero {
    display: block;
  }

  .pl-section-hero > .pl-home-hero {
    position: relative;
    z-index: 2;
  }

  .pl-home-hero--image-overlay,
  .pl-home-hero--image-overlay .pl-home-hero__content,
  .pl-home-hero--image-overlay .pl-home-hero__description,
  .pl-home-hero--image-overlay .pl-home-hero__primary,
  .pl-home-hero--image-overlay .pl-home-hero__meta,
  .pl-home-hero--image-overlay .pl-home-hero__city,
  .pl-home-hero--image-overlay .pl-home-hero__area-title,
  .pl-home-hero--image-overlay .pl-reassurance,
  .pl-home-hero--image-overlay .pl-reassurance *,
  .pl-home-hero--image-overlay .pl-hero-meta,
  .pl-home-hero--image-overlay .pl-hero-meta * {
    color: var(--pl-hero-text);
  }

  .pl-home-hero--image-overlay {
    background: linear-gradient(165deg, var(--pl-hero-surface) 0%, var(--pl-hero-bg) 100%);
  }

  .pl-home-hero--image-overlay .pl-home-hero__content {
    background: transparent;
  }

  .pl-hero-examples {
    display: block;
    position: relative !important;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    background: transparent;
    touch-action: pan-y;
  }

  .pl-story-carousel {
    position: relative;
    display: flex;
    overflow-x: hidden;
    gap: 12px;
    margin-top: 0;
    padding: 0;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    scroll-padding-right: 0;
    overscroll-behavior-x: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
  }

  .pl-story-item {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: 9 / 16;
    max-height: 88vh;
    max-height: 88dvh;
    border-radius: 12px;
    overflow: hidden;
    background: var(--pl-content-surface-alt, #f8fafc);
    scroll-snap-align: start;
    touch-action: pan-y;
    pointer-events: none;
  }

  .pl-story-item__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
  }

  .pl-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.58);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease;
  }

  .pl-carousel-prev {
    left: 8px;
  }

  .pl-carousel-next {
    right: 8px;
  }

  .pl-carousel-nav:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
  }

  .pl-hero-examples.is-inview.has-multiple-slides .pl-carousel-nav {
    opacity: 1;
    pointer-events: auto;
  }

  .pl-hero-middle {
    margin-top: 26px;
    margin-bottom: 24px;
  }

  .pl-home-hero__cta-row {
    gap: 10px;
  }
}

@media (min-width: 768px) {
  .pl-hero-title-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
  }

  .pl-hero-title-icon .pl-icon,
  .pl-hero-title-icon svg {
    width: 26px;
    height: 26px;
  }

  .pl-home-hero__logo {
    padding: 5px;
  }

  .pl-reassurance-item {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }

  /* Desktop hero rhythm: reduce CTA->meta void and rebalance vertical spacing. */
  .pl-hero-top {
    gap: 16px;
  }

  .pl-hero-middle {
    margin: 26px 0 14px;
  }

  .pl-hero-bottom {
    margin-top: 16px;
  }

  .pl-home-hero__description + .pl-reassurance {
    margin-top: 4px;
  }

  .pl-hero-meta {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-home-hero *,
  .pl-home-hero__bg-image,
  .pl-home-hero__strip-image {
    animation: none !important;
    transition: none !important;
  }

  .pl-story-carousel {
    scroll-behavior: auto;
  }
}

@keyframes pl-home-hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pl-home-hero-strip-pan {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.06) translate3d(-1.6%, 0.8%, 0);
  }
}

@keyframes pl-home-hero-overlay-pan {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.07) translate3d(0.8%, -1%, 0);
  }
}

@keyframes pl-home-hero-heartbeat {
  0%,
  18%,
  42%,
  100% {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  }

  9%,
  30% {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 13px 26px rgba(0, 0, 0, 0.22);
  }
}

@media (min-width: 681px) {
  .pl-home-hero--image-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: stretch;
    column-gap: 16px;
    padding: 0;
  }

  .pl-home-hero--image-strip .pl-home-hero__content {
    order: initial;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    max-width: 600px;
    align-self: stretch;
    padding: 20px;
  }

  .pl-home-hero--image-strip .pl-home-hero__strip-media {
    order: initial;
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
    aspect-ratio: auto;
    height: 100%;
    min-height: 320px;
    width: 100%;
    align-self: stretch;
    margin-right: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
  }

  .pl-home-hero--no-media.pl-home-hero--image-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .pl-home-hero--no-media.pl-home-hero--image-strip .pl-home-hero__content {
    grid-column: 1 / -1;
    width: min(100%, 600px);
    min-width: 320px;
    margin-inline: auto;
  }

  .pl-home-hero--color .pl-home-hero__content {
    width: min(100%, 600px);
    min-width: 320px;
    margin-inline: auto;
  }

  .pl-home-hero--image-overlay .pl-home-hero__content {
    width: min(100%, 600px);
    min-width: 320px;
    margin-inline: auto;
  }

  .pl-home-hero--color .pl-home-hero__cta-row,
  .pl-home-hero--image-overlay .pl-home-hero__cta-row {
    justify-content: center;
    width: 100%;
    max-width: var(--pl-hero-text-max-width, 62ch);
    margin-inline: 0;
  }

  .pl-home-hero--color .pl-home-hero__cta,
  .pl-home-hero--image-overlay .pl-home-hero__cta {
    justify-content: center;
  }
}

@media (min-width: 768px) {

  .pl-home-hero__geo {
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }
}


