/* Price cards: home page and location pages. Four service cards with "from" prices per option; a swipe row on phones */
.hp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(30px, 4vw, 52px); }
.hp-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; border-radius: var(--radius-l); text-decoration: none; color: #18181a;
  background: color-mix(in srgb, var(--pen) 24%, var(--white)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pen) 60%, transparent);
  transition: translate 0.4s var(--ease-spring), box-shadow 0.4s; }
.hp-card:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pen) 60%, transparent), 0 30px 50px -30px rgb(24 24 26 / 0.35); }
.hp-card--pop { background: var(--pen); }
.hp-card--pop::before { content: none; display: none; /* was a "Most popular" badge */ position: absolute; top: -12px; right: 20px; z-index: 1; padding: 5px 10px; border-radius: 999px; background: #18181a; color: #fff; font-size: 11.5px; font-weight: 600; }
.hp-card h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; letter-spacing: -0.03em; }
.hp-card h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--pen); box-shadow: inset 0 0 0 1.5px #18181a; }
.hp-card__lead { font-size: 15px; line-height: 1.5; opacity: 0.75; }
.hp-tiers { display: grid; margin: 0; padding: 0; list-style: none; border-radius: 16px; background: rgb(255 255 255 / 0.72); }
.hp-tiers li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; }
.hp-tiers li + li { border-top: 1px solid rgb(24 24 26 / 0.08); }
.hp-tiers span { display: grid; gap: 1px; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.hp-tiers small { font-size: 12.5px; font-weight: 500; letter-spacing: 0; opacity: 0.6; }
.hp-tiers b { white-space: nowrap; font-size: 19px; font-weight: 700; letter-spacing: -0.04em; }
.hp-tiers b::before { content: "from "; font-size: 11px; font-weight: 600; letter-spacing: 0; opacity: 0.55; }
.hp-incl { display: grid; gap: 7px; margin: 2px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 500; }
.hp-incl li::before { content: "✓"; margin-right: 9px; font-weight: 700; }
/* the small print under the cards: neat ticked pills that wrap cleanly, no stray dots */
.hp-extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; font-size: 14px; color: var(--grey-7); }
.hp-extras span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--grey-1); white-space: nowrap; }
.hp-extras span::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 1180px) { .hp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* phones: a sideways swipe row, one card and a peek of the next */
@media (max-width: 700px) {
  .hp-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter, 18px)); padding: 6px var(--gutter, 18px) 14px; scroll-padding-inline: var(--gutter, 18px); }
  .hp-cards::-webkit-scrollbar { display: none; }
  .hp-card { flex: 0 0 84%; scroll-snap-align: start; }
  .hp-card:hover { translate: none; }
  .hp-extras { font-size: 13px; gap: 6px; }
  .hp-extras span { padding: 6px 11px 6px 9px; }
}
.hp-dots { display: none; }
@media (max-width: 700px) {
  .hp-dots { display: flex; justify-content: center; gap: 7px; margin-top: 4px; }
  .hp-dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--grey-3); transition: width 0.3s var(--ease-out), background 0.3s; }
  .hp-dots i.is-on { width: 22px; background: var(--ink); }
}

