:root {
  --ink: #111111;
  --night: #0b0f16;
  --night-raised: #121925;
  --blue: #cadefc;
  --blue-strong: #9fc2f7;
  --blue-deep: #173f72;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: #dbe2ec;
  --line-dark: rgba(202, 222, 252, 0.2);
  --success: #9ce4bf;
  --danger: #ffb7b7;
  --shadow: 0 22px 70px rgba(18, 35, 58, 0.12);
  --radius: 16px;
  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.08; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3rem, 7vw, 5.85rem); font-weight: 650; }
h2 { margin-bottom: 1.25rem; font-size: clamp(2.25rem, 4.5vw, 4rem); font-weight: 620; }
h3 { margin-bottom: 1rem; font-size: clamp(1.35rem, 2.1vw, 1.7rem); font-weight: 650; }

.container { width: min(calc(100% - 3rem), var(--container)); margin-inline: auto; }
.section-pad { padding-block: clamp(5rem, 10vw, 8.5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--ink);
  background: var(--blue);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(202, 222, 252, 0.13);
}

.header-inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; width: 196px; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { color: #ecf2fb; font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.site-nav a:not(.nav-cta) { padding-block: 0.5rem; border-bottom: 1px solid transparent; }
.site-nav a:not(.nav-cta):hover, .site-nav a:not(.nav-cta):focus-visible { color: var(--blue); border-color: var(--blue); }
.site-nav .nav-cta { padding: 0.8rem 1.15rem; color: var(--ink); background: var(--blue); border-radius: 8px; }
.site-nav .nav-cta:hover, .site-nav .nav-cta:focus-visible { background: var(--white); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--line-dark); border-radius: 8px; }
.menu-button span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 4px 0; background: var(--blue); transition: transform 180ms ease, opacity 180ms ease; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 780px;
  padding: 175px 0 105px;
  color: var(--white);
  background-color: var(--night);
  background-image:
    linear-gradient(rgba(202, 222, 252, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202, 222, 252, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 76% 32%, rgba(62, 115, 185, 0.26), transparent 34%);
  background-size: 52px 52px, 52px 52px, auto;
}

