/* PureVoIP redesign layer. Loaded after the theme CSS.
   All sizes in px because the theme sets html { font-size: 62.5% }. */

body { font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 1.6; color: #1c2b3f; }

.pv-wrap { max-width: 1208px; margin: 0 auto; padding: 0 24px; }
.pv-narrow { max-width: 908px; }

/* ---------- Header ---------- */
.pv-header { background: #183153; position: sticky; top: 0; z-index: 1000; }
.pv-header__in { display: flex; align-items: center; gap: 12px 32px; min-height: 72px; }
.pv-logo { font-family: "Lato", sans-serif; font-weight: 900; font-size: 26px; line-height: 1.1; color: #fff; }
.pv-logo:hover, .pv-logo:focus { color: #fff; }
.pv-logo small { display: block; font-family: "Open Sans", sans-serif; font-weight: 400; font-size: 12px; color: #cfe0f2; }
.pv-nav { display: flex; flex: 1; gap: 4px 28px; }
.pv-nav a, .pv-header__side a.pv-link { color: #fff; padding: 12px 0; font-size: 16px; border-bottom: 2px solid transparent; }
.pv-nav a:hover, .pv-nav a:focus, .pv-nav a.is-active { color: #fff; border-bottom-color: #9fd8f5; }
.pv-header__side { display: flex; align-items: center; gap: 8px 20px; }
.pv-header__side a.pv-link { color: #cfe0f2; }
.pv-header__side a.pv-link:hover { color: #fff; }
.pv-menu-btn { display: none; margin-left: auto; background: transparent; border: 1px solid #9fd8f5; color: #fff; border-radius: 6px; padding: 10px 14px; font-size: 16px; }

/* ---------- Buttons ---------- */
.pv-btn { display: inline-block; background: #0072b0; color: #fff; font-weight: 600; font-size: 16px; line-height: 1.4; padding: 13px 26px; border-radius: 6px; border: 1px solid #0072b0; text-align: center; }
.pv-btn:hover, .pv-btn:focus { background: #005a8c; border-color: #005a8c; color: #fff; }
.pv-btn--white { background: #fff; border-color: #fff; color: #183153; }
.pv-btn--white:hover, .pv-btn--white:focus { background: #dbe7f5; border-color: #dbe7f5; color: #183153; }
.pv-btn--ghost { background: transparent; border-color: #9fd8f5; color: #fff; }
.pv-btn--ghost:hover, .pv-btn--ghost:focus { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.pv-btn--sm { padding: 9px 18px; }
.pv-btn--block { display: block; }
.pv-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.pv-more { font-weight: 600; color: #0072b0; }
.pv-more:hover { color: #183153; text-decoration: underline; }

/* ---------- Hero and page heads ---------- */
.pv-hero { background: #183153; color: #fff; padding: 64px 0 76px; }
.pv-hero__in { display: flex; align-items: center; gap: 48px; }
.pv-hero__text { flex: 1 1 0; min-width: 0; }
.pv-hero__img { flex: 1 1 0; min-width: 0; }
.pv-hero__img img, .pv-hero__img video { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid #5d7594; background: #fff; }
.pv-hero__img { flex: 1.25 1 0; }
.pv-eyebrow { margin: 0 0 16px; color: #9fd8f5; font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.pv-h1 { margin: 0 0 20px; font-family: "Lato", sans-serif; font-weight: 900; font-size: 50px; line-height: 1.12; color: #fff; }
.pv-lead { margin: 0 0 28px; font-size: 19px; line-height: 1.6; color: #dbe7f5; max-width: 560px; }
.pv-hero__note { margin: 22px 0 0; font-size: 15px; color: #cfe0f2; }
.pv-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: #fff; font-weight: 700; }
.pv-rating:hover, .pv-rating:focus { color: #fff; }
.pv-rating img { height: 20px; width: auto; }

.pv-pagehead { background: #183153; color: #fff; padding: 48px 0 52px; }
.pv-pagehead .pv-h1 { font-size: 40px; margin-bottom: 12px; }
.pv-pagehead .pv-lead { margin-bottom: 0; max-width: 680px; }
.pv-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pv-jump a { border: 1px solid #9fd8f5; color: #fff; padding: 9px 16px; border-radius: 6px; font-size: 15px; }
.pv-jump a:hover, .pv-jump a:focus { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Old inner pages (FAQ, Compatibility, ...) keep their own header block: the nav is no longer overlaid on it. */
.page-header { padding: 48px 0 44px; }

/* ---------- Sections ---------- */
.pv-section { padding: 72px 0; }
.pv-section--tight { padding: 56px 0 0; }
.pv-section--last { padding-bottom: 72px; }
.pv-section--tint { background: #f2f6fa; }
.pv-section--dark { background: #183153; color: #fff; }
.pv-h2 { margin: 0 0 12px; font-family: "Lato", sans-serif; font-weight: 900; font-size: 34px; line-height: 1.2; color: #183153; }
.pv-section--dark .pv-h2 { color: #fff; }
.pv-h2--sm { font-size: 28px; margin-bottom: 24px; }
.pv-sub { margin: 0 0 40px; font-size: 18px; color: #4a5b70; max-width: 700px; }
.pv-section--dark .pv-sub { color: #dbe7f5; margin-bottom: 0; }
.pv-h3 { margin: 0 0 8px; font-family: "Lato", sans-serif; font-weight: 700; font-size: 19px; line-height: 1.3; color: #183153; }
.pv-after { margin: 32px 0 0; }

/* ---------- Trust strip ---------- */
.pv-strip { background: #f2f6fa; padding: 28px 0; }
.pv-strip__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; }
.pv-strip b { display: block; font-family: "Lato", sans-serif; font-weight: 900; font-size: 24px; line-height: 1.3; color: #183153; }
.pv-strip span { color: #4a5b70; }

/* ---------- Grids and cards ---------- */
.pv-grid { display: grid; gap: 24px; }
.pv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pv-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pv-card { background: #fff; border: 1px solid #d6e0ea; border-radius: 10px; padding: 28px; }
.pv-section--tint .pv-card { border-color: transparent; }
.pv-card p { margin: 0; color: #4a5b70; }
.pv-card p + p { margin-top: 10px; }
.pv-card--wide { grid-column: 1 / -1; }
.pv-card--pick { border: 2px solid #0072b0; }
.pv-step { display: block; margin-bottom: 4px; font-family: "Lato", sans-serif; font-weight: 900; font-size: 17px; color: #0072b0; }
.pv-list { margin: 0; padding-left: 20px; color: #4a5b70; }
.pv-list li { margin-bottom: 6px; }
.pv-list li:last-child { margin-bottom: 0; }
.pv-list--cols { columns: 2; column-gap: 48px; }
.pv-figure { margin: 40px 0 0; text-align: center; }
.pv-figure img { max-width: 100%; height: auto; }

/* ---------- Split (video / package) ---------- */
.pv-split { display: flex; align-items: center; gap: 48px; }
.pv-split > * { flex: 1 1 0; min-width: 0; }
.pv-video { position: relative; padding-top: 56.25%; background: #183153; border-radius: 10px; overflow: hidden; }
.pv-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.pv-split p { color: #4a5b70; margin: 0 0 16px; }

/* ---------- Pricing ---------- */
.pv-offer { background: #0072b0; color: #fff; text-align: center; font-size: 19px; font-weight: 700; padding: 12px 24px; }
.pv-msg { margin: 0; padding: 14px 24px; text-align: center; font-weight: 600; }
.pv-msg--ok { background: #e3f4e8; color: #14532d; }
.pv-msg--err { background: #fde8e8; color: #7f1d1d; }
.pv-plan { display: flex; flex-direction: column; }
.pv-plan .pv-list { flex-grow: 1; margin-bottom: 24px; }
.pv-plan__name { margin: 0 0 14px; font-family: "Lato", sans-serif; font-weight: 700; font-size: 21px; color: #183153; }
.pv-tag { display: inline-block; margin-left: 8px; font-family: "Open Sans", sans-serif; font-size: 13px; font-weight: 600; color: #0072b0; }
.pv-price { font-family: "Lato", sans-serif; font-weight: 900; font-size: 46px; line-height: 1.1; color: #183153; }
.pv-price--sm { font-size: 38px; }
.pv-per { margin: 4px 0 20px; color: #4a5b70; }
.pv-save { color: #14693a; font-weight: 600; }
.pv-order { border-top: 3px solid #0072b0; padding-top: 16px; }
.pv-order p { margin: 0; color: #4a5b70; }
.pv-cta { display: flex; align-items: center; gap: 24px 48px; background: #183153; color: #fff; border-radius: 10px; padding: 40px; }
.pv-cta > div:first-child { flex: 1 1 0; min-width: 0; }
.pv-cta .pv-h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.pv-cta p { margin: 0; color: #dbe7f5; }

/* ---------- Testimonials ---------- */
.pv-quote { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pv-quote img { height: 20px; width: auto; align-self: flex-start; }
.pv-quote blockquote { margin: 0; padding: 0; border: 0; font-size: 16px; color: #1c2b3f; flex-grow: 1; }
.pv-quote figcaption { color: #4a5b70; }
.pv-quote figcaption b { display: block; color: #183153; }

/* ---------- FAQ ---------- */
.pv-faq { border-top: 1px solid #d6e0ea; padding: 22px 0; }
.pv-faq p { margin: 0; color: #4a5b70; }

/* ---------- Closing band ---------- */
.pv-close { display: flex; align-items: center; gap: 32px 48px; }
.pv-close > div:first-child { flex: 1 1 0; min-width: 0; }
.pv-close a.pv-mail { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.pv-footer { background: #f2f6fa; padding: 52px 0 28px; color: #4a5b70; }
.pv-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px 48px; }
.pv-footer__brand { font-family: "Lato", sans-serif; font-weight: 900; font-size: 22px; color: #183153; }
.pv-footer h2 { margin: 0 0 10px; font-family: "Open Sans", sans-serif; font-size: 16px; font-weight: 600; color: #183153; }
.pv-footer ul { list-style: none; margin: 0; padding: 0; }
.pv-footer li { margin-bottom: 6px; }
.pv-footer a { color: #0072b0; }
.pv-footer a:hover { color: #183153; text-decoration: underline; }
.pv-pay { display: flex; align-items: center; gap: 20px; margin-top: 14px; }
.pv-pay img { height: 34px; width: auto; }
.pv-pay img.pv-pay--tall { height: 60px; }
.pv-footer__base { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid #d6e0ea; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .pv-nav { gap: 4px 20px; }
    .pv-h1 { font-size: 42px; }
    .pv-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .pv-header { position: static; }
    .pv-header__in { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
    .pv-menu-btn { display: block; }
    .pv-nav, .pv-header__side { display: none; flex: 1 1 100%; flex-direction: column; align-items: flex-start; gap: 0; }
    .pv-header.is-open .pv-nav, .pv-header.is-open .pv-header__side { display: flex; }
    .pv-header__side { padding-bottom: 12px; gap: 8px; }
    .pv-hero { padding: 44px 0 52px; }
    .pv-hero__in, .pv-split, .pv-close, .pv-cta { flex-direction: column; align-items: stretch; }
    .pv-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv-strip__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv-section { padding: 52px 0; }
    .pv-section--tight { padding: 44px 0 0; }
    .pv-section--last { padding-bottom: 52px; }
}

@media (max-width: 640px) {
    .pv-h1 { font-size: 34px; }
    .pv-pagehead .pv-h1 { font-size: 32px; }
    .pv-h2 { font-size: 28px; }
    .pv-grid--2, .pv-grid--3, .pv-grid--4 { grid-template-columns: minmax(0, 1fr); }
    .pv-list--cols { columns: 1; }
    .pv-footer__cols { grid-template-columns: minmax(0, 1fr); }
    .pv-cta { padding: 28px; }
    .pv-offer { font-size: 17px; }
}

/* Inline links inside redesigned blocks */
.pv-card a:not(.pv-btn), .pv-split a, .pv-faq a { color: #0072b0; }
.pv-card a:not(.pv-btn):hover, .pv-split a:hover, .pv-faq a:hover { color: #183153; text-decoration: underline; }
.pv-footer p { margin: 6px 0 0; }

/* The theme colours a:visited and a:focus; restate ours so visited links keep their colour */
a.pv-logo:visited, a.pv-btn:visited, a.pv-btn--ghost:visited, a.pv-rating:visited, .pv-jump a:visited, .pv-nav a:visited { color: #fff; }
a.pv-btn--white:visited, a.pv-btn--white:focus { color: #183153; }
a.pv-more:visited, a.pv-more:focus { color: #0072b0; }
.pv-header__side a.pv-link:visited { color: #cfe0f2; }

/* ---------- Inner pages ---------- */
.pv-btn--line { background: transparent; color: #0072b0; }
.pv-btn--line:hover, .pv-btn--line:focus { background: #0072b0; color: #fff; }
a.pv-btn--line:visited { color: #0072b0; }
a.pv-btn--line:visited:hover { color: #fff; }
.pv-btns.pv-after { margin-top: 32px; }
ol.pv-list li { padding-left: 4px; }
.pv-faq .pv-list { margin-bottom: 12px; }
.pv-list--cols3 { columns: 3; column-gap: 48px; }
.pv-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.pv-narrow > .pv-sub, .pv-narrow > .pv-list { color: #4a5b70; }

/* Contact form (the theme styles every input, so these selectors are deliberately specific) */
.pv-form label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 15px; color: #183153; }
.pv-form input:not([type=submit]):not([type=radio]):not([type=checkbox]),
.pv-form textarea { display: block; width: 100%; height: 48px; margin: 0 0 18px; padding: 0 14px; font-size: 16px; line-height: 1.5; color: #1c2b3f; background: #fff; border: 1px solid #8fa3b8; border-radius: 6px; }
.pv-form textarea { height: 150px; padding: 12px 14px; resize: vertical; }
.pv-form input:not([type=submit]):not([type=radio]):not([type=checkbox]):focus,
.pv-form textarea:focus { border-color: #0072b0; box-shadow: 0 0 0 3px rgba(0, 114, 176, 0.25); }
.pv-form .g-recaptcha { margin-bottom: 14px; }
.pv-form__err { margin: 0 0 14px; color: #a11d1d; font-weight: 600; }
.pv-form button.pv-btn { min-width: 200px; cursor: pointer; }

@media (max-width: 991px) {
    .pv-two { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .pv-list--cols3 { columns: 2; }
}
@media (max-width: 640px) {
    .pv-list--cols3 { columns: 1; }
}
.pv-narrow a:not(.pv-btn):not(.pv-more), .pv-sub a { color: #0072b0; }
.pv-narrow a:not(.pv-btn):not(.pv-more):hover, .pv-sub a:hover { color: #183153; text-decoration: underline; }

/* ---------- Icons, photos, old price ---------- */
.pv-ico { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 10px; background: #e3eff8; }
.pv-ico i { margin: 0; font-size: 20px; line-height: 1; color: #0072b0; }
.pv-section--tint .pv-ico { background: #e3eff8; }
.pv-split--top { align-items: stretch; }
.pv-shot { display: block; width: 100%; height: auto; border: 1px solid #d6e0ea; border-radius: 10px; background: #fff; }
.pv-was { display: block; font-family: "Open Sans", sans-serif; font-size: 18px; font-weight: 600; line-height: 1.4; color: #4a5b70; }
.pv-was s { text-decoration-thickness: 2px; }
.pv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pv-price--sm .pv-was { font-size: 16px; }

/* ---------- Logo mark, wide hero video ---------- */
.pv-logo { display: flex; align-items: center; gap: 10px; }
.pv-logo img { display: block; width: 40px; height: 40px; }
.pv-footer__brand { display: flex; align-items: center; gap: 10px; }
.pv-hero { padding: 56px 0 64px; }
.pv-hero__note { margin-top: 14px; }
.pv-rating { margin-top: 20px; }
/* Desktop: text on the left, video on the right taking most of the width */
@media (min-width: 992px) {
    /* left edge lines up with the header; the video may run further right */
    .pv-hero .pv-wrap { max-width: none; padding-left: max(24px, calc((100% - 1208px) / 2 + 24px)); padding-right: max(24px, calc((100% - 1720px) / 2 + 24px)); }
    .pv-hero__in { gap: 44px; }
    .pv-hero__in { justify-content: space-between; }
    .pv-hero__text { flex: 1 1 0; max-width: 520px; }
    .pv-hero__text .pv-h1 { font-size: 42px; }
    .pv-hero__text .pv-lead { font-size: 18px; }
    .pv-hero__img { flex: 0 0 54%; }
}
@media (max-width: 640px) { .pv-hero__text .pv-h1 { font-size: 32px; } }

/* ---------- Monitor and Admin forms ---------- */
.pv-monitor { max-width: 520px; margin: 0 auto; }
.pv-monitor .pv-card { padding: 32px; }
.pv-monitor form { margin: 0; }
.pv-monitor__err { margin: 18px 0 0; }
.pv-loader { display: flex; align-items: center; justify-content: center; }
.pv-pill { margin-bottom: 18px; padding: 7px 16px; border-radius: 999px; background: #e3eff8; color: #183153; font-size: 14px; font-weight: 600; }

/* Summary: the table row is laid out as tiles; the script fills the cells by position */
.pv-kpis { display: block; width: 100%; margin: 0 0 24px; border: 0; }
.pv-kpis thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pv-kpis tbody { display: block; }
.pv-kpis tr { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 10px; }
.pv-kpis td { display: block; min-height: 64px; padding: 12px 14px; border: 0; border-radius: 10px; background: #f2f6fa; font-size: 14px; font-weight: 700; line-height: 1.4; color: #183153; overflow-wrap: anywhere; }
.pv-kpis td::before { content: attr(data-label); display: block; margin-bottom: 3px; font-size: 12px; font-weight: 400; color: #4a5b70; }
.pv-kpis td label { margin: 0; font-weight: 700; }

/* Channels table */
.pv-tablewrap { overflow-x: auto; border: 1px solid #d6e0ea; border-radius: 10px; }
.pv-table { width: 100%; margin: 0; border-collapse: collapse; font-size: 14px; }
.pv-table th { padding: 12px 10px; background: #183153; color: #fff; font-weight: 600; font-size: 13px; text-align: left; white-space: nowrap; }
.pv-table td { padding: 9px 10px; border-top: 1px solid #e2e8ef; color: #1c2b3f; white-space: nowrap; vertical-align: middle; }
.pv-table tbody tr:nth-child(even) td { background: #f7fafc; }
.pv-table tbody tr:hover td { background: #e3eff8; }
.pv-table td label { margin: 0; font-weight: 600; }
.pv-table td img { vertical-align: middle; }
.pv-form input[type=submit].pv-btn { cursor: pointer; }

/* ---------- Wordmark image (original text logo) ---------- */
.pv-logo img.pv-logo__word { width: auto; height: 28px; }
.pv-logo small { margin-top: 3px; }
.pv-footer__brand img.pv-logo__word { width: auto; height: 24px; }
@media (max-width: 1200px) and (min-width: 992px) { .pv-nav { gap: 4px 16px; } .pv-header__in { gap: 12px 20px; } .pv-nav a, .pv-header__side a.pv-link { font-size: 15px; } }

/* ---------- Contact page: centred form and answer links ---------- */
.pv-contact { max-width: 728px; }
.pv-contact__intro { margin: 0 0 20px; font-size: 18px; color: #4a5b70; text-align: center; }
.pv-contact .pv-card { padding: 32px; }
.pv-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.pv-form textarea::placeholder { color: #6b7c90; }
a.pv-linkcard { display: block; color: inherit; }
a.pv-linkcard:hover, a.pv-linkcard:focus { border-color: #0072b0; color: inherit; text-decoration: none; }
a.pv-linkcard:visited { color: inherit; }
a.pv-linkcard:hover .pv-h3 { color: #0072b0; }
@media (max-width: 640px) { .pv-form__row { grid-template-columns: minmax(0, 1fr); } .pv-contact .pv-card { padding: 22px; } }

.pv-section--contact { padding-top: 36px; }
.pv-contact__head { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 8px; }
.pv-contact__head .pv-ico { margin: 0; flex: none; }
.pv-contact__head .pv-h2 { margin: 0; }
.pv-contact__intro { margin-bottom: 18px; }
.pv-form input::placeholder { color: #6b7c90; }

/* ---------- Admin dashboard ---------- */
.pv-wrap--wide { max-width: 1440px; }
.pv-rowform { margin: 0; }
.pv-table input[type=submit].pv-btn { height: auto; padding: 6px 14px; font-size: 14px; line-height: 1.4; cursor: pointer; }
