:root {
  --sky-50: #f2fbff;
  --sky-100: #dff5ff;
  --sky-200: #b8e9ff;
  --sky-400: #39aeea;
  --sky-500: #1189d6;
  --blue-700: #0b4d8c;
  --blue-900: #07315f;
  --ink: #11243f;
  --muted: #5d7089;
  --line: rgba(11, 77, 140, 0.16);
  --white: #ffffff;
  --green: #13a87a;
  --gold: #f4b63f;
  --shadow: 0 18px 45px rgba(7, 49, 95, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-50), #ffffff 42%, #eef9ff);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
canvas {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 251, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
    width: 180px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-900);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 19px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle span {
  position: relative;
  transition: background-color 220ms ease;
}

.nav-toggle span::before {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-6px);
  transition: transform 220ms ease;
}

.nav-toggle span::after {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(4px);
  transition: transform 220ms ease;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(0) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--blue-900);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}

@media (min-width: 901px) and (max-width: 1320px) {
  .site-nav a { padding: 8px 7px; font-size: 0.8rem; }
  .btn-quote { padding: 8px 14px; font-size: 0.8rem; }
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(17, 137, 214, 0.1);
  color: var(--sky-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-700), var(--sky-500));
  box-shadow: 0 14px 30px rgba(17, 137, 214, 0.24);
}

.btn-secondary {
  color: var(--blue-900);
  background: white;
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: min(86vh, calc(100vh - 74px));
  overflow: hidden;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-canvas,
.page-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(242, 251, 255, 0), rgba(242, 251, 255, 0.92));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 46px;
  align-items: center;
}

.hero-inner > div:first-child {
  opacity: 0;
  transform: translateY(32px);
  animation: slideUpFade 0.8s ease-out 0.15s forwards;
}

.hero-inner > div:first-child h1,
.hero-inner > div:first-child .lead,
.hero-inner > div:first-child .hero-actions,
.hero-inner > div:first-child .eyebrow {
  opacity: 0;
  animation: slideUpFade 0.8s ease-out 0.25s forwards;
}

.hero-inner > div:first-child h1 {
  animation-delay: 0.2s;
}

.hero-inner > div:first-child .lead {
  animation-delay: 0.35s;
}

.hero-inner > div:first-child .hero-actions {
  animation-delay: 0.5s;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 5.1rem);
}

.hero .lead {
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--blue-700);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  color: var(--blue-900);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
  max-width: 560px;
  margin: 0 auto;
  backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  animation: panelFloat 6s ease-in-out infinite;
}

@keyframes panelFloat {
  0%,
  100% {
    transform: perspective(900px) rotateX(4deg) rotateY(-7deg) translateY(0);
  }
  50% {
    transform: perspective(900px) rotateX(-2deg) rotateY(6deg) translateY(-12px);
  }
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric {
  min-height: 120px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, white, var(--sky-50));
  border: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1;
  color: var(--sky-500);
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  height: 100%;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(7, 49, 95, 0.08);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-700));
  margin-bottom: 18px;
}

.course-icon {
  font-size: 1.28rem;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--blue-700), var(--sky-500));
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card-hover:hover .course-icon {
  transform: translateY(-3px) rotate(-4deg);
  box-shadow: 0 10px 20px rgba(17, 137, 214, 0.24);
}

.mission-icon span,
.vision-icon span {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.mission-icon span {
  border: 2px solid rgba(255,255,255,0.95);
  border-radius: 50%;
  animation: missionPulse 2.2s ease-in-out infinite;
}

.mission-icon span::before,
.mission-icon span::after {
  content: "";
  position: absolute;
  background: white;
}

.mission-icon span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  inset: 6px;
  margin: auto;
}

.mission-icon span::after {
  width: 34px;
  height: 2px;
  left: -8px;
  top: 8px;
  transform: rotate(-45deg);
  transform-origin: center;
  opacity: 0.72;
}

.vision-icon span {
  width: 28px;
  height: 17px;
  border: 2px solid white;
  border-radius: 70% 12%;
  transform: rotate(45deg);
  animation: visionFloat 2.8s ease-in-out infinite;
}

