/* ==========================================================================
   Safevue – main stylesheet
   The brand colours are set once, just below. Change them here and the
   whole site follows.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* Brand */
  --sapphire: #0f52ba;
  --sapphire-bright: #2f74e6;
  --sapphire-deep: #0a3a8a;
  --navy: #081a3e;
  --navy-2: #0c2454;
  --red: #e0222e;
  --red-dark: #bd1823;

  /* Neutrals */
  --ink: #0d1b33;
  --body: #46536b;
  --muted: #6b7890;
  --line: #e2e8f2;
  --tint: #f3f6fc;
  --white: #fff;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(8, 26, 62, .06), 0 2px 8px rgba(8, 26, 62, .05);
  --shadow: 0 2px 4px rgba(8, 26, 62, .05), 0 14px 34px rgba(8, 26, 62, .10);
  --container: 1180px;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--sapphire); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.icon { flex: none; vertical-align: middle; }
:focus-visible { outline: 3px solid var(--sapphire-bright); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .96rem; line-height: 1.2; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(224, 34, 46, .28); }
.btn-primary:hover { background: var(--red-dark); }
.btn-blue { background: var(--sapphire); color: #fff; }
.btn-blue:hover { background: var(--sapphire-deep); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--sapphire); color: var(--sapphire); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.logo-text { font-weight: 800; font-size: 1.42rem; letter-spacing: -.035em; color: var(--sapphire); line-height: 1; }
.logo-text span { color: var(--red); font-weight: 700; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text span { color: #ff6b74; }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 9px 13px; border-radius: 8px;
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink); background: none; border: 0; cursor: pointer;
  text-decoration: none !important;
}
.nav-link:hover, .nav-link.is-current { color: var(--sapphire); background: var(--tint); }
.nav-cta { margin-left: 10px; padding: 10px 18px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--ink); cursor: pointer; }
.nav-toggle .when-open { display: none; }

