/* Pricing page, Design Studio plans and the other blocks that keep a clear shape: plan cards, comparison
   table, FAQ, Talk to Sales strip, big figures, Design Studio hero / designs strip, testimonials. Owner: PRODUCTS. */

/* ---------- big figure (+300, 100%), counted up by the kit's [data-count] ---------- */
.p-big-num { font: 700 clamp(5rem, 17vw, 13rem)/.86 var(--font-display); letter-spacing: -.05em; color: var(--mint); font-variant-numeric: tabular-nums; text-shadow: 0 0 80px rgba(0, 216, 193, .4); }
.p-big-num__cap { margin-top: 14px; font: 600 clamp(.95rem, 1.7vw, 1.3rem)/1.3 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }

/* ---------- Pricing hero ---------- */
.p-pr-hero { position: relative; padding-block: calc(var(--p-top) + clamp(24px, 4vw, 56px)) clamp(40px, 6vw, 80px); }
.p-pr-hero::before { content: ""; position: absolute; inset: 0 -10% -10% 30%; background: radial-gradient(50% 50% at 60% 50%, rgba(0, 167, 149, .32), rgba(0, 167, 149, 0) 70%); pointer-events: none; }
.p-pr-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.p-pr-hero__copy { display: grid; justify-items: start; gap: 16px; }
.p-pr-hero__sub { font: 700 clamp(2rem, 5.6vw, 4.4rem)/1 var(--font-display); letter-spacing: -.035em; color: var(--mint) !important; }
.p-pr-hero__stat { margin-top: clamp(16px, 3vw, 36px); }
.p-pr-hero__pic { max-width: 430px; justify-self: center; width: 100%; }

/* ---------- plans ---------- */
.p-price { padding-block: clamp(70px, 10vw, 130px); }
.p-price--top { padding-top: clamp(30px, 4vw, 50px); }
.p-price__t { margin-bottom: clamp(48px, 6vw, 80px); }
.p-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.p-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px 28px 30px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)), var(--night-2); }
.motion .p-plan { transform: translateY(calc((1 - var(--v)) * 40px)); }
.p-plan--featured { border-color: rgba(0, 216, 193, .6); background: linear-gradient(180deg, rgba(0, 216, 193, .13), rgba(0, 216, 193, .02) 55%), var(--night-2); box-shadow: 0 0 70px rgba(0, 216, 193, .16); }
.p-plan__ribbon { position: absolute; top: -13px; left: 28px; padding: 7px 12px; border-radius: 8px; background: var(--gold); color: var(--on-gold); font: 700 12px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.p-plan__name { font: 700 1.6rem/1.1 var(--font-display); color: var(--ink); }
.p-plan__sub { margin-top: -8px; color: var(--soft); }
.p-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 4px; color: var(--soft); }
.p-plan__prev { flex-basis: 100%; color: var(--soft); font-size: 1.1rem; text-decoration: line-through; }
.p-plan__now { font: 700 clamp(2.6rem, 4.2vw, 3.6rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--ink); }
.p-plan__cur { margin-right: 2px; font-size: .5em; vertical-align: .8em; color: var(--mint); }
.p-plan__per { font-size: .95rem; }
.p-plan .btn { width: 100%; margin-top: 6px; }
.p-plan__list { display: grid; gap: 10px; list-style: none; margin: 10px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.p-plan__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); line-height: 1.45; }
.p-plan__list span[style] { color: var(--red) !important; } /* the content's dark red highlight, lifted for the dark background */
.p-plan__tick { flex: none; height: 1em; margin-top: .2em; font-size: 18px; color: var(--mint); }

