:root {
  --bg: #0f172a;
  --bg-soft: #141d2f;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --card: #ffffff;
  --ink: #111827;
  --muted: #5b6472;
  --line: rgba(17, 24, 39, 0.1);
  --accent: #c08b45;
  --accent-deep: #9d6629;
  --accent-soft: rgba(192, 139, 69, 0.14);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 1000;
  box-shadow: var(--shadow-soft);
}
.skip-link:focus { top: 16px; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; position: relative; }
section[id] { scroll-margin-top: 106px; }
.section-light { background: var(--surface-soft); }
.section-dark {
  background:
    radial-gradient(circle at 80% 20%, rgba(192, 139, 69, 0.28), transparent 24%),
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.06), transparent 18%),
    linear-gradient(135deg, #0b1120 0%, #10182b 58%, #162235 100%);
  color: #eff4ff;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.small { font-size: 0.78rem; }
h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.6rem, 5vw, 4.9rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
p { margin: 0; }
.section-header {
  max-width: 760px;
  margin: 0 0 44px;
}
.section-header p:last-child {
  margin-top: 16px;
  font-size: 1.04rem;
  color: var(--muted);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0);
  backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-soft);
}
.brand-text { display: inline-flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-size: 1rem; }
.brand-text small { color: var(--muted); font-size: 0.8rem; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  color: #1f2937;
  font-weight: 600;
  font-size: 0.96rem;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent-deep); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
}
.lang-link {
  min-width: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}
