:root {
  --color-primary: #424b6f;
  --color-dark: #0c101c;
  --color-dark-soft: #171d2d;
  --color-dark-line: rgba(255, 255, 255, 0.14);
  --color-text: #181c28;
  --color-text-soft: #4d5569;
  --color-text-faint: #717889;
  --color-background: #efede8;
  --color-surface: #ffffff;
  --color-surface-muted: #e7e2da;
  --color-line: rgba(24, 28, 40, 0.12);
  --color-line-strong: rgba(24, 28, 40, 0.2);
  --color-white-soft: rgba(255, 255, 255, 0.78);
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --container: 1120px;
  --shadow-soft: 0 18px 38px rgba(12, 16, 28, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-background);
  color: var(--color-text);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(66, 75, 111, 0.5);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.page-shell {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 16, 28, 0.94);
}

.header-inner,
.header-actions,
.site-nav,
.language-switcher,
.hero-actions,
.footer-inner {
  display: flex;
  align-items: center;
}

.header-inner {
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.header-actions {
  gap: 1rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.menu-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-menu-open .menu-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

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

.brand-logo {
  display: block;
  width: auto;
  height: 32px;
}

.site-nav {
  gap: 1.1rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.language-switcher {
  gap: 0.25rem;
  padding: 0.2rem;
  border: 1px solid var(--color-dark-line);
  border-radius: var(--radius-md);
}

.language-button {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.7rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.language-button:hover {
  color: #ffffff;
}

.language-button.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 7.5rem 0 5rem;
  background: var(--color-dark);
  color: #ffffff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("assets/hero-01.jpg") center center / cover no-repeat;
  opacity: 0.52;
  filter: saturate(0.8) brightness(0.7) contrast(0.96);
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 12, 24, 0.9) 0%, rgba(10, 16, 31, 0.72) 34%, rgba(20, 34, 61, 0.42) 64%, rgba(9, 14, 26, 0.68) 100%),
    linear-gradient(180deg, rgba(44, 77, 144, 0.14) 0%, rgba(8, 13, 24, 0.48) 48%, rgba(8, 11, 20, 0.7) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 320px);
  gap: 2rem;
  align-items: end;
}

.eyebrow,
.section-kicker,
.detail-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.eyebrow {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}

.hero-title,
.section-heading h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.hero-title {
  max-width: 10.5ch;
}

.hero-title-accent {
  color: var(--color-white-soft);
}

.hero-description,
.section-intro,
.service-card p,
.process-card p,
.contact-note,
.detail-value,
.site-footer p {
  margin: 0;
  color: var(--color-text-soft);
}

.hero-description {
  max-width: 37rem;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.98rem;
}

.hero-actions {
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.button,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.contact-link:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: #ffffff;
  color: var(--color-dark);
}

.button-secondary {
  border: 1px solid var(--color-dark-line);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.hero-panel,
.service-card,
.process-card,
.contact-card,
.detail-item {
  border: 1px solid transparent;
  border-radius: var(--radius-md);
}

.hero-panel {
  position: relative;
  padding: 1.5rem 1.35rem;
  border-color: rgba(163, 188, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(16, 24, 42, 0.86), rgba(11, 17, 30, 0.8)),
    linear-gradient(135deg, rgba(92, 120, 196, 0.12), rgba(255, 255, 255, 0));
  box-shadow:
    0 22px 48px rgba(8, 12, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 1rem auto 1rem 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(152, 176, 239, 0.9), rgba(66, 75, 111, 0.35));
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(122, 150, 224, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 32%);
  pointer-events: none;
}

.hero-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding: 0.95rem 0.95rem 0.95rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.hero-list li::before {
  content: "";
  position: absolute;
  top: 1.42rem;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: rgba(164, 189, 255, 0.9);
  box-shadow: 0 0 0 6px rgba(124, 148, 209, 0.1);
}

.detail-label {
  text-transform: uppercase;
}

.service-card h3,
.process-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--color-text);
  text-transform: none;
}

.service-card,
.process-card {
  min-height: 100%;
  padding: 1.1rem;
  border-color: var(--color-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 245, 241, 0.94));
  box-shadow: 0 10px 22px rgba(12, 16, 28, 0.04);
}

