/* cyberfitsgroup.co.uk: neutral, in the Cyber Fits style (the parent company): Montserrat and the
   Cyber Fits navy and blue, with each brand's card in that brand's own colour. Light only. */
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/montserrat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/montserrat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --navy: #00091F;
    --navy-2: #06173A;
    --blue: #0086EE;
    --blue-ink: #0062C4;
    --cyan: #3AC6FF;
    --sky-2: #EEF5FF;
    --ice: #F6FAFF;
    --ink: #0B1220;
    --slate: #4F5B6E;
    --line: #E3E9F2;
    --soft: #A9BBD6;
    --radius: 18px;
    --gut: max(16px, calc((100vw - 1140px) / 2));
    --read: 740px;
    --shadow-sm: 0 1px 2px rgba(0, 9, 31, .06), 0 2px 8px rgba(0, 9, 31, .05);
    color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Montserrat, Arial, Helvetica, sans-serif; color: var(--ink); background: var(--ice); line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 14px; }
h1, h2 { line-height: 1.15; letter-spacing: -0.4px; }
h1 { font-size: clamp(32px, 4.8vw, 50px); font-weight: 800; margin: 0 0 18px; letter-spacing: -1px; }
h2 { font-size: 24px; font-weight: 800; margin: 0 0 12px; }
.wrap { padding-left: var(--gut); padding-right: var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.header :focus-visible, .page-head :focus-visible, .footer :focus-visible, .brand-card :focus-visible { outline-color: var(--cyan); }
.muted { color: var(--slate); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--cyan), #0086EE); }

/* Header */
.header { background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.group-name { color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -.2px; text-decoration: none; }
.header-phone { color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; padding-left: 14px; border-left: 3px solid var(--blue); }
.header-phone:hover, .group-name:hover { color: #7CC6FF; }

/* Page heading */
.page-head { background: var(--navy-2); color: #fff; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 4px solid var(--blue); }
.page-head .ph-copy { max-width: 820px; }
.page-head p { color: var(--soft); max-width: 720px; }
.page-head .lead { font-size: clamp(17px, 1.6vw, 20px); }
.page-head.read .ph-copy { max-width: var(--read); margin: 0 auto; }

.sec { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.sec.tint { background: #fff; border-top: 1px solid var(--line); }

/* The four brands, each in its own colour with its own logo */
.brand-cards { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .brand-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brand-card { border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 8px; color: #fff; min-height: 240px; border-top: 5px solid var(--accent); background: var(--bg); }
.brand-card .brand-logo { height: 46px; width: auto; margin-bottom: 14px; align-self: flex-start; }
.brand-card h2 { color: #fff; margin: 0; font-size: 24px; }
.brand-card p { color: rgba(255, 255, 255, .82); margin: 0; }
.brand-card .more { margin-top: auto; padding-top: 12px; }
.brand-card .more a { color: var(--accent); font-weight: 700; text-decoration: none; }
.brand-card .more a:hover { text-decoration: underline; text-underline-offset: 4px; }
.brand-card-cyber-fits { --bg: #00091F; --accent: #3AC6FF; }
.brand-card-cyber-fibre { --bg: #062C4F; --accent: #2FE6B5; }
.brand-card-virtual-voice { --bg: #061122; --accent: #4DA3FF; }
.brand-card-virtual-voice-office { --bg: #0D1F3C; --accent: #4DA3FF; }
.brand-card-virtual-voice .brand-logo { height: 40px; margin-bottom: 20px; }
.brand-card-virtual-voice-office .brand-logo { height: 34px; margin-top: 6px; margin-bottom: 20px; }

/* Cards */
.grid { display: grid; gap: 20px; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card p:last-child { margin-bottom: 0; }
.card a { color: var(--blue-ink); font-weight: 700; }
.card.feature { background: var(--ice); }
.details { display: grid; gap: 2px; margin: 0; }
.details dt { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue-ink); margin-top: 14px; }
.details dt:first-child { margin-top: 0; }
.details dd { margin: 0; font-weight: 600; }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 700; font-size: 15px; padding: 14px 24px; border-radius: 999px; border: 0; text-decoration: none; background: var(--blue-ink); color: #fff; cursor: pointer; }
.button:hover { background: var(--navy); }
.button.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px currentColor; }

/* Long text */
.prose { max-width: var(--read); margin: 0 auto; font-size: 17px; line-height: 1.75; color: #1D2738; }
.prose h2 { font-size: clamp(22px, 2.4vw, 26px); margin: 40px 0 12px; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--blue-ink); font-weight: 600; }

/* Footer */
.footer { background: var(--navy); color: var(--soft); font-size: 13px; }
.footer a { color: #E4ECF8; text-decoration: none; }
.footer a:hover { color: #7CC6FF; }
.footer-bottom { padding: 28px 0 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.footer-bottom p { margin: 0; max-width: 720px; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
