/**
 * Packages (v3): page-templates/page-package-v3.php (hosting, marketing and design plans).
 *
 * Sections: hero with promises and the framed artwork, plan cards with key specs, the full
 * comparison table in collapsible groups (sticky plan header, sticky feature column on small
 * screens), what every plan includes, how it works on the accent band, related packages,
 * questions and the form. The accent follows the category (hosting royal, marketing magenta,
 * design violet); the template's CTA tone is royal.
 *
 * Tokens, hero, FAQ come from v3-base.css; accents, hero tint, framed artwork, CTA strip, swipe
 * rows and .v3-fit frames from v3-sections.css; the form from v3-form.css.
 */

.v3-pk { --pill: var(--accent); }

/* ── Shared section type ─────────────────────────────────────────────── */
.acma-v3 .v3-pksec__title { max-width: 24ch; font-size: var(--v3-title-fs); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: var(--v3-ink); text-wrap: balance; }
.acma-v3 .v3-pksec__title--light { color: #fff; }
.acma-v3 .v3-pksec__lead { max-width: 60ch; font-size: clamp(16px, .3vw + 13px, 21px); line-height: 1.6; color: var(--v3-text); }
.v3-pksec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 112px); align-items: start; }
.v3-pksec__head > :not(h2) { padding-top: .4em; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.acma-v3 .v3-pkhero .v3-hero__title { max-width: 16ch; }
.acma-v3 .v3-pkhero__promises { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 28px; margin-top: clamp(24px, 2.4vw, 40px); list-style: none; }
.acma-v3 .v3-pkhero__promises li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--v3-ink); }
.acma-v3 .v3-pkhero__promises svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent); color: #fff; }

