:root {
  --ink: #0b1020;
  --navy: #141f45;
  --navy-2: #1d2b5c;
  --blue: #2f69c6;
  --blue-dark: #2557a8;
  --text: #1c2333;
  --muted: #5b6478;
  --line: #e2e6ef;
  --tint: #f4f6fb;
  --white: #fff;
  --radius: 14px;
  --wrap: 1120px;
  --head: "Montserrat", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--white); }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--text); padding: 6px 0; }
.nav a:hover { color: var(--blue); }
.nav .nav-cta { background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--blue); color: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* Hero */
.hero { background: var(--navy); color: var(--white); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 48px; padding-block: 96px; }
.eyebrow { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.hero .eyebrow, .section-dark .eyebrow { color: #8fb6f2; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -.01em; }
.hero-lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: #c9d3ea; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-art { justify-self: end; width: min(100%, 300px); }
.m-white { fill: var(--white); }
.m-blue { fill: var(--blue); }

/* Sections */
.section { padding-block: 92px; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: var(--white); }
.section h2 { font-size: clamp(27px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.01em; max-width: 20em; }
.sub-title { font-size: 20px; font-weight: 700; margin: 64px 0 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.lead { font-size: 19px; color: var(--text); }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.pillars li { font-family: var(--head); font-weight: 700; font-size: 15px; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 8px; }

.vision { margin-top: 64px; padding: 36px 40px; background: var(--navy); color: var(--white); border-radius: var(--radius); }
.vision-label { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #8fb6f2; margin-bottom: 10px; }
.vision-text { font-family: var(--head); font-weight: 600; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.4; }

.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.value { padding: 24px 20px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.value-letter { display: block; font-family: var(--head); font-weight: 800; font-size: 56px; line-height: 1; margin-bottom: 16px; }
.value h4 { font-size: 17px; font-weight: 700; }
.value h4 span { display: block; font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--muted); margin-top: 4px; }
.value p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.v-t1 .value-letter { color: #0a9bd0; }
.v-o .value-letter { color: #f0b400; }
.v-t2 .value-letter { color: #0bab4b; }
.v-a .value-letter { color: #e0262b; }
.v-l .value-letter { color: #4aa5f5; }

/* Business */
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.lines li { display: flex; align-items: center; gap: 18px; padding: 24px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--head); font-weight: 700; font-size: 19px; line-height: 1.25; }
.line-mark { flex: none; width: 26px; height: 26px; background: var(--ink); border-radius: 0 0 26px 0; }
.lines li:nth-child(2) .line-mark { background: var(--blue); border-radius: 0; }
.lines li:nth-child(3) .line-mark { border-radius: 26px 0 0 26px; }
.lines li:nth-child(4) .line-mark { background: var(--blue); border-radius: 0 0 26px 0; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.services li { padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.services h4 { font-size: 17px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; }
.services h4::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--blue); }
.services p { margin-top: 8px; font-size: 15px; color: var(--muted); }

.lifecycle-label { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 44px 0 14px; }
.lifecycle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.lifecycle li { font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--white); background: var(--navy); padding: 16px 12px 16px 30px; text-align: center; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%); }
.lifecycle li:first-child { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); padding-left: 12px; }
.lifecycle li:nth-child(even) { background: var(--blue); }

/* News */
.news-list { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-empty { grid-column: 1 / -1; padding: 32px; border: 1px dashed #c6cddd; border-radius: var(--radius); color: var(--muted); }
.news-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-date { font-size: 13px; font-weight: 600; color: var(--blue); }
.news-card h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.news-card p { font-size: 15px; color: var(--muted); }
.news-link { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--blue); text-decoration: none; }
.news-link:hover { text-decoration: underline; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.contact-copy p:last-child { margin-top: 18px; color: #c9d3ea; max-width: 26em; }
.contact-form { background: var(--white); color: var(--text); border-radius: 20px; padding: 30px 32px 28px; }
.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tab { font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 6px 0 12px; cursor: pointer; }
.tab.is-active { color: var(--ink); border-bottom-color: var(--blue); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); padding: 12px 14px; border: 1.5px solid #cfd6e4; border-radius: 10px; background: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 105, 198, .18); }
.field.has-error input { border-color: #c8302f; }
.field-error { font-size: 13px; color: #c8302f; margin-top: 5px; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; }
.privacy { font-size: 13px; color: var(--muted); max-width: 24em; }
.form-status { margin-top: 14px; font-size: 15px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #0f7a3d; }
.form-status.is-error { color: #c8302f; }

/* Footer */
.site-footer { background: var(--ink); color: #aab3c8; padding-block: 34px; font-size: 14px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--white); }
.footer-brand svg { width: 24px; height: auto; }

/* Responsive */
@media (max-width: 980px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .news-list { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { grid-template-columns: 1fr 200px; padding-block: 72px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; padding: 13px 18px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 56px; }
  .hero-art { display: none; }
  .section { padding-block: 60px; }
  .lines, .services, .news-list, .pillars, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .vision { padding: 28px 24px; }
  .lifecycle { grid-template-columns: 1fr; gap: 6px; }
  .lifecycle li, .lifecycle li:first-child { clip-path: none; padding: 13px 16px; text-align: left; border-radius: 8px; }
  .contact-form { padding: 24px 20px; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; }
  .sub-title { margin-top: 48px; }
}
@media (max-width: 480px) {
  .values { grid-template-columns: 1fr; }
  .brand img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
