/* GoNet site styles: classic navy and gold */
:root {
  --ink: #1b2433;
  --ink-soft: #4a5262;
  --muted: #5e6573;
  --bg: #ffffff;
  --bg-soft: #faf7f1;
  --surface: #ffffff;
  --line: #e6dfd2;
  --navy: #13284a;
  --navy-deep: #0d1d38;
  --gold: #8a6a35;          /* gold for text on light backgrounds */
  --gold-line: #b8955c;     /* decorative gold lines */
  --gold-light: #d2b07a;    /* gold on navy */
  --brand: #1d4278;         /* links */
  --brand-dark: #13284a;
  --on-dark: #f5f1e8;
  --on-dark-soft: #c5ccd8;
  --on-dark-line: rgba(210, 176, 122, 0.28);
  --shadow: 0 18px 40px -18px rgba(19, 40, 74, 0.28);
  --radius: 4px;
  --max: 1140px;
  --serif: "Frank Ruhl Libre", "David", Georgia, serif;
  --sans: "Assistant", "Segoe UI", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ebe7de;
    --ink-soft: #c4c8d0;
    --muted: #9ea5b2;
    --bg: #0f1828;
    --bg-soft: #131f33;
    --surface: #17243b;
    --line: #2a3850;
    --navy: #0b1526;
    --navy-deep: #070f1c;
    --gold: #d2b07a;
    --gold-line: #b8955c;
    --brand: #9cc0f0;
    --brand-dark: #c4dafa;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body[dir="ltr"] { --sans: "Lato", "Segoe UI", Arial, sans-serif; font-size: 17px; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--ink); }

/* gold ornament: line, diamond, line */
.orn { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px auto 0; color: var(--gold-line); font-size: 9px; line-height: 1; }
.orn::before, .orn::after { content: ""; width: 56px; height: 1px; background: currentColor; }
.orn.start { justify-content: flex-start; margin-inline: 0; }

/* ---------- header ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--gold-line) 35%, transparent);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 92px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 46px; width: auto; display: block; }
@media (prefers-color-scheme: dark) {
  .logo img { background: #f5f1e8; border-radius: 4px; padding: 4px 8px; box-sizing: content-box; }
}
.nav { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 600; position: relative; padding: 6px 0; }
.nav a:not(.lang)::after { content: ""; position: absolute; inset-inline: 30%; bottom: 0; height: 1px; background: var(--gold-line); opacity: 0; transition: opacity .25s, inset .25s; }
.nav a:not(.lang):hover::after { opacity: 1; inset-inline: 0; }
.nav a:hover { color: var(--navy); }
.nav .lang { border: 1px solid var(--gold-line); color: var(--gold); border-radius: 30px; padding: 4px 18px; font-size: 16px; }
.nav .lang:hover { background: var(--gold-line); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--navy); color: #fff;
  text-decoration: none; padding: 14px 34px; border-radius: 2px;
  font-weight: 700; letter-spacing: .02em;
  border: 1px solid var(--navy);
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--gold-line); border-color: var(--gold-line); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: var(--on-dark);
  text-align: center;
  padding: 110px 0 120px;
  background:
    radial-gradient(ellipse 55% 60% at 50% 45%, rgba(19, 40, 74, 0.96) 25%, rgba(19, 40, 74, 0.55) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 0L44 22L22 44L0 22Z' fill='none' stroke='%23d2b07a' stroke-opacity='.35'/%3E%3C/svg%3E"),
    var(--navy);
}
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); }
.eyebrow { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 0 0 26px; color: var(--gold-light); font-size: 15px; font-weight: 600; letter-spacing: .18em; }
.eyebrow::before, .eyebrow::after { content: ""; width: 44px; height: 1px; background: var(--gold-light); opacity: .7; }
.eyebrow span + span::before { content: "·"; margin-inline-end: 16px; }
.hero h1 { color: #fff; font-weight: 700; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.15; margin: 0 auto; max-width: 900px; }
.hero h1 .hl { color: var(--gold-light); display: block; }
.hero .orn { color: var(--gold-light); margin: 30px auto; }
.hero .lead { font-size: 21px; line-height: 1.7; color: var(--on-dark); max-width: 760px; margin: 0 auto; opacity: .92; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.hero .btn { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-deep); }
.hero .btn:hover { background: #fff; border-color: #fff; color: var(--navy-deep); }
.hero .btn-ghost { background: transparent; border-color: rgba(245, 241, 232, .55); color: #fff; }
.hero .btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); background: transparent; }

/* ---------- intro + values ---------- */
.intro { padding: 96px 0 88px; text-align: center; }
.intro p.big { font-family: var(--serif); font-size: clamp(21px, 2.3vw, 26px); line-height: 1.7; color: var(--ink); max-width: 860px; margin: 0 auto; }
.stack { display: flex; justify-content: center; gap: 12px; list-style: none; padding: 0; margin: 30px 0 0; }
.stack li { border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-soft); padding: 6px 22px; border-radius: 30px; font-size: 15px; font-weight: 600; letter-spacing: .04em; }

