/* ============================================================
   IT Supervision — light brand theme
   Blue + red drawn from the ITSV logo. Outfit display, Inter body.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-tint: #eaf1fa;
  --navy: #0d1b36;          /* dark bands, footer */
  --navy-2: #12244a;
  --brand: #2d519c;          /* logo blue */
  --brand-dark: #1f3a72;
  --brand-bright: #3765c4;
  --sky: #5b86d7;
  --red: #e2242e;            /* logo red — used sparingly */
  --green: #1a9e55;
  --green-dim: rgba(26, 158, 85, 0.12);
  --text: #1b2a44;
  --muted: #55647e;
  --line: #e2e9f3;
  --line-strong: #c9d6e8;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(13, 27, 54, 0.06), 0 4px 12px rgba(13, 27, 54, 0.06);
  --shadow-md: 0 2px 6px rgba(13, 27, 54, 0.07), 0 16px 40px rgba(13, 27, 54, 0.12);
  --shadow-lg: 0 24px 70px rgba(13, 27, 54, 0.18);
  --radius: 18px;
  --header: 78px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
}

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

::selection {
  background: rgba(45, 81, 156, 0.18);
}

.skip {
  position: absolute;
  left: 12px;
  top: -44px;
  z-index: 100;
  background: var(--brand);
  color: var(--white);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(13, 27, 54, 0.07);
}

.header-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.logo img {
  height: 58px;
  width: auto;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.7rem;
}

.desktop-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transition: right 0.22s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  right: 0;
}

.desktop-nav a[aria-current="page"] {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.header-phone {
  display: none;
  color: var(--text);
  font-weight: 650;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  align-items: center;
  gap: 0.45rem;
}

.header-phone svg {
  color: var(--brand);
}

.header-phone:hover {
  color: var(--brand);
}

.header-actions .header-cta {
  display: none;
}

.menu-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 940px) {
  .desktop-nav { display: flex; }
  .header-phone { display: inline-flex; }
  .header-actions .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* ---------- Mobile nav overlay ---------- */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--bg);
  display: none;
  padding: calc(var(--header) + 2rem) 1.5rem 2rem;
}

.nav-overlay.is-open {
  display: block;
}

.nav-overlay .wrap {
  display: grid;
  gap: 2rem;
}

.nav-overlay nav {
  display: grid;
  gap: 0.85rem;
}

.nav-overlay nav a {
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.nav-overlay nav a:hover,
.nav-overlay nav a[aria-current="page"] {
  color: var(--brand);
}

.nav-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.nav-meta a {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 12px;
  font-weight: 650;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--brand-bright), var(--brand));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(45, 81, 156, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Dark bands invert the ghost button */
.on-dark .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.on-dark .btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 12% 0%, rgba(45, 81, 156, 0.10), transparent 60%),
    radial-gradient(ellipse 45% 45% at 95% 20%, rgba(91, 134, 215, 0.12), transparent 62%),
    linear-gradient(180deg, #f7fafd 0%, var(--bg) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(45, 81, 156, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 81, 156, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
  z-index: -1;
}

.hero-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.9rem 0.38rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
  margin: 0;
}

.kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  font-weight: 800;
  max-width: 15ch;
  margin: 1.15rem 0 1.1rem;
}

h1 .accent {
  color: var(--brand);
}

.lede {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 1.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-dim);
  color: var(--green);
  display: grid;
  place-items: center;
  flex: none;
}

/* ---------- Hero panel (status card) ---------- */

