:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --ink: #121a26;
  --ink-soft: #5e6a79;
  --graphite: #252d3a;
  --graphite-2: #303a47;
  --blue: #3e79ad;
  --blue-bright: #61a8df;
  --blue-soft: #dcecf8;
  --line: rgba(18, 26, 38, .10);
  --shadow: 0 24px 70px rgba(30, 48, 70, .12);
  --shadow-soft: 0 14px 38px rgba(30, 48, 70, .08);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(246, 248, 251, .78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(24, 35, 51, .05);
  background: rgba(246, 248, 251, .92);
}
.nav-shell {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; width: 150px; }
.brand img { width: 100%; height: auto; }
.nav-menu { display: flex; justify-content: center; gap: 32px; }
.nav-menu a {
  font-size: 14px;
  font-weight: 600;
  color: #3b4654;
  transition: color .2s ease;
}
.nav-menu a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 9px 8px;
  border-radius: 999px;
  color: #596676;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
}
.lang-toggle:hover { background: rgba(0,0,0,.04); }
.lang-current { color: var(--ink); }
.menu-toggle { display: none; }

.btn {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(2px); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 13px; }
.btn-dark { color: #fff; background: var(--ink); box-shadow: 0 10px 24px rgba(18, 26, 38, .12); }
.btn-dark:hover { background: #202b38; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #315f8d, #4d8fc7 60%, #68b0e3);
  box-shadow: 0 14px 30px rgba(61, 121, 173, .24);
}
.btn-primary:hover { box-shadow: 0 18px 38px rgba(61, 121, 173, .30); }
.btn-ghost { background: rgba(255,255,255,.60); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: #fff; box-shadow: var(--shadow-soft); }

.hero { position: relative; overflow: hidden; padding-top: 112px; min-height: 780px; display: flex; align-items: center; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(31, 49, 69, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 49, 69, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 68%, transparent);
  pointer-events: none;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none; opacity: .65; }
.glow-a { width: 440px; height: 440px; right: 7%; top: 15%; background: radial-gradient(circle, rgba(93,169,223,.28), rgba(93,169,223,0) 70%); }
.glow-b { width: 360px; height: 360px; left: -80px; bottom: 8%; background: radial-gradient(circle, rgba(59,103,153,.13), rgba(59,103,153,0) 72%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.hero-copy { max-width: 650px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(35,52,72,.08);
  color: #526070;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 6px 18px rgba(24, 35, 51, .04);
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 5px rgba(97,168,223,.11); }
.hero h1 {
  margin: 24px 0 20px;
  font-size: clamp(52px, 6.5vw, 88px);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 820px;
  font-weight: 730;
  background: linear-gradient(125deg, #111923 15%, #2a3645 52%, #4b789f 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { margin: 0; max-width: 610px; color: var(--ink-soft); font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin-top: 48px; display: flex; gap: 44px; }
.hero-meta > div { display: grid; gap: 5px; }
.meta-label { color: #84909d; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.hero-meta strong { font-size: 13px; font-weight: 700; color: #34404d; }

.hero-visual { min-height: 530px; position: relative; display: flex; align-items: center; justify-content: center; }
.visual-main {
  width: min(100%, 520px);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(28, 45, 64, .09);
  border-radius: 32px;
  padding: 22px;
  box-shadow: 0 40px 100px rgba(35, 54, 77, .16), inset 0 1px rgba(255,255,255,.75);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 2;
}
.visual-main::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(91,158,211,.4), rgba(255,255,255,0) 35%, rgba(26,45,64,.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.visual-topline { display: flex; align-items: center; gap: 10px; color: #536171; font-size: 12px; font-weight: 700; }
.visual-mark { width: 32px; height: 32px; padding: 3px; border-radius: 10px; background: #edf3f8; }
.visual-mark img { width: 100%; height: 100%; object-fit: contain; }
.live-dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #56a7dd; box-shadow: 0 0 0 5px rgba(86,167,221,.12); }
.visual-title { padding: 30px 4px 20px; font-size: 32px; line-height: 1.05; font-weight: 730; letter-spacing: -.04em; max-width: 340px; }
.visual-stack { display: grid; gap: 10px; }
.visual-service { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 16px; border-radius: 18px; background: #f6f8fb; border: 1px solid rgba(26,42,59,.06); }
.service-number { font-size: 11px; color: #8c98a5; font-weight: 800; letter-spacing: .08em; }
.visual-service div { display: grid; gap: 3px; }
.visual-service strong { font-size: 14px; }
.visual-service div span { color: #84909c; font-size: 11px; }
.status-pill { padding: 6px 8px; border-radius: 999px; background: #e7f2fa; color: #3d79a7; font-size: 10px; font-weight: 800; }
.floating-card {
  position: absolute;
  z-index: 3;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(25,42,60,.09);
  box-shadow: 0 18px 48px rgba(27, 47, 69, .13);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  gap: 12px;
}
.floating-card strong { display: block; font-size: 12px; margin-bottom: 3px; }
.floating-card div span { display: block; color: #8995a1; font-size: 10px; }
.floating-a { left: -8px; top: 90px; animation: floatA 6s ease-in-out infinite; }
.floating-b { right: -16px; bottom: 88px; animation: floatB 7s ease-in-out infinite; }
.mini-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #eaf3f9; color: #427cab; font-weight: 800; }
.mini-pulse { width: 12px; height: 12px; border-radius: 50%; background: #4b91c7; box-shadow: 0 0 0 6px rgba(75,145,199,.12); margin: 8px; }
@keyframes floatA { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes floatB { 0%,100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(9px) rotate(1deg); } }

.trust-strip { background: #111923; color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); }
.trust-row { min-height: 72px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.trust-dot { width: 4px; height: 4px; border-radius: 50%; background: #5da6dc; opacity: .9; }

.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading.narrow { max-width: 650px; }
.kicker { display: inline-block; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.section-heading h2, .about-panel h2, .contact-copy h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 720;
}
.section-heading p { color: var(--ink-soft); font-size: 18px; line-height: 1.7; margin: 20px 0 0; max-width: 720px; }

.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  position: relative;
  min-height: 470px;
  padding: 30px;
  border-radius: var(--radius);
  background: #f7f9fb;
  border: 1px solid rgba(20,35,51,.08);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: rgba(61,121,173,.18); }
.service-card.featured { background: linear-gradient(160deg, #18212d, #273544); color: #fff; border-color: transparent; }
.service-card.featured::after { content:""; position:absolute; width:230px; height:230px; right:-90px; top:-90px; border-radius:50%; background: radial-gradient(circle, rgba(88,164,219,.22), transparent 70%); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: #e9f1f7; color: #3e79ad; }
.featured .card-icon { background: rgba(255,255,255,.09); color: #78b9e7; }
.card-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-index { position: absolute; right: 30px; top: 34px; color: #9aa5b0; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.featured .service-index { color: rgba(255,255,255,.45); }
.service-card h3 { margin: 46px 0 14px; font-size: 27px; letter-spacing: -.025em; }
.service-card p { color: #6b7785; font-size: 15px; line-height: 1.65; margin: 0 0 26px; }
.featured p { color: rgba(255,255,255,.68); }
.service-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.service-card li { position: relative; padding-left: 20px; font-size: 13px; font-weight: 620; color: #495564; }
.featured li { color: rgba(255,255,255,.83); }
.service-card li::before { content: ""; position: absolute; left: 0; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #65a9d8; box-shadow: 0 0 0 4px rgba(101,169,216,.11); }

.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.about-panel { position: sticky; top: 110px; }
.about-panel p { color: var(--ink-soft); font-size: 16px; line-height: 1.8; margin: 22px 0 0; }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 28px; color: var(--blue); font-size: 14px; font-weight: 800; }
.principles-grid { display: grid; gap: 14px; }
.principle { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 27px; border-radius: 22px; background: rgba(255,255,255,.68); border: 1px solid rgba(24,41,59,.08); box-shadow: 0 8px 24px rgba(25,42,60,.035); }
.principle > span { color: #6e8193; font-size: 11px; font-weight: 850; letter-spacing: .12em; padding-top: 4px; }
.principle h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.02em; }
.principle p { margin: 0; color: #73808d; font-size: 14px; line-height: 1.6; }

.process { background: #fff; }
.process-line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 54px; }
.process-line::before { content: ""; position: absolute; top: 16px; left: 3%; right: 3%; height: 1px; background: linear-gradient(90deg, rgba(61,121,173,.12), rgba(61,121,173,.5), rgba(61,121,173,.12)); }
.process-line article { position: relative; padding-top: 53px; }
.process-line article > span { position: absolute; top: 0; left: 0; width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #ccd8e2; color: #567b9b; font-size: 10px; font-weight: 850; z-index: 1; box-shadow: 0 0 0 7px #fff; }
.process-line h3 { margin: 0 0 10px; font-size: 19px; }
.process-line p { margin: 0; color: #75818d; line-height: 1.65; font-size: 14px; }

.contact { background: #fff; padding-top: 30px; }
.contact-card { position: relative; overflow: hidden; background: linear-gradient(140deg, #101822, #22303f 62%, #2e4d66); color: #fff; border-radius: 36px; padding: 60px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; box-shadow: 0 30px 90px rgba(17,25,35,.18); }
.contact-card::before { content:""; position:absolute; width:540px; height:540px; right:-180px; top:-230px; border-radius:50%; background: radial-gradient(circle, rgba(92,171,226,.22), transparent 70%); pointer-events:none; }
.contact-copy, .contact-form { position: relative; z-index: 1; }
.kicker-light { color: #81c1ed; }
.contact-copy h2 { max-width: 520px; }
.contact-copy > p { color: rgba(255,255,255,.65); line-height: 1.75; margin: 22px 0 0; max-width: 520px; }
.contact-direct { margin-top: 36px; display: grid; gap: 10px; color: rgba(255,255,255,.72); font-size: 13px; }
.contact-direct a { color: #fff; font-weight: 680; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; }
.contact-form label > span { font-size: 11px; font-weight: 750; letter-spacing: .02em; color: rgba(255,255,255,.68); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 14px;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.contact-form input, .contact-form select { height: 48px; padding: 0 14px; }
.contact-form textarea { padding: 13px 14px; resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(115,188,238,.62); background: rgba(255,255,255,.11); box-shadow: 0 0 0 4px rgba(79,154,207,.11); }
.contact-form select option { color: #111923; background: #fff; }
.form-full { grid-column: 1 / -1; }
.form-submit { border: 0; width: 100%; margin-top: 2px; }
.form-note { margin: 0; color: rgba(255,255,255,.46); font-size: 10px; line-height: 1.5; text-align: center; }

.site-footer { background: #fff; padding: 74px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 50px; align-items: start; }
.footer-brand img { width: 158px; }
.footer-brand p { color: #778390; max-width: 360px; font-size: 13px; line-height: 1.65; margin: 18px 0 0; }
.footer-links, .footer-contact { display: grid; gap: 12px; color: #5c6875; font-size: 13px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--blue); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: #929ca6; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .section-pad { padding: 92px 0; }
  .nav-shell { grid-template-columns: 1fr auto auto; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    background: rgba(255,255,255,.97);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px) scale(.985);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-menu.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .nav-menu a { padding: 14px; border-radius: 12px; }
  .nav-menu a:hover { background: #f4f7fa; }
  .menu-toggle { display: inline-grid; width: 42px; height: 42px; place-content: center; gap: 5px; border: 1px solid var(--line); background: rgba(255,255,255,.65); border-radius: 50%; cursor: pointer; }
  .menu-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav-actions .btn { display: none; }
  .hero { padding-top: 78px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 58px; }
  .hero-copy { max-width: 740px; }
  .hero-visual { min-height: 520px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-panel { position: static; }
  .process-line { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .process-line::before { display: none; }
  .contact-card { grid-template-columns: 1fr; gap: 46px; padding: 46px; }
}

@media (max-width: 640px) {
  .container, .nav-shell { width: min(calc(100% - 28px), var(--container)); }
  .site-header { padding: 10px 0; }
  .brand { width: 128px; }
  .nav-shell { gap: 10px; }
  .nav-actions { gap: 4px; }
  .lang-toggle { font-size: 11px; padding-inline: 4px; }
  .nav-menu { top: 64px; left: 14px; right: 14px; }
  .section-pad { padding: 78px 0; }
  .hero { padding-top: 60px; }
  .hero h1 { font-size: clamp(46px, 15vw, 66px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 22px; justify-content: space-between; }
  .hero-meta strong { font-size: 11px; }
  .hero-visual { min-height: 445px; }
  .visual-main { padding: 16px; border-radius: 24px; }
  .visual-title { font-size: 26px; padding-top: 24px; }
  .visual-service { grid-template-columns: 30px 1fr; }
  .visual-service .status-pill { display: none; }
  .floating-card { padding: 12px; }
  .floating-a { top: 36px; left: -4px; }
  .floating-b { right: -4px; bottom: 35px; }
  .trust-row { padding: 16px 0; gap: 12px 16px; }
  .trust-dot { display: none; }
  .trust-row span { width: calc(50% - 10px); text-align: center; }
  .section-heading h2, .about-panel h2, .contact-copy h2 { font-size: 39px; }
  .section-heading p { font-size: 16px; }
  .service-card { padding: 24px; border-radius: 24px; }
  .principle { grid-template-columns: 42px 1fr; padding: 22px; }
  .process-line { grid-template-columns: 1fr; }
  .contact { padding-top: 10px; }
  .contact-card { padding: 30px 22px; border-radius: 28px; }
  .contact-form { grid-template-columns: 1fr; }
  .form-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { gap: 8px; flex-direction: column; }
}