.lang-link.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.09);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(157, 102, 41, 0.26);
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}
.button:hover, .button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(157, 102, 41, 0.32);
}
.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.93rem;
}
.button-secondary {
  background: transparent;
  color: #eff4ff;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: none;
}
.section-light .button-secondary {
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.14);
}
.contact-card .button-secondary {
  color: #f5f8ff;
  border-color: rgba(255,255,255,0.16);
}
.contact-card .button-secondary:hover, .contact-card .button-secondary:focus-visible {
  background: rgba(255,255,255,0.10);
}
.button-ghost {
  min-height: 42px;
  padding: 0 16px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: none;
}
.button-ghost:hover, .button-ghost:focus-visible { background: rgba(15, 23, 42, 0.03); }
.button-ghost-dark {
  min-height: 48px;
  padding: 0 18px;
  background: rgba(255,255,255,0.08);
  color: #f5f8ff;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
}
.button-ghost-dark:hover, .button-ghost-dark:focus-visible { background: rgba(255,255,255,0.14); }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hero { padding: 90px 0 76px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 48px;
  align-items: center;
}
.hero-copy { max-width: 680px; }
.hero-text {
  margin-top: 22px;
  font-size: 1.14rem;
  color: rgba(239, 244, 255, 0.86);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.hero-points li {
  position: relative;
  padding-left: 28px;
  color: rgba(239, 244, 255, 0.82);
}
.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f0be72);
  box-shadow: 0 0 0 6px rgba(192, 139, 69, 0.12);
}
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.trust-chips span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
}
.trust-chips span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #f5f8ff;
}
.hero-visual {
  position: relative;
  min-height: 520px;
}
.portrait-shell {
  position: relative;
  margin-left: auto;
  width: min(100%, 450px);
  border-radius: 34px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
  box-shadow: 0 28px 70px rgba(0,0,0,0.28);
}
.portrait-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.12);
}
.portrait-shell img {
  width: 100%;
  aspect-ratio: 0.75 / 1;
  object-fit: cover;
  border-radius: 24px;
}
.floating-card {
  position: absolute;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow);
}
.floating-card-a { left: -16px; bottom: 34px; max-width: 250px; }
.stats-section { margin-top: -34px; padding-top: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.stat-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px;
  min-height: 184px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(17, 24, 39, 0.06);
}
.stat-number {
  display: inline-block;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.stat-card p {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}
.stat-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.stat-card-copy {
  justify-content: flex-start;
}
.stat-card-copy .stat-note {
  max-width: 18ch;
}
.stat-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.services-grid,
.reasons-grid,
.process-grid,
.cases-grid {
  display: grid;
  gap: 22px;
}
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: auto -20px -50px auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(192, 139, 69, 0.18), transparent 60%);
}
.service-index {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.service-card p { margin-top: 14px; color: var(--muted); }
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
}
.split-copy p:last-of-type { margin-top: 16px; color: var(--muted); }
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tag-cloud span {
  background: rgba(15, 23, 42, 0.05);
  color: #213043;
}
.fit-card {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #101826, #19253a);
  color: #f5f8ff;
  box-shadow: var(--shadow);
}
.client-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.client-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  font-weight: 600;
}
.fit-note {
  margin-top: 18px;
  color: rgba(245,248,255,0.76);
}
.cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: var(--shadow-soft);
}
.case-image-wrap {
  aspect-ratio: 1.25 / 0.72;
  overflow: hidden;
}
.case-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-content { padding: 24px; }
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.case-tags span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  font-size: 0.82rem;
  font-weight: 700;
  color: #344255;
}
.case-copy {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.case-copy p { color: var(--muted); }
.case-copy strong { color: var(--ink); }
.case-footer {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.result-chip {
  display: inline-flex;
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 800;
}
.about-layout {
  display: grid;
  gap: 24px;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: start;
}
.about-copy p + p { margin-top: 16px; color: var(--muted); }
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.mini-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.mini-card h3 { font-size: 1rem; }
.mini-card p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }
.about-stack {
  display: grid;
  gap: 18px;
}
.about-portrait-card,
.education-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: var(--shadow-soft);
}
.about-portrait-card img {
  width: 100%;
  aspect-ratio: 0.78 / 1;
  object-fit: cover;
}
.education-card {
  display: grid;
  grid-template-columns: 160px minmax(0,1fr);
}
.education-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.education-card > div {
  padding: 22px;
}
.education-card p:last-child {
  margin-top: 10px;
  color: var(--muted);
}
.education-card-wide {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}
.education-card-wide img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}
.education-copy {
  padding: 28px 30px;
}
.education-copy h3 {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
}
.education-meta {
  margin-top: 14px;
  color: var(--ink);
  font-weight: 700;
}
.education-copy p:last-child {
  margin-top: 12px;
  color: var(--muted);
}
.reasons-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reason-card,
.process-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: var(--shadow-soft);
}
.reason-card { padding: 24px; }
.reason-card p { margin-top: 14px; color: var(--muted); }
.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.process-index {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
  margin-bottom: 16px;
}
.process-card p { margin-top: 12px; color: var(--muted); }
.contact-section {
  padding-top: 26px;
}
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(135deg, #0d1423, #152238 72%);
  color: #f5f8ff;
  box-shadow: var(--shadow);
}
.contact-card .eyebrow { color: #e2b16e; }
.contact-copy p:last-of-type {
  margin-top: 16px;
  color: rgba(245,248,255,0.76);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.contact-meta {
  display: grid;
  gap: 14px;
  align-content: center;
}
.contact-item {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-item span {
  display: block;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245,248,255,0.62);
}
.contact-item strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}
.contact-item strong a {
  color: inherit;
  text-decoration: none;
}
.contact-item strong a:hover,
.contact-item strong a:focus-visible {
  text-decoration: underline;
}
.site-footer {
  padding: 30px 0 52px;
  background: #0b1020;
  color: rgba(245,248,255,0.8);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-inner strong { color: #fff; }
.footer-inner p { margin-top: 6px; color: rgba(245,248,255,0.68); }
.footer-copy { white-space: nowrap; }
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) 72px;
  align-items: center;
  background: rgba(10, 15, 26, 0.88);
  backdrop-filter: blur(12px);
  padding: 28px;
}
.lightbox-figure {
  margin: 0;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.lightbox-figure img {
  max-width: min(100%, 1120px);
  max-height: 76vh;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.lightbox-figure figcaption {
  color: rgba(245,248,255,0.86);
  font-size: 0.96rem;
}
.lightbox-close,
.lightbox-nav {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
}
.lightbox-nav.prev { justify-self: start; }
.lightbox-nav.next { justify-self: end; }

@media (max-width: 1080px) {
  .hero-grid,
  .split-section,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons-grid,
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-visual { min-height: auto; }
  .portrait-shell { margin: 0 auto; }
  .floating-card-a { left: 10px; bottom: 24px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow);
    border: 1px solid rgba(17, 24, 39, 0.06);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid,
  .cases-grid,
  .services-grid,
  .reasons-grid,
  .process-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }
  .education-card, .education-card-wide { grid-template-columns: 1fr; }
  .education-card img, .education-card-wide img { max-height: 240px; }
  .contact-card { padding: 26px; }
}
@media (max-width: 640px) {
  .section { padding: 74px 0; }
  .hero { padding: 72px 0 52px; }
  .container { width: min(var(--container), calc(100% - 28px)); }
  .header-inner { min-height: 74px; }
  .brand-text small { display: none; }
  .button, .button-secondary, .button-ghost-dark { width: 100%; }
  .hero-actions, .contact-actions { display: grid; }
  .floating-card { display: none; }
  .case-footer { align-items: stretch; }
  .case-footer .button-ghost { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { white-space: normal; }
  .lightbox {
    grid-template-columns: 44px minmax(0,1fr) 44px;
    padding: 18px 12px 24px;
  }
  .lightbox-close { top: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