/* ── Plan cards ──────────────────────────────────────────────────────── */
.v3-pkplans { padding-block: var(--v3-section); }
.acma-v3 .v3-pkplans__grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 22px); margin-top: clamp(36px, 3.4vw, 64px); list-style: none; }
.acma-v3 .v3-pkplans__grid.is-3 { --cols: 3; }
.acma-v3 .v3-pkplans__grid.is-5 { --cols: 5; }
.v3-pkcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.2vw, 36px); border-radius: clamp(16px, 1.3vw, 26px); background: #fff; box-shadow: inset 0 4px 0 var(--accent), 0 0 0 1px var(--v3-line); transition: transform .45s var(--v3-ease), box-shadow .35s; }
.v3-pkcard:hover { transform: translateY(-4px); box-shadow: inset 0 4px 0 var(--accent), 0 0 0 1px var(--accent), 0 28px 56px -34px rgba(14, 22, 34, .35); }
.acma-v3 .v3-pkcard__name { font-size: clamp(22px, .7vw + 15px, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--v3-ink); }
.acma-v3 .v3-pkcard__price { margin-top: 4px; font-size: clamp(18px, .4vw + 14px, 22px); font-weight: 700; color: var(--accent); }
/* What drives the price, under "Price on request" (the page's own line, else Site copy). */
.acma-v3 .v3-pkcard__note { margin-top: -4px; font-size: 14px; line-height: 1.5; color: var(--v3-muted); }
.acma-v3 .v3-pkcard__specs { flex: 1; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--v3-line); list-style: none; }
.acma-v3 .v3-pkcard__specs li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; padding-block: 6px; font-size: 15px; line-height: 1.45; color: var(--v3-ink); }
.acma-v3 .v3-pkcard__specs svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.acma-v3 .v3-pkcard__specs li.is-off { color: var(--v3-muted); }
.acma-v3 .v3-pkcard__specs li.is-off svg { background: var(--v3-surface); color: var(--v3-muted); }
.acma-v3 .v3-pkcard__specs strong { font-weight: 700; }
.acma-v3 .v3-pkcard__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; margin-top: 10px; padding: 0 28px; border-radius: 999px; background: var(--v3-navy); font-size: 17px; font-weight: 700; color: #fff; text-decoration: none; text-align: center; transition: background-color .3s; }
.acma-v3 .v3-pkcard__btn:is(:hover, :focus-visible) { background: var(--accent); color: #fff; }
.v3-pkcard__btn .v3-arrow { width: 18px; height: 18px; flex: none; }
/* The label stays on one line (it wrapped in the five-plan grid at 1200 to 1535px). */
.acma-v3 .v3-pkcard__btn > span { white-space: nowrap; }
html:is(.translated-ltr, .translated-rtl) .acma-v3 .v3-pkcard__btn > span { white-space: normal; } /* Longer translated labels may wrap. */
@media (min-width: 1200px) and (max-width: 1535.98px) {
	.acma-v3 .v3-pkplans__grid.is-5 .v3-pkcard { padding-inline: 18px; }
	.acma-v3 .v3-pkplans__grid.is-5 .v3-pkcard__btn { gap: 8px; padding-inline: 16px; font-size: 16px; }
}

/* ── Comparison table ────────────────────────────────────────────────── */
.v3-pkcmp { padding-block: var(--v3-section); }
.acma-v3 .v3-pkcmp__all { min-height: 44px; padding: 8px 20px; border: 1px solid var(--v3-line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; color: var(--v3-ink); transition: border-color .25s, color .25s; }
.acma-v3 .v3-pkcmp__all:is(:hover, :focus-visible) { border-color: var(--accent); color: var(--accent); }
/* position: relative keeps the hidden cell labels (absolutely positioned) inside the scroll box. */
.v3-pkcmp__scroll { position: relative; margin-top: clamp(28px, 2.6vw, 48px); overflow-x: auto; border-radius: clamp(14px, 1.1vw, 22px); background: #fff; box-shadow: 0 0 0 1px var(--v3-line); }
.acma-v3 .v3-pkcmp__table { width: 100%; min-width: calc(220px + var(--plans) * 120px); border-collapse: separate; border-spacing: 0; font-size: 15px; }
.acma-v3 .v3-pkcmp__table :is(th, td) { padding: 12px 16px; border-bottom: 1px solid var(--v3-line); text-align: center; vertical-align: middle; }
.acma-v3 .v3-pkcmp__table tbody th[scope="row"] { width: 34%; text-align: left; font-weight: 500; color: var(--v3-ink); background: #fff; }
.acma-v3 .v3-pkcmp__table td { color: var(--v3-ink); font-weight: 600; }
.acma-v3 .v3-pkcmp__table thead th { position: sticky; top: 0; z-index: 2; padding-block: 16px; background: var(--v3-navy); font-size: 16px; font-weight: 700; color: #fff; }
.acma-v3 .v3-pkcmp__table thead th:first-child { background: var(--v3-navy); }
.acma-v3 .v3-pkcmp__table tbody tr:hover :is(th, td) { background: color-mix(in srgb, var(--accent) 5%, #fff); }
.acma-v3 .v3-pkcmp__head th { padding: 0; background: var(--v3-surface); }
.acma-v3 .v3-pkcmp__head button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 14px 16px; border: 0; background: none; text-align: left; font-size: 16px; font-weight: 700; color: var(--v3-ink); }
.acma-v3 .v3-pkcmp__head button:is(:hover, :focus-visible) { color: var(--accent); }
.v3-pkcmp__icon { position: relative; flex: none; width: 14px; height: 14px; }
.v3-pkcmp__icon::before, .v3-pkcmp__icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--v3-ease); }
.v3-pkcmp__icon::after { transform: rotate(90deg); }
.acma-v3 .v3-pkcmp__head button[aria-expanded="true"] .v3-pkcmp__icon::after { transform: none; }
.acma-v3 .v3-pkcmp__rows[hidden] { display: none; }
.acma-v3 .v3-pkcmp__sub th { padding-block: 10px; background: color-mix(in srgb, var(--accent) 7%, #fff); text-align: left; font-size: 14px; font-weight: 700; color: var(--accent); }
.v3-pk__yes, .v3-pk__no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; }
.v3-pk__yes { background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.v3-pk__no { color: color-mix(in srgb, var(--v3-muted) 43%, var(--v3-field-line)); }
.v3-pk__yes svg, .v3-pk__no svg { width: 18px; height: 18px; }

/* ── Included with every plan ────────────────────────────────────────── */
.v3-pkinc { padding-block: var(--v3-section); }
.acma-v3 .v3-pkinc__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 22px); margin-top: clamp(36px, 3.4vw, 64px); list-style: none; }
.v3-pkinc__card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.2vw, 36px); border-radius: clamp(14px, 1.1vw, 22px); background: #fff; overflow: hidden; transition: transform .45s var(--v3-ease), box-shadow .35s; }
.v3-pkinc__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); transform: scaleX(.2); transform-origin: left; transition: transform .6s var(--v3-ease-io); }
main.acma-v3 > .is-white .v3-pkinc__card { background: var(--v3-surface); }
.v3-pkinc__card:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -34px rgba(14, 22, 34, .35); }
.v3-pkinc__card:hover::before { transform: none; }
.acma-v3 .v3-pkinc__n { font-size: 15px; font-weight: 700; color: var(--accent); }
.acma-v3 .v3-pkinc__title { font-size: clamp(19px, .45vw + 14px, 24px); font-weight: 700; line-height: 1.25; color: var(--v3-ink); }
.acma-v3 .v3-pkinc__text { line-height: 1.6; color: var(--v3-text); }

