/* ============================================================
   ICT BORDERS — GLOBAL STYLESHEET
   ============================================================ */

:root {
  /* Brand palette sampled directly from the ICT Borders logo:
     navy #093069, maroon #790E2A. Variable names below (--blue, --cyan)
     are kept from the original scheme to avoid touching every usage site,
     but now hold brand-navy and brand-maroon tints respectively. */
  --ink: #060A10;
  --navy: #0B121C;
  --navy-soft: #101A27;
  --charcoal: #161F2C;
  --line: #26333F;
  --line-soft: #1E2A36;
  --fog: #8A96A3;
  --mist: #B7C0CA;
  --paper: #F5F7FA;
  --blue: #0F52B2;       /* brand navy, brightened for UI (logo navy: #093069) */
  --blue-bright: #1363D8; /* brand navy hover state */
  --cyan: #C41241;        /* brand maroon, brightened for UI (logo maroon: #790E2A) */
  --green: #34D399;
  --font-display: "Manrope", ui-sans-serif, sans-serif;
  --font-body: "Inter", ui-sans-serif, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-h: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 0.5em; color: #fff; line-height: 1.15; }
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; color: var(--fog); line-height: 1.65; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.grid-texture {
  background-image:
    linear-gradient(to right, rgba(148,163,184,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148,163,184,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
}
.section { padding: 96px 0; }
.section--navy { background: var(--navy); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.eyebrow {
  font-family: var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 12px; font-weight: 500; color: var(--cyan); margin: 0 0 16px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff;
  padding: 12px 20px; z-index: 9999; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------------- HEADER ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-scrolled {
  background-color: rgba(6,10,16,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.site-header__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: 20px; flex-shrink: 0; }
.site-header__mark {
  display: flex; align-items: center; justify-content: center;
  height: 38px; padding: 6px 9px; box-sizing: border-box;
  /* Icon glyph is dark navy/maroon; a light backing chip keeps it legible
     over the dark header (the source logo has a white background). */
  background: rgba(253,253,253,0.94);
  border-radius: 6px;
  flex-shrink: 0;
}
.site-header__mark-img { height: 100%; width: auto; display: block; }
.site-header__word { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 19px; letter-spacing: -0.01em; }
.site-footer .site-header__mark { height: 34px; padding: 5px 8px; }
.site-footer .site-header__word { font-size: 17px; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a, .site-nav__trigger {
  color: var(--mist); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 10px 14px; background: none; border: none; transition: color 0.3s ease;
  display: inline-flex; align-items: center; gap: 4px;
}
.site-nav a:hover, .site-nav__trigger:hover { color: #fff; }
.site-nav__item { position: relative; }
.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 12px; width: 620px; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.site-nav__item:hover .mega-menu,
.site-nav__item:focus-within .mega-menu { opacity: 1; pointer-events: auto; }
.mega-menu > * { background: var(--navy); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 24px 48px -20px rgba(0,0,0,0.6); }
.mega-menu { display: grid; }
.mega-menu::before { content: ""; display: none; }
.mega-menu-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 16px; background: var(--navy); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 24px 48px -20px rgba(0,0,0,0.6); }
.mega-menu__item {
  display: flex; gap: 12px; padding: 12px; border-radius: 8px; text-decoration: none;
  color: var(--mist); transition: background-color 0.2s ease;
}
.mega-menu__item:hover { background: var(--charcoal); }
.mega-menu__icon {
  width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  background: var(--charcoal); border: 1px solid var(--line); color: var(--cyan); flex-shrink: 0;
}
.mega-menu__item strong { display: block; color: #fff; font-size: 13px; }
.mega-menu__item small { display: block; color: var(--fog); font-size: 12px; margin-top: 2px; }
.mega-menu--simple { width: 420px; }
.mega-menu__item--simple { padding: 10px 14px; font-size: 14px; }

.site-header__ctas { display: flex; gap: 12px; }
.site-header__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.site-header__toggle span { width: 22px; height: 2px; background: #fff; display: block; }

.mobile-nav {
  display: none; flex-direction: column; background: var(--ink); padding: 8px 24px 24px;
  border-top: 1px solid var(--line-soft);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { color: #fff; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.mobile-nav__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

@media (max-width: 1080px) {
  .site-nav, .site-header__ctas { display: none; }
  .site-header__toggle { display: flex; }
}

/* ---------------- HERO SLIDER ---------------- */
.hero { position: relative; width: 100%; height: 680px; overflow: hidden; background: var(--ink); }
@media (min-width: 768px) { .hero { height: 720px; } }
@media (min-width: 1440px) { .hero { height: 760px; } }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease-in-out; pointer-events: none; }
.hero__slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink) 0%, rgba(6,10,16,0.7) 45%, rgba(6,10,16,0.3) 100%),
              linear-gradient(to right, rgba(6,10,16,0.8) 0%, transparent 55%);
}
.hero__copy { position: relative; z-index: 2; max-width: 640px; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 64px max(24px, 5vw) 0; }
.hero__desc { color: var(--mist); font-size: 17px; max-width: 520px; margin: 0 0 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 32px; display: flex; align-items: center; justify-content: center; gap: 24px; }
.hero__arrow {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff; transition: all 0.3s ease;
}
.hero__arrow:hover { border-color: var(--cyan); color: var(--cyan); }
.hero__dots { display: flex; align-items: center; gap: 10px; }
.hero__dot { width: 16px; height: 6px; border-radius: 999px; border: none; background: rgba(255,255,255,0.3); transition: all 0.3s ease; padding: 0; }
.hero__dot.is-active { width: 32px; background: var(--cyan); }
.hero__dot:hover { background: rgba(255,255,255,0.6); }
@media (max-width: 640px) { .hero__arrow { display: none; } }

/* ---------------- METRICS ---------------- */
.metrics-bar { background: var(--navy); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 48px 0; }
.metrics-bar__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 768px) { .metrics-bar__grid { grid-template-columns: repeat(4, 1fr); } }
.metric { border-left: 2px solid rgba(15,82,178,0.5); padding-left: 18px; }
.metric__value { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: #fff; }
.metric__label { font-size: 13px; color: var(--fog); margin-top: 4px; }

/* ---------------- OPERATIONS DASHBOARD ---------------- */
.ops-dashboard { padding: 96px 0; }
.ops-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .ops-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ops-grid { grid-template-columns: repeat(5, 1fr); } }
.ops-card { border: 1px solid var(--line); background: rgba(22,31,44,0.6); border-radius: 10px; padding: 20px; }
.ops-dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; margin-bottom: 16px; }
.ops-dot--green { background: var(--green); }
.ops-dot--blue { background: var(--cyan); }
.ops-card__label { color: #fff; font-size: 13px; font-weight: 600; margin: 0; }
.ops-card__status { font-family: var(--font-mono); font-size: 12px; color: var(--fog); margin: 6px 0 0; }

/* ---------------- SECTION HEADING ---------------- */
.section-heading { max-width: 640px; }
.section-heading--center { margin: 0 auto; text-align: center; }
.section-heading__desc { color: var(--fog); }

/* ---------------- GRID / CARDS ---------------- */
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 48px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--line);
  background: var(--navy-soft); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.38s cubic-bezier(0.22,1,0.36,1), box-shadow 0.38s cubic-bezier(0.22,1,0.36,1), border-color 0.38s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px -20px rgba(0,0,0,0.55); border-color: rgba(196,18,65,0.4); }
.card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.card__media { position: relative; height: 190px; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__media img { transform: scale(1.08); }
.card__icon {
  position: absolute; top: 14px; left: 14px; width: 38px; height: 38px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; background: rgba(6,10,16,0.8);
  border: 1px solid var(--line); color: var(--cyan); backdrop-filter: blur(4px);
}
.card__badge {
  position: absolute; top: 14px; left: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cyan); background: rgba(6,10,16,0.75); padding: 5px 10px; border-radius: 4px;
}
.card__content { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; transition: opacity 0.35s ease; }
.card:hover .card__content { opacity: 0.85; } /* controlled fade — never 0 */
.card__content h3 { margin-bottom: 10px; }
.card__content p { font-size: 14px; flex: 1; }
.card__meta { font-size: 12px; color: var(--fog); }
.card__list { margin: 12px 0 0; }
.card__list li { font-size: 12px; color: var(--mist); padding-left: 14px; position: relative; margin-bottom: 6px; }
.card__list li::before { content: ""; width: 4px; height: 4px; border-radius: 999px; background: var(--cyan); position: absolute; left: 0; top: 6px; }
.card__cta { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--cyan); transition: gap 0.3s ease; }
.card:hover .card__cta { gap: 10px; }
.card__metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.card__metrics strong { display: block; font-size: 14px; color: #fff; }
.card__metrics span { display: block; font-size: 10px; color: var(--fog); margin-top: 2px; }

.card--overlay { height: 320px; }
.card--overlay img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card--overlay:hover img { transform: scale(1.08); }
.card__overlay-scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 0%, rgba(6,10,16,0.55) 55%, rgba(6,10,16,0.1) 100%); transition: background 0.3s ease; }
.card--overlay:hover .card__overlay-scrim { background: linear-gradient(to top, rgba(6,10,16,0.97) 0%, rgba(6,10,16,0.7) 60%, rgba(6,10,16,0.2) 100%); }
.card__overlay-content { position: relative; z-index: 2; margin-top: auto; padding: 24px; transition: opacity 0.35s ease; }
.card--overlay:hover .card__overlay-content { opacity: 0.9; }

.card--featured { flex-direction: column; }
@media (min-width: 768px) { .card--featured { flex-direction: row; } .card--featured .card__media { height: auto; width: 50%; } .card--featured .card__content { width: 50%; justify-content: center; padding: 40px; } }

.card--static:hover { transform: translateY(-4px); }
.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tech-pill { font-size: 12px; color: var(--mist); background: var(--charcoal); border: 1px solid var(--line-soft); border-radius: 6px; padding: 8px 12px; }

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 13px; letter-spacing: 0.02em; padding: 14px 24px; border-radius: 6px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: all 0.3s ease;
}
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(15,82,178,0.55); }
.btn--outline { border-color: var(--line); color: var(--paper); background: transparent; }
.btn--outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.btn--block { width: 100%; }

