/* Standard container and a calm, compact home page. Replaces the oversized v4 override. */
.ph-root .ph-shell,
.ph-root .pk-home-videos .container {
    max-width: 1200px;
    width: calc(100% - 48px);
    margin-inline: auto;
}
.ph-root .ph-header-row {
    height: 76px;
    gap: 20px;
    position: relative;
}
.ph-root .ph-wordmark {
    font-size: 21px;
    gap: 9px;
}
.ph-root .ph-original-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}
.ph-root .ph-header-actions {
    gap: 8px;
    flex-shrink: 0;
}
.ph-root .ph-header-actions .ph-call {
    display: none;
}
.ph-root .ph-nav {
    flex: 1;
    min-width: 0;
}
.ph-root .ph-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    list-style: none;
    padding: 0;
    margin: 0;
    direction: rtl;
}
.ph-root .ph-nav-list > li {
    padding: 0;
    margin: 0;
    list-style: none;
}
.ph-root .ph-nav-list > li > a,
.ph-root .ph-nav-parent > a {
    font-size: 12px;
    font-weight: 600;
    color: #e0e8f2;
    white-space: nowrap;
    display: block;
    padding: 19px 0;
}
.ph-root .ph-nav-parent {
    display: flex;
    align-items: center;
    gap: 2px;
}
.ph-root .ph-submenu-toggle {
    background: none;
    border: 0;
    color: #dce7f4;
    font-size: 15px;
    padding: 8px 3px;
    min-width: 24px;
    line-height: 1;
}
.ph-root .ph-submenu-toggle[aria-expanded='true'] span {
    display: block;
    transform: rotate(180deg);
}
.ph-root .ph-megamenu {
    position: absolute;
    right: 0;
    top: calc(100% - 5px);
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 680px;
    max-width: 100%;
    background: #fff;
    border: 1px solid #e0e7f0;
    border-radius: 14px;
    box-shadow: 0 18px 50px #04192e28;
    color: #18344e;
    z-index: 70;
    max-height: min(68vh, 520px);
    overflow-y: auto;
}
.ph-root .ph-megamenu[hidden] {
    display: none;
}
.ph-root .ph-mega-journal {
    width: 500px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ph-root .ph-menu-column {
    min-width: 0;
}
.ph-root .ph-menu-column h3 {
    font-size: 14px;
    color: #0d304e;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5ebf3;
}
.ph-root .ph-menu-column a {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #4e6580;
    padding: 7px 9px;
    border-radius: 6px;
    white-space: normal;
    line-height: 1.7;
}
.ph-root .ph-menu-column a:hover,
.ph-root .ph-menu-column a:focus-visible {
    background: #eff5fc;
    color: #102c49;
}
.ph-root .ph-hero-inner {
    grid-template-columns: 43% 57%;
    min-height: 565px;
    padding-top: 30px;
    padding-bottom: 24px;
}
.ph-root .ph-hero-copy {
    max-width: 465px;
}
.ph-root .ph-hero h1 {
    font-size: 43px;
    line-height: 1.6;
    margin: 9px 0;
}
.ph-root .ph-eyebrow {
    font-size: 13px;
}
.ph-root .ph-hero-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
}
.ph-root .ph-hero .ph-glass {
    padding: 18px;
}
.ph-root .ph-hero form h2 {
    font-size: 20px;
}
.ph-root .ph-hero form p {
    font-size: 11px;
}
.ph-root .ph-benefits {
    margin-right: 20px;
    padding-top: 18px;
}
.ph-root .ph-benefits strong {
    font-size: 12px;
}
.ph-root .ph-benefits small {
    font-size: 10px;
}
.ph-root .ph-benefits svg {
    width: 31px;
    height: 31px;
}
.ph-root .ph-section-heading h2 {
    font-size: 27px;
}
.ph-root .ph-section-heading p {
    font-size: 12px;
}
.ph-root .ph-why {
    padding: 27px 0;
}
.ph-root .ph-why-grid {
    grid-template-columns: 180px 1fr;
    gap: 26px;
}
.ph-root .ph-why-image {
    width: 180px;
    height: 220px;
}
.ph-root .ph-why-cards article {
    padding: 18px 10px;
}
.ph-root .ph-why-cards h3 {
    font-size: 16px;
}
.ph-root .ph-why-cards p {
    font-size: 11px;
}
.ph-root .ph-why-cards svg {
    width: 30px;
    height: 30px;
}
.ph-root .ph-brands {
    padding: 25px 0 18px;
}
.ph-root .ph-carousel-heading {
    margin-bottom: 15px;
}
.ph-root .ph-carousel-heading h2 {
    font-size: 24px;
}
.ph-root .ph-carousel-heading p {
    font-size: 11px;
}
.ph-root .ph-track,
.ph-root .pk-video-track {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.ph-root .ph-track::-webkit-scrollbar,
.ph-root .pk-video-track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.ph-root .ph-brand-track {
    gap: 16px;
    cursor: grab;
    touch-action: pan-x pan-y;
    scroll-padding-inline: 2px;
}
.ph-root .ph-brand-track.ph-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
    scroll-behavior: auto;
}
.ph-root .ph-brand-track.ph-dragging a {
    cursor: grabbing;
    user-select: none;
}
.ph-root .ph-brand {
    flex-basis: calc((100% - 64px) / 5);
    padding: 16px 10px 14px;
    gap: 8px;
    border-radius: 12px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.ph-root .ph-brand-image {
    height: 86px;
    width: 134px;
    max-width: 100%;
    position: relative;
    background: #fff;
    overflow: hidden;
}
.ph-root .ph-brand-image img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 156px !important;
    height: 102px !important;
    max-width: none;
    object-fit: cover;
    filter: grayscale(1) invert(1) contrast(2.4);
    transform: translate(-50%, -50%);
    image-rendering: auto;
    pointer-events: none;
}
.ph-root .ph-brand strong {
    font-size: 16px;
    line-height: 1.7;
}
.ph-root .ph-carousel-tools {
    gap: 7px;
}
.ph-root .ph-carousel-tools a {
    margin-left: 12px;
    font-size: 11px;
}
.ph-root .ph-carousel-tools button,
.ph-root .ph-autoplay {
    width: 30px;
    height: 30px;
    font-size: 24px;
    border-width: 1px;
}
.ph-root button.ph-autoplay {
    font-size: 12px;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f1f6fd;
    border: 1px solid #b5c7de;
    color: #315574;
}
.ph-root button.ph-autoplay[aria-pressed='true'] {
    background: #fff8df;
    border-color: #d7b24a;
}
.ph-root .ph-calculator-section {
    padding-top: 25px;
}
.ph-root .ph-calculator .ph-section-heading h2 {
    font-size: 25px;
}
.ph-root .ph-calculator .ph-section-heading p {
    font-size: 11px;
}
.ph-root .ph-car-photo,
.ph-root .ph-car-photo img {
    height: 115px;
}
.ph-root .ph-car-card h3 {
    font-size: 15px;
}
.ph-root .ph-car-card p {
    font-size: 10px;
}
.ph-root .ph-small-cta {
    font-size: 11px;
    padding: 6px;
}
.ph-root .ph-car-track:has(> article:last-child:nth-child(-n + 4)),
.ph-root .ph-customer-track:has(> article:last-child:nth-child(-n + 3)) {
    justify-content: center;
}
.ph-root .ph-car-track:has(> article:last-child:nth-child(-n + 4)) .ph-car-card {
    flex-basis: 220px;
}
.ph-root .ph-customer-track:has(> article:last-child:nth-child(-n + 3)) .ph-customer-card {
    flex-basis: 280px;
}
.ph-root .ph-article-grid:has(> article:only-child) {
    grid-template-columns: minmax(0, 380px);
    justify-content: center;
}
.ph-root .ph-customer-card h3 {
    font-size: 14px;
}
.ph-root .ph-customer-card p {
    font-size: 11px;
}
.ph-root .ph-bottom-grid {
    gap: 22px;
}
.ph-root .ph-consultation h2,
.ph-root .ph-faq h2 {
    font-size: 24px;
}
.ph-root .ph-faq summary {
    font-size: 12px;
    padding-block: 9px;
}
.ph-root .ph-consultation > p {
    font-size: 11px;
}
.ph-root .ph-consultation label {
    font-size: 12px;
}
.ph-root .ph-lead-form button:disabled {
    opacity: 0.65;
    cursor: wait;
}
@media (max-width: 1100px) {
    .ph-root .ph-header-row {
        height: 66px;
    }
    .ph-root .ph-menu-toggle {
        display: block;
        order: 3;
    }
    .ph-root .ph-header-actions {
        margin-right: auto;
    }
    .ph-root .ph-nav {
        display: none;
        position: absolute;
        top: 66px;
        right: 0;
        left: 0;
        background: #082a47;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 14px 28px #00172b30;
        max-height: calc(100dvh - 140px);
        overflow-y: auto;
    }
    .ph-root .ph-nav.is-open {
        display: block;
    }
    .ph-root .ph-nav-list {
        display: block;
        padding: 8px 18px;
    }
    .ph-root .ph-nav-list > li {
        border-bottom: 1px solid #ffffff13;
    }
    .ph-root .ph-nav-list > li:last-child {
        border-bottom: 0;
    }
    .ph-root .ph-nav-list > li > a,
    .ph-root .ph-nav-parent > a {
        padding: 12px 0;
        font-size: 13px;
        border: 0;
        flex: 1;
    }
    .ph-root .ph-submenu-toggle {
        min-width: 44px;
        min-height: 44px;
    }
    .ph-root .ph-megamenu {
        position: static;
        width: 100%;
        max-height: none;
        padding: 15px;
        background: #f6f9fe;
        box-shadow: none;
        border-radius: 9px;
        margin-bottom: 12px;
        gap: 18px;
    }
    .ph-root .ph-mega-journal {
        width: 100%;
    }
    .ph-root .ph-hero-inner {
        min-height: 555px;
    }
    .ph-root .ph-hero h1 {
        font-size: 37px;
    }
    .ph-root .ph-brand {
        flex-basis: calc((100% - 48px) / 4);
    }
}
@media (max-width: 900px) {
    .ph-root .ph-shell,
    .ph-root .pk-home-videos .container {
        width: calc(100% - 40px);
    }
    .ph-root .ph-hero h1 {
        font-size: 34px;
    }
    .ph-root .ph-hero-copy {
        max-width: 100%;
    }
    .ph-root .ph-hero-inner {
        grid-template-columns: 47% 53%;
        min-height: 565px;
    }
    .ph-root .ph-why-grid {
        grid-template-columns: 140px 1fr;
        gap: 20px;
    }
    .ph-root .ph-why-image {
        width: 140px;
        height: 245px;
    }
    .ph-root .ph-why-cards article {
        padding: 13px 9px;
    }
    .ph-root .ph-why-cards h3 {
        font-size: 15px;
    }
    .ph-root .ph-brand-image {
        height: 78px;
        width: 118px;
    }
    .ph-root .ph-brand-image img {
        width: 139px !important;
        height: 91px !important;
    }
    .ph-root .ph-brand strong {
        font-size: 14px;
    }
    .ph-root .ph-brand {
        padding: 14px 8px;
    }
}
@media (max-width: 600px) {
    .ph-root .ph-shell,
    .ph-root .pk-home-videos .container {
        width: calc(100% - 32px);
    }
    .ph-root .ph-header-row {
        height: 62px;
        gap: 10px;
    }
    .ph-root .ph-nav {
        top: 62px;
    }
    .ph-root .ph-wordmark {
        font-size: 18px;
        gap: 7px;
    }
    .ph-root .ph-original-logo {
        width: 42px;
        height: 42px;
    }
    .ph-root .ph-megamenu,
    .ph-root .ph-mega-journal {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .ph-root .ph-header-actions .ph-button {
        min-width: 34px;
        min-height: 36px;
    }
    .ph-root .ph-hero-inner {
        min-height: 0;
        display: flex;
        padding-top: 255px;
        padding-bottom: 20px;
    }
    .ph-root .ph-hero h1 {
        font-size: 32px;
        line-height: 1.55;
    }
    .ph-root .ph-eyebrow,
    .ph-root .ph-hero-subtitle {
        font-size: 11px;
    }
    .ph-root .ph-hero .ph-glass {
        padding: 16px;
    }
    .ph-root .ph-hero form h2 {
        font-size: 18px;
    }
    .ph-root .ph-benefits {
        margin: 20px 0 0;
        padding: 0;
    }
    .ph-root .ph-benefits strong {
        font-size: 10px;
    }
    .ph-root .ph-benefits small {
        font-size: 9px;
    }
    .ph-root .ph-why-grid {
        display: block;
    }
    .ph-root .ph-why-cards article {
        padding: 17px 9px;
    }
    .ph-root .ph-section-heading h2 {
        font-size: 22px;
    }
    .ph-root .ph-section-heading p {
        font-size: 11px;
    }
    .ph-root .ph-carousel-heading h2 {
        font-size: 20px;
    }
    .ph-root .ph-carousel-heading p {
        font-size: 10px;
    }
    .ph-root .ph-carousel-tools a {
        font-size: 9px;
        margin-left: 2px;
    }
    .ph-root .ph-carousel-tools {
        gap: 5px;
    }
    .ph-root .ph-carousel-tools button {
        width: 27px;
        height: 27px;
        font-size: 22px;
    }
    .ph-root .ph-carousel-tools button.ph-autoplay {
        font-size: 11px;
    }
    .ph-root .ph-brand-track {
        gap: 12px;
    }
    .ph-root .ph-brand {
        flex-basis: calc((100% - 24px) / 2.4);
        padding: 12px 6px;
        gap: 6px;
    }
    .ph-root .ph-brand-image {
        height: 65px;
        width: 98px;
    }
    .ph-root .ph-brand-image img {
        width: 120px !important;
        height: 78px !important;
    }
    .ph-root .ph-brand strong {
        font-size: 13px;
    }
    .ph-root .ph-car-track:has(> article:last-child:nth-child(-n + 4)),
    .ph-root .ph-customer-track:has(> article:last-child:nth-child(-n + 3)) {
        justify-content: flex-start;
    }
    .ph-root .ph-car-track:has(> article:last-child:nth-child(-n + 4)) .ph-car-card {
        flex-basis: 72%;
    }
    .ph-root .ph-customer-track:has(> article:last-child:nth-child(-n + 3)) .ph-customer-card {
        flex-basis: 82%;
    }
    .ph-root .ph-calc-results dl {
        gap: 10px;
    }
    .ph-root .ph-consultation h2,
    .ph-root .ph-faq h2 {
        font-size: 22px;
    }
    .ph-root .ph-faq summary {
        font-size: 11px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ph-root .ph-brand-track {
        scroll-behavior: auto;
    }
}

/* Client home revision: compact hero, eight benefits, full-width FAQ. */
.ph-root .ph-hero-copy { padding-block: 30px; }
.ph-root .ph-bottom-grid { grid-template-columns: minmax(0, 1fr); }
.ph-root .ph-why-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 800px) {
    .ph-root .ph-why-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ph-root .ph-hero-copy { padding-block: 15px; }
}
