:root {
  color-scheme: light;
  --bg: #f4f7fa;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-strong: #eaf0f6;
  --navy: #071827;
  --text: #101828;
  --muted: #667085;
  --muted-strong: #344054;
  --line: rgba(16, 24, 40, 0.12);
  --cyan: #13b8d6;
  --blue: #123a73;
  --blue-dark: #0b2f5f;
  --amber: #ffb454;
  --coral: #d94d3d;
  --shadow: 0 18px 54px rgba(16, 24, 40, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

#app {
  min-height: 100vh;
  transition: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), var(--bg) 84vh),
    linear-gradient(135deg, rgba(19, 184, 214, 0.12), transparent 34%),
    linear-gradient(225deg, rgba(255, 180, 84, 0.1), transparent 30%),
    var(--bg);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% 100%, auto;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 220px;
  height: auto;
  color: currentColor;
}

.desktop-nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 0.95rem;
}

.desktop-nav a:hover {
  color: #fff;
}

.site-header.is-scrolled .desktop-nav a,
body.menu-open .site-header .desktop-nav a {
  color: var(--muted-strong);
}

.site-header.is-scrolled .desktop-nav a:hover,
body.menu-open .site-header .desktop-nav a:hover {
  color: var(--blue);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.site-header.is-scrolled .lang-switch,
body.menu-open .site-header .lang-switch {
  border-color: var(--line);
  background: rgba(244, 247, 250, 0.86);
}

.lang-switch a,
.lang-switch span {
  min-width: 38px;
  padding: 7px 9px;
  border-radius: 6px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  font-size: 0.78rem;
}

.site-header.is-scrolled .lang-switch a,
.site-header.is-scrolled .lang-switch span,
body.menu-open .site-header .lang-switch a,
body.menu-open .site-header .lang-switch span {
  color: var(--muted);
}

.lang-switch .active {
  color: #071017;
  background: #fff;
}

.site-header.is-scrolled .lang-switch .active,
body.menu-open .site-header .lang-switch .active {
  color: #fff;
  background: var(--blue);
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button {
  border: 1px solid var(--blue);
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(18, 58, 115, 0.22);
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-2px);
}

.button:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.button:focus-visible,
.button-secondary:focus-visible,
.button-ghost:focus-visible {
  outline: 3px solid rgba(19, 184, 214, 0.32);
  outline-offset: 3px;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost {
  border: 1px solid var(--line);
  color: var(--blue);
  background: #fff;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-header.is-scrolled .mobile-toggle,
body.menu-open .site-header .mobile-toggle {
  border-color: var(--line);
  color: var(--text);
  background: rgba(244, 247, 250, 0.86);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-panel {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 136px 0 64px;
  background:
    linear-gradient(90deg, rgba(7, 24, 39, 0.94) 0%, rgba(7, 24, 39, 0.8) 45%, rgba(7, 24, 39, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 24, 39, 0.16), rgba(7, 24, 39, 0.88)),
    var(--hero-image);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center, center, center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 52px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--cyan);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 4rem;
  line-height: 1.06;
  letter-spacing: 0;
  color: #fff;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 24, 39, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-panel-row:last-child {
  border-bottom: 0;
}

.hero-number {
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 900;
}

.hero-panel-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 104px 0;
  background: var(--bg);
}

.section[id],
.contact-section[id] {
  scroll-margin-top: 104px;
}

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

.section-header {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-header.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.55rem;
  line-height: 1.16;
  letter-spacing: 0;
  color: var(--text);
}

.section-header p,
.lead {
  color: var(--muted);
  font-size: 1.04rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.process-card,
.why-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 440px;
  padding: 28px;
}

.service-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  border: 1px solid rgba(19, 184, 214, 0.32);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(17, 197, 217, 0.08);
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.service-card p {
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted-strong);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-card {
  min-height: 256px;
  padding: 24px;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(18, 58, 115, 0.16);
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.process-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

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

.feature-band {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  align-items: center;
}

.feature-media {
  min-height: 520px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 24, 39, 0.05), rgba(7, 24, 39, 0.56)),
    var(--feature-image);
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: 100% 100%, cover;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.mini-card {
  min-height: 142px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
}

.mini-card h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
}

.timeline-year {
  color: var(--blue);
  font-weight: 900;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why-card {
  min-height: 208px;
  padding: 24px;
}

.why-index {
  display: block;
  margin-bottom: 20px;
  color: var(--cyan);
  font-weight: 900;
}

.why-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.why-card p {
  margin: 0;
  color: var(--muted);
}

.clients {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
  align-items: center;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.client-logo {
  display: grid;
  place-items: center;
  min-height: 132px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(16, 24, 40, 0.1);
}

.client-logo img {
  width: 100%;
  height: 92px;
  object-fit: contain;
}

.client-proof {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  padding: 24px;
}

.faq-item h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  position: relative;
  padding: 112px 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 39, 0.96), rgba(7, 24, 39, 0.68)),
    var(--contact-image);
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: 100% 100%, cover;
}

.contact-card {
  width: min(100%, 780px);
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 24, 39, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.contact-card h2 {
  max-width: 660px;
  color: #fff;
}

.contact-card .section-kicker {
  color: var(--cyan);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  margin: 0;
}

@media (max-width: 980px) {
  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-block;
  }

  .mobile-panel {
    position: fixed;
    z-index: 19;
    inset: 84px 0 auto;
    display: grid;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.12);
    transition: max-height 180ms ease;
  }

  body.menu-open .mobile-panel {
    max-height: calc(100vh - 84px);
  }

  .mobile-panel-inner {
    display: grid;
    gap: 16px;
    width: min(100% - 40px, var(--max));
    margin: 0 auto;
    padding: 28px 0;
  }

  .mobile-panel a {
    min-height: 42px;
    color: var(--text);
    font-weight: 800;
  }

  .mobile-panel .button {
    color: #fff;
  }

  .mobile-panel .lang-switch {
    width: fit-content;
  }

  .hero-grid,
  .feature-band,
  .about-grid,
  .clients {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-panel {
    max-width: 520px;
  }

  .service-grid,
  .process-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand-logo {
    width: 178px;
  }

  .mobile-panel {
    inset: 72px 0 auto;
  }

  body.menu-open .mobile-panel {
    max-height: calc(100vh - 72px);
  }

  .hero {
    min-height: 88vh;
    padding-top: 116px;
    background:
      linear-gradient(180deg, rgba(7, 24, 39, 0.86), rgba(7, 24, 39, 0.7) 42%, rgba(7, 24, 39, 0.92)),
      var(--hero-image);
    background-repeat: no-repeat;
    background-position: center, center;
    background-size: 100% 100%, cover;
  }

  .hero::after {
    height: 28px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy,
  .section-header p,
  .lead {
    font-size: 1rem;
  }

  .hero-panel-row {
    grid-template-columns: 76px 1fr;
    padding: 18px;
  }

  .hero-number {
    font-size: 1.75rem;
  }

  .section {
    padding: 74px 0;
  }

  .section[id],
  .contact-section[id] {
    scroll-margin-top: 86px;
  }

  .service-grid,
  .process-grid,
  .feature-list,
  .why-grid,
  .client-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-card,
  .why-card {
    min-height: auto;
  }

  .feature-media {
    min-height: 320px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 28px;
  }

  .footer-grid {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
