/* ==========================================================================
   VMDK Hosting — site stylesheet (2026 rewrite)
   Mobile-first. No image slices: gradients, borders and shadows are CSS.
   Replaces: style.css, min-style.css
   ========================================================================== */

/* ---------- Fonts ---------- */
/* Bebas Neue is self-hosted in /fonts (same files the old CSS used).
   If the files are missing, headings fall back to a condensed system face. */
@font-face {
  font-family: "Bebas Neue";
  src: local("Bebas Neue"), local("BebasNeue-Regular"),
       url("/fonts/bebasneue-webfont.woff") format("woff"),
       url("/fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --navy: #09367a;
  --navy-deep: #06234f;
  --blue: #1a75e7;
  --sky: #5cc3f5;
  --sky-pale: #e4f2fb;
  --orange: #f36729;
  --orange-dark: #d4541a;
  --ink: #1f2a37;
  --text: #3d4652;
  --muted: #66707c;
  --line: #d6dee8;
  --surface: #ffffff;
  --page: #f3f6f9;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(9, 54, 122, .06), 0 4px 16px rgba(9, 54, 122, .08);
  --gutter: 16px;
  --max: 1120px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--page);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .15em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 6vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.1rem); color: var(--navy); }
h3 { font-size: 1.45rem; }
h1 .accent, h2 .accent { color: var(--navy); }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .25em; }
strong { color: var(--ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: .6em 1em; border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--gutter); color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Top bar (client area) ---------- */
.topbar {
  background: var(--navy-deep);
  color: #cfe3f7;
  font-size: .875rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: flex-end; gap: .75rem;
  min-height: 40px;
}
.topbar a.tel { color: #fff; text-decoration: none; margin-right: auto; }
.topbar a.tel:hover { text-decoration: underline; }
.btn-login {
  display: inline-block; padding: .3em .9em; border-radius: 999px;
  background: var(--sky); color: var(--navy-deep); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; font-size: .78rem; text-decoration: none;
}
.btn-login:hover { background: #fff; color: var(--navy-deep); }

/* ---------- Header + navigation ---------- */
.site-header {
  background: linear-gradient(180deg, #d9edf9 0%, #eef7fc 70%, var(--page) 100%);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 12px; padding-bottom: 12px;
}
.logo { display: block; flex: 0 0 auto; }
.logo img { width: 190px; }

.main-nav { width: 100%; }
.main-nav ul {
  list-style: none; margin: 0; padding: 4px;
  display: grid; grid-template-columns: repeat(5, auto); gap: 4px;
  background: linear-gradient(180deg, #8fd6f8, var(--sky));
  border: 1px solid #3fa6dc; border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.main-nav li { margin: 0; }
.main-nav a {
  display: block; text-align: center; padding: .55em .35em; border-radius: 6px;
  font-weight: 700; font-size: .85rem; color: var(--navy-deep); text-decoration: none;
  white-space: nowrap; text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.main-nav a:hover { background: rgba(255,255,255,.45); color: #000; }
.main-nav a[aria-current="page"] { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(0,0,0,.12); }

/* ---------- Generic blocks ---------- */
main { display: block; padding: 20px 0 40px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
}
.card + .card { margin-top: 20px; }
.lead { font-size: 1.075rem; color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .7em 1.3em; border-radius: var(--radius-sm); border: 0;
  background: linear-gradient(180deg, #2f7fe0, var(--navy));
  color: #fff; font-weight: 700; text-decoration: none; line-height: 1.2;
  box-shadow: 0 2px 0 var(--navy-deep);
  transition: transform .1s ease, filter .15s ease;
}
.btn:hover { color: #fff; filter: brightness(1.1); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--navy-deep); }
.btn-orange { background: linear-gradient(180deg, #ff8a4c, var(--orange)); box-shadow: 0 2px 0 var(--orange-dark); }
.btn-block { display: flex; width: 100%; }

/* Page title bar (inner pages) */
.page-title {
  display: flex; align-items: center; gap: .6rem;
  padding: 14px 18px; margin-bottom: 16px;
  background: linear-gradient(90deg, #fff 0%, #f1f5f9 100%);
  border: 1px solid var(--line); border-left: 6px solid var(--navy);
  border-radius: var(--radius-sm);
}
.page-title h1 { margin: 0; font-size: clamp(1.8rem, 5.5vw, 2.4rem); }
.page-banner { margin: 0 0 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.page-banner img { width: 100%; }

/* Breadcrumbs */
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35em; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: .35em; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }

/* Prose blocks */
.prose h2 { margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1em; color: var(--navy); }
.prose ul.facts { list-style: none; padding: 0; display: grid; gap: 8px; }
.prose ul.facts li {
  margin: 0; padding: .55em .8em .55em 2.1em; position: relative;
  background: var(--sky-pale); border-radius: var(--radius-sm);
}
.prose ul.facts li::before {
  content: ""; position: absolute; left: .8em; top: 1.05em; width: .55em; height: .55em;
  border-radius: 50%; background: var(--blue);
}
.datacenters { list-style: none; padding: 0; display: grid; gap: 10px; }
.datacenters li {
  margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; display: flex; gap: .75em; align-items: baseline;
}
.datacenters .num {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--orange); line-height: 1;
}
.callout {
  border-left: 5px solid var(--orange); background: #fff5ef;
  padding: 12px 16px; border-radius: var(--radius-sm); margin: 0 0 1em;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Home ---------- */
.hero { margin-bottom: 20px; }
.hero-image { display: none; }
.hero-image img { width: 100%; border-radius: 20px; border: 2px solid #9aa7b4; }
.steps {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: step;
}
.steps li {
  margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: center;
  padding: 12px 14px; border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--sky-pale)); border: 1px solid #b9dcf1;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  grid-row: span 2; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(180deg, #8ad24a, #4c9a1c); color: #fff;
  font-family: var(--font-display); font-size: 1.6rem; border: 2px solid #fff;
  box-shadow: 0 0 0 1px #4c9a1c;
}
.steps .step-title { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); line-height: 1.1; }
.steps .step-text { font-size: .925rem; color: var(--text); }

.home-grid { display: grid; gap: 20px; }
.welcome h1 { font-size: clamp(1.9rem, 5.5vw, 2.5rem); }

.packages { display: grid; gap: 16px; margin-top: 20px; }
.package {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
}
.package h3 { margin: 0; text-align: center; font-size: 1.6rem; }
.package img { margin: 0 auto; width: 183px; }
.package p { margin: 0; flex: 1; font-size: .95rem; }
.package .btn { align-self: stretch; white-space: nowrap; font-size: .95rem; padding-left: .8em; padding-right: .8em; }

.testimonials h2 {
  margin: -20px -20px 12px; padding: 12px 20px;
  background: linear-gradient(90deg, #e9eef3, #fff);
  border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0;
  color: var(--ink);
}
.testimonials blockquote { margin: 0; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.testimonials blockquote:last-child { border-bottom: 0; padding-bottom: 0; }
.testimonials blockquote p { margin: 0 0 .4em; font-size: .95rem; }
.testimonials footer { font-size: .9rem; font-weight: 700; color: var(--blue); }
.testimonials footer span { color: var(--orange); font-weight: 600; }

.promo {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #2a8be6 0%, var(--navy) 55%, var(--navy-deep) 100%);
  border-radius: var(--radius); padding: 20px 20px 20px 104px; box-shadow: var(--shadow);
  margin-top: 20px;
}
.promo .badge {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%) rotate(-8deg);
  width: 70px; height: 70px; border-radius: 50% 50% 46% 46%;
  background: radial-gradient(circle at 35% 30%, #ffb27a, var(--orange) 60%, var(--orange-dark));
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.9rem; color: #fff;
  border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.3);
}
.promo h2 { color: #fff; margin: 0 0 .15em; font-size: 1.8rem; }
.promo p { margin: 0 0 .7em; font-size: .95rem; color: #dbe9fb; }
.promo code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(255,255,255,.15); padding: .1em .4em; border-radius: 4px; color: #fff; font-weight: 700;
}

/* ---------- Services / pricing ---------- */
.promo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5em 1em;
  text-align: center; padding: 12px 16px; margin-bottom: 20px; border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--orange), #ff8a4c); color: #fff; font-weight: 600;
}
.promo-strip code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #fff; color: var(--orange-dark); padding: .15em .55em; border-radius: 4px; font-weight: 800;
}
.plan-group { margin-bottom: 28px; scroll-margin-top: 16px; }
.plan-group > p { max-width: none; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.plan {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.plan-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: linear-gradient(180deg, #fff, var(--sky-pale)); border-bottom: 1px solid var(--line);
}
.plan-head img { width: 52px; flex: 0 0 auto; }
.plan-head h3 { margin: 0; font-size: 1.5rem; }
.price { margin: 0; color: var(--orange); font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.price small { color: var(--muted); font-weight: 600; font-size: .8rem; }
.plan ul { list-style: none; margin: 0; padding: 14px 16px; flex: 1; }
.plan li { margin: 0; padding: .35em 0 .35em 1.6em; border-bottom: 1px solid #eef2f6; position: relative; font-size: .95rem; }
.plan li:last-child { border-bottom: 0; }
.plan li::before {
  content: ""; position: absolute; left: .2em; top: .85em; width: .7em; height: .4em;
  border-left: 2px solid #3a9b2a; border-bottom: 2px solid #3a9b2a; transform: rotate(-45deg);
}
.plan .btn { margin: 0 16px 16px; width: auto; }
.quote-cta { text-align: center; padding: 24px; }
.quote-cta p { margin-bottom: .8em; font-size: 1.05rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(9,54,122,.05);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; position: relative;
  font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky-pale); color: var(--navy); font-weight: 800; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq summary h2 { display: inline; font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; color: inherit; line-height: 1.4; }
.faq .answer { padding: 12px 16px 4px; }
.faq-tools { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.faq-tools button {
  font: inherit; font-size: .875rem; color: var(--blue); background: none; border: 0; cursor: pointer; padding: .25em 0;
  text-decoration: underline; text-underline-offset: .15em;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 20px; }
.contact-form iframe { display: block; width: 100%; min-height: 640px; border: 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.25em; }
.contact-list li { margin: 0; padding: .5em 0; border-bottom: 1px solid #eef2f6; display: flex; flex-wrap: wrap; gap: .25em .75em; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { min-width: 5.5em; font-weight: 700; color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal { font-size: .95rem; }
.legal h2 { font-size: 1.6rem; margin-top: 1.4em; scroll-margin-top: 16px; }
.legal h3 { font-size: 1.25rem; }
.legal .toc { columns: 1; list-style: none; padding: 0; }
.legal .toc li { break-inside: avoid; }
.legal a { overflow-wrap: anywhere; }
.legal .tldr { font-size: 1.05rem; }
.back-to-top { display: inline-block; margin-top: 1em; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9cde4; font-size: .9rem; }
.site-footer .footer-nav {
  background: linear-gradient(180deg, #164c97, var(--navy));
  border-top: 3px solid var(--sky);
}
.site-footer .footer-nav ul {
  list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 6px 18px;
}
.site-footer .footer-nav li { margin: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .legal-line {
  padding-top: 16px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between;
}
.site-footer .legal-line p { margin: 0; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
  .logo img { width: 230px; }
  .main-nav a { font-size: .95rem; padding: .6em .8em; }
  .packages { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 6px; }
  .steps li::before { grid-row: auto; }
  .datacenters { grid-template-columns: repeat(3, 1fr); }
  .legal .toc { columns: 2; column-gap: 2em; }
}

/* Package cards get cramped in 3 columns until there's room */
@media (min-width: 560px) and (max-width: 819px) {
  .packages { grid-template-columns: 1fr; }
}

@media (min-width: 820px) {
  :root { --gutter: 24px; }
  body { font-size: 1.0625rem; }
  .site-header .container { flex-wrap: nowrap; padding-top: 16px; padding-bottom: 16px; }
  .logo img { width: 300px; }
  .main-nav { width: auto; }
  .main-nav ul { display: flex; padding: 4px; }
  .main-nav a { padding: .65em 1.1em; font-size: 1rem; }
  main { padding-top: 28px; }
  .card { padding: 28px; }
  .testimonials h2 { margin: -28px -28px 14px; padding: 14px 28px; }

  .hero-image { display: block; }
  .hero .steps { display: none; }

  .home-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan { scroll-margin-top: 16px; }
  .packages { grid-template-columns: repeat(3, 1fr); }

  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); align-items: start; }
}

@media (min-width: 1000px) {
  .logo img { width: 340px; }
  .home-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .main-nav, .site-footer .footer-nav, .hero-image, .promo, .faq-tools, .btn, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .card, .package, .plan, .faq details { box-shadow: none; border-color: #ccc; }
  .faq details > .answer { display: block; }
  a { color: #000; }
}