/* ---------- comparison, FAQ, Talk to Sales ---------- */
.p-extras { display: grid; gap: clamp(40px, 6vw, 64px); margin-top: clamp(60px, 8vw, 100px); }
.p-cmp { position: relative; /* containing block for the screen-reader labels, so they scroll with the table */ overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: 18px; background: var(--night-2); }
.p-cmp__table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: .98rem; }
.p-cmp th, .p-cmp td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; color: var(--ink); }
.p-cmp thead th { background: #0e211d; font: 600 1rem/1.3 var(--font-display); }
.p-cmp thead th.is-featured { color: var(--mint); }
.p-cmp th.p-cmp__feature { position: sticky; left: 0; z-index: 1; width: 34%; min-width: 170px; text-align: left; font-weight: 500; background: var(--night-2); }
.p-cmp thead th.p-cmp__feature { background: #0e211d; }
.p-cmp td.is-featured { background: rgba(0, 216, 193, .06); }
.p-cmp tbody tr:last-child > * { border-bottom: 0; }
.p-cmp__yes { color: var(--mint); vertical-align: middle; }
.p-cmp__no, .p-cmp__lvl { color: var(--soft); }
.p-cmp__lvl { font-size: .92rem; }
.p-faq { border-top: 1px solid var(--line); }
.p-faq__item { border-bottom: 1px solid var(--line); }
.p-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding-block: 22px; list-style: none; cursor: pointer; font: 600 clamp(1.1rem, 2vw, 1.45rem)/1.3 var(--font-display); color: var(--ink); }
.p-faq__q::-webkit-details-marker { display: none; }
.p-faq__q::after { content: "+"; flex: none; font-size: 1.6em; line-height: 1; color: var(--mint); transition: transform .25s var(--ease); }
.p-faq__item[open] > .p-faq__q::after { transform: rotate(45deg); }
.p-faq__a { max-width: 70ch; padding-bottom: 24px; color: var(--soft); }
.p-talk { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(28px, 4vw, 44px); border-radius: 22px; border: 1px solid rgba(0, 216, 193, .35); background: radial-gradient(80% 140% at 100% 50%, rgba(0, 216, 193, .16), rgba(0, 216, 193, 0) 60%), var(--night-2); }
.p-talk__title { font: 700 clamp(1.5rem, 3vw, 2.3rem)/1.1 var(--font-display); letter-spacing: -.02em; }
.p-talk__text { margin: 8px 0 0; color: var(--soft); }
.p-help__phone { margin-top: 22px; font: 700 clamp(1.8rem, 4vw, 3rem)/1.1 var(--font-display); letter-spacing: -.02em; color: var(--mint); }
.p-help__phone p { margin: 0; }
.p-help__phone + .p-copy { margin-top: 10px; }

/* ---------- Design Studio: the drifting design collage ---------- */
.p-strip { margin-top: clamp(56px, 8vw, 100px); overflow: hidden; --shift: -30%; }
.p-strip img { display: block; width: 160vw; max-width: none; height: auto; transform: translateX(calc(var(--v, 1) * var(--shift))); }

/* ---------- testimonials: one big quote at a time ---------- */
.p-quotes { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.p-quotes__t { font-size: clamp(2.2rem, 6vw, 4.8rem); font-weight: 700; margin-bottom: clamp(36px, 5vw, 64px); }
.p-testi-carousel { position: relative; }
.p-testi-carousel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: 4px; }
.p-testi-carousel__viewport::-webkit-scrollbar { display: none; }
.p-testi-carousel__track { display: flex; gap: 10px; }
.p-testi-carousel__slide { flex: 0 0 100%; scroll-snap-align: start; }
.p-testi { display: grid; gap: 32px; padding: 4px 4px 8px; }
.p-testi__text { font: 500 clamp(1.15rem, 2.1vw, 1.75rem)/1.42 var(--font-display); letter-spacing: -.01em; color: var(--ink); max-width: 52ch; }
.p-testi__text::before { content: "\201C"; content: "\201C" / ""; display: block; height: .55em; font-size: 2.4em; line-height: 1; color: var(--mint); }
.p-testi__footer { display: flex; align-items: center; gap: 16px; }
.p-testi__image img { display: block; width: 50px; height: 50px; border-radius: 50%; background: #fff; object-fit: contain; }
.p-testi__cite { display: grid; font-style: normal; }
.p-testi__name { font: 600 1.05rem/1.3 var(--font-display); color: var(--ink); }
.p-testi__title { color: var(--soft); font-size: .95rem; }
.p-testi__arrow { position: absolute; bottom: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.p-testi__arrow:hover { background: var(--mint); border-color: var(--mint); color: var(--on-mint); }
.p-testi__arrow svg { height: 16px; }
.p-testi__arrow--prev { right: 58px; }
.p-testi__arrow--next { right: 0; }
.p-testi-carousel__dots { display: flex; gap: 4px; margin-top: 28px; }
.p-testi-carousel__dot { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.p-testi-carousel__dot::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); transition: background-color .2s; }
.p-testi-carousel__dot.is-active::before { background: var(--mint); }

/* ---------- phones ---------- */
@media (max-width: 900px) {
    .p-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; gap: 34px; }
}
@media (max-width: 760px) {
    .p-pr-hero__in { grid-template-columns: minmax(0, 1fr); }
    .p-pr-hero__pic { max-width: 70%; }
    .p-strip { --shift: -55%; }
    .p-strip img { width: 260vw; }
    .p-talk { flex-direction: column; align-items: flex-start; }
    .p-cmp__table { min-width: 540px; }
    .p-cmp th, .p-cmp td { padding: 12px 10px; }
    .p-cmp th.p-cmp__feature { width: 150px; min-width: 150px; }
}