.values { background: var(--bg-soft); border-block: 1px solid var(--line); padding: 84px 0; text-align: center; }
.values h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 500; line-height: 1.45; max-width: 820px; margin: 0 auto; }
.values-list { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.values-list li { padding: 8px 18px; font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--ink); }
.values-list li + li { border-inline-start: 1px solid var(--line); }
.values-list .num { display: block; font-size: 30px; font-weight: 500; color: var(--gold); margin-bottom: 10px; font-family: Georgia, "Times New Roman", serif; letter-spacing: .06em; }

/* ---------- sections ---------- */
section { padding: 104px 0; }
section.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.sec-head { text-align: center; margin: 0 auto 60px; max-width: 760px; }
.sec-head .kicker { display: block; color: var(--gold); font-size: 14px; font-weight: 700; letter-spacing: .2em; margin-bottom: 10px; }
h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.15; margin: 0; }
.section-lead { color: var(--ink-soft); margin: 18px auto 0; font-size: 19px; }

/* solutions: cards */
.solutions { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.solutions li {
  flex: 0 1 calc((100% - 56px) / 3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 40px 32px 36px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.solutions li:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.solutions .ico { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold-line) 18%, transparent); }
.solutions .ico svg { width: 32px; height: 32px; }
.solutions h3 { font-size: 26px; margin: 0; direction: ltr; unicode-bidi: isolate; letter-spacing: .01em; }
.solutions .orn { margin: 14px auto 16px; }
.solutions .orn::before, .solutions .orn::after { width: 28px; }
.solutions p { margin: 0; color: var(--ink-soft); font-size: 17px; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-inline-start: 3px solid var(--gold-line); padding: 30px 34px; border-radius: var(--radius); }
.svc h3 { font-size: 24px; margin: 0 0 10px; }
.svc p { margin: 0; color: var(--ink-soft); font-size: 17px; }

/* about: navy band with a large quote mark */
.about { background: var(--navy); color: var(--on-dark); text-align: center; position: relative; overflow: hidden; }
.about h2 { color: #fff; }
.about .sec-head { margin-bottom: 30px; }
.about .kicker { color: var(--gold-light) !important; }
.about-text { position: relative; max-width: 820px; margin: 0 auto; font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.75; color: var(--on-dark); }
.about-text::before { content: "\201D"; display: block; font-family: Georgia, serif; font-size: 110px; line-height: .6; color: var(--gold-light); opacity: .55; margin-bottom: 12px; }
body[dir="ltr"] .about-text::before { content: "\201C"; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.c-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px; text-align: center; transition: box-shadow .3s; }
.c-card:hover { box-shadow: var(--shadow); }
.c-card .ico { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; border: 1px solid var(--gold-line); color: var(--gold); display: grid; place-items: center; }
.c-card .ico svg { width: 24px; height: 24px; }
.c-card h3 { font-size: 20px; margin: 0 0 6px; }
.c-card p { margin: 0; color: var(--ink-soft); }
.c-card a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 19px; }
.c-card a:hover { color: var(--gold); }
.company-line { text-align: center; color: var(--muted); margin: 40px 0 0; font-size: 16px; }

/* ---------- legal pages ---------- */
.page { padding: 72px 0 104px; }
.page article { max-width: 800px; margin: 0 auto; }
.page h1 { font-size: clamp(36px, 5vw, 50px); line-height: 1.15; margin: 0 0 8px; }
.page .updated { color: var(--muted); margin: 0 0 40px; padding-bottom: 22px; border-bottom: 1px solid var(--line); position: relative; }
.page .updated::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -2px; width: 80px; height: 3px; background: var(--gold-line); }
.page h2 { font-size: 27px; margin: 44px 0 12px; }
.page p, .page li { color: var(--ink-soft); }
.page ul { padding-inline-start: 22px; }
.page li::marker { color: var(--gold-line); }
.box { background: var(--bg-soft); border: 1px solid var(--line); border-inline-start: 3px solid var(--gold-line); border-radius: var(--radius); padding: 18px 26px; margin: 22px 0; }
.box p { margin: 6px 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-soft); padding: 38px 0; font-size: 15px; border-top: 3px solid var(--gold-line); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-contact a { color: var(--gold-light); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .solutions li { flex-basis: calc((100% - 28px) / 2); }
  .values-list { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .values-list li:nth-child(4) { border-inline-start: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding: 72px 0 80px; }
  .hero .lead { font-size: 19px; }
  section, .intro { padding: 68px 0; }
  .values { padding: 60px 0; }
  .values-list { grid-template-columns: 1fr 1fr; }
  .values-list li { border-inline-start: 0 !important; }
  .values-list li:last-child { grid-column: 1 / -1; }
  .solutions li { flex-basis: 100%; }
  .svc-grid { grid-template-columns: 1fr; }
  .nav { gap: 14px 16px; }
  .logo img { height: 38px; }
  .nav .lang { padding: 2px 12px; font-size: 14.5px; }
  .nav a { font-size: 16px; }
  .btn { width: 100%; }
}

/* ---------- accessibility ---------- */
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 18px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 0; color: #fff; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.hero :focus-visible, .about :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }

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

/* text size: scales everything except the menu itself */
html.a11y-zoomed body > :not(.a11y-root) { zoom: var(--a11y-zoom); }

html.a11y-contrast {
  --ink: #000; --ink-soft: #000; --muted: #000; --bg: #fff; --bg-soft: #fff; --surface: #fff; --line: #000;
  --brand: #0000c8; --brand-dark: #000080; --gold: #000; --gold-line: #000;
  --navy: #000; --navy-deep: #000; --gold-light: #ffeb3b; --on-dark: #fff; --on-dark-soft: #fff;
}
html.a11y-contrast .hero { background: #000; }
@media (prefers-color-scheme: dark) {
  html.a11y-contrast {
    --ink: #fff; --ink-soft: #fff; --muted: #fff; --bg: #000; --bg-soft: #000; --surface: #000; --line: #fff;
    --brand: #ffeb3b; --brand-dark: #fff59d; --gold: #ffeb3b; --gold-line: #fff;
  }
}

html.a11y-links a:not(.btn):not(.logo):not(.a11y-link) { text-decoration: underline !important; text-underline-offset: 3px; font-weight: 700; background: color-mix(in srgb, var(--brand) 14%, transparent); }
html.a11y-font body, html.a11y-font body * { font-family: Arial, "Segoe UI", sans-serif !important; letter-spacing: 0.02em; word-spacing: 0.08em; }
html.a11y-font body { line-height: 1.85; }
html.a11y-noanim, html.a11y-noanim *, html.a11y-noanim *::before, html.a11y-noanim *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }

/* accessibility menu */
.a11y-root { position: fixed; bottom: 18px; left: 18px; z-index: 50; font-family: Arial, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.4; }
.a11y-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #d2b07a; background: #13284a; color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.a11y-btn:hover { background: #1d4278; }
.a11y-btn:focus-visible { outline: 3px solid #ffb300; outline-offset: 2px; }
.a11y-panel { position: absolute; bottom: 62px; left: 0; width: 250px; max-width: calc(100vw - 36px); max-height: calc(100vh - 100px); overflow-y: auto; background: #fff; color: #1b2433; border: 2px solid #13284a; border-radius: 6px; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: grid; gap: 8px; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
.a11y-panel button { font: inherit; cursor: pointer; border: 1px solid #9ea5b2; background: #faf7f1; color: #1b2433; border-radius: 4px; padding: 8px 10px; }
.a11y-panel button:hover { border-color: #13284a; }
.a11y-panel button:focus-visible, .a11y-link:focus-visible { outline: 3px solid #1d4278; outline-offset: 1px; }
.a11y-close { padding: 2px 9px !important; }
.a11y-size { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.a11y-size button { font-weight: 700; }
.a11y-size output { min-width: 48px; text-align: center; font-weight: 700; }
.a11y-opt { text-align: start; }
.a11y-opt[aria-pressed="true"] { background: #13284a !important; color: #fff !important; border-color: #13284a !important; }
.a11y-opt[aria-pressed="true"]::before { content: "✓ "; }
.a11y-reset { background: #fff !important; }
.a11y-link { color: #1d4278; text-align: center; padding-top: 4px; }
@media print { .a11y-root, .skip-link { display: none; } }