/* ---------------- CTA SECTION ---------------- */
.cta-section { background: var(--navy); border-top: 1px solid var(--line-soft); padding: 100px 0; position: relative; overflow: hidden; }
.cta-section__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-section__desc { max-width: 520px; margin: 0 auto; }
.cta-section__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }

/* ---------------- PAGE HERO (inner pages) ---------------- */
.page-hero { position: relative; padding: 168px 0 80px; background: var(--navy); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.page-hero--image::before {
  content: ""; position: absolute; inset: 0; background-image: var(--hero-bg); background-size: cover; background-position: center; opacity: 0.22;
}
.page-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--navy), rgba(11,18,28,0.85)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 760px; }
.page-hero__desc { max-width: 620px; font-size: 17px; margin-top: 12px; }

/* ---------------- BREADCRUMBS ---------------- */
.breadcrumbs { font-size: 12px; color: var(--fog); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumbs a { text-decoration: none; color: var(--fog); transition: color 0.3s ease; }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs__sep { opacity: 0.5; }
.breadcrumbs__current { color: var(--mist); }

/* ---------------- MARQUEE ---------------- */
.marquee-section { padding: 80px 0; background: var(--navy); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.marquee-section__head { margin-bottom: 40px; }
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--navy), transparent); }
.marquee__track { display: flex; width: max-content; gap: 16px; animation: marquee 32s linear infinite; padding: 0 24px; }
.marquee__track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__pill {
  display: flex; align-items: center; justify-content: center; height: 64px; padding: 0 28px; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 8px; background: var(--charcoal); color: var(--mist);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; transition: all 0.3s ease;
}
.marquee__pill:hover { border-color: rgba(196,18,65,0.5); color: #fff; }

/* ---------------- ACCORDION (FAQ) ---------------- */
.accordion { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.accordion__item { border-bottom: 1px solid var(--line-soft); }
.accordion__item:last-child { border-bottom: none; }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; color: #fff; font-weight: 600; font-size: 15px; text-align: left; padding: 20px 0;
}
.accordion__icon { position: relative; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line); flex-shrink: 0; }
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; background: var(--fog); top: 50%; left: 50%; transition: all 0.3s ease;
}
.accordion__icon::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.accordion__icon::after { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { border-color: var(--cyan); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::before,
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { background: var(--cyan); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.38s cubic-bezier(0.22,1,0.36,1); }
.accordion__panel.is-open { grid-template-rows: 1fr; }
.accordion__panel-inner { overflow: hidden; }
.accordion__panel p { padding-bottom: 20px; font-size: 14px; max-width: 720px; }

/* ---------------- FILTER PILLS ---------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-pill {
  padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line);
  background: transparent; color: var(--mist); transition: all 0.3s ease;
}
.filter-pill:hover { border-color: var(--cyan); color: var(--cyan); }
.filter-pill.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------------- FORMS ---------------- */
.form-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; color: var(--mist); }
.field label .req { color: var(--cyan); }
.field input, .field select, .field textarea {
  background: var(--navy-soft); border: 1px solid var(--line); color: #fff; border-radius: 6px;
  padding: 13px 14px; font-family: inherit; font-size: 14px; transition: border-color 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); }