.vision-icon span::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  inset: 3px;
  margin: auto;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--sky-500);
}

@keyframes missionPulse {
  0%, 100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255,255,255,0.35); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 7px rgba(255,255,255,0); }
}

@keyframes visionFloat {
  0%, 100% { transform: rotate(45deg) scale(0.94); }
  50% { transform: rotate(45deg) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .mission-icon span,
  .vision-icon span { animation: none; }
}

.card p,
.split p,
.feature-list,
.course-meta,
.job-meta,
.contact-list {
  color: var(--muted);
}

.feature-list,
.contact-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.feature-list li,
.contact-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.feature-list li::before,
.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.band {
  background: linear-gradient(135deg, rgba(17, 137, 214, 0.1), rgba(19, 168, 122, 0.08));
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.visual-stack {
  min-height: 380px;
  position: relative;
  perspective: 1000px;
}

.floating-plane {
  position: absolute;
  inset: 12% 7% auto auto;
  width: min(420px, 82%);
  padding: 24px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotateY(-16deg) rotateX(9deg);
  animation: planeMove 8s ease-in-out infinite;
}

.floating-plane:nth-child(2) {
  inset: auto auto 6% 4%;
  width: min(360px, 72%);
  transform: rotateY(18deg) rotateX(-6deg);
  animation-delay: -3s;
}

@keyframes planeMove {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -18px;
  }
}

.page-hero {
  min-height: 380px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.7rem);
}

.course-meta,
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sky-100);
  color: var(--blue-700);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 800;
  color: var(--blue-900);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: white;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.quote-section { padding-top: 64px; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr); gap: 42px; align-items: start; }
