/* Pricing page */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Hero */
.p-hero { position: relative; overflow: hidden; padding: 80px 0 50px; text-align: center; background: linear-gradient(180deg, var(--sky) 0%, var(--sky-soft) 70%, #fff 100%); }
.p-hero .pin--red { left: 95px; top: 90px; }
.p-hero .pin--teal { right: 110px; top: 160px; }
.p-hero__title { max-width: 980px; margin: 0 auto; font-family: var(--font-head); font-weight: 800; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.2; letter-spacing: -0.05em; text-wrap: balance; }
.p-hero__text { max-width: 980px; margin: 24px auto 0; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.68; color: var(--muted); }
.p-hero .container { position: relative; }

/* Plan cards */
.p-plans { padding: 0 0 20px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px 28px; background: #fff; border: 1px solid var(--border); border-radius: 28px; }
.plan--dark { border-color: transparent; color: #fff; background: linear-gradient(152deg, #0b3a7a 7.7%, #062a59 92.3%); }
.plan__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sky); }
.plan__icon img { width: 24px; height: 24px; }
.plan--dark .plan__icon { background: rgba(20, 191, 165, .18); }
.plan__head { display: flex; flex-direction: column; gap: 4px; }
.plan h3 { font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 35px; letter-spacing: -0.44px; }
.plan__tag { font-size: 14px; line-height: 22.4px; opacity: .75; }
.plan__price { display: flex; align-items: flex-end; gap: 7px; height: 54px; padding-top: 10px; font-weight: 800; }
.plan__cur { font-size: 14px; line-height: 22px; color: var(--blue); padding-bottom: 0; }
.plan--dark .plan__cur { color: #14bfa5; }
.plan__amt { font-family: var(--font-head); font-size: 44px; line-height: 44px; letter-spacing: -1.32px; }
.plan__per { font-size: 13px; line-height: 20.8px; opacity: .7; }
.plan__min { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px; border-radius: 999px; background: var(--sky); color: var(--blue); font-weight: 700; font-size: 12px; line-height: 19.2px; }
.plan__min img { width: 14px; height: 14px; }
.plan--dark .plan__min { background: rgba(255,255,255,.1); color: #fff; }
.plan__badge { position: absolute; top: 36px; right: 28px; padding: 5px 12px; border-radius: 999px; background: #ff2854; color: #fff; font-weight: 800; font-size: 11px; line-height: 17.6px; letter-spacing: .88px; text-transform: uppercase; }
.plan__list { border-top: 1px solid var(--border); }
.plan--dark .plan__list { border-color: rgba(255,255,255,.14); }
.plan__list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.plan__list li:last-child { border-bottom: 0; }
.plan__list--single li { border-bottom: 1px dashed var(--border); }
.plan--dark .plan__list li, .plan--dark .plan__list--single li { border-color: rgba(255,255,255,.14); }
.plan__list li > div { display: flex; flex-direction: column; min-width: 0; }
.plan__list strong { font-weight: 700; font-size: 14px; line-height: 22.4px; }
.plan__list small { font-size: 12px; line-height: 19.2px; opacity: .65; max-width: 160px; }
.plan__list--single small { max-width: none; }
.plan__val { flex: none; max-width: 130px; text-align: right; font-weight: 700; font-size: 13px; line-height: 20.8px; }
.plan__cta { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.plan__btn { width: 100%; height: 50px; background: transparent; color: var(--blue); border-color: var(--blue); padding: 0 24px; }
.plan__btn:hover { background: var(--sky); }
.plan__btn img { width: 18px; height: 18px; }
.plan--dark .plan__btn { background: var(--blue); color: #fff; }
.plan--dark .plan__btn:hover { background: #1c70ee; }
.plan__more { font-weight: 700; font-size: 14px; line-height: 22.4px; color: var(--blue); transition: opacity .2s; }
.plan__more:hover { opacity: .75; text-decoration: underline; }

.tick { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #14bfa5; }
.tick img { width: 15px; height: 15px; }
.tick--34 { width: 34px; height: 34px; }
.tick--34 img { width: 17px; height: 17px; }

.includes { margin-top: 48px; padding: 32px; border-radius: 24px; background: var(--sky); }
.includes h3 { font-family: var(--font-head); font-weight: 800; font-size: 20px; line-height: 32px; }
.includes ul { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 24px; }
.includes li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; line-height: 22.4px; }
.p-note { max-width: 790px; margin: 20px auto 0; text-align: center; font-size: 13px; line-height: 20.8px; opacity: .7; }
.p-note strong { color: var(--blue); }

/* Comparison table */
.p-compare { padding: 80px 0 0; }
.p-compare .section__head { max-width: 760px; margin-bottom: 40px; }
.p-compare .section__title, .p-addons .section__title { font-size: clamp(28px, 3.2vw, 44.8px); letter-spacing: -1.344px; line-height: 1.12; }
.p-compare .section__lead, .p-addons .section__lead { font-size: 17px; line-height: 1.75; margin-top: 18px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: 24px; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.compare { width: 100%; min-width: 860px; border-collapse: collapse; table-layout: fixed; }
.compare col:first-child { width: 31.8%; }
.compare thead th, .compare thead td { padding: 25px 20px; vertical-align: middle; text-align: center; border-bottom: 1px solid var(--border); font-weight: 400; background: #fff; }
.compare thead th { display: table-cell; }
.compare .ph-name { display: block; font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 35px; letter-spacing: -.44px; }
.compare .ph-tag { display: block; margin-top: 4px; font-size: 14px; line-height: 22.4px; opacity: .75; }
.compare .ph-price { display: block; margin-top: 4px; font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 44px; letter-spacing: -1.32px; }
.compare .ph-price i { margin-right: 6px; font-family: var(--font-body); font-style: normal; font-size: 14px; letter-spacing: 0; color: var(--blue); }
.compare .col-ent--head { background: linear-gradient(170deg, #0b3a7a 7.7%, #062a59 92.3%); color: #fff; }
.compare .col-ent--head .ph-price i { color: #14bfa5; }
.compare tbody th[scope="row"] { padding: 14px 24px; text-align: left; font-weight: 600; font-size: 14px; line-height: 22.4px; }
.compare tbody td { padding: 14px 16px; text-align: center; }
.compare tbody tr:not(.grp) > * { border-bottom: 1px solid var(--border); height: 54px; }
.compare tbody td.col-ent { background: rgba(23, 101, 216, .05); }
.compare tbody td > span { vertical-align: middle; }
.compare .grp th { padding: 12px 24px; text-align: left; background: var(--navy); color: #fff; font-weight: 800; font-size: 11px; line-height: 17.6px; letter-spacing: 1.32px; text-transform: uppercase; }
.compare .grp td { padding: 0; background: var(--navy); text-align: center; }
.ai-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #ff2854; color: #fff; font-weight: 800; font-size: 11px; line-height: 17.6px; letter-spacing: .88px; text-transform: uppercase; }
.cell-text { font-weight: 700; font-size: 13px; line-height: 20.8px; }
.addon-pill { display: inline-block; padding: 4px 10px; border: 1px dashed #ff2854; border-radius: 999px; color: #ff2854; font-weight: 700; font-size: 12px; line-height: 15.6px; white-space: nowrap; }
.included { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; line-height: 20.8px; color: #0f9e89; }
.included img { width: 15px; height: 15px; }
.compare tr:last-child > * { border-bottom: 0 !important; }

/* Add-ons + form */
.p-addons { padding: 60px 0 100px; }
.p-addons .section__head { max-width: 760px; margin-bottom: 0; }
.addons { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.addon { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: 24px; }
.addon h3 { font-family: var(--font-head); font-weight: 800; font-size: 20px; line-height: 32px; }
.addon__badge { padding: 4px 12px; border-radius: 999px; background: rgba(23, 101, 216, .12); color: var(--blue); font-weight: 700; font-size: 12px; line-height: 19.2px; }
.addon ul { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.addon li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 21px; }

.quote { margin-top: 50px; border-radius: 15px; box-shadow: 0 12px 36px -12px rgba(6, 42, 89, .06); }
.quote .input { border-radius: 8px; }
.quote .phone { border-radius: 8px; }
.quote .form-card__head h2 { font-size: 28px; }
.quote__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.quote__foot .consent { flex: 1; }
.quote .form-submit { width: 258px; margin: 0; box-shadow: 0 12px 26px -8px rgba(23, 101, 216, .55); }

@media (max-width: 1100px) {
  .plans, .addons { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plan--dark { grid-column: span 2; }
  .includes ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .p-hero { padding: 56px 0 40px; }
  .p-addons { padding-bottom: 64px; }
  .p-compare { padding-top: 56px; }
}
@media (max-width: 700px) {
  .plans, .addons { grid-template-columns: minmax(0, 1fr); }
  .plan--dark { grid-column: auto; }
  .includes { padding: 24px 20px; }
  .includes ul { grid-template-columns: minmax(0, 1fr); }
  .quote__foot { flex-direction: column; align-items: stretch; }
  .quote .form-submit { width: 100%; }
}

/* Add-ons multi-select (js/pricing.js) */
.field__opt { font-weight: 400; color: var(--muted); }
.multi { position: relative; }
.multi::after { content: ""; position: absolute; right: 16px; top: 17px; width: 18px; height: 18px; background: url("../assets/icons/contact-chevron-down.svg") center / contain no-repeat; pointer-events: none; transition: transform .2s; }
.multi:has(.multi__btn[aria-expanded="true"])::after { transform: rotate(180deg); }
.multi__btn { width: 100%; display: flex; align-items: center; text-align: left; padding-right: 44px; cursor: pointer; color: var(--muted); background: #fff; }
.multi__btn.has-value { color: var(--navy); }
.multi__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.multi__panel { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 300px; overflow-y: auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 16px 40px rgba(6,42,89,.16); }
.multi__panel[hidden] { display: none; }
.multi__list { margin: 0; padding: 6px; list-style: none; }
.multi__list li label { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; font-size: 14px; color: var(--navy); cursor: pointer; }
.multi__list li label:hover { background: var(--sky); }
.multi__list input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--blue); cursor: pointer; }
.multi__empty { padding: 12px; font-size: 14px; color: var(--muted); }

/* Comparison-table intro sentence stays on one line on desktop; it wraps normally on smaller screens */
@media (min-width: 1200px) {
  .p-compare .section__head { max-width: none; }
  .p-compare .section__lead { white-space: nowrap; }
}

/* Light-blue background behind the comparison table and add-ons, as in the design; and no seam inside the dark group-heading rows */
.p-compare, .p-addons { background: var(--sky); }
.p-compare { padding-top: 90px; }
.compare .grp > * { border: 0; }
.compare .grp td { box-shadow: -0.2px 0 0 var(--navy), inset 0 2px 0 rgba(255, 255, 255, .24); }
.compare .grp td .ai-pill { display: block; width: fit-content; margin: 0 auto; }

/* Quote form: the submit button stays on the right now that the consent checkbox is gone */
.quote__foot { justify-content: flex-end; }
@media (max-width: 900px) { .quote__foot { justify-content: stretch; } }

/* Phones: smaller hero heading, matching the feature pages */
@media (max-width: 560px) {
  .p-hero { padding-top: 32px; }
  .p-hero__title { font-size: 30px; line-height: 38px; letter-spacing: -1px; }
}

/* Tablets: smaller hero heading and tighter top spacing */
@media (min-width: 561px) and (max-width: 900px) {
  .p-hero { padding-top: 32px; }
  .p-hero__title { font-size: 36px; line-height: 44px; letter-spacing: -1.5px; }
}
