/* Anslip Telecom — site styles */
:root {
  --navy-950: #08111f;
  --navy-900: #0d1b2e;
  --navy-800: #142740;
  --navy-700: #1e3a5c;
  --steel-500: #5f7a99;
  --steel-300: #a9bbd0;
  --steel-100: #e6edf5;
  --paper: #f6f8fb;
  --white: #ffffff;
  --signal: #f28c1b;
  --signal-dark: #c96d08;
  --ink: #142235;
  --ink-soft: #46586e;
  --ok: #1d7a4a;
  --error: #b42318;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(8, 17, 31, 0.08);
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--signal-dark); }

h1, h2, h3 { line-height: 1.2; color: var(--navy-900); margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--signal); color: var(--navy-950); padding: 0.6rem 1rem; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 17, 31, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand img { width: 38px; height: 38px; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; line-height: 1.1; }
.brand-name span { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; color: var(--signal); text-transform: uppercase; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,0.25); color: var(--white);
  border-radius: 8px; padding: 0.5rem 0.75rem; font: inherit; font-weight: 600; cursor: pointer;
}
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 0.35rem; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 0.55rem 0.85rem; border-radius: 8px; color: var(--steel-100);
  text-decoration: none; font-weight: 600; font-size: 0.97rem;
}
.site-nav a:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.site-nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.site-nav a.btn { color: var(--navy-950); margin-left: 0.4rem; }
.site-nav a.btn:hover { color: var(--navy-950); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; inset: 72px 0 auto 0; background: var(--navy-950); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 0.75rem 1.25rem 1.25rem; gap: 0.15rem; }
  .site-nav a { padding: 0.8rem 0.6rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--signal); padding-left: 0.9rem; }
  .site-nav a.btn { margin: 0.5rem 0 0; text-align: center; }
  /* Without JS the menu stays visible */
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { display: block; position: static; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--signal); color: var(--navy-950); border: 2px solid var(--signal);
  padding: 0.8rem 1.35rem; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1rem;
  cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { background: #ffa23f; border-color: #ffa23f; color: var(--navy-950); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--white); color: var(--white); }
.btn-dark { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--steel-100);
  background:
    radial-gradient(1100px 500px at 85% 10%, rgba(242,140,27,0.16), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; padding: 5.5rem 0 5rem; }
.hero h1 { color: var(--white); }
.hero .lede { font-size: 1.2rem; color: var(--steel-300); max-width: 38em; margin-bottom: 1.8rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--signal); margin-bottom: 1rem;
}
.hero-art { justify-self: center; width: min(100%, 420px); }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; list-style: none; padding: 0; margin: 2rem 0 0; font-size: 0.95rem; color: var(--steel-300); }
.hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 0.55rem; border-radius: 2px; background: var(--signal); vertical-align: middle; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding: 3.5rem 0 3rem; gap: 2rem; }
  .hero-art { width: min(70%, 280px); order: -1; }
}

.page-hero {
  color: var(--steel-100);
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  padding: 4rem 0 3.25rem;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.4em; }
.page-hero p { color: var(--steel-300); font-size: 1.15rem; max-width: 44em; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--navy-900); color: var(--steel-100); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 46em; margin-bottom: 2.75rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-dark .section-head p { color: var(--steel-300); }
@media (max-width: 600px) { .section { padding: 3.5rem 0; } }

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card p { color: var(--ink-soft); margin-bottom: 0.75rem; }
.card .card-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .card-link::after { content: " \2192"; }
.icon {
  width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(242,140,27,0.12); color: var(--signal-dark); margin-bottom: 1.1rem;
}
.icon svg { width: 26px; height: 26px; }

.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.45rem; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.55em; width: 0.6rem; height: 0.35rem;
  border-left: 2px solid var(--signal-dark); border-bottom: 2px solid var(--signal-dark); transform: rotate(-45deg);
}
.section-dark .ticks li { color: var(--steel-300); }

/* Process steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { position: relative; padding-top: 3.4rem; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-weight: 800; font-size: 1.6rem; color: var(--signal);
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { color: var(--steel-300); font-size: 0.98rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

.note {
  border-left: 4px solid var(--signal); background: var(--paper); padding: 1rem 1.25rem; border-radius: 0 8px 8px 0;
  color: var(--ink-soft); font-size: 0.97rem;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.tag-list li { background: var(--steel-100); color: var(--navy-800); padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.9rem; font-weight: 600; }

/* Service detail blocks */
.service { display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; padding: 2.5rem 0; border-top: 1px solid var(--steel-100); scroll-margin-top: 90px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service .icon { width: 64px; height: 64px; }
.service .icon svg { width: 32px; height: 32px; }
.service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
@media (max-width: 700px) {
  .service { grid-template-columns: 1fr; gap: 0.5rem; }
  .service-cols { grid-template-columns: 1fr; }
}

.jump-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 3rem; }
.jump-nav a { display: block; padding: 0.4rem 0.85rem; border: 1px solid var(--steel-100); border-radius: 999px; text-decoration: none; font-size: 0.9rem; font-weight: 600; color: var(--navy-800); background: var(--white); }
.jump-nav a:hover { border-color: var(--signal); color: var(--signal-dark); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); color: var(--steel-100); padding: 4rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-band p { color: var(--steel-300); margin: 0; max-width: 40em; }

/* ---------- Forms ---------- */
.form-wrap { background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; }
@media (max-width: 600px) { .form-wrap { padding: 1.35rem; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; color: var(--navy-900); margin-bottom: 0.6rem; padding: 0; }
label { display: block; font-weight: 600; color: var(--navy-900); margin-bottom: 0.35rem; font-size: 0.97rem; }
.req { color: var(--error); }
.hint { display: block; font-size: 0.87rem; color: var(--ink-soft); margin-top: 0.3rem; font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.75rem 0.85rem; border: 1px solid #c4d0de; border-radius: 8px; background: var(--white);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(242,140,27,0.25); }
.field-error input, .field-error select, .field-error textarea, input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
.error-msg { display: block; color: var(--error); font-size: 0.88rem; margin-top: 0.3rem; font-weight: 600; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.45rem 1.25rem; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 500; color: var(--ink); margin: 0; }
.check input { margin-top: 0.35rem; width: 1.05rem; height: 1.05rem; accent-color: var(--signal-dark); flex: none; }
.hidden-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 8px; font-weight: 600; }
.form-status.is-error { background: #fdecea; color: var(--error); }
.form-status:empty { display: none; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.form-footer p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); max-width: 32em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--steel-300); padding: 3.5rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--steel-100); text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.87rem; }

/* ---------- Misc ---------- */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.stack > * + * { margin-top: 1.5rem; }

.h3 { font-size: 1.2rem; }