.quote-form-card { padding: clamp(24px, 4vw, 42px); }
.quote-form-intro { margin-bottom: 28px; }
.quote-form-intro h2 { font-size: clamp(2rem, 4vw, 3rem); }
.quote-form-intro p:last-child { color: var(--muted); margin: 12px 0 0; }
.quote-form-grid, .choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quote-fieldset { border: 0; padding: 0; margin: 8px 0 4px; }
.quote-fieldset legend { margin-bottom: 12px; font-weight: 800; color: var(--blue-900); }
.choice-card { display: flex; gap: 11px; align-items: flex-start; min-height: 82px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(242, 251, 255, 0.52); cursor: pointer; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.choice-card:hover, .choice-card:has(input:checked) { border-color: var(--sky-500); background: var(--sky-100); transform: translateY(-2px); }
.choice-card input, .consent-check input { accent-color: var(--sky-500); margin-top: 3px; }
.choice-card strong, .choice-card small { display: block; }
.choice-card small { margin-top: 3px; color: var(--muted); font-size: 0.78rem; line-height: 1.35; }
.consent-check { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 0.86rem; }
.form-note { display: none; margin: 0; padding: 12px 14px; border-radius: 8px; color: var(--green); background: rgba(19, 168, 122, 0.1); font-weight: 800; }
.quote-aside { position: sticky; top: 116px; }
.quote-summary { padding: 28px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.86); box-shadow: var(--shadow); }
.quote-summary-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.summary-kicker, .summary-status { color: var(--blue-700); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.summary-status { color: var(--green); }
.quote-summary h3 { margin-top: 28px; font-size: 1.65rem; }
.quote-summary-list { margin: 24px 0 0; }
.quote-summary-list div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.quote-summary-list dt { color: var(--muted); }
.quote-summary-list dd { margin: 0; text-align: right; font-weight: 800; color: var(--blue-900); }
.quote-next { display: flex; gap: 14px; margin-top: 24px; padding: 16px; background: var(--blue-900); color: white; border-radius: 8px; }
.quote-next-number { color: var(--gold); font-size: 1.5rem; font-weight: 900; }
.quote-next p { margin: 0; font-size: 0.9rem; }
.quote-next strong { color: white; }
.quote-assurance { padding: 32px 8px 0; }
.quote-contact { color: var(--muted); font-weight: 700; }
.quote-contact a { color: var(--sky-500); }

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-social {
  position: relative;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(7, 49, 95, 0.14);
  will-change: transform, box-shadow;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease, filter 320ms ease;
  animation: contactSocialFloat 5.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.contact-social::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffffff;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.contact-social > span:last-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-social:nth-child(2) { animation-delay: 140ms; }
.contact-social:nth-child(3) { animation-delay: 280ms; }
.contact-social:nth-child(4) { animation-delay: 420ms; }

.contact-social:hover {
  color: #ffffff;
  animation-play-state: paused;
  filter: saturate(1.2) brightness(1.06);
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 14px 24px rgba(7, 49, 95, 0.22);
}

.contact-social:hover::after {
  opacity: 1;
  animation: contactSocialLoader 700ms linear infinite;
}

.contact-social:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.contact-social-mark {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  line-height: 1;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-social-linkedin { background: #0a66c2; }
.contact-social-x { background: #111111; }
.contact-social-github { background: #24292f; }
.contact-social-instagram { background: linear-gradient(135deg, #f9ce34, #ee2a7b 52%, #6228d7); }

.contact-social-instagram .contact-social-mark {
  position: relative;
  border: 2px solid #ffffff;
  border-radius: 7px;
}

.contact-social-instagram .contact-social-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.contact-social-instagram .contact-social-mark::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffffff;
}

@keyframes contactSocialFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 8px 18px rgba(7, 49, 95, 0.14);
  }
  50% {
    transform: translate3d(0, -4px, 0) scale(1.025);
    box-shadow: 0 12px 22px rgba(7, 49, 95, 0.2);
  }
}

@keyframes contactSocialLoader {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-social {
    animation: none;
    transition: none;
  }

  .contact-social:hover::after {
    animation: none;
  }
}

.site-footer {
  color: white;
  background: linear-gradient(135deg, var(--blue-900), #0a5e9e);
  margin-top: 40px;
}

.site-footer h3,
.site-footer strong {
  color: white;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand h3 { margin: 0; }

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
  gap: 24px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.site-footer .footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.site-footer .footer-social a:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--blue-900);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  transform: translateY(-5px) scale(1.1) rotate(4deg);
}

.site-footer .footer-social a:hover .social-mark { color: var(--blue-900); }

.site-footer .footer-social a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.site-footer .footer-social a:active {
  transform: translateY(-2px) scale(0.98);
}

.social-mark { display: block; color: white; line-height: 1; }
.social-linkedin .social-mark { font-size: 0.92rem; font-weight: 900; letter-spacing: -0.04em; }
.social-x .social-mark { font-size: 1rem; font-weight: 700; }
.social-github .social-mark { font-size: 0.7rem; font-weight: 900; letter-spacing: -0.08em; }

.social-instagram .social-mark {
  width: 18px;
  height: 18px;
  position: relative;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.social-instagram .social-mark::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.social-instagram .social-mark::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 16px 18px;
    background: rgba(242, 251, 255, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .site-nav.open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .site-nav a.btn-quote {
    margin: 10px 0 0;
    justify-content: center;
    text-align: center;
  }

  .hero-inner,
  .split,
  .grid-2,
  .grid-3,
  .footer-inner,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 56px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .visual-stack {
    min-height: 330px;
  }

  .quote-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .quote-form-grid, .choice-grid { grid-template-columns: 1fr; }
  .quote-summary-list div { align-items: flex-start; flex-direction: column; gap: 3px; }
  .quote-summary-list dd { text-align: left; }
}

/* ============================================================
   PREMIUM UPGRADE LAYER — added on top of the original system.
   Reuses existing tokens (--sky, --blue, --ink, --gold, --green).
   ============================================================ */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 90;
  background: linear-gradient(90deg, var(--gold), var(--sky-500), var(--green));
  transition: width 80ms linear;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-900);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, background 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--sky-500);
  color: white;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="left"].in-view { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="right"].in-view { transform: translateX(0); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal="zoom"].in-view { transform: scale(1); }

.reveal-stagger[data-reveal] { transition-delay: calc(var(--stagger, 0) * 90ms); }

.section-sm { padding: 56px 0; }
.section-tight { padding: 40px 0; }

.eyebrow-center { justify-content: center; }
.text-center { text-align: center; }
.center-head { align-items: center; text-align: center; flex-direction: column; margin-inline: auto; }
.center-head p { max-width: 640px; }

.card-glass {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.card-hover {
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 55px rgba(7, 49, 95, 0.16);
  border-color: rgba(17, 137, 214, 0.35);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-item {
  padding: 28px 20px;
  border-radius: 8px;
  text-align: center;
  background: linear-gradient(180deg, white, var(--sky-50));
  border: 1px solid var(--line);
}

.stat-item strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blue-900);
  background: linear-gradient(135deg, var(--sky-500), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.company-statistics .center-head > p:last-child { max-width: 620px; margin-top: 0; }

.company-stat-dashboard {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.stat-overview {
  min-height: 360px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 8px;
  color: white;
  background: linear-gradient(145deg, var(--blue-900), var(--blue-700));
  box-shadow: 0 22px 44px rgba(7, 49, 95, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-overview-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.78);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat-overview-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(19,168,122,0.16);
}

.stat-overview > strong {
  margin-top: 26px;
  color: white;
  font-size: clamp(3.6rem, 8vw, 5.8rem);
  line-height: 0.95;
}

.stat-overview > strong span { color: var(--gold); }
.stat-overview h3 { margin: 12px 0 0; color: white; font-size: 1.25rem; }
.stat-overview p { margin: 12px 0 0; color: rgba(255,255,255,0.76); font-size: 0.9rem; }
.stat-overview small { color: rgba(255,255,255,0.6); font-size: 0.74rem; }

.stat-overview-line {
  height: 5px;
  margin: 26px 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  overflow: hidden;
}

.stat-overview-line span { display: block; width: 98%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--green)); }

.stat-list {
  display: grid;
  gap: 12px;
}

.stat-row {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
  display: grid;
  grid-template-columns: auto minmax(125px, 0.75fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.stat-row:hover { transform: translateX(5px); border-color: rgba(17,137,214,0.4); box-shadow: 0 14px 30px rgba(7,49,95,0.1); }
.stat-row-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--sky-500); font-size: 1.1rem; font-weight: 900; }
.stat-row div strong { display: block; color: var(--blue-900); font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1; }
.stat-row div > span { display: block; margin-top: 5px; color: var(--blue-700); font-size: 0.86rem; font-weight: 900; }
.stat-row p { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.45; }

@media (max-width: 900px) {
  .company-stat-dashboard { grid-template-columns: 1fr; }
  .stat-overview { min-height: 0; }
}

@media (max-width: 560px) {
  .stat-row { grid-template-columns: auto 1fr; gap: 12px; padding: 18px; }
  .stat-row p { grid-column: 2; }
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.logo-chip {
  padding: 14px 22px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--blue-700);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.stack-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(17, 137, 214, 0.08);
  border: 1px solid var(--line);
  color: var(--blue-900);
  font-weight: 700;
  font-size: 0.88rem;
}

.tech-focus-inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 54px;
  align-items: center;
}

.tech-focus-intro h2 { max-width: 460px; }
.tech-focus-intro > p:not(.eyebrow) { max-width: 480px; margin-bottom: 26px; }
.tech-focus-intro .btn span { font-size: 1.1rem; }

.tech-focus-board {
  padding: 24px;
  border: 1px solid rgba(17, 137, 214, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 48px rgba(7, 49, 95, 0.1);
}

.tech-focus-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tech-focus-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(19, 168, 122, 0.13);
}

.tech-track-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.tech-track {
  min-height: 168px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(145deg, white, var(--sky-50));
}

.tech-track-heading { display: flex; align-items: center; gap: 10px; }
.tech-track-heading h3 { margin: 0; font-size: 1.05rem; }
.tech-track-number { color: var(--sky-500); font-size: 0.76rem; font-weight: 900; }
.tech-track p { margin: 8px 0 16px; color: var(--muted); font-size: 0.83rem; }
.tech-track-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-track-chips span { padding: 5px 8px; border-radius: 4px; background: var(--sky-100); color: var(--blue-700); font-size: 0.75rem; font-weight: 800; }

.project-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.project-media {
  height: 168px;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-700));
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.project-media span {
  color: white;
  font-weight: 800;
  background: rgba(7, 49, 95, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  backdrop-filter: blur(6px);
}

.project-body {
  padding: 22px;
  display: grid;
  gap: 10px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.testimonial-track {
  display: flex;
  overflow: hidden;
  border-radius: 8px;
}

.testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
  transition: transform 520ms ease;
}

.testimonial-stars { color: var(--gold); letter-spacing: 2px; }

.testimonial-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 2px 0 4px;
}

.testimonial-details div {
  padding: 10px 12px;
  border-left: 2px solid var(--sky-400);
  background: var(--sky-50);
}

.testimonial-details dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-details dd {
  margin: 2px 0 0;
  color: var(--blue-900);
  font-size: 0.86rem;
  font-weight: 800;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--sky-500), var(--green));
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.testimonial-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
}