.hero::after { content: ""; position: absolute; right: -140px; bottom: -180px; width: 470px; height: 470px; border: 1px solid rgba(202, 222, 252, 0.14); border-radius: 50%; box-shadow: 0 0 0 70px rgba(202, 222, 252, 0.025), 0 0 0 140px rgba(202, 222, 252, 0.018); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.hero-copy { max-width: 730px; }
.eyebrow, .section-kicker { margin-bottom: 1.15rem; color: var(--blue-deep); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 0.7rem; color: var(--blue); }
.eyebrow span { width: 26px; height: 1px; background: var(--blue); }
.hero-lead { max-width: 660px; margin-bottom: 2rem; color: #cbd4e1; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; margin-bottom: 2.3rem; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 1.8rem; padding: 0.8rem 1.2rem; border: 1px solid transparent; border-radius: 8px; font-size: 0.95rem; font-weight: 750; text-decoration: none; cursor: pointer; transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--blue); }
.button-primary:hover, .button-primary:focus-visible { background: var(--white); }
.button:disabled { cursor: wait; opacity: 0.68; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--white); font-size: 0.92rem; font-weight: 700; text-underline-offset: 5px; }
.text-link:hover, .text-link:focus-visible { color: var(--blue); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.65rem; padding: 0; margin: 0; list-style: none; }
.hero-tags li { padding: 0.45rem 0.75rem; color: #b7c3d2; border: 1px solid rgba(202, 222, 252, 0.17); border-radius: 999px; font-size: 0.78rem; }

.delivery-map { position: relative; padding: 1.25rem; background: rgba(17, 25, 37, 0.89); border: 1px solid rgba(202, 222, 252, 0.2); border-radius: var(--radius); box-shadow: 0 35px 100px rgba(0, 0, 0, 0.28); backdrop-filter: blur(12px); }
.map-heading { display: flex; justify-content: space-between; padding: 0.1rem 0.25rem 1rem; color: #dce6f3; border-bottom: 1px solid var(--line-dark); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.live-indicator { display: flex; align-items: center; gap: 0.5rem; color: #aebdce; }
.live-indicator i { width: 7px; height: 7px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 4px rgba(156, 228, 191, 0.11); }
.system-flow { position: relative; display: grid; gap: 0.55rem; padding: 1.2rem 0 1rem; margin: 0; list-style: none; }
.system-flow::before { content: ""; position: absolute; z-index: 0; top: 2.25rem; bottom: 2.1rem; left: 1.78rem; width: 1px; background: rgba(202, 222, 252, 0.22); }
.system-flow li { position: relative; z-index: 1; display: flex; align-items: center; gap: 1rem; min-height: 72px; padding: 0.8rem 0.9rem; background: #101722; border: 1px solid rgba(202, 222, 252, 0.12); border-radius: 10px; }
.system-flow li.flow-primary { background: var(--blue); border-color: var(--blue); color: var(--ink); box-shadow: 0 10px 40px rgba(73, 123, 191, 0.22); }
.flow-number { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; color: var(--blue); background: var(--night); border: 1px solid rgba(202, 222, 252, 0.22); border-radius: 7px; font-size: 0.75rem; font-weight: 800; }
.flow-primary .flow-number { color: var(--white); }
.system-flow strong, .system-flow small { display: block; }
.system-flow strong { font-size: 0.95rem; letter-spacing: -0.01em; }
.system-flow small { margin-top: 0.14rem; color: #96a5b8; font-size: 0.76rem; }
.flow-primary small { color: #39495c; }
.map-note { padding: 0.9rem 0.25rem 0.1rem; margin: 0; color: #8899ad; font-size: 0.78rem; line-height: 1.55; }

.services { background: var(--white); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.62fr); align-items: end; gap: 5rem; margin-bottom: 3.5rem; }
.section-heading h2 { max-width: 670px; margin-bottom: 0; }
.section-heading > p { margin-bottom: 0.4rem; color: #555e69; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { min-height: 350px; padding: clamp(1.6rem, 4vw, 2.6rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.service-card-featured { color: var(--white); background: var(--night); border-color: var(--night); }
.card-index { display: block; margin-bottom: 3.5rem; color: #627080; font-size: 0.75rem; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase; }
.service-card-featured .card-index { color: var(--blue); }
.service-card h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.service-card p { max-width: 540px; color: #5c6570; }
.service-card-featured p { color: #b7c2d0; }
.service-card ul { display: grid; gap: 0.55rem; padding: 1.25rem 0 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-card-featured ul { border-color: var(--line-dark); }
.service-card li { position: relative; padding-left: 1.25rem; font-size: 0.9rem; font-weight: 600; }
.service-card li::before { content: ""; position: absolute; top: 0.72rem; left: 0; width: 5px; height: 5px; background: var(--blue-deep); border-radius: 50%; }
.service-card-featured li::before { background: var(--blue); }
.technology-panel { display: grid; grid-template-columns: 0.58fr 1.42fr; gap: clamp(2rem, 5vw, 5rem); margin-top: 1rem; padding: clamp(1.7rem, 4vw, 2.8rem); background: var(--blue); border-radius: var(--radius); }
.technology-heading .section-kicker { margin-bottom: 0.75rem; }
.technology-heading h3 { max-width: 300px; margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
.technology-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.technology-groups article { padding-left: 1.4rem; border-left: 1px solid rgba(17, 17, 17, 0.22); }
.technology-groups h4 { margin: 0 0 0.55rem; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.technology-groups p { margin: 0; color: #334960; font-size: 0.86rem; }

.delivery { color: var(--ink); background: var(--blue); }
.delivery-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: start; gap: clamp(4rem, 9vw, 9rem); }
.section-kicker-light { color: var(--blue); }
.delivery .section-kicker-light { color: var(--blue-deep); }
.delivery-copy h2 { max-width: 570px; }
.delivery-copy > p:not(.section-kicker) { max-width: 600px; color: #334960; font-size: 1.05rem; }
.context-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; border-top: 1px solid rgba(17, 17, 17, 0.22); }
.context-list span { padding: 1rem 0.75rem 0 0; color: #263a51; font-size: 0.78rem; font-weight: 750; }
.delivery-steps { padding: 0; margin: 0; border-top: 1px solid rgba(17, 17, 17, 0.24); list-style: none; }
.delivery-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 1.2rem; padding: 1.8rem 0; border-bottom: 1px solid rgba(17, 17, 17, 0.2); }
.delivery-steps li > span { color: var(--blue-deep); font-size: 0.75rem; font-weight: 800; }
.delivery-steps h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.delivery-steps p { margin: 0; color: #344a62; font-size: 0.92rem; }

.contact { color: var(--white); background: #101721; border-top: 1px solid var(--line-dark); }
.contact-grid { display: grid; grid-template-columns: 0.76fr 1.24fr; gap: clamp(3.5rem, 9vw, 8rem); }
.contact-copy { padding-top: 0.7rem; }
.contact-copy h2 { max-width: 500px; }
.contact-copy > p:not(.section-kicker):not(.availability-note) { max-width: 520px; color: #aebac9; }
.availability-note { display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 2rem; color: #a7b4c3; font-size: 0.82rem; }
.availability-note span { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 0.62rem; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 4px rgba(156, 228, 191, 0.09); }
.contact-form { position: relative; padding: clamp(1.6rem, 4vw, 2.7rem); color: var(--ink); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; margin-bottom: 0.45rem; font-size: 0.82rem; font-weight: 750; }
.field label span { color: #7a838e; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; color: var(--ink); background: #fbfcfe; border: 1px solid #cbd4df; border-radius: 7px; outline: 0; }
.field input, .field select { height: 50px; padding-inline: 0.85rem; }
.field textarea { min-height: 150px; padding: 0.8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(61, 114, 180, 0.13); }
.website-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { display: flex; align-items: flex-start; gap: 0.7rem; margin: 0.15rem 0 1.5rem; color: #56606b; font-size: 0.78rem; line-height: 1.5; cursor: pointer; }
.form-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0.1rem 0 0; accent-color: var(--blue-deep); }
.form-submit-row { display: flex; align-items: center; gap: 1rem; }
.contact-form .button-primary { background: var(--ink); color: var(--white); }
.contact-form .button-primary:hover, .contact-form .button-primary:focus-visible { background: var(--blue-deep); }
.form-status { margin: 0; color: #4d5965; font-size: 0.82rem; line-height: 1.4; }
.form-status.success { color: #17643c; }
.form-status.error { color: #a12c2c; }

.site-footer { padding: 3rem 0 2.2rem; color: #b0bdcb; background: #080b10; border-top: 1px solid rgba(202, 222, 252, 0.12); }
.footer-top { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(202, 222, 252, 0.12); }
.footer-brand { display: inline-flex; width: 164px; }
.footer-top p { max-width: 500px; margin: 0; font-size: 0.88rem; }
.footer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; }
.footer-actions a, .footer-actions button { padding: 0; color: var(--blue); background: transparent; border: 0; font-size: 0.82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.footer-actions a:hover, .footer-actions a:focus-visible, .footer-actions button:hover, .footer-actions button:focus-visible { color: var(--white); }
.footer-bottom { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 1.5rem; padding-top: 2rem; }
.footer-bottom p { margin: 0; color: #778595; font-size: 0.75rem; line-height: 1.6; }

.cookie-banner { position: fixed; z-index: 50; right: 1.25rem; bottom: 1.25rem; left: 1.25rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; width: min(calc(100% - 2.5rem), 820px); padding: 1.4rem; margin-left: auto; color: var(--white); background: var(--night-raised); border: 1px solid rgba(202, 222, 252, 0.3); border-radius: 12px; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42); }
.cookie-banner[hidden] { display: none; }
.cookie-label { margin-bottom: 0.35rem; color: var(--blue); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.cookie-banner h2 { margin-bottom: 0.5rem; font-size: 1.25rem; letter-spacing: -0.02em; }
.cookie-banner p:last-child { max-width: 570px; margin-bottom: 0; color: #b7c3d2; font-size: 0.875rem; line-height: 1.55; }
.cookie-actions { display: flex; gap: 0.65rem; }
.cookie-button { min-height: 44px; padding: 0.65rem 0.9rem; border: 1px solid var(--line-dark); border-radius: 7px; font-size: 0.82rem; font-weight: 750; cursor: pointer; }
.cookie-button-primary { color: var(--ink); background: var(--blue); border-color: var(--blue); }
.cookie-button-primary:hover, .cookie-button-primary:focus-visible { background: var(--white); border-color: var(--white); }
.cookie-button-secondary { color: var(--white); background: transparent; }
.cookie-button-secondary:hover, .cookie-button-secondary:focus-visible { color: var(--ink); background: var(--white); border-color: var(--white); }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 940px) {
  .hero-grid, .delivery-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 90px; }
  .hero-grid { gap: 4rem; }
  .delivery-map { max-width: 620px; }
  .section-heading { grid-template-columns: 1fr; gap: 1.4rem; }
  .section-heading > p { max-width: 650px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .technology-panel { grid-template-columns: 1fr; }
  .delivery-grid { gap: 3.5rem; }
  .contact-copy { max-width: 650px; }
  .footer-bottom { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .header-inner { min-height: 80px; }
  .brand { width: 158px; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 80px 0 auto; display: none; align-items: stretch; padding: 1.2rem 1rem 1.5rem; background: var(--night); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); }
  .site-nav.is-open { display: grid; gap: 0.2rem; }
  .site-nav a { padding: 0.9rem; }
  .site-nav .nav-cta { margin-top: 0.5rem; text-align: center; }
  .hero { min-height: auto; padding-top: 135px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero-tags { gap: 0.45rem; }
  .delivery-map { padding: 0.85rem; }
  .context-list { grid-template-columns: 1fr; }
  .context-list span { padding: 0.8rem 0; border-bottom: 1px solid rgba(17, 17, 17, 0.17); }
  .technology-groups { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-submit-row { align-items: flex-start; flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-actions { justify-content: flex-start; }
  .footer-bottom { grid-template-columns: 1fr; }
  .cookie-banner { grid-template-columns: 1fr; align-items: stretch; gap: 1.2rem; }
  .cookie-actions { justify-content: flex-end; }
}

@media (max-width: 430px) {
  h1 { font-size: 2.7rem; }
  .map-heading { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
  .system-flow small { line-height: 1.35; }
  .contact-form { padding: 1.25rem; }
  .button { width: 100%; }
  .cookie-actions { align-items: stretch; flex-direction: column; }
  .cookie-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
