.pa-family-explorer {
    --pa-cyan: #28d6e5;
    --pa-line: rgba(75, 220, 234, 0.24);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: clamp(65px, 7vw, 110px) clamp(22px, 4.5vw, 72px);
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 8%, rgba(34, 217, 233, 0.06), transparent 24%),
        #05090c;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
}

.pa-family-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
    gap: clamp(45px, 8vw, 130px);
    align-items: end;
    margin-bottom: 42px;
}

.pa-family-kicker {
    margin: 0 0 22px !important;
    color: #89959b !important;
    font-size: 11px !important;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.pa-family-heading h2 {
    margin: 0 !important;
    color: #fff !important;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif !important;
    font-size: clamp(58px, 7vw, 112px) !important;
    font-weight: 900 !important;
    line-height: 0.82 !important;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.pa-family-heading h2 span {
    color: #66e2ec;
    text-shadow: 0 0 24px rgba(40, 214, 229, 0.32);
}

.pa-family-heading > p {
    max-width: 430px;
    margin: 0 0 8px !important;
    color: #8e999e !important;
    font-size: clamp(15px, 1.3vw, 18px) !important;
    line-height: 1.55;
}

.pa-family-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.pa-family-card {
    position: relative;
    min-height: clamp(250px, 22vw, 320px);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--pa-line);
    border-radius: 5px;
    background: #071015;
    color: #fff !important;
    transform: translateY(0);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.pa-family-card:nth-child(1),
.pa-family-card:nth-child(6) {
    grid-column: span 2;
}

.pa-family-card img {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.5s ease;
}

.pa-family-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(0deg, rgba(2, 7, 10, 0.96) 0%, rgba(2, 7, 10, 0.3) 48%, rgba(2, 7, 10, 0.08) 100%);
}

.pa-family-card::after {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -45%;
    z-index: -1;
    width: 18%;
    background: linear-gradient(90deg, transparent, rgba(152, 247, 255, 0.2), transparent);
    transform: skewX(-17deg);
    transition: left 0.75s ease;
}

.pa-family-card small {
    position: absolute;
    top: 22px;
    left: 22px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.pa-family-card strong {
    position: absolute;
    right: 72px;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(28px, 3vw, 43px);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    text-shadow: 0 3px 18px #000;
}

.pa-family-card i {
    --pa-arrow-size: 17px;
    --pa-arrow-inset: 11px;
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: var(--pa-cyan);
    color: #031014;
    font-size: 22px;
    font-style: normal;
    font-weight: 900;
    transition: transform 0.35s ease, background 0.35s ease;
}

.pa-family-card:hover,
.pa-family-card:focus-visible {
    border-color: #68eff8;
    box-shadow: 0 0 28px rgba(40, 214, 229, 0.19);
    transform: translateY(-5px);
}

.pa-family-card:hover img,
.pa-family-card:focus-visible img {
    transform: scale(1.055);
    filter: saturate(1.08) contrast(1.04);
}

.pa-family-card:hover::after,
.pa-family-card:focus-visible::after { left: 125%; }

.pa-family-card:hover i,
.pa-family-card:focus-visible i {
    background: #7cf3fb;
    transform: translate(2px, -2px);
}

.pa-reveal {
    opacity: 0;
    transform: translateY(28px);
}

.pa-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.75s ease var(--pa-delay, 0ms), transform 0.75s cubic-bezier(.2,.7,.2,1) var(--pa-delay, 0ms);
}

body .et-l--body .et_pb_section:has(.pa-family-explorer),
body .et-l--body .et_pb_row:has(.pa-family-explorer) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #05090c !important;
}

body .et-l--body .et_pb_module:has(.pa-family-explorer) { margin: 0 !important; }

@media (max-width: 980px) {
    .pa-family-heading { grid-template-columns: 1fr; gap: 25px; }
    .pa-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pa-family-card:nth-child(1), .pa-family-card:nth-child(6) { grid-column: span 2; }
}

@media (max-width: 560px) {
    .pa-family-explorer { padding-inline: 15px; }
    .pa-family-heading h2 { font-size: clamp(50px, 16vw, 72px) !important; }
    .pa-family-grid { grid-template-columns: 1fr; }
    .pa-family-card,
    .pa-family-card:nth-child(1),
    .pa-family-card:nth-child(6) { grid-column: auto; min-height: 265px; }
    .pa-family-card strong { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .pa-reveal { opacity: 1; transform: none; }
    .pa-reveal.is-visible { transition: none; }
    .pa-family-card, .pa-family-card img, .pa-family-card::after, .pa-family-card i { transition: none; }
}