.testimonial-dots button.active { background: var(--sky-500); width: 24px; border-radius: 999px; }

.timeline {
  position: relative;
  display: grid;
  gap: 30px;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}

.timeline-step {
  position: relative;
}

.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  left: -34px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-700);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.faq-list { display: grid; gap: 12px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: none;
  border: none;
  font: inherit;
  font-weight: 800;
  color: var(--blue-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-q::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--sky-500);
  transition: transform 220ms ease;
  flex: none;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease, padding 260ms ease;
  color: var(--muted);
  padding: 0 20px;
}

.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 20px 18px;
}

.newsletter {
  border-radius: 8px;
  padding: 46px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: white;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.newsletter h2 { color: white; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.newsletter p { color: rgba(255,255,255,0.78); margin: 8px 0 0; }

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  min-width: 240px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.12);
  padding: 13px 16px;
  color: white;
  font: inherit;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.65); }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--blue-900);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--blue-900);
  color: white;
  border-color: var(--blue-900);
}

.job-card { display: grid; gap: 12px; }
.job-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.value-card { text-align: center; }
.value-card .icon { margin-inline: auto; }

.value-icon {
  overflow: hidden;
}

.value-icon span {
  display: block;
  color: white;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(7,49,95,0.3);
}

.transparency-icon span { animation: valueBreathe 2.4s ease-in-out infinite; }
.rigor-icon span { animation: valueSpin 3.4s ease-in-out infinite; }
.care-icon span { animation: valueHeartbeat 2s ease-in-out infinite; }
.practicality-icon span { animation: valueRotate 4s linear infinite; }
.accountability-icon span { animation: valuePop 2.5s ease-in-out infinite; }
.growth-icon span { animation: valueRise 2.3s ease-in-out infinite; }

@keyframes valueBreathe {
  0%, 100% { transform: scale(0.82); opacity: 0.72; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes valueSpin {
  0%, 100% { transform: rotate(0deg) scale(0.9); }
  50% { transform: rotate(180deg) scale(1.08); }
}

@keyframes valueHeartbeat {
  0%, 100% { transform: scale(0.9); }
  14%, 42% { transform: scale(1.16); }
  28%, 70% { transform: scale(0.96); }
}

@keyframes valueRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes valuePop {
  0%, 100% { transform: scale(0.86); opacity: 0.72; }
  45% { transform: scale(1.18); opacity: 1; }
}

@keyframes valueRise {
  0%, 100% { transform: translate(0, 3px); }
  50% { transform: translate(4px, -4px); }
}

@media (prefers-reduced-motion: reduce) {
  .value-icon span { animation: none; }
}

.quick-card { text-align: center; }
.quick-card .icon { margin-inline: auto; }

.map-frame {
  border-radius: 8px;
  border: 1px solid var(--line);
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(17,137,214,0.14), rgba(19,168,122,0.1)),
    repeating-linear-gradient(0deg, rgba(11,77,140,0.06) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(11,77,140,0.06) 0 1px, transparent 1px 44px);
  display: grid;
  place-items: center;
  color: var(--blue-700);
  font-weight: 800;
  text-align: center;
  padding: 24px;
}

.map-pin {
  width: 46px;
  height: 46px;
  border-radius: 50% 50% 50% 0;
  background: var(--sky-500);
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  box-shadow: 0 10px 24px rgba(17,137,214,0.4);
}

.map-pin span { transform: rotate(45deg); color: white; font-weight: 900; }

.chatbot-launcher {
  position: fixed;
  right: 22px;
  bottom: 82px;
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-700));
  color: white;
  box-shadow: 0 16px 34px rgba(17,137,214,0.4);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  transition: transform 200ms ease;
}