.field textarea { resize: vertical; min-height: 140px; }
.field--error input, .field--error select, .field--error textarea { border-color: #F87171; }
.field__error { font-size: 12px; color: #F87171; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-success {
  border: 1px solid rgba(52,211,153,0.4); background: rgba(52,211,153,0.08); border-radius: 12px;
  padding: 40px; text-align: center;
}
.form-success__icon {
  width: 52px; height: 52px; border-radius: 999px; background: rgba(52,211,153,0.18); color: var(--green);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}

/* ---------------- CONTACT ROWS ---------------- */
.contact-row { display: flex; gap: 16px; border: 1px solid var(--line); background: var(--navy-soft); border-radius: 10px; padding: 20px; margin-bottom: 16px; }
.contact-row__icon { width: 40px; height: 40px; border-radius: 6px; background: rgba(15,82,178,0.15); border: 1px solid rgba(15,82,178,0.4); color: var(--cyan); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row strong { display: block; color: #fff; font-size: 14px; margin-top: 4px; }

.map-frame {
  margin-top: 24px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background: var(--navy-soft); filter: grayscale(0.15) contrast(1.05);
}

/* ---------------- FOOTER ---------------- */
.site-footer { background: var(--navy); border-top: 1px solid var(--line-soft); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; padding-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr repeat(4, 1fr); } }
.footer-col--wide { grid-column: span 2; }
@media (min-width: 1024px) { .footer-col--wide { grid-column: span 1; } }
.footer-col a { display: block; color: var(--fog); text-decoration: none; font-size: 14px; padding: 5px 0; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-col .site-header__logo { display: flex; padding: 0; } /* override .footer-col a's display:block above */
.footer-col__desc { color: var(--fog); font-size: 14px; max-width: 300px; margin-top: 16px; }
.footer-address {
  display: flex; align-items: flex-start; gap: 8px; font-style: normal;
  color: var(--mist); font-size: 14px; line-height: 1.55; max-width: 300px; margin-top: 14px;
}
.footer-address svg { flex-shrink: 0; margin-top: 3px; color: var(--cyan); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--mist); }
.footer-contact a { display: flex; align-items: center; gap: 8px; color: var(--mist); text-decoration: none; }
.footer-contact a:hover { color: var(--cyan); }
.footer-contact__note { color: var(--fog); font-size: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--fog); }
.footer-bottom a { color: var(--fog); text-decoration: none; }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------------- BACK TO TOP ---------------- */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 400; width: 44px; height: 44px; border-radius: 999px;
  background: var(--blue); color: #fff; border: none; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.5); transition: all 0.3s ease;
}
.back-to-top:hover { background: var(--blue-bright); transform: translateY(-3px); }
.back-to-top[hidden] { display: none; }

/* ---------------- ABOUT NUMBERED CARDS ---------------- */
.numbered-card { display: flex; gap: 18px; border: 1px solid var(--line); background: var(--navy-soft); border-radius: 12px; padding: 24px; }
.numbered-card__n { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--blue); flex-shrink: 0; }

/* ---------------- 404 ---------------- */
.not-found { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 24px; }
.not-found__icon { width: 64px; height: 64px; border-radius: 999px; background: rgba(15,82,178,0.15); border: 1px solid rgba(15,82,178,0.4); color: var(--cyan); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }

/* ---------------- ARTICLE (blog single) ---------------- */
.article { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.article__lead { font-size: 18px; color: var(--mist); }
.article__body p { color: var(--fog); }
