/* ==========================================================================
   XSF Telecom / vegamod.com
   One stylesheet, no build step, no dependencies. Edit values in :root.
   ========================================================================== */

:root {
  /* Brand — #0060a8 sampled directly from the VEGA logo */
  --brand:        #0060a8;
  --brand-dark:   #004b84;
  --brand-tint:   #eef4fa;
  --brand-line:   #cfe0ee;

  --ink:          #14202c;
  --ink-soft:     #4a5b6d;
  --ink-faint:    #627385;

  --paper:        #ffffff;
  --paper-alt:    #f6f8fa;
  --line:         #e2e8ee;

  --focus:        #b45309;

  --measure:      68ch;
  --wrap:         1120px;
  --radius:       10px;
  --shadow:       0 1px 2px rgba(20,32,44,.05), 0 8px 24px rgba(20,32,44,.06);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-dark); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); }
h3 { font-size: 1.15rem; letter-spacing: -.005em; }
p  { margin: 0 0 1.1em; max-width: var(--measure); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2rem); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: .7rem 1.1rem; z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-block: .85rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand img { width: 128px; }
.brand span {
  font-weight: 700; font-size: .82rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint);
  border-left: 1px solid var(--line); padding-left: .7rem;
}
.site-nav ul { display: flex; flex-wrap: wrap; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  text-decoration: none; font-weight: 600; font-size: .93rem;
  color: var(--ink-soft); padding-block: .25rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--brand); }
.site-nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--brand-tint), var(--paper)); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-block: clamp(2.75rem, 7vw, 4.5rem); }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 .8rem;
}
.lede { font-size: clamp(1.08rem, 1.8vw, 1.24rem); color: var(--ink-soft); max-width: 60ch; }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.btn {
  display: inline-block; padding: .8rem 1.4rem; border-radius: var(--radius);
  font-weight: 650; text-decoration: none; font-size: .98rem;
  border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: var(--brand-line); color: var(--brand); background: var(--paper); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-tint); }

/* ---------- sections ---------- */
.section { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section-alt { background: var(--paper-alt); border-block: 1px solid var(--line); }
.section-head { max-width: var(--measure); margin-bottom: 2rem; }
.section-head p { color: var(--ink-soft); margin-bottom: 0; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .45rem; color: var(--ink); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card-num {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
  background: var(--brand-tint); border-radius: 999px;
  padding: .25rem .6rem; margin-bottom: .75rem;
}

/* ---------- service detail ---------- */
.service { border-top: 1px solid var(--line); padding-block: 2.25rem; }
.service:first-of-type { border-top: 0; padding-top: .5rem; }
.service h2 { margin-bottom: .35rem; }
.service .who { color: var(--ink-faint); font-size: .92rem; margin-bottom: 1.1rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; max-width: var(--measure); }
.checks li { padding-left: 1.6rem; position: relative; color: var(--ink-soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand);
}

/* ---------- callout ---------- */
.callout {
  background: var(--brand-tint); border: 1px solid var(--brand-line);
  border-radius: var(--radius); padding: 1.5rem; max-width: var(--measure);
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- contact ---------- */
.mail {
  font-size: clamp(1.15rem, 2.6vw, 1.6rem); font-weight: 700;
  word-break: break-word; display: inline-block; margin-bottom: .4rem;
}

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line); background: var(--paper-alt);
  padding-block: 2.5rem; margin-top: 0; font-size: .93rem; color: var(--ink-soft);
}
.foot-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.site-foot h2 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .7rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-foot a { color: var(--ink-soft); text-decoration: none; }
.site-foot a:hover { color: var(--brand); text-decoration: underline; }
.site-foot p { margin: 0; }
.legal { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.25rem; color: var(--ink-faint); font-size: .87rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