/* the bundle row: highlighted, tagged, with the full price struck through */
.hp-tiers li.is-deal { margin: 6px; padding: 13px 12px; border-radius: 12px; background: #18181a; color: #fff; }
.hp-tiers li.is-deal + li, .hp-tiers li + li.is-deal { border-top: 0; }
.hp-tiers li.is-deal small { opacity: 0.7; }
.hp-tiers li.is-deal em { justify-self: start; margin-bottom: 4px; padding: 3px 9px; border-radius: 999px; background: var(--hl-yellow); color: #18181a; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; }
.hp-tiers li.is-deal b { display: grid; justify-items: end; line-height: 1.05; }
.hp-tiers li.is-deal b::before { display: none; }
.hp-tiers li.is-deal s { font-size: 13px; font-weight: 600; opacity: 0.55; letter-spacing: 0; }

/* ---- Price cards, refined: coloured header with the headline price, white body, button footer ---- */
.hp-card { gap: 0; padding: 0; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -28px rgb(24 24 26 / 0.35); }
.hp-card:hover { box-shadow: 0 0 0 1px var(--line), 0 34px 60px -30px rgb(24 24 26 / 0.45); }
.hp-card__top { display: grid; gap: 8px; padding: 24px 24px 22px; background: color-mix(in srgb, var(--pen) 45%, var(--white)); }
.hp-card h3 { font-size: 18px; }
.hp-card h3::before { width: 10px; height: 10px; background: var(--pen); }
.hp-card .hp-card__price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 2px; font-size: clamp(38px, 3.2vw, 48px); font-weight: 700; letter-spacing: -0.055em; line-height: 1; }
.hp-card .hp-card__price small { font-size: 13px; font-weight: 600; letter-spacing: 0; opacity: 0.6; }
.hp-card .hp-card__price em { font-style: normal; font-size: 15px; font-weight: 600; letter-spacing: 0; opacity: 0.65; margin-left: -2px; }
.hp-card__lead { font-size: 14.5px; opacity: 0.78; min-height: 4.6em; }
.hp-tiers { margin: 8px 18px 0; border-radius: 0; background: none; }
.hp-tiers li { padding: 14px 6px; align-items: start; }
.hp-tiers li + li { border-top: 1px solid var(--line); }
.hp-tiers span { font-size: 15px; }
.hp-tiers small { font-size: 12.5px; }
.hp-tiers b { font-size: 17px; padding-top: 1px; }
.hp-tiers b::before { content: none; }
.hp-tiers li.is-deal { margin: 6px -4px; padding: 14px 12px; }
.hp-incl { margin: 6px 24px 0; padding: 16px 0 0; border-top: 1px dashed var(--grey-3); color: var(--grey-7); font-size: 13.5px; }
.hp-incl li::before { color: var(--ink); }
.hp-incl { margin-bottom: 22px; }
@media (max-width: 700px) { .hp-card__lead { min-height: 0; } }

/* one-page site with its logo bundle, as one block */
.hp-tiers li.is-combo { display: grid; gap: 0; margin: 4px -6px 8px; padding: 0; border-radius: 14px; border-top: 0; overflow: hidden; background: color-mix(in srgb, var(--pen) 45%, var(--white)); box-shadow: inset 0 0 0 1px rgb(24 24 26 / 0.08); }
.hp-tiers li.is-combo + li { border-top: 0; }
.hp-tiers li.is-combo > div { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 13px 12px; }
.hp-tiers li.is-combo > .is-deal { margin: 0 6px 6px; border-radius: 10px; background: #18181a; color: #fff; }
.hp-tiers li.is-combo > .is-deal small { opacity: 0.7; }
.hp-tiers li.is-combo > .is-deal em { justify-self: start; margin-bottom: 4px; padding: 3px 9px; border-radius: 999px; background: var(--hl-yellow); color: #18181a; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; }
.hp-tiers li.is-combo > .is-deal b { display: grid; justify-items: end; line-height: 1.05; }
.hp-tiers li.is-combo > .is-deal s { font-size: 13px; font-weight: 600; opacity: 0.55; letter-spacing: 0; }

/* Phones: a tighter card, same content */
@media (max-width: 700px) {
  .hp-card__top { gap: 4px; padding: 18px 18px 16px; }
  .hp-card .hp-card__price { font-size: 36px; margin: 2px 0 0; }
  .hp-card__lead { font-size: 13.5px; line-height: 1.45; }
  .hp-tiers { margin: 4px 14px 0; }
  .hp-tiers li { padding: 10px 4px; }
  .hp-tiers span { font-size: 14px; }
  .hp-tiers small { font-size: 12px; line-height: 1.35; }
  .hp-tiers b { font-size: 15.5px; }
  .hp-tiers li.is-combo { margin: 4px -4px 6px; }
  .hp-tiers li.is-combo > div { padding: 10px 10px; }
  .hp-tiers li.is-combo > .is-deal { margin: 0 5px 5px; }
  .hp-tiers li.is-combo > .is-deal span { display: block; }
  .hp-tiers li.is-combo > .is-deal em, .hp-tiers li.is-deal em { display: inline-block; margin: 0 6px 0 0; vertical-align: 2px; padding: 2px 7px; font-size: 10px; }
  .hp-tiers li.is-combo > .is-deal small { display: block; }
  .hp-incl { margin: 4px 18px 0; padding-top: 12px; gap: 5px; font-size: 13px; }
  .hp-incl { margin-bottom: 0; }
}
/* Phones: drop the tick list so each card fits on one screen (the full detail is on the prices pages) */
@media (max-width: 700px) {
  .hp-incl { display: none; }
}
/* Phones: a clear order in the coloured header (service, then price, then the line about it),
   and the row prices a step quieter than the headline price */
@media (max-width: 700px) {
  .hp-cards { align-items: flex-start; }
  .hp-card__top { gap: 0; padding: 20px 20px 18px; }
  .hp-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
  .hp-card h3::before { width: 11px; height: 11px; }
  .hp-card .hp-card__price { margin: 12px 0 0; font-size: 34px; }
  .hp-card .hp-card__price small { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
  .hp-card__lead { margin-top: 8px; font-size: 13.5px; opacity: 0.7; }
  .hp-tiers span { font-weight: 600; }
  .hp-tiers b { font-weight: 600; opacity: 0.85; }
  .hp-tiers li.is-deal b, .hp-tiers li.is-combo > .is-deal b { opacity: 1; font-weight: 700; }
}
/* Desktop gets the same order: service name, then the price, then the line about it */
@media (min-width: 701px) {
  .hp-card__top { gap: 0; }
  .hp-card h3 { font-size: clamp(22px, 1.9vw, 26px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
  .hp-card h3::before { width: 11px; height: 11px; }
  .hp-card .hp-card__price { margin: 14px 0 0; }
  .hp-card .hp-card__price small { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
  .hp-card__lead { margin-top: 10px; opacity: 0.7; }
  .hp-tiers b { font-weight: 600; opacity: 0.85; }
  .hp-tiers li.is-deal b, .hp-tiers li.is-combo > .is-deal b { opacity: 1; font-weight: 700; }
}
/* Header, tidied: the name, then "From" sitting small above the price, then one plain line about it */
.hp-card .hp-card__price { display: grid; gap: 4px; justify-items: start; }
.hp-card .hp-card__price small { text-transform: capitalize; letter-spacing: 0; font-size: 13px; font-weight: 500; opacity: 0.6; }
.hp-card .hp-card__price em { grid-column: 2; grid-row: 2; align-self: end; margin: 0 0 4px 4px; }
.hp-card__lead { text-wrap: wrap; max-width: none; }
@media (max-width: 700px) { .hp-card .hp-card__price { margin-top: 14px; } .hp-card__lead { margin-top: 10px; } }
/* the one-page + logo block a paler shade than the coloured header, so it reads as its own section */
.hp-tiers li.is-combo { background: color-mix(in srgb, var(--pen) 18%, var(--white)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pen) 55%, transparent); }
/* phones: every card in the swipe row the same height, buttons lined up along the bottom */
@media (max-width: 700px) {
  .hp-cards { align-items: stretch; }
  .hp-tiers { margin-bottom: 12px; }
}
/* "From" on its own line, then the price with "/page" sitting beside it */
.hp-card .hp-card__price { grid-template-columns: auto 1fr; align-items: baseline; }
.hp-card .hp-card__price small { grid-column: 1 / -1; }
.hp-card .hp-card__price em { grid-column: 2; grid-row: 2; align-self: baseline; margin: 0 0 0 4px; }

/* Websites card: add-ons listed under the three sizes */
.hp-addons { margin: 6px 24px 22px; padding: 14px 0 0; border-top: 1px dashed var(--grey-3); }
.hp-addons p { margin: 0 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-5); }
.hp-addons ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.hp-addons li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--grey-7); }
.hp-addons b { flex: none; font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
@media (max-width: 560px) { .hp-addons { margin: 4px 18px 18px; } .hp-addons li, .hp-addons b { font-size: 13.5px; } }
/* the combo block's single column always fills the card (it sized to its content once the labels got shorter) */
.hp-tiers li.is-combo { grid-template-columns: minmax(0, 1fr); }
/* "from" before a tier price: small and quiet */
.hp-tiers b i { margin-right: 3px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 0; opacity: 0.55; }
.hp-addons__note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--grey-5); }
.hp-addons__note b { color: var(--grey-7); font-weight: 600; }
.hp-addons p.hp-addons__note { margin: 10px 0 0; text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 400; color: var(--grey-5); }

/* "Need the lot?" bar under the prices: one long thin strip, logo to website, straight to a quote */
.lot-bar { display: flex; align-items: center; gap: 18px 28px; margin-top: 18px; padding: 14px 14px 14px 30px; border-radius: 999px; background: #18181a; color: #fff; text-decoration: none; box-shadow: 0 20px 40px -26px rgb(24 24 26 / 0.6); transition: translate 0.4s var(--ease-out), box-shadow 0.4s; }
.lot-bar:hover { translate: 0 -2px; box-shadow: 0 26px 44px -24px rgb(24 24 26 / 0.65); }
.lot-bar__copy { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; flex: 1; min-width: 0; }
.lot-bar__copy b { color: #fff; font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.lot-bar__copy .hl { color: #18181a; }
.lot-bar__list { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.lot-bar__list i { font-style: normal; font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.1); color: rgb(255 255 255 / 0.88); white-space: nowrap; }
.lot-bar__go { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--hl-yellow); color: #18181a; font-size: 15px; font-weight: 700; white-space: nowrap; }
.lot-bar__go span { transition: translate 0.3s var(--ease-out); }
.lot-bar:hover .lot-bar__go span { translate: 3px 0; }
@media (max-width: 860px) {
  .lot-bar { flex-direction: column; align-items: stretch; gap: 14px; padding: 20px 18px 18px; border-radius: 22px; }
  .lot-bar__copy { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lot-bar__list i { font-size: 13px; padding: 5px 10px; }
  .lot-bar__go { justify-content: center; padding: 14px 20px; }
}
/* Phones: the tick lists stay hidden, except the amends line on logos and print */
@media (max-width: 700px) {
  .hp-incl:has(.is-key) { display: grid; margin-bottom: 0; }
  .hp-incl li:not(.is-key) { display: none; }
}

/* Cards are boxes now, with the button as the link; the button's hit area covers the whole card */
.hp-card { cursor: pointer; }

/* Add-ons tucked away behind a chevron (sits above the card's link so it opens instead of navigating) */
details.hp-addons { position: relative; z-index: 2; cursor: default; }
.hp-addons summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -6px -6px 0; padding: 6px; border-radius: 8px; list-style: none; cursor: pointer;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-5); }
.hp-addons summary::-webkit-details-marker { display: none; }
.hp-addons summary:hover { color: var(--ink); background: var(--grey-1); }
.hp-addons summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hp-addons summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: rotate 0.3s var(--ease-out); }
.hp-addons[open] summary svg { rotate: 180deg; }
.hp-addons[open] summary { margin-bottom: 6px; }
.hp-addons[open] > ul, .hp-addons[open] > .hp-addons__note { animation: hp-addons-in 0.35s var(--ease-out); }
@keyframes hp-addons-in { from { opacity: 0; translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .hp-addons[open] > * { animation: none; } }
