/* Shared navigation and responsive home presentation. Original data and photos stay intact. */
.ph-root .ph-header {
  background: #fff;
  color: #111827;
  border-bottom: 1px solid #e4e9f0;
  box-shadow: 0 2px 14px #0c234508;
}
.ph-root .ph-header-row {
  direction: rtl;
  height: 86px;
  justify-content: flex-start;
  gap: 28px;
  padding-inline: 12px;
}
.ph-root .ph-original-logo {
  width: 66px;
  height: 66px;
}
.ph-root .ph-nav {
  justify-content: flex-start;
}
.ph-root .ph-nav-list {
  width: max-content;
  max-width: 100%;
  justify-content: flex-start;
  gap: 20px;
  padding: 0;
  margin: 0;
}
.ph-root .ph-nav-list > li {
  flex: 0 0 auto;
}
.ph-root .ph-nav a,
.ph-root .ph-nav-list > li > a,
.ph-root .ph-nav-parent > a,
.ph-root .ph-submenu-toggle,
.ph-root .ph-menu-toggle {
  color: #171c26;
}
.ph-root .ph-nav-list > li > a,
.ph-root .ph-nav-parent > a {
  font-size: 13px;
  padding-block: 20px;
}
.ph-root .ph-nav a:hover,
.ph-root .ph-nav a:focus-visible {
  color: #966500;
}
.ph-root .ph-nav :is(a, button):focus-visible,
.ph-root .ph-menu-toggle:focus-visible {
  outline: 2px solid #b17a00;
  outline-offset: 3px;
}
@media (min-width: 1101px) {
  .ph-root .ph-nav-dropdown {
    position: relative;
  }
  .ph-root .ph-nav-dropdown > .ph-megamenu {
    top: 100%;
    right: 0;
    left: auto;
    transform: none;
    width: min(680px, calc(100vw - 64px));
    max-width: none;
    text-align: right;
    direction: rtl;
  }
  .ph-root .ph-nav-dropdown > .ph-mega-journal {
    width: min(500px, calc(100vw - 64px));
  }
}