.chatbot-launcher:hover { transform: scale(1.06); }

.chatbot-panel {
  position: fixed;
  right: 22px;
  bottom: 150px;
  z-index: 71;
  width: min(340px, calc(100vw - 40px));
  max-height: min(70vh, 520px);
  background: white;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(7,49,95,0.28);
  display: none;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.chatbot-panel.open { display: grid; }

.chatbot-head {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: white;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-head strong { display: block; }
.chatbot-head span { color: rgba(255,255,255,0.75); font-size: 0.78rem; }

.chatbot-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
}

.chatbot-body {
  padding: 14px;
  overflow-y: auto;
  display: grid;
  gap: 10px;
  align-content: start;
  background: var(--sky-50);
}

.chat-msg {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.chat-msg.bot {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  justify-self: start;
  border-bottom-left-radius: 2px;
}

.chat-msg.user {
  background: linear-gradient(135deg, var(--blue-700), var(--sky-500));
  color: white;
  justify-self: end;
  border-bottom-right-radius: 2px;
}

.chat-direct-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--sky-500);
  font-weight: 800;
  text-decoration: underline;
}

.chat-mail-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--green);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.chat-typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  border-bottom-left-radius: 2px;
  justify-self: start;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: chatTyping 1s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chatbot-quick {
  padding: 10px 14px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  background: white;
}

.chatbot-quick button {
  border: 1px solid var(--line);
  background: var(--sky-50);
  color: var(--blue-900);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.chatbot-quick button:hover { background: var(--sky-100); }

.chatbot-query {
  display: flex;
  gap: 7px;
  padding: 10px 14px 0;
  background: white;
}

.chatbot-query input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
  font-size: 0.82rem;
  color: var(--ink);
}

.chatbot-query button {
  width: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--sky-500);
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form input { min-width: 0; flex: 1 1 auto; }
}

@media (max-width: 560px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .newsletter { padding: 28px; flex-direction: column; align-items: stretch; text-align: center; }
  .chatbot-panel { left: 12px; right: 12px; bottom: 138px; width: auto; }
  .back-to-top { right: 14px; bottom: 14px; }
  .chatbot-launcher { right: 14px; bottom: 76px; }
}

@media (max-width: 560px) {
  .nav-wrap,
  .section,
  .hero-inner,
  .page-hero-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    min-height: auto;
  }

  .hero-panel,
  .card,
  .floating-plane {
    padding: 18px;
  }


@media (max-width: 900px) {
  .tech-focus-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .tech-focus-board { padding: 16px; }
  .tech-track-grid { grid-template-columns: 1fr; }
}
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }
}

/* ============================================================
   IT SERVICES UPGRADE LAYER — services, projects, technologies,
   portfolio and AI robot assistant. Built on existing tokens.
   ============================================================ */

.btn-quote {
  color: white;
  background: linear-gradient(135deg, var(--green), var(--sky-500));
  box-shadow: 0 12px 26px rgba(19, 168, 122, 0.32);
  min-height: 40px;
  padding: 9px 18px;
  font-size: 0.88rem;
  margin-left: 6px;
}

.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Service cards */
.service-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-illustration {
  height: 132px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky-100), var(--sky-50));
  overflow: hidden;
}

.service-illustration::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17,137,214,0.22), transparent 70%);
}

.service-illustration .service-icon-badge {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: white;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-700));
  box-shadow: 0 14px 28px rgba(17,137,214,0.32);
  transition: transform 260ms ease;
}

.service-card:hover .service-icon-badge { transform: scale(1.08) rotate(-4deg); }