/* ── How it works: accent band with a numbered line ──────────────────── */
.v3-pkstep { padding-block: var(--v3-section); background: var(--accent); color: #fff; }
.acma-v3 .v3-pkstep .v3-pksec__lead { color: rgba(255, 255, 255, .9); }
.acma-v3 .v3-pkstep__line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 1.8vw, 36px); margin-top: clamp(40px, 3.6vw, 72px); list-style: none; }
.v3-pkstep__item { position: relative; display: flex; flex-direction: column; gap: 12px; }
.v3-pkstep__item:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 52px; right: calc(-1 * clamp(18px, 1.8vw, 36px)); height: 2px; background: rgba(255, 255, 255, .45); }
.acma-v3 .v3-pkstep__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; font-size: 16px; font-weight: 700; color: var(--accent); }
.acma-v3 .v3-pkstep__title { font-size: clamp(19px, .45vw + 14px, 24px); font-weight: 700; line-height: 1.25; color: #fff; }
.acma-v3 .v3-pkstep__text { line-height: 1.6; color: rgba(255, 255, 255, .88); }

/* ── Related packages ────────────────────────────────────────────────── */
.v3-pkrel { padding-block: var(--v3-section); }
.acma-v3 .v3-pkrel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 3vw, 56px); list-style: none; }
/* Six tracks: rows of three; a count that is not a multiple of three ends on rows of two, so no card sits alone. */
@media (min-width: 1200px) {
	.acma-v3 .v3-pkrel__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.acma-v3 .v3-pkrel__grid > * { grid-column: span 2; }
	.acma-v3 .v3-pkrel__grid:has(> :last-child:nth-child(3n+2)) > :nth-last-child(-n+2),
	.acma-v3 .v3-pkrel__grid:has(> :last-child:nth-child(3n+1)) > :nth-last-child(-n+4) { grid-column: span 3; }
	.acma-v3 .v3-pkrel__grid [class$="__text"] { -webkit-line-clamp: 3; }
}
@media (max-width: 1199.98px) {
	.acma-v3 .v3-pkrel__grid > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; } /* No orphan card in the two-column grid. */
}
.acma-v3 .v3-pkrel__card { display: grid; grid-template-columns: clamp(96px, 7vw, 120px) minmax(0, 1fr) 20px; gap: 18px; align-items: center; height: 100%; padding: 12px 20px 12px 12px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--v3-line); color: var(--v3-ink); text-decoration: none; transition: box-shadow .3s, transform .45s var(--v3-ease); }
.acma-v3 .v3-pkrel__card:is(:hover, :focus-visible) { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--accent), 0 24px 48px -32px rgba(14, 22, 34, .4); }
.v3-pkrel__media { border-radius: 12px; background: var(--v3-surface); }
.v3-pkrel__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.acma-v3 .v3-pkrel__name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.acma-v3 .v3-pkrel__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.5; color: var(--v3-text); }
.v3-pkrel__go { color: var(--accent); transition: transform .35s var(--v3-ease); }
/* Services the whole category links (hosting: managed cloud, website security). */
.acma-v3 .v3-pkrel__also { display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(20px, 2vw, 36px); margin-top: clamp(24px, 2vw, 36px); padding-top: clamp(20px, 1.8vw, 28px); border-top: 1px solid var(--v3-line); }
.acma-v3 .v3-pkrel__label { font-size: 17px; font-weight: 700; color: var(--v3-ink); }
.v3-pkrel__go .v3-arrow { width: 20px; height: 20px; }
.acma-v3 .v3-pkrel__card:hover .v3-pkrel__go { transform: translateX(4px); }

