:root {
  --blue: #003870;
  --blue-700: #004a92;
  --blue-900: #002851;
  --blue-soft: #eef5fb;
  --blue-soft-2: #f6f9fc;
  --text: #18212f;
  --muted: #556170;
  --line: #dce4ec;
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(0, 38, 76, 0.08);
  --radius: 14px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 9999;
  background: var(--blue);
  color: #fff;
  padding: .7rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { left: 10px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220,228,236,.85);
}
.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  text-decoration: none;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.site-nav a {
  text-decoration: none;
  color: #1e2938;
  font-size: 1rem;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--blue); }
.lang-link {
  border-left: 1px solid var(--line);
  padding-left: 1.4rem;
  font-weight: 700 !important;
  color: var(--blue) !important;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: .4rem;
  cursor: pointer;
}

.hero {
  padding: 46px 0 38px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 385px) 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.hero-photo-wrap {
  position: relative;
}
.hero-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-content h1 {
  color: var(--blue);
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.hero-role {
  margin: .7rem 0 1.25rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #2f3d50;
  font-weight: 500;
}
.hero-lead {
  margin: 0 0 1.35rem;
  max-width: 710px;
  color: #39475a;
  font-size: 1.08rem;
}
.fact-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: linear-gradient(135deg, #f0f6fc, #f8fbfe);
  border: 1px solid #e3edf7;
  border-radius: 12px;
  padding: 1.05rem 1.2rem;
  margin: 1.5rem 0 1.1rem;
}
.fact-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
}
.fact-card strong {
  display: block;
  color: var(--blue);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: .2rem;
}
.fact-card span { color: #3e4d60; }
.actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: .65rem 1.15rem;
  text-decoration: none;
  color: var(--blue);
  background: #fff;
  font-weight: 600;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,56,112,.12);
}
.btn-primary {
  color: #fff;
  background: var(--blue);
}
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--blue-700); }
.btn svg { width: 19px; height: 19px; }

.section {
  padding: 58px 0;
  border-top: 1px solid #edf1f5;
}
.section-soft { background: var(--blue-soft-2); }
.section-tinted { background: var(--blue-soft); }
.section-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 44px;
  align-items: start;
}
.section-label {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}
.section-icon {
  width: 32px;
  height: 32px;
  color: var(--blue);
  flex: 0 0 auto;
  margin-top: .15rem;
}
.section h2,
.section-label h2 {
  margin: 0;
  color: var(--blue);
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.section-label h2::after,
.section-heading::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
  margin-top: .65rem;
}
.profile-copy p { margin: 0 0 .9rem; color: #344255; }
.profile-copy p:last-child { margin-bottom: 0; }

.expertise-wrap .section-heading { margin-bottom: 1.4rem; }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.expertise-card {
  background: #fff;
  border: 1px solid #e2e9f0;
  border-radius: 12px;
  padding: 1.35rem;
  min-height: 205px;
  box-shadow: 0 6px 18px rgba(0,56,112,.05);
}
.expertise-card svg {
  width: 34px;
  height: 34px;
  color: var(--blue);
}
.expertise-card h3 {
  color: var(--blue);
  margin: .9rem 0 .55rem;
  font-size: 1.04rem;
  line-height: 1.25;
}
.expertise-card h3::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blue);
  margin-top: .55rem;
}
.expertise-card p {
  margin: 0;
  color: #4e5b6c;
  font-size: .95rem;
  line-height: 1.5;
}

.tech-list {
  margin: 0;
}
.tech-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: .68rem 0;
  border-bottom: 1px solid var(--line);
}
.tech-row:last-child { border-bottom: 0; }
.tech-row dt { font-weight: 700; color: var(--blue); }
.tech-row dd { margin: 0; color: #39485a; }

.experience-block h3 {
  color: var(--blue);
  font-size: 1.08rem;
  margin: 0 0 .55rem;
}
.experience-block p { color: #39485a; margin: 0 0 .8rem; }
.previous-line {
  display: flex;
  gap: .65rem;
  align-items: center;
  border-top: 1px solid rgba(0,56,112,.16);
  padding-top: .8rem;
  margin-top: .95rem;
  color: #4a5868;
  font-size: .94rem;
}
.previous-line svg { color: var(--blue); flex: 0 0 auto; }

.cta-copy p { margin: 0 0 1rem; color: #3d4c5f; }
.cta-actions { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .8rem; }
.cta-actions .btn { width: 100%; text-align: center; }

.site-footer {
  background: var(--blue-900);
  color: rgba(255,255,255,.88);
  padding: 20px 0;
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 1.35rem;
}
.footer-item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  white-space: nowrap;
}
.footer-item:hover,
.footer-item:focus-visible { color: #fff; }
.footer-item svg { width: 16px; height: 16px; }

:focus-visible {
  outline: 3px solid rgba(0, 92, 179, .35);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-item { white-space: normal; }
}

@media (max-width: 800px) {
  .nav-wrap { min-height: 64px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem 20px 1.3rem;
    box-shadow: 0 12px 24px rgba(0,38,76,.08);
    flex-direction: column;
    align-items: flex-start;
    gap: .8rem;
  }
  .site-nav.is-open { display: flex; }
  .lang-link { border-left: 0; padding-left: 0; }
  .hero { padding-top: 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo-wrap { max-width: 420px; margin-inline: auto; }
  .hero-content { text-align: left; }
  .section-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-role { font-size: 1.05rem; }
  .fact-card { align-items: flex-start; }
  .actions .btn { flex: 1 1 100%; }
  .section { padding: 44px 0; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: 0; }
  .tech-row { grid-template-columns: 1fr; gap: .15rem; }
  .cta-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: .7rem; }
}

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