:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --text: #111827;
  --muted: #5d6675;
  --line: #dce4ee;
  --blue: #173b78;
  --blue-2: #2455a3;
  --green: #14532d;
  --wine: #641b2d;
  --shadow: 0 24px 70px rgba(17, 24, 39, .10);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, rgba(36, 85, 163, .12), transparent 34%), var(--bg);
  line-height: 1.55;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 228, 238, .8);
  background: rgba(244, 247, 251, .86);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 20px;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--wine));
  box-shadow: 0 12px 26px rgba(23, 59, 120, .22);
  font-size: 15px;
  letter-spacing: -.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--blue);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .06);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 16px 34px rgba(23, 59, 120, .26);
}

.button-secondary {
  color: var(--blue);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .06);
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(36, 85, 163, .10);
  border: 1px solid rgba(36, 85, 163, .16);
  font-size: 14px;
  font-weight: 750;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(20, 83, 45, .12);
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.045em;
}

h1 {
  margin-top: 24px;
  max-width: 780px;
  font-size: clamp(42px, 6vw, 76px);
}

.hero-text {
  margin: 24px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 830px;
}

.trust-item {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(220, 228, 238, .9);
  box-shadow: 0 10px 28px rgba(17, 24, 39, .05);
}

.trust-item strong {
  display: block;
  font-size: 18px;
  color: var(--text);
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.photo-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(238,243,248,.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 260px;
  height: 260px;
  background: rgba(100, 27, 45, .14);
  border-radius: 50%;
  filter: blur(8px);
}

.photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #dfe6ef;
  aspect-ratio: 4 / 5.25;
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.photo-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 18px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 18px 40px rgba(17, 24, 39, .16);
}

.photo-caption strong {
  display: block;
  font-size: 20px;
  letter-spacing: -.03em;
}

.photo-caption span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.social-links {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.social-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--blue);
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(220, 228, 238, .95);
  box-shadow: 0 10px 26px rgba(17, 24, 39, .06);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 14px 30px rgba(17, 24, 39, .10);
  outline: none;
}

.social-link svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
  flex: 0 0 auto;
}

section {
  padding: 60px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head h2 {
  max-width: 780px;
  font-size: clamp(32px, 4vw, 52px);
}

.section-head p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(220, 228, 238, .95);
  box-shadow: 0 14px 40px rgba(17, 24, 39, .06);
}

.card h3 {
  font-size: 24px;
  letter-spacing: -.035em;
}

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

.card-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--wine));
  font-weight: 800;
}

.service-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
}

.service-link::after {
  content: "→";
  transition: transform .2s ease;
}

.service-link:hover::after {
  transform: translateX(4px);
}

.approach {
  border-radius: var(--radius-xl);
  padding: 44px;
  color: #fff;
  background: linear-gradient(135deg, #102a57, #173b78 55%, #641b2d);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: start;
}

.approach h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.approach p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.principles {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles li {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .9);
}

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

.stat {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(17, 24, 39, .06);
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.055em;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.languages {
  margin-top: 18px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
}

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

.project-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(17, 24, 39, .06);
}

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

.project-url {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 22px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(36, 85, 163, .10);
  font-weight: 800;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 17px 18px 17px 50px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  box-shadow: 0 10px 28px rgba(17, 24, 39, .045);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 17px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.warning {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.warning-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-size: 26px;
}

.warning h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.warning p {
  margin: 14px 0 0;
  max-width: 900px;
  color: var(--muted);
  font-size: 18px;
}

.contact {
  padding-bottom: 86px;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
  gap: 36px;
  padding: 44px;
  border-radius: var(--radius-xl);
  color: #fff;
  background: linear-gradient(135deg, #102a57, #173b78);
  box-shadow: var(--shadow);
}

.contact-box h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.contact-box p {
  margin: 18px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
}

.contact-note {
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.86);
}

form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 7px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 700;
}

input, textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  outline: none;
  color: #fff;
  background: rgba(255,255,255,.10);
  font: inherit;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input::placeholder, textarea::placeholder {
  color: rgba(255,255,255,.46);
}

input:focus, textarea:focus {
  border-color: rgba(255,255,255,.65);
  box-shadow: 0 0 0 4px rgba(255,255,255,.10);
}

.submit-button {
  width: fit-content;
  margin-top: 6px;
  color: var(--blue);
  background: #fff;
}

.submit-button:disabled {
  opacity: .62;
  cursor: wait;
  transform: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 14px;
}

.form-status.is-error {
  color: #ffd6d6;
}

.form-status.is-success {
  color: #ddffe7;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  padding: 34px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.54);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}

.footer-inner strong {
  color: var(--text);
}

.footer-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .05);
}

.language-switcher a,
.language-switcher span {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}

.language-switcher a {
  color: var(--blue);
}

.language-switcher .active {
  color: #fff;
  background: var(--blue);
}

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

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(220, 228, 238, .95);
    border-radius: 0 0 22px 22px;
    color: var(--text);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 22px 50px rgba(17, 24, 39, .12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 750;
  }

  .nav a:hover,
  .nav a:focus-visible {
    color: var(--blue);
    background: rgba(36, 85, 163, .10);
  }

  .hero-grid,
  .approach-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .photo-card {
    max-width: 560px;
  }

  .trust-row,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }
}

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

  .header-inner {
    min-height: 68px;
  }

  .brand {
    font-size: 17px;
  }

  .header-inner .button {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-text {
    font-size: 18px;
  }

  .trust-row,
  .stats,
  .project-grid,
  .check-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  section {
    padding: 42px 0;
  }

  .approach,
  .contact-box {
    padding: 28px;
    border-radius: 24px;
  }

  .card,
  .project-card,
  .warning {
    padding: 24px;
  }

  .warning {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .footer-actions {
    display: block;
    justify-items: start;
  }

  .footer-actions {
    margin-top: 18px;
  }

  .footer-actions p {
    margin-top: 12px;
  }
}