/* The form is white here; sections above alternate from it (acma_v3_tones()). */
.v3-pk .v3-lead { background: #fff; }
.v3-pk .v3-faq__aside .v3-pksec__lead { margin-top: clamp(14px, 1.2vw, 22px); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1199.98px) {
	.acma-v3 .v3-pkplans__grid, .acma-v3 .v3-pkplans__grid.is-5 { --cols: 2; }
	.acma-v3 .v3-pkplans__grid.is-3 { --cols: 3; }
	.acma-v3 .v3-pkinc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acma-v3 .v3-pkstep__line { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
	.v3-pkstep__item::after { display: none; }
}
@media (max-width: 991.98px) {
	.v3-pkhero__layout, .v3-pksec__head { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-pkplans__grid.is-3 { --cols: 1; }
	.acma-v3 .v3-pkrel__grid { grid-template-columns: minmax(0, 1fr); }
	/* The feature column stays in view while the plans scroll sideways. */
	.acma-v3 .v3-pkcmp__table tbody th[scope="row"], .acma-v3 .v3-pkcmp__table thead th:first-child { position: sticky; left: 0; z-index: 1; width: 180px; min-width: 180px; box-shadow: 1px 0 0 var(--v3-line); }
	.acma-v3 .v3-pkcmp__table thead th:first-child { z-index: 3; }
	.acma-v3 .v3-pkcmp__head button { position: sticky; left: 0; max-width: calc(100vw - 32px); }
}
@media (max-width: 639.98px) {
	.acma-v3 .v3-pkplans__grid, .acma-v3 .v3-pkplans__grid.is-5 { --cols: 1; }
	.acma-v3 .v3-pkhero__promises { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-pkstep__line { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-pkcmp__table { font-size: 14px; }
	.acma-v3 .v3-pkcmp__table :is(th, td) { padding: 10px 12px; }
	.acma-v3 .v3-pkrel__card { grid-template-columns: 88px minmax(0, 1fr) 20px; gap: 14px; }
}

html:is(.translated-ltr, .translated-rtl) .acma-v3 :is(.v3-pksec__title, .v3-pkcard__name, .v3-pkinc__title, .v3-pkstep__title) { line-height: 1.35; letter-spacing: normal; }

/* ── Phones (mobile pass 2026-11-19) ─────────────────────────────────────
   Plans: a swipe row, each feature list over seven cut to six, then "Show all" (data-v3-first);
   the price and button always shown. Comparison: the feature column and the plan picked in the
   row of plan buttons (package-v3.js sets data-pk-show; without JS the table scrolls sideways).
   Process: a compact numbered timeline. */
.v3-pkpick { display: none; }
@media (max-width: 639.98px) {
	.acma-v3 .v3-pkplans__grid { --swipe-w: 88%; margin-top: 24px; }
	.v3-pkcard { padding: 22px 20px; }
	.acma-v3 .v3-pkcard__specs + .v3-more__btn { align-self: flex-start; margin-top: 4px; }

	.acma-v3 .v3-pkpick:not([hidden]) { display: flex; gap: 8px; margin: 20px calc(-1 * var(--v3-pad)) 0; padding: 2px var(--v3-pad) 6px; overflow-x: auto; scrollbar-width: none; }
	.v3-pkpick::-webkit-scrollbar { display: none; }
	.acma-v3 .v3-pkpick button { flex: none; min-height: var(--v3-tap); padding: 8px 18px; border: 1px solid var(--v3-line); border-radius: 999px; background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: var(--v3-ink); white-space: nowrap; cursor: pointer; }
	.acma-v3 .v3-pkpick button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
	.v3-pkpick + .v3-pkcmp__scroll { margin-top: 12px; }
	.acma-v3 .v3-pkcmp__table .v3-pkcmp__head th { padding: 0; }
	.acma-v3 .v3-pkcmp__head button { padding: 12px 14px; font-size: 15px; }
	.acma-v3 .v3-pkcmp__table[data-pk-show] { min-width: 0; }
	.acma-v3 .v3-pkcmp__table[data-pk-show] tbody th[scope="row"],
	.acma-v3 .v3-pkcmp__table[data-pk-show] thead th:first-child { position: static; width: 58%; min-width: 0; box-shadow: none; }
	.acma-v3 .v3-pkcmp__table[data-pk-show="1"] tr > :not(:first-child, :nth-child(2)),
	.acma-v3 .v3-pkcmp__table[data-pk-show="2"] tr > :not(:first-child, :nth-child(3)),
	.acma-v3 .v3-pkcmp__table[data-pk-show="3"] tr > :not(:first-child, :nth-child(4)),
	.acma-v3 .v3-pkcmp__table[data-pk-show="4"] tr > :not(:first-child, :nth-child(5)),
	.acma-v3 .v3-pkcmp__table[data-pk-show="5"] tr > :not(:first-child, :nth-child(6)) { display: none; }

	.acma-v3 .v3-pkstep__line { gap: 0; margin-top: 24px; }
	.v3-pkstep__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding-bottom: 20px; }
	.acma-v3 .v3-pkstep__n { grid-row: span 2; }
	.acma-v3 .v3-pkstep__title { align-self: center; font-size: 18px; }
}

/* Plan chosen from a plan card, shown above the message in the lead form (package-v3.js). */
.acma-v3 .v3-pkchip:not([hidden]) { display: flex; flex-direction: row; flex-wrap: wrap; text-align: left; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 12px 16px; border: 1px solid color-mix(in srgb, var(--accent) 30%, #fff); border-radius: 10px; background: color-mix(in srgb, var(--accent) 7%, #fff); }
.acma-v3 .v3-pkchip__text { margin: 0; color: var(--v3-ink); }
.acma-v3 .v3-pkchip__text strong { color: var(--accent); }
.acma-v3 .v3-pkchip__change { font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