.service-body { padding: 24px; display: grid; gap: 12px; }

.service-sub-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 4px 0 0;
  list-style: none;
}

.service-sub-list li {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sky-100);
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-benefits {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.service-benefits li {
  padding-left: 22px;
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.service-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.service-tech-row span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--blue-900);
  background: white;
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 6px;
}

/* Technology cards */
.tech-card { text-align: left; display: grid; gap: 10px; }

.tech-card .icon { font-size: 1.3rem; }

.tech-level {
  height: 6px;
  border-radius: 999px;
  background: var(--sky-100);
  overflow: hidden;
  margin-top: 4px;
}

.tech-level span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sky-500), var(--green));
}

.tech-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
}

/* Portfolio / Projects gallery */
.portfolio-card { cursor: default; }
.portfolio-card .project-media { height: 150px; }

.project-card .project-media.media-alt-1 { background: linear-gradient(135deg, var(--green), var(--sky-500)); }
.project-card .project-media.media-alt-2 { background: linear-gradient(135deg, var(--gold), #e08a1f); }
.project-card .project-media.media-alt-3 { background: linear-gradient(135deg, #8e44ad, var(--blue-700)); }

.project-card-link {
  margin-top: 4px;
  font-weight: 800;
  color: var(--sky-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Process page number badges reuse .timeline; add icon variant */
.timeline-step h3 { display: flex; align-items: center; gap: 10px; }

/* ---------------- AI ROBOT ASSISTANT ---------------- */

.chatbot-launcher {
  background: none;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.robot-avatar {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-900), var(--sky-500));
  box-shadow: 0 16px 34px rgba(17,137,214,0.42);
  animation: robotFloat 3.2s ease-in-out infinite;
}

.robot-avatar::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--sky-400), var(--green), var(--gold), var(--sky-400)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: robotSpin 5s linear infinite;
  opacity: 0.9;
}

.robot-face {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.robot-eye {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #baf3ff;
  box-shadow: 0 0 8px 3px rgba(150, 230, 255, 0.9), 0 0 2px white;
  animation: robotBlink 3.6s ease-in-out infinite;
}

.robot-eye:nth-child(2) { animation-delay: 0.15s; }

@keyframes robotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes robotSpin {
  to { transform: rotate(360deg); }
}

@keyframes robotBlink {
  0%, 88%, 100% { transform: scaleY(1); }
  92% { transform: scaleY(0.15); }
}

.chatbot-launcher:hover .robot-avatar { transform: scale(1.07); }

.chat-greet-bubble {
  position: absolute;
  right: 70px;
  bottom: 6px;
  background: white;
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-900);
  white-space: nowrap;
  box-shadow: var(--shadow);
  animation: greetPulse 2.6s ease-in-out infinite;
}

.chat-greet-bubble::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 14px;
  width: 12px;
  height: 12px;
  background: white;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(-45deg);
}

@keyframes greetPulse {
  0%, 100% { transform: translateY(0); opacity: 0.96; }
  50% { transform: translateY(-3px); opacity: 1; }
}

.chatbot-panel {
  border-radius: 18px;
  border: 1px solid rgba(17,137,214,0.28);
  box-shadow: 0 30px 80px rgba(7,49,95,0.34), 0 0 0 1px rgba(57,174,234,0.16);
}

.chatbot-head {
  background: linear-gradient(135deg, var(--blue-900), var(--sky-500));
  position: relative;
  gap: 12px;
}

.chatbot-head-id {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-head-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.14);
  flex: none;
}

.chatbot-head-avatar .robot-face { width: 22px; height: 16px; }
.chatbot-head-avatar .robot-eye { width: 6px; height: 6px; }

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: white;
  background: rgba(255,255,255,0.16);
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}

.ai-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px 2px rgba(19,168,122,0.7);
}

.chatbot-body { background: linear-gradient(180deg, var(--sky-50), white 60%); }

@media (max-width: 560px) {
  .chat-greet-bubble { display: none; }

  .footer-social { gap: 10px; }

  .site-footer .footer-social a {
    width: 42px;
    height: 42px;
  }
}

/* Final responsive pass shared by every page. */
@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .site-nav {
    top: 74px;
    width: 100%;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    align-items: stretch;
    justify-items: stretch;
    text-align: left;
    grid-template-columns: minmax(0, 1fr);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, visibility 260ms ease;
    will-change: transform, opacity;
  }

  .site-nav a {
    display: flex;
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .site-nav a.btn-quote {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-inner,
  .page-hero-inner,
  .section,
  .footer-inner {
    width: min(100% - 32px, 720px);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 64px 0 78px;
  }

  .hero-panel {
    width: 100%;
    max-width: none;
  }

  .section-head {
    gap: 18px;
  }

  .split,
  .quote-layout,
  .tech-focus-inner,
  .company-stat-dashboard {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter {
    align-items: stretch;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-form input {
    flex: 1 1 220px;
  }

  .newsletter-form .btn {
    flex: 0 1 auto;
  }

  .quote-aside {
    position: static;
  }
}

@media (max-width: 600px) {
  .nav-wrap,
  .hero-inner,
  .page-hero-inner,
  .section,
  .footer-inner {
    width: min(100% - 24px, 520px);
  }

  .brand-logo {
    width: 148px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-inner {
    padding: 48px 0 64px;
  }

  .page-hero {
    min-height: 320px;
  }

  .page-hero-inner {
    padding: 54px 0;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  h3 {
    font-size: 1.12rem;
  }

  .lead {
    font-size: 1rem;
  }

  .section {
    padding: 52px 0;
  }

  .section-tight {
    padding: 30px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .footer-inner,
  .metric-grid,
  .testimonial-details,
  .quote-form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .hero-panel,
  .tech-focus-board,
  .newsletter {
    padding: 18px;
  }

  .hero-actions,
  .hero-actions .btn,
  .newsletter-form,
  .newsletter-form .btn,
  .newsletter-form input {
    width: 100%;
  }

  .hero-actions .btn,
  .newsletter-form .btn {
    flex: 1 1 100%;
  }

  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stat-item {
    padding: 20px 12px;
  }

  .stat-item strong {
    font-size: 2rem;
  }

  .stat-row {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 16px;
  }

  .stat-row p {
    grid-column: 2;
  }

  .visual-stack {
    min-height: 290px;
  }

  .floating-plane,
  .floating-plane:nth-child(2) {
    width: 86%;
    padding: 18px;
  }

  .floating-plane { inset: 5% 0 auto auto; }
  .floating-plane:nth-child(2) { inset: auto auto 2% 0; }

  .project-media,
  .portfolio-card .project-media {
    height: 140px;
  }

  .service-body,
  .project-body {
    padding: 18px;
  }

  .tech-track-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 28px;
  }

  .timeline-step::before {
    left: -28px;
  }

  .newsletter-form input {
    min-width: 0;
  }

  .contact-socials {
    gap: 12px;
  }

  .chatbot-panel {
    left: 12px;
    right: 12px;
    bottom: 136px;
    width: auto;
    max-height: min(68vh, 520px);
  }

  .chat-greet-bubble {
    display: none;
  }

  .chatbot-launcher {
    right: 14px;
    bottom: 76px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

/* Blog and content admin surfaces */
.article-content { max-width: 820px; margin: 0 auto; line-height: 1.8; }
.article-content h1 { line-height: 1.15; margin: 12px 0 18px; }
.article-content p { margin: 0 0 1.25rem; }
.article-content .lead { font-size: 1.2rem; }
.site-footer { padding: 24px 0; }
form label { display: block; margin: 0 0 18px; font-weight: 600; }
form input, form textarea, form select { display: block; width: 100%; margin-top: 7px; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 8px; color: #172033; background: #fff; font: inherit; }
form textarea { resize: vertical; }
form input:focus, form textarea:focus, form select:focus { outline: 3px solid rgba(37, 99, 235, .2); border-color: #2563eb; }
.table-wrap { overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; text-align: left; }
.table-wrap th, .table-wrap td { padding: 12px; border-bottom: 1px solid #e2e8f0; }