.hero-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--sky) 60%, var(--red));
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.traffic {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.traffic.r { background: #f26d6d; }
.traffic.y { background: #f5c04a; }
.traffic.g { background: #4cc98a; }

.panel-title {
  margin-left: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.panel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.pill .dot.green { background: var(--green); }
.pill .dot.blue { background: var(--brand-bright); }

.panel-body {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

@media (min-width: 560px) {
  .panel-body {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 1.4rem;
  }
}

.status-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.95rem;
}

.status-list strong {
  font-weight: 650;
}

.ok {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ok::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 150px;
  padding: 1rem;
  background: var(--navy);
  border-radius: 12px;
}

.bars span {
  flex: 1;
  background: linear-gradient(to top, var(--brand-bright), var(--sky));
  border-radius: 6px 6px 2px 2px;
  opacity: 0.9;
}

/* ---------- Stat band ---------- */

.stat-band {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 820px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  padding: 1.6rem 1.2rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.stat:nth-child(-n + 2) { border-top: 0; }

@media (min-width: 820px) {
  .stat { border-top: 0; border-left: 1px solid var(--line); }
  .stat:first-child { border-left: 0; }
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Sections ---------- */

.section {
  padding: 5rem 0;
}

.section.alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 720;
  max-width: 22ch;
  margin-bottom: 0.9rem;
}

.section-lead {
  max-width: 42rem;
  color: var(--muted);
  margin: 0 0 2.4rem;
  font-size: 1.03rem;
}

/* ---------- Partner strip ---------- */

.partner-strip {
  padding: 2.4rem 0;
  background: var(--bg);
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.5rem;
}

.partner-label {
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.partner {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: #93a2ba;
  transition: color 0.2s;
}

.partner:hover {
  color: var(--brand);
}

/* ---------- Service cards ---------- */

.cards {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 700px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1020px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  min-height: 100%;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--sky));
  opacity: 0;
  transition: opacity 0.2s;
}

a.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

a.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg-tint);
  color: var(--brand);
  flex: none;
}

.card h3 {
  font-size: 1.18rem;
  font-weight: 680;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  flex: 1;
}

.more {
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

a.card:hover .more {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Why band (dark) ---------- */

.why-band {
  background:
    radial-gradient(ellipse 55% 70% at 85% 10%, rgba(91, 134, 215, 0.18), transparent 60%),
    radial-gradient(ellipse 40% 60% at 8% 90%, rgba(226, 36, 46, 0.10), transparent 55%),
    var(--navy);
  color: #eef3fb;
  padding: 5rem 0;
}

.why-band .eyebrow {
  color: var(--sky);
}

.why-band h2 {
  color: var(--white);
}

.why-band .section-lead {
  color: #aebad0;
}

.why-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 820px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

.why {
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}

.why .card-icon {
  background: rgba(91, 134, 215, 0.16);
  color: var(--sky);
  margin-bottom: 0.9rem;
}

.why h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.why p {
  margin: 0;
  color: #aebad0;
  font-size: 0.94rem;
}

/* ---------- Split / facts ---------- */

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3.5rem;
  }
}

.facts {
  display: grid;
  gap: 0.9rem;
}

.fact {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.fact strong {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--brand);
  min-width: 7.5ch;
}

.fact span {
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 1.1rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  position: relative;
  padding: 1.7rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.step .num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--brand);
  font-family: var(--display);
  font-weight: 750;
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step p,
.step ul {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.step ul {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

/* ---------- CTA band (dark) ---------- */

.cta {
  background:
    radial-gradient(ellipse 70% 90% at 80% 15%, rgba(55, 101, 196, 0.35), transparent 58%),
    radial-gradient(ellipse 35% 55% at 10% 100%, rgba(226, 36, 46, 0.12), transparent 55%),
    var(--navy);
  color: #eef3fb;
  padding: 5rem 0;
}

.cta .eyebrow { color: var(--sky); }
.cta h2 { color: var(--white); max-width: 20ch; }
.cta .section-lead { color: #aebad0; margin-bottom: 2rem; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 3.6rem 0 2.8rem;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  max-width: 20ch;
}

.prose {
  max-width: 46rem;
}

.prose p {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 1.02rem;
}

.prose p strong {
  color: var(--text);
}

/* ---------- Services page rows ---------- */

.service-row {
  display: grid;
  gap: 1.1rem;
  align-items: start;
  grid-template-columns: auto 1fr;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 1rem);
}

.service-row:first-of-type {
  border-top: 1px solid var(--line);
}

.service-row .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.service-row h2 {
  font-size: 1.45rem;
  max-width: none;
  margin-bottom: 0.4rem;
}

.service-row p {
  margin: 0;
  color: var(--muted);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.tag {
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---------- Banner band (home) ---------- */

.banner-band {
  padding: 4.5rem 0;
}

.banner-band img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

/* ---------- Owner portrait (about) ---------- */

.owner-side {
  display: grid;
  gap: 1rem;
}

.portrait {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

/* ---------- Timeline (about) ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

.timeline li {
  position: relative;
  padding: 0 0 1.8rem 2.1rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: -4px;
  width: 2px;
  background: var(--line-strong);
}

.timeline li:last-child::before {
  display: none;
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--brand);
}

.timeline strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
}

.timeline p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 840px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-card .contact-line {
  flex: 1;
  align-items: center;
}

.contact-card,
form.contact-form {
  padding: 1.7rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-card h2,
form.contact-form h2 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-line:last-of-type {
  border-bottom: 0;
}

.contact-line .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.contact-line strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-line a,
.contact-line span.value {
  color: var(--text);
  font-weight: 650;
}

.contact-line a:hover {
  color: var(--brand);
}

label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font: inherit;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-bright);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(55, 101, 196, 0.15);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* ---------- Support page ---------- */

.support-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 840px) {
  .support-grid { grid-template-columns: 1fr 1fr; }
}

.support-grid .contact-card {
  display: flex;
  flex-direction: column;
}

.support-grid .card-icon {
  margin-bottom: 1rem;
}

.support-grid h2 {
  margin-bottom: 0.6rem;
}

.support-note {
  color: var(--muted);
  margin: 0 0 1.2rem;
  font-size: 0.97rem;
}

.session-form label {
  font-size: 0.95rem;
}

.label-hint {
  color: var(--muted);
  font-weight: 500;
}

.session-form input {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 0.9rem;
}

.download-steps {
  margin-top: 1.4rem;
  padding: 1.1rem 1.2rem;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.download-title {
  margin: 0 0 0.8rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.download-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.download-steps li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.download-steps li strong {
  color: var(--text);
}

.dl-num {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  margin-top: 0.1rem;
}

.dl-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.45rem 0 0;
  padding: 0.35rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  white-space: nowrap;
}

.dl-pill svg {
  color: var(--green);
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 0.8rem;
}

.field-row input {
  min-width: 0;
}

.check-inline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: -0.35rem 0 0.95rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
}

.check-inline input {
  width: auto;
  margin: 0;
  accent-color: var(--brand);
}

input.invalid,
textarea.invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(226, 36, 46, 0.12);
}

.form-status {
  margin: 0.9rem 0 0;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 600;
}

.form-status.ok {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(26, 158, 85, 0.3);
}

.form-status.err {
  background: rgba(226, 36, 46, 0.08);
  color: var(--red);
  border: 1px solid rgba(226, 36, 46, 0.25);
}

.support-fine {
  margin: auto 0 0;
  padding-top: 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3.5rem 0 1.5rem;
  background: var(--navy);
  color: #cdd7e8;
}

.foot-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

.site-footer h3 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b9ab5;
  margin: 0 0 0.9rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  color: #dbe4f2;
}

.site-footer a:hover {
  color: var(--white);
}

.social-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: #b9c5da;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}

.social-link:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-1px);
}

.foot-brand p {
  color: #aebad0;
  margin: 0;
  max-width: 30ch;
  font-size: 0.93rem;
}

.legal {
  margin-top: 2.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8b9ab5;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
}

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(13, 27, 54, 0.55);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.modal {
  background: var(--white);
  border-radius: 18px;
  max-width: 460px;
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-lg);
}

.modal h3 {
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
}

.modal p {
  color: var(--muted);
  margin: 0 0 1.3rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- Partner marquee ---------- */

.marquee {
  overflow: hidden;
  margin-top: 1.6rem;
  /* show ~4 cards at a time */
  width: min(720px, calc(100% - 2.5rem));
  margin-inline: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  padding: 0.4rem 0;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(calc(-50% - 0.7rem)); }
}

.pcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 150px;
  min-height: 132px;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.pcard span {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Scroll reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .card,
  .desktop-nav a::after {
    transition: none;
  }
}