/* The photograph fills the whole hero. The dark layer is separate from the image. */
.ph-root .ph-hero {
  background: #071a2d;
}
.ph-root .ph-hero-visual {
  inset: 0;
  height: 100%;
}
.ph-root .ph-hero-visual img {
  object-fit: cover;
  object-position: left center;
}
.ph-root .ph-hero-visual::after {
  display: none;
}
.ph-root .ph-hero::before {
  background:
    linear-gradient(270deg, #041326d9 0%, #041326b3 28%, #04132645 47%, transparent 67%),
    linear-gradient(0deg, #041326bd 0%, transparent 34%);
}
.ph-root .ph-hero-inner {
  min-height: clamp(540px, 34vw, 660px);
  padding-block: 72px 24px;
  justify-content: space-between;
  gap: 52px;
}
.ph-root .ph-hero-copy {
  width: 46%;
  max-width: 520px;
  align-self: flex-start;
  padding: 20px 0 0;
  transform: none;
  text-align: right;
}
.ph-root .ph-hero-subtitle {
  color: #fff;
  font-family: inherit;
  font-size: clamp(27px, 2.25vw, 42px);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0;
  margin: 0;
  text-shadow: 0 2px 20px #0007;
}
.ph-root .ph-slogan-first,
.ph-root .ph-slogan-second {
  display: block;
  color: #fff;
}
.ph-root .ph-slogan-second {
  margin-top: 8px;
  padding-inline-start: 26px;
}
.ph-root .ph-hero-subtitle .ph-yellow-word {
  display: inline;
  color: #ffdb36;
  font-weight: 800;
}
.ph-root .ph-hero .ph-benefits {
  background: #051a30ab;
  border-color: #ffffff38;
  padding-block: 12px;
  margin: 0;
}
.ph-root .ph-hero .ph-benefits svg {
  width: 28px;
  height: 28px;
}
.ph-root .ph-search-intro {
  padding-block: 30px 0;
}
.ph-root .ph-search-intro h1 {
  color: #102943;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 800;
  line-height: 1.65;
  margin: 0;
}
.ph-root .ph-search-v9 {
  margin-top: 16px;
}
.ph-root .ph-search-v9 :is(input, select) {
  min-width: 0;
  font-size: 14px;
}

/* White identities are rendered from the original high-resolution brand images.
   The filter removes the dark decorative background; originals are never overwritten. */
.ph-root .ph-brand {
  background: linear-gradient(145deg, #103f72, #082b52);
  border: 1px solid #244f7b;
  box-shadow: 0 5px 14px #0a2d5010;
  padding: 16px 10px;
  min-height: 162px;
  gap: 7px;
}
.ph-root .ph-brand:hover,
.ph-root .ph-brand:focus-visible {
  border-color: #ffd34a;
  box-shadow: 0 6px 18px #0a2d5026;
}
.ph-root .ph-brand strong {
  color: #fff;
  font-size: 16px;
}
.ph-root .ph-brand-image {
  background: transparent;
  width: 154px;
  height: 94px;
  border-radius: 0;
  overflow: hidden;
}
.ph-root .ph-brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 116px;
  margin-inline: auto;
  overflow: hidden;
  fill: none;
  stroke: none;
}


@media (max-width: 1100px) {
  .ph-root .ph-header-row {
    height: 78px;
    justify-content: space-between;
    gap: 16px;
  }
  .ph-root .ph-original-logo {
    width: 60px;
    height: 60px;
  }
  .ph-root .ph-nav {
    top: 78px;
    background: #fff;
    border: 1px solid #e3e9f1;
    max-height: calc(100dvh - 100px);
    overscroll-behavior: contain;
  }
  .ph-root .ph-nav-list {
    display: block;
    width: 100%;
    padding: 12px 18px;
  }
  .ph-root .ph-nav-list > li {
    border-color: #e9edf3;
  }
  .ph-root .ph-nav-list > li > a,
  .ph-root .ph-nav-parent > a {
    font-size: 14px;
    padding-block: 13px;
  }
  .ph-root .ph-menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }
  .ph-root .ph-megamenu {
    width: 100%;
    max-width: 100%;
  }
}

/* A portrait photograph keeps the whole car visible on phones and tablets. */
@media (max-width: 900px) {
  .ph-root .ph-hero-inner {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 20px;
    gap: 0;
  }
  .ph-root .ph-hero-visual {
    height: 150vw;
    max-height: 900px;
  }
  .ph-root .ph-hero-visual img {
    object-fit: cover;
    object-position: center;
  }
  .ph-root .ph-hero::before {
    height: 150vw;
    max-height: 900px;
    background: linear-gradient(180deg, #031326b8 0%, #03132652 24%, transparent 46%, transparent 85%, #071a2d 100%);
  }
  .ph-root .ph-hero-copy {
    width: 100%;
    max-width: none;
    padding-top: 26px;
    min-height: min(150vw, 900px);
    text-align: center;
    transform: none;
  }
  .ph-root .ph-hero-subtitle {
    font-size: clamp(23px, 5.8vw, 35px);
    line-height: 1.75;
    margin: 0 auto;
    max-width: 570px;
  }
  .ph-root .ph-slogan-second {
    padding-inline-start: 12px;
    margin-top: 4px;
  }
  .ph-root .ph-hero .ph-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
    padding-block: 16px;
    backdrop-filter: blur(6px);
  }
  .ph-root .ph-benefits strong {
    font-size: 13px;
  }
  .ph-root .ph-benefits small {
    font-size: 11px;
    line-height: 1.8;
  }
  .ph-root .ph-search-intro {
    padding-top: 23px;
  }
  .ph-root .ph-search-v9 form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ph-root .ph-brand {
    min-height: 140px;
    padding: 12px 8px;
  }
  .ph-root .ph-brand-image {
    width: 125px;
    height: 80px;
  }
  .ph-root .ph-brand strong {
    font-size: 14px;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .ph-root .ph-hero-visual img {
    object-position: center;
  }
  .ph-root .ph-hero-copy {
    min-height: min(150vw, 900px);
    padding-top: 35px;
  }
}
@media (max-width: 480px) {
  .ph-root .ph-shell {
    width: calc(100% - 32px);
  }
  .ph-root .ph-search-v9 {
    padding: 18px 14px !important;
  }
  .ph-root .ph-search-v9 h2 {
    font-size: 20px;
    line-height: 1.7;
  }
  .ph-root .ph-search-v9 form {
    grid-template-columns: minmax(0, 1fr);
  }
  .ph-root .ph-search-v9 label {
    font-size: 13px;
  }
  .ph-root .ph-search-v9 :is(input, select) {
    font-size: 16px;
    min-height: 48px;
  }
  .ph-root .ph-search-v9 button {
    min-height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ph-root *, .ph-root *::before, .ph-root *::after {
    scroll-behavior: auto !important;
  }
}

/* Mobile contact access stays visible and expands into the original vertical stack. */
@media (max-width: 900px) {
  body:has(.ph-nav.is-open) .pk-contact {
    visibility: hidden;
  }
}
