/* States: a tilted 3D tile map; the six states we serve rise up and open a panel. */
.pf-states-map { padding-top: clamp(60px, 7vw, 100px); }
.pf-states-map .pf-states-map__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; margin-top: 40px; }
.pf-states-map .pf-states-map__stage { perspective: 1600px; padding: 40px 0; }
.pf-states-map .pf-states-map__tmap { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(8, 1fr); gap: 6px; aspect-ratio: 12 / 8; transform-style: preserve-3d; transform: rotateX(52deg) rotateZ(-10deg) translateY(-4%); transition: transform 1.2s var(--pf-ease); }
.pf-states-map .pf-states-map__tile { --h: 0px; position: relative; border-radius: 6px; background: rgba(26, 60, 143, 0.1); border: 1px solid rgba(26, 60, 143, 0.14); display: grid; place-items: center; font-size: clamp(0.5rem, 0.9vw, 0.72rem); font-weight: 700; color: rgba(14, 26, 51, 0.35); transform-style: preserve-3d; transform: translateZ(var(--h)); transition: transform 0.7s var(--pf-ease), background-color 0.4s, opacity 0.6s; padding: 0; font-family: inherit; line-height: 1; }
.pf-js .pf-states-map .pf-states-map__tile { opacity: 0; }
.pf-js .pf-states-map .pf-states-map__stage.in .pf-states-map__tile { opacity: 1; transition-delay: calc(var(--d) * 12ms); }
.pf-states-map .pf-states-map__tile.is-srv { --h: 22px; background: #fff; border-color: var(--pf-blue); color: var(--pf-blue); font-size: clamp(0.6rem, 1.1vw, 0.9rem); cursor: pointer; }
.pf-states-map .pf-states-map__tile.is-srv::before, .pf-states-map .pf-states-map__tile.is-srv::after { content: ""; position: absolute; background: var(--pf-blue-2); transition: height 0.7s var(--pf-ease), width 0.7s var(--pf-ease); }
.pf-states-map .pf-states-map__tile.is-srv::before { left: -1px; right: -1px; top: 100%; height: var(--h); transform-origin: top; transform: rotateX(-90deg); background: var(--pf-blue-d); }
.pf-states-map .pf-states-map__tile.is-srv::after { top: -1px; bottom: -1px; left: 100%; width: var(--h); transform-origin: left; transform: rotateY(90deg); }
.pf-states-map .pf-states-map__tile.is-srv:hover { --h: 34px; }
.pf-states-map .pf-states-map__tile.is-srv[aria-selected="true"] { --h: 48px; background: var(--pf-amber); border-color: var(--pf-amber-d); color: var(--pf-ink); }
.pf-states-map .pf-states-map__tile.is-srv[aria-selected="true"]::before { background: #b87c0c; }
.pf-states-map .pf-states-map__tile.is-srv[aria-selected="true"]::after { background: var(--pf-amber-d); }
.pf-states-map .pf-states-map__legend { display: flex; gap: 20px; font-size: 0.88rem; color: var(--pf-muted); margin-top: 10px; flex-wrap: wrap; }
.pf-states-map .pf-states-map__legend p::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 8px; box-sizing: border-box; }
.pf-states-map .pf-states-map__legend-a::before { background: #fff; border: 1.5px solid var(--pf-blue); }
.pf-states-map .pf-states-map__legend-b::before { background: var(--pf-amber); }
.pf-states-map .pf-states-map__btns { display: none; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pf-states-map .pf-states-map__btns button { line-height: 1.6; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--pf-rule); font-weight: 700; font-size: 0.9rem; background: transparent; cursor: pointer; color: var(--pf-ink); }
.pf-states-map .pf-states-map__btns button[aria-selected="true"] { background: var(--pf-blue); color: #fff; border-color: var(--pf-blue); }
.pf-states-map .pf-states-map__panel { border-radius: 24px; padding: 34px; background: #fff; box-shadow: var(--pf-shadow); position: relative; overflow: hidden; box-sizing: border-box; }
.pf-js .pf-states-map .pf-states-map__panel { display: none; }
.pf-js .pf-states-map .pf-states-map__panel.is-active { display: block; }
.pf-states-map .pf-states-map__panel + .pf-states-map__panel { margin-top: 24px; }
.pf-js .pf-states-map .pf-states-map__panel + .pf-states-map__panel { margin-top: 0; }
.pf-states-map .pf-states-map__code { position: absolute; right: -10px; top: -24px; font-size: 9rem; font-variation-settings: "wdth" 125; font-weight: 900; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(26, 60, 143, 0.14); line-height: 1; pointer-events: none; }
.pf-states-map .pf-states-map__panel h3 { position: relative; font-size: clamp(2rem, 3.4vw, 3rem); font-variation-settings: "wdth" 118; font-weight: 850; letter-spacing: -0.04em; line-height: 1; }
.pf-states-map .pf-states-map__panel > p:not(.pf-states-map__code) { position: relative; color: var(--pf-muted); margin-top: 12px; }
.pf-states-map .pf-states-map__panel ul { position: relative; margin-top: 20px; display: grid; gap: 10px; }
.pf-states-map .pf-states-map__panel li { display: flex; gap: 10px; font-weight: 600; }
.pf-states-map .pf-states-map__panel li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 2px; background: url("../../svg/ok-go.svg") center / contain no-repeat; }
.pf-states-map .pf-states-map__panel .wp-block-buttons { position: relative; margin-top: 24px; }
.pf-states-map .pf-states-map__panel.enter > :not(.pf-states-map__code) { animation: pf-stIn 0.8s var(--pf-ease) both; }
.pf-states-map .pf-states-map__panel.enter > :nth-child(3) { animation-delay: 0.055s; }
.pf-states-map .pf-states-map__panel.enter > :nth-child(4) { animation-delay: 0.11s; }
.pf-states-map .pf-states-map__panel.enter > :nth-child(5) { animation-delay: 0.33s; }
@media (max-width: 960px) { .pf-states-map .pf-states-map__grid { grid-template-columns: 1fr; } .pf-states-map .pf-states-map__stage { padding: 0; } .pf-states-map .pf-states-map__btns { display: flex; } }