.has-dropdown { position: relative; }
.dropdown-toggle .icon { transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 340px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .dropdown-toggle .icon, .has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }
.dropdown a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.dropdown a:hover, .dropdown a[aria-current] { background: var(--tint); }
.dropdown strong { display: block; font-size: .96rem; line-height: 1.3; }
.dropdown small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.dropdown-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: #e7eefb; color: var(--sapphire); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #b9c6e0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 700px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.1rem; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #ff7a82; }
.lead { font-size: 1.16rem; }
.center { text-align: center; }
.mt-lg { margin-top: 40px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative; overflow: hidden; color: #c3cfe8;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(47, 116, 230, .55), transparent 62%),
    radial-gradient(600px 420px at -5% 105%, rgba(224, 34, 46, .26), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: clamp(56px, 8vw, 110px) 22px clamp(64px, 9vw, 120px); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #ff5d67; }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; font-size: .93rem; font-weight: 600; color: #dbe4f6; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: #6ea5ff; }

/* Header sits on top of the dark hero on the homepage */
.home .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; }
.home .site-header:not(.is-scrolled) .logo-text { color: #fff; }
.home .site-header:not(.is-scrolled) .logo-text span { color: #ff6b74; }
.home .site-header:not(.is-scrolled) .logo-mark path { fill: var(--sapphire-bright); }
.home .site-header:not(.is-scrolled) .nav-link { color: #e6ecf9; }
.home .site-header:not(.is-scrolled) .nav-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.home .site-header:not(.is-scrolled) .nav-toggle { color: #fff; }

/* Hero illustration: a "live view" panel */
.console { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.console-bar { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 14px; font-size: .82rem; font-weight: 700; color: #dbe4f6; }
.live-dot { display: inline-flex; align-items: center; gap: 8px; }
.live-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff4753; box-shadow: 0 0 0 0 rgba(255, 71, 83, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 71, 83, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 71, 83, 0); } }
.console-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cam { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: linear-gradient(140deg, #16356f, #0a1c44); }
.cam img { width: 100%; height: 100%; object-fit: cover; }
.cam:nth-child(2) { background: linear-gradient(200deg, #1c4186, #0b2150); }
.cam:nth-child(3) { background: linear-gradient(120deg, #12306a, #091a40); }
.cam:nth-child(4) { background: linear-gradient(220deg, #1a3a7b, #0c2251); }
.cam > .icon { position: absolute; inset: 0; margin: auto; color: rgba(255, 255, 255, .22); }
.cam-label { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(4, 12, 32, .72); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.console-status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.status { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: .8rem; line-height: 1.25; color: #b9c6e0; }
.status strong { display: block; color: #fff; font-size: .88rem; }
.status .icon { color: #6ea5ff; }
.status.ok .icon { color: #4ade80; }

/* ---------- Trusted-by strip ---------- */
.trusted { border-bottom: 1px solid var(--line); padding: 26px 0; }
.trusted-inner { display: flex; align-items: center; gap: 28px; }
.trusted-label { flex: none; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-weight: 700; color: #8391aa; white-space: nowrap; font-size: 1.02rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card p:last-child { margin-bottom: 0; }
.icon-badge { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; background: #e7eefb; color: var(--sapphire); margin-bottom: 18px; }
.icon-badge.red { background: #fde9ea; color: var(--red); }

.service-card { display: flex; flex-direction: column; color: inherit; text-decoration: none !important; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--sapphire), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd9ee; }
.service-card:hover::before { transform: scaleX(1); }
.service-card p { flex: 1; font-size: .98rem; }
.card-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--sapphire); font-size: .95rem; margin-top: 6px; }
.service-card:hover .card-link .icon { transform: translateX(3px); }
.card-link .icon { transition: transform .2s; }
.service-card.is-wide { grid-column: span 2; background: linear-gradient(135deg, var(--sapphire), var(--sapphire-deep)); border: 0; color: #d5e2fb; }
.service-card.is-wide h3 { color: #fff; }
.service-card.is-wide .icon-badge { background: rgba(255, 255, 255, .16); color: #fff; }
.service-card.is-wide .card-link { color: #fff; }

.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { font-size: .97rem; margin: 0; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-weight: 600; color: var(--ink); }
.tick-list .icon { margin-top: 4px; color: var(--sapphire); background: #e7eefb; border-radius: 50%; padding: 3px; }
.section-dark .tick-list li { color: #e6ecf9; }
.section-dark .tick-list .icon { background: rgba(255, 255, 255, .12); color: #7fb0ff; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.stat strong { display: block; font-size: 2.1rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: .93rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-size: 2.3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--sapphire); }
.step h3 { margin-bottom: 6px; }
.step p { font-size: .97rem; margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #c3cfe8; padding: clamp(52px, 7vw, 92px) 0;
  background: radial-gradient(700px 380px at 90% 0%, rgba(47, 116, 230, .5), transparent 62%), radial-gradient(480px 300px at 0% 110%, rgba(224, 34, 46, .2), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2));
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 820px; }
.page-hero .lead { max-width: 680px; margin-bottom: 0; }
.page-hero .hero-actions { margin-top: 28px; }
.page-hero-icon { position: absolute; right: -30px; bottom: -50px; color: rgba(255, 255, 255, .06); pointer-events: none; }
.breadcrumb { display: flex; gap: 8px; font-size: .86rem; margin-bottom: 18px; color: #93a5c9; font-weight: 600; }
.breadcrumb a { color: #c3cfe8; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .93rem; color: var(--ink); }
button.chip { font-family: inherit; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
button.chip:hover { border-color: var(--sapphire); color: var(--sapphire); }
button.chip.is-active { background: var(--sapphire); border-color: var(--sapphire); color: #fff; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 2px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.06rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--sapphire); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 2px 20px; max-width: 700px; }

/* ---------- Plans ---------- */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; padding: 32px 28px; }
.plan.is-featured { border: 2px solid var(--sapphire); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.4rem; margin-bottom: 4px; }
.plan-strap { font-size: .95rem; min-height: 3.1em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan-price strong { font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.plan-price span { color: var(--muted); font-size: .92rem; font-weight: 600; }
.plan ul { flex: 1; margin-bottom: 26px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: .96rem; color: var(--ink); font-weight: 500; }
.plan li .icon { margin-top: 4px; color: var(--sapphire); }
.plan li.is-off { color: #a3aec2; text-decoration: line-through; text-decoration-color: #d3dae7; }
.plan li.is-off .icon { color: #c5cedd; }

/* ---------- Testimonials ---------- */
.quote-card { display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; color: #f5a524; margin-bottom: 14px; }
.stars .is-empty { color: #dfe5ef; }
.quote-card blockquote { margin: 0 0 22px; flex: 1; color: var(--ink); font-size: 1.03rem; font-weight: 500; line-height: 1.6; }
.quote-by { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--sapphire), var(--sapphire-deep)); color: #fff; font-weight: 800; flex: none; }
.quote-by strong { display: block; color: var(--ink); line-height: 1.3; }
.quote-by small { color: var(--muted); font-size: .86rem; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e7eefb; color: var(--sapphire); font-size: .74rem; font-weight: 800; letter-spacing: .04em; margin-left: auto; white-space: nowrap; }
.tag.sample { background: #fff3d6; color: #8a5a00; margin: 0 0 12px; align-self: flex-start; }

/* ---------- Apps ---------- */
.app-card { display: flex; flex-direction: column; }
.app-card .maker { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.app-card h3 { font-size: 1.35rem; margin: 2px 0 4px; }
.app-card .for { font-weight: 700; color: var(--sapphire); font-size: .93rem; margin-bottom: 10px; }
.app-card p.desc { flex: 1; font-size: .97rem; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 13px; border-radius: 11px; background: #0b0f19; color: #fff; text-decoration: none !important; line-height: 1.15; transition: transform .18s, background .18s; flex: 1 1 150px; }
.store-btn:hover { transform: translateY(-2px); background: #000; }
.store-btn small { display: block; font-size: .66rem; opacity: .8; letter-spacing: .02em; }
.store-btn strong { display: block; font-size: 1rem; font-weight: 700; }

/* ---------- Gallery ---------- */
.gallery-filters { justify-content: center; margin-bottom: 30px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--tint); cursor: zoom-in; border: 0; padding: 0; width: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption, .gallery-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(4, 12, 32, .82)); color: #fff; font-size: .86rem; font-weight: 600; text-align: left; opacity: 0; transition: opacity .25s; }
.gallery-item:hover .cap, .gallery-item:focus-visible .cap { opacity: 1; }
.gallery-item[hidden] { display: none; }
.empty-state { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty-state .icon { color: #b9c5da; margin-bottom: 10px; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(4, 10, 26, .94); padding: 20px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #dbe4f6; font-size: .95rem; padding: 0 70px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white); width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--sapphire); box-shadow: 0 0 0 4px rgba(15, 82, 186, .14); }
.field .hint { font-size: .84rem; color: var(--muted); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; font-size: .96rem; }
.notice.ok { background: #e6f7ed; color: #14653a; border: 1px solid #bfe6cf; }
.notice.err { background: #fdebec; color: #9b1620; border: 1px solid #f6c5c9; }
.notice ul { list-style: disc; padding-left: 20px; font-weight: 500; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border: 0; }
.contact-list .icon-badge { margin: 0; width: 46px; height: 46px; flex: none; }
.contact-list small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list strong, .contact-list a { font-size: 1.1rem; font-weight: 700; color: var(--ink); }

/* ---------- CTA band & footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--sapphire) 0%, var(--sapphire-deep) 100%); color: #d5e2fb; padding: clamp(44px, 6vw, 68px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 34, 46, .5), transparent 68%); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin: 0; font-size: 1.06rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { background: var(--navy); color: #9fb0d0; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 320px; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #c3cfe8; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: #6ea5ff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-bottom a { color: #7f91b5; }

/* ---------- Scroll-in animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .live-dot::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .console { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .plan-strap { min-height: 0; }

  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 14px 22px 30px; overflow-y: auto; display: none;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-nav { display: flex; }
  body.nav-open .site-header { background: var(--white) !important; }
  body.nav-open .site-header .logo-text { color: var(--sapphire) !important; }
  body.nav-open .site-header .logo-text span { color: var(--red) !important; }
  body.nav-open .nav-toggle { color: var(--ink) !important; }
  body.nav-open .nav-toggle .when-open { display: inline; }
  body.nav-open .nav-toggle .when-closed { display: none; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav .nav-link { width: 100%; justify-content: space-between; padding: 15px 4px; font-size: 1.08rem; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink) !important; background: none !important; }
  .dropdown { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 6px 0; display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown:hover .dropdown-toggle .icon { transform: none; }
  .has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }
  .nav-cta { margin: 22px 0 0; padding: 15px; font-size: 1.05rem; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .split, .form-grid { grid-template-columns: 1fr; }
  .service-card.is-wide { grid-column: auto; }
  .trusted-inner { flex-direction: column; gap: 12px; align-items: stretch; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-actions, .cta-actions .btn, .hero-actions .btn { width: 100%; }
  .console-status { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-item .cap { display: none; }
  .card { padding: 24px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 60px; transform: none; }
  .lightbox .lb-prev { transform: rotate(180deg); }
}

/* The blurred header would otherwise trap the full-screen mobile menu inside itself */
body.nav-open .site-header { backdrop-filter: none; }

/* ---------- Real logo ---------- */
.logo { color: var(--navy); }                 /* colour of the small "LTD" */
.logo-img { display: block; height: 30px; width: auto; }
.logo-img .lg-b { fill: #14baff; }
.logo-img .lg-r { fill: #ff2424; }
.logo-img .lg-t { fill: currentColor; }
.logo-light, .home .site-header:not(.is-scrolled) .logo { color: #fff; }
body.nav-open .site-header .logo { color: var(--navy) !important; }
.site-footer .logo-img { height: 32px; }
@media (max-width: 720px) { .logo-img { height: 23px; } }

/* ---------- Four maintenance tiers ---------- */
.plans.grid-4 { gap: 18px; }
.plan { border-top: 5px solid var(--tier, var(--sapphire)); padding: 28px 22px; }
.plan.tier-bronze   { --tier: #b56a2c; }
.plan.tier-silver   { --tier: #8d99a8; }
.plan.tier-gold     { --tier: #d9a31a; }
.plan.tier-platinum { --tier: #0f52ba; }
.plan-tier { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan-price { flex-wrap: wrap; row-gap: 2px; }
.plan-price strong { font-size: 2.2rem; }
.plan-annual { flex-basis: 100%; font-size: .9rem; color: var(--body) !important; font-weight: 600; }
.plan-annual b { color: var(--ink); }
.plan li small { color: var(--muted); font-weight: 500; }
.plan-note { color: var(--muted); font-size: .93rem; }
@media (max-width: 1020px) { .plans.grid-4 { grid-template-columns: repeat(2, 1fr); max-width: none; } }
@media (max-width: 720px)  { .plans.grid-4 { grid-template-columns: 1fr; max-width: 480px; } }

/* ---------- Leave-a-review form ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rating-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.rating-field legend { font-weight: 700; font-size: .9rem; color: var(--ink); padding: 0; margin-bottom: 6px; }
/* Stars are listed 5 to 1 and shown reversed, so "this star and all before it" can light up with CSS alone */
.rating-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { cursor: pointer; color: #d5dbe7; line-height: 0; padding: 2px; border-radius: 6px; transition: color .12s, transform .12s; }
.rating-input input:checked ~ label { color: #f5a524; }
.rating-input:hover label { color: #d5dbe7; }
.rating-input label:hover, .rating-input label:hover ~ label { color: #f5a524; }
.rating-input label:hover { transform: scale(1.12); }
.rating-input input:focus-visible + label { outline: 3px solid var(--sapphire-bright); outline-offset: 2px; }

/* ---------- Homepage banner photo ---------- */
/* To change the photo, replace assets/img/hero-van.webp (or change the file name in index.php) */
.hero-photo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .16); max-height: 600px; aspect-ratio: 15 / 16; justify-self: end; width: 100%; max-width: 540px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 70%; }
.hero-photo figcaption { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: rgba(4, 12, 32, .72); backdrop-filter: blur(6px); color: #fff; font-size: .82rem; font-weight: 700; }
.hero-photo figcaption .icon { color: #6ea5ff; }
@media (max-width: 1020px) { .hero-photo { justify-self: start; aspect-ratio: 4 / 3; max-width: 640px; } .hero-photo img { object-position: 35% 72%; } }

/* ---------- Client logos ("Proudly installed for") ---------- */
.trusted { padding: 22px 0; }
.marquee-track { align-items: center; gap: 56px; animation-duration: 55s; }
.client-logo { display: inline-flex; align-items: center; flex: none; }
.client-logo img { height: 52px; width: auto; max-width: none; }
.client-logo.is-text { font-weight: 700; color: #8391aa; white-space: nowrap; font-size: 1.02rem; }
/* Reviews page: the same logos in a tidy grid of white tiles */
.client-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; max-width: 980px; margin: 0 auto; }
.client-grid .client-logo { justify-content: center; height: 110px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.client-grid .client-logo img { height: auto; max-height: 64px; max-width: 100%; object-fit: contain; }
@media (max-width: 720px) { .client-logo img { height: 42px; } .marquee-track { gap: 40px; } .client-grid { grid-template-columns: repeat(2, 1fr); } }
/* Keep very wide logos from dwarfing the square ones */
.marquee .client-logo img { height: 56px; max-width: 200px; object-fit: contain; }
@media (max-width: 720px) { .marquee .client-logo img { height: 44px; max-width: 160px; } }
/* Soften the corners of every client logo (most visible on logos that are a solid block of colour) */
.client-logo img { border-radius: 8px; }

/* ---------- Non-stop logo carousel ----------
   The logos are printed twice in a row and the strip slides left by exactly one
   copy, then snaps back to the start - which looks identical, so it never ends.
   For that to be seamless every logo carries its own spacing (margin) instead of
   a flex "gap", so one copy is exactly half the strip's width. */
.marquee-track { gap: 0; }
.marquee-track > .client-logo { margin-right: 56px; }
@media (max-width: 720px) { .marquee-track { gap: 0; } .marquee-track > .client-logo { margin-right: 40px; } }

/* ---------- Balanced logo sizes ----------
   Each logo is given its own height (--logo-h, worked out in includes/partials.php)
   so square badges and wide wordmarks look about the same size. */
.marquee .client-logo img { height: var(--logo-h, 56px); width: auto; max-width: none; }
.trusted .marquee-track { min-height: 90px; }
.client-grid .client-logo { height: 124px; }
.client-grid .client-logo img { height: auto; width: auto; max-height: min(86px, var(--logo-h, 64px)); max-width: 100%; }
@media (max-width: 720px) {
  .marquee .client-logo img { height: calc(var(--logo-h, 56px) * .78); max-width: none; }
  .trusted .marquee-track { min-height: 70px; }
}
/* ---------- Trusted suppliers (homepage) ---------- */
.supplier-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.supplier { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.supplier:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cdd9ee; }
.supplier-logo { display: flex; align-items: center; justify-content: center; height: 70px; width: 100%; margin-bottom: 14px; }
.supplier-logo .client-logo img { height: auto; width: auto; max-height: 62px; max-width: 100%; object-fit: contain; border-radius: 0; }
.supplier-logo .client-logo.is-text { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.supplier p { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); width: 100%; font-size: .88rem; font-weight: 600; color: var(--muted); }
@media (max-width: 1020px) { .supplier-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .supplier-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .supplier { padding: 20px 12px 16px; } }
/* Keep each supplier logo inside its tile: the wrapper takes the tile's width, and the logo shrinks to fit it */
.supplier { min-width: 0; }
.supplier-logo .client-logo { display: flex; flex: 1 1 auto; width: 100%; min-width: 0; justify-content: center; }
.supplier-logo .client-logo img { display: block; max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; }
/* "From" label above each package price */
.plan-from { flex-basis: 100%; font-size: .72rem !important; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--red) !important; margin-bottom: 2px; }