.service-card p,
.process-card p {
  font-size: 0.94rem;
}

.service-card:hover,
.process-card:hover,
.detail-item:hover {
  border-color: rgba(66, 75, 111, 0.18);
}

.section {
  padding: 4rem 0;
}

.section-muted {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.22);
}

.section-contact {
  padding-top: 3rem;
  padding-bottom: 0;
}

.section-heading {
  max-width: 44rem;
}

.section-heading.compact {
  margin-bottom: 2rem;
}

.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--color-primary);
  text-transform: uppercase;
}

.section-kicker-light {
  color: rgba(255, 255, 255, 0.68);
}

.section-heading h2,
.contact-card h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.08;
  color: var(--color-text);
}

.section-intro {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 0.98rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.detail-list {
  display: grid;
  gap: 0.7rem;
}

.detail-item {
  padding: 1rem;
  border-color: var(--color-line);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 10px 22px rgba(12, 16, 28, 0.03);
}

.detail-label {
  margin: 0 0 0.45rem;
  color: var(--color-primary);
}

.detail-value {
  color: var(--color-text);
}

.services-grid,
.process-grid {
  display: grid;
  gap: 0.85rem;
}

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

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

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  padding: 1.6rem;
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--color-dark-soft);
  box-shadow: var(--shadow-soft);
}

.contact-card h2 {
  color: #ffffff;
}

.contact-note {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
}

.contact-copy {
  max-width: 44rem;
}

.contact-actions {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 22rem);
  justify-self: end;
}

.contact-link {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  justify-content: center;
  white-space: nowrap;
}

.contact-phone-block {
  display: grid;
  gap: 0.42rem;
}

.contact-phone-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-phone-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px rgba(7, 12, 24, 0.22);
}

.contact-phone-image {
  display: block;
  width: min(100%, 17.75rem);
  height: auto;
}

.site-footer {
  margin-top: 3rem;
  padding: 1.4rem 0 2rem;
  background: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

.services-grid .service-card:nth-child(2),
.process-grid .process-card:nth-child(2),
.detail-list .detail-item:nth-child(2) {
  --reveal-delay: 80ms;
}

.services-grid .service-card:nth-child(3),
.process-grid .process-card:nth-child(3),
.detail-list .detail-item:nth-child(3) {
  --reveal-delay: 160ms;
}

.services-grid .service-card:nth-child(4) {
  --reveal-delay: 40ms;
}

.services-grid .service-card:nth-child(5) {
  --reveal-delay: 120ms;
}

.services-grid .service-card:nth-child(6),
.contact-card {
  --reveal-delay: 200ms;
}

.js-enhanced .reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 720ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enhanced .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  .header-inner {
    min-height: unset;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
  }

  .js-enhanced .header-actions {
    display: none;
  }

  .js-enhanced .site-header.is-menu-open .header-actions {
    display: flex;
  }

  .brand {
    flex: 1 1 auto;
  }

  .js-enhanced .menu-toggle {
    display: inline-flex;
  }

  .language-switcher {
    align-self: flex-start;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 5rem;
  }

  .hero-grid,
  .about-grid,
  .services-grid,
  .process-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 14px;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero {
    padding: 4.6rem 0 3.4rem;
  }

  .header-inner {
    gap: 0.7rem;
    padding: 0.7rem 0;
  }

  .brand-logo {
    height: 28px;
  }

  .hero-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .section {
    padding: 3.2rem 0;
  }

  .language-button {
    font-size: 0.74rem;
  }

  .site-nav a {
    padding: 0.7rem 0.05rem;
    font-size: 0.86rem;
  }

  .contact-card,
  .service-card,
  .process-card,
  .detail-item,
  .hero-panel {
    padding: 1rem;
  }

  .contact-link {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .contact-actions {
    width: 100%;
    justify-self: stretch;
  }

  .contact-phone-frame {
    padding: 0.85rem 0.9rem;
  }

  .contact-phone-image {
    width: min(100%, 16.25rem);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-enhanced .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}