:root {
  --bg: #f4f8ff;
  --surface: #ffffff;
  --ink: #303030;
  --ink-soft: #4e5656;
  --brand: #262c5b;
  --brand-dark: #1b2145;
  --accent: #da7c2d;
  --highlight: #fcf054;
  --signal: #cd3032;
  --line: #d9e3f4;
  --shadow: 0 20px 48px rgba(18, 38, 79, 0.09);
  --radius: 18px;
  --container: min(1180px, 92vw);
  --header-offset: 96px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: var(--header-offset);
}

[id] {
  scroll-margin-top: var(--header-offset);
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, #fff1cf 0%, transparent 26%),
    radial-gradient(circle at 92% 0%, #e4e8ff 0%, transparent 30%),
    var(--bg);
  line-height: 1.65;
}

.container { width: var(--container); margin: 0 auto; }

.ambient {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
}

.ambient-a {
  width: 320px;
  height: 320px;
  left: -120px;
  top: 32vh;
  border-radius: 50%;
  background: rgba(244, 165, 34, 0.15);
}

.ambient-b {
  width: 380px;
  height: 380px;
  right: -140px;
  top: 54vh;
  border-radius: 48% 52% 61% 39% / 46% 40% 60% 54%;
  background: rgba(31, 61, 158, 0.11);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(244, 248, 255, 0.9);
  border-bottom: 1px solid #dce6f6;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: clamp(56px, 7.2vw, 82px);
  max-width: min(44vw, 330px);
  display: block;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-nav a {
  text-decoration: none;
  color: #24395b;
  font-weight: 600;
  font-size: 0.95rem;
}

.top-nav a:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.72rem 1.08rem;
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-solid {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 61, 158, 0.28);
}

.btn-solid:hover {
  box-shadow: 0 10px 22px rgba(38, 44, 91, 0.34);
}

.btn-ghost {
  border: 1px solid #c9d7f2;
  background: #f3f7ff;
  color: var(--brand-dark);
}

main { position: relative; z-index: 2; }

.hero-slider {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  border-radius: 20px;
  border: 1px solid #d8e3f6;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #f8fbff;
  height: calc(100vh - var(--header-offset) - 2.6rem);
  min-height: 540px;
}

.slider-track {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-content {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  max-width: min(650px, calc(100% - 2rem));
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(213, 225, 245, 0.9);
  backdrop-filter: blur(4px);
}

.slide-content .eyebrow {
  color: var(--signal);
}

.slide-content h2 {
  margin: 0.2rem 0 0.85rem;
  font-size: clamp(1.15rem, 2.3vw, 2rem);
  max-width: 26ch;
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #cad8f4;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-dark);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 4;
}

.slider-prev { left: 0.7rem; }
.slider-next { right: 0.7rem; }

.slider-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.8rem;
  display: flex;
  gap: 0.45rem;
  z-index: 4;
}

.slider-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: #b8c9ec;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: var(--accent);
}

.hero {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.graphics-row {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.graphic-card {
  background: #fff;
  border: 1px solid #d9e3f4;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.7rem;
}

.graphic-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.graphic-card h3 {
  margin: 0.55rem 0 0.2rem;
  font-size: 1rem;
  color: var(--brand-dark);
}

.hero-copy,
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2vw, 2rem);
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

h1, h2, h3 {
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 3.9vw, 3.4rem);
  max-width: 16ch;
}

.lead {
  color: var(--ink-soft);
  max-width: 64ch;
  margin: 0.9rem 0 0;
}

.hero-actions {
  margin-top: 1.15rem;
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
}

.trust-row {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.trust-row span {
  font-size: 0.86rem;
  color: #28456f;
  background: #eef4ff;
  border: 1px solid #d2def6;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  text-align: center;
}

.hero-panel {
  display: grid;
  gap: 0.7rem;
}

.hero-figure {
  margin: 0;
  border: 1px solid #d8e3f6;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  overflow: hidden;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.metric-card {
  border: 1px solid #d8e3f6;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  padding: 0.95rem;
}

.metric-card h3 { font-size: 1.06rem; }
.metric-card p { margin: 0.45rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }

.strip {
  margin-top: 1rem;
  background: var(--brand);
  color: #e9f0ff;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.85rem 1rem;
}

.strip-item { text-align: center; font-size: 0.9rem; }

.tech-marquee {
  margin-top: 0.75rem;
  border: 1px solid #d6e2f6;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.65rem;
  padding: 0.6rem;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  background: #f6efe8;
  color: var(--brand-dark);
  border: 1px solid #ead3bd;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.42rem 0.8rem;
  white-space: nowrap;
}

.section {
  margin-top: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.15rem, 2vw, 2rem);
}

.section-head h2 {
  margin-top: 0.16rem;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  max-width: 24ch;
}

.section-head-split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 0.9rem;
  align-items: center;
}

.inline-graphic {
  margin: 0;
  border: 1px solid #d8e3f6;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.inline-graphic img {
  display: block;
  width: 100%;
  height: auto;
}

.service-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.service-card {
  border: 1px solid #d8e3f6;
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}

.service-card h3 { font-size: 1.08rem; margin-bottom: 0.42rem; }
.service-card p { margin: 0; color: var(--ink-soft); }

.service-card.core-service {
  border-color: #e7c6a8;
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  box-shadow: 0 10px 22px rgba(218, 124, 45, 0.12);
}

.service-card.core-service h3::after {
  content: " \2022 Priority";
  color: var(--accent);
  font-size: 0.8em;
  font-weight: 700;
}

.expertise-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.expertise-block {
  border: 1px solid #d8e3f6;
  border-radius: 14px;
  background: #fcfdff;
  padding: 1rem;
}

.expertise-block h3 { margin-bottom: 0.5rem; }
.expertise-block ul { margin: 0; padding-left: 1.1rem; }

.tech-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tags span,
.chip-list li {
  border: 1px solid #c8d8f4;
  background: #f1f6ff;
  color: #18396f;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-weight: 600;
  font-size: 0.86rem;
}

.timeline {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.process-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.9rem;
  align-items: start;
}

.process-figure {
  margin: 0;
  border: 1px solid #d8e3f6;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  overflow: hidden;
}

.process-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.timeline article {
  border: 1px solid #d8e3f6;
  border-radius: 14px;
  padding: 0.9rem;
  background: #fff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.timeline span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  margin-bottom: 0.45rem;
}

.timeline p { margin: 0.35rem 0 0; color: var(--ink-soft); font-size: 0.93rem; }

.timeline h3,
.timeline p {
  overflow-wrap: anywhere;
}

.section-note { color: var(--ink-soft); margin-bottom: 0.9rem; max-width: 72ch; }

.chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-cta {
  margin-top: 1rem;
  margin-bottom: 1.4rem;
  background: linear-gradient(130deg, var(--brand-dark), var(--brand));
  color: #eef4ff;
  border-radius: 20px;
  padding: clamp(1.2rem, 2vw, 2rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.contact-cta .eyebrow { color: #f8dcbf; }
.contact-cta h2 { max-width: 18ch; }
.contact-cta p { color: #d5e2ff; }

.contact-cards {
  display: grid;
  gap: 0.7rem;
}

.contact-cards article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(198, 216, 255, 0.25);
  border-radius: 14px;
  padding: 0.9rem;
}

.contact-cards h3 { margin-bottom: 0.45rem; }
.contact-cards p { margin: 0; }
.contact-cards a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid #d7e1f2;
  background: #eff4fd;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0 1rem;
  font-size: 0.9rem;
  color: var(--brand);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible,
.stagger > .visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.float-y {
  animation: floatY 5.8s ease-in-out infinite;
}

.tilt-float {
  animation: tiltFloat 6.4s ease-in-out infinite;
  transform-origin: 50% 50%;
}

.pulse-soft {
  animation: pulseSoft 4.8s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes tiltFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-1.1deg); }
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); filter: saturate(100%); }
  50% { transform: scale(1.015); filter: saturate(110%); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-slider {
    height: calc(100vh - var(--header-offset) - 2rem);
    min-height: 460px;
  }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section-head-split { grid-template-columns: 1fr; }
  .process-layout { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expertise-grid { grid-template-columns: 1fr; }
  .contact-cta { grid-template-columns: 1fr; }
  .graphics-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --header-offset: 82px; }
  .top-nav { display: none; }
  .hero-slider {
    height: calc(100vh - var(--header-offset) - 1.4rem);
    min-height: 420px;
  }
  .slider-control {
    width: 36px;
    height: 36px;
  }
  .slide-content {
    left: 0.75rem;
    right: 0.75rem;
    max-width: none;
  }
  .slide-content h2 {
    max-width: none;
  }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-row { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; }
  .graphics-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .stagger > *,
  .float-y,
  .tilt-float,
  .pulse-soft,
  .marquee-track {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.contact-page {
  position: relative;
  z-index: 2;
  margin-top: 1.35rem;
  margin-bottom: 1.4rem;
}

.contact-hero {
  background: #fff;
  border: 1px solid #d9e3f4;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2vw, 1.9rem);
}

.contact-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0.3rem 0 0;
  max-width: 16ch;
}

.contact-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.contact-form-card,
.info-card,
.map-card {
  background: #fff;
  border: 1px solid #d9e3f4;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.contact-form-card {
  padding: 1.1rem;
}

.contact-form-card h2 {
  margin: 0;
}

.contact-form-card p {
  margin: 0.4rem 0 0.95rem;
  color: var(--ink-soft);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.form-status {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  min-height: 1.2rem;
}

.form-status.success {
  color: #1c7c3d;
}

.form-status.error {
  color: #b4232f;
}

.contact-form label {
  display: grid;
  gap: 0.32rem;
  font-weight: 600;
  color: #2a3f65;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccd9f1;
  border-radius: 10px;
  padding: 0.75rem 0.78rem;
  font: inherit;
  color: #152b4f;
  background: #f9fbff;
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(130px, 180px) 1fr;
  gap: 0.55rem;
}

.phone-row select {
  width: 100%;
  border: 1px solid #ccd9f1;
  border-radius: 10px;
  padding: 0.75rem 0.6rem;
  font: inherit;
  color: #152b4f;
  background: #f9fbff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.phone-row select:focus {
  outline: 2px solid #9fb6ec;
  border-color: #9fb6ec;
}

.contact-info-cards {
  display: grid;
  gap: 0.72rem;
}

.info-card {
  padding: 1rem;
}

.info-card h3 {
  margin-bottom: 0.45rem;
}

.info-card p {
  margin: 0;
  color: var(--ink-soft);
}

.info-card a {
  color: #173a81;
  font-weight: 700;
  text-decoration: none;
}

.map-card {
  margin-top: 1rem;
  padding: 1rem;
}

.map-card h2 {
  margin: 0;
}

.map-card p {
  margin: 0.35rem 0 0.75rem;
  color: var(--ink-soft);
}

.map-card iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 12px;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .phone-row {
    grid-template-columns: 1fr;
  }
}

.services-page {
  position: relative;
  z-index: 2;
  margin-top: 1.35rem;
  margin-bottom: 1.4rem;
}

.services-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid #d9e3f4;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2vw, 2rem);
}

.services-hero h1 {
  font-size: clamp(1.8rem, 3.1vw, 2.9rem);
  margin-top: 0.25rem;
  max-width: 17ch;
}

.services-hero-graphic {
  margin: 0;
  border: 1px solid #d9e3f4;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fbff;
}

.services-hero-graphic img {
  display: block;
  width: 100%;
  height: auto;
}

.services-grid-extended {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.engagement-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.services-cta {
  margin-top: 1rem;
  background: linear-gradient(130deg, var(--brand-dark), var(--brand));
  border-radius: 18px;
  border: 1px solid #3a4179;
  padding: 1.2rem;
  color: #edf3ff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.services-cta .eyebrow { color: #f8dcbf; }
.services-cta h2 { max-width: 20ch; }

@media (max-width: 980px) {
  .services-hero {
    grid-template-columns: 1fr;
  }

  .services-grid-extended,
  .engagement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .services-grid-extended,
  .engagement-grid {
    grid-template-columns: 1fr;
  }
}

.faq-page {
  position: relative;
  z-index: 2;
  margin-top: 1.35rem;
  margin-bottom: 1.4rem;
}

.faq-hero {
  background: #fff;
  border: 1px solid #d9e3f4;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2vw, 2rem);
}

.faq-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-top: 0.25rem;
  max-width: 22ch;
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.faq-list details {
  border: 1px solid #dbe3f3;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--brand-dark);
  padding: 0.88rem 1rem;
  background: #f8f5f2;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  border-bottom: 1px solid #e4d4c4;
}

.faq-list p {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  color: var(--ink-soft);
}
