:root {
  --navy: #2c3d63;
  --navy-dark: #1b2742;
  --navy-deep: #131c31;
  --steel: #f3f5f8;
  --line: #e1e5ec;
  --text: #182033;
  --muted: #5d6778;
  --accent: #e8a33d;
  --accent-dark: #cf8b26;
  --white: #ffffff;
  --radius: 6px;
  --max: 1200px;
  --serif: "PT Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--navy-dark); line-height: 1.15; }

/* Top bar */
.topbar { background: var(--navy-deep); color: #b9c2d4; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; height: 40px; align-items: center; }
.topbar .tb-group { display: flex; gap: 24px; }
.topbar a:hover { color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { font-size: 15px; font-weight: 500; color: var(--muted); position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .25s; }
.nav a:not(.btn):hover, .nav a.active { color: var(--navy-dark); }
.nav a:not(.btn):hover::after, .nav a.active::after { right: 0; }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--navy); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: var(--radius); background: var(--accent); color: var(--navy-deep); font-weight: 600; font-size: 15px; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.nav .btn { padding: 11px 20px; color: var(--navy-deep); }

/* Hero */
.hero { position: relative; background: var(--navy-dark); color: #fff; overflow: hidden; }
.hero .container { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 110px; }
.hero-bg { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 760px; opacity: .14; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 62px); max-width: 780px; margin-bottom: 24px; }
.hero p.lead { font-size: 19px; color: #c6cede; max-width: 600px; margin-bottom: 38px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 80px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-facts div { padding: 26px 24px 0 0; }
.hero-facts b { display: block; font-family: var(--serif); font-size: 34px; color: #fff; line-height: 1.1; }
.hero-facts span { font-size: 14px; color: #9eabc2; }

.page-hero { background: var(--navy-dark); color: #fff; padding: 84px 0 72px; position: relative; overflow: hidden; }
.page-hero .hero-bg { width: 560px; right: -100px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 14px; position: relative; }
.page-hero p { color: #c6cede; font-size: 18px; max-width: 640px; position: relative; }
.crumbs { font-size: 13px; color: #8f9cb5; margin-bottom: 18px; position: relative; }
.crumbs a:hover { color: #fff; }

/* Sections */
section { padding: 100px 0; }
.bg-steel { background: var(--steel); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 52px; }
.head h2 { font-size: clamp(28px, 3.6vw, 42px); max-width: 640px; }
.head p { color: var(--muted); max-width: 440px; }
.kicker { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; margin-bottom: 14px; display: block; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* Direction tiles */
.direction { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; min-height: 340px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.direction:hover { border-color: var(--navy); box-shadow: 0 18px 40px -24px rgba(27,39,66,.45); transform: translateY(-3px); }
.direction .num { font-family: var(--serif); font-size: 15px; color: var(--accent-dark); margin-bottom: 26px; }
.direction h3 { font-size: 26px; margin-bottom: 14px; }
.direction p { color: var(--muted); margin-bottom: 22px; }
.direction ul { list-style: none; display: grid; gap: 8px; margin-bottom: 28px; }
.direction li { padding-left: 18px; position: relative; font-size: 15px; }
.direction li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: var(--accent); }
.direction .more { margin-top: auto; font-weight: 600; color: var(--navy); display: inline-flex; gap: 8px; }
.direction .more::after { content: "→"; transition: transform .2s; }
.direction:hover .more::after { transform: translateX(4px); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color .2s; }
.card:hover { border-color: #c4ccda; }
.card .ico { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--navy); display: grid; place-items: center; margin-bottom: 20px; color: var(--navy); }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.card .tags span { font-size: 12.5px; padding: 4px 10px; background: var(--steel); border-radius: 20px; color: var(--muted); }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.features > div { padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.features b { display: block; font-family: var(--serif); font-size: 21px; color: var(--navy-dark); margin-bottom: 10px; }
.features p { color: var(--muted); font-size: 15px; }

/* Industries */
.industries { display: flex; flex-wrap: wrap; gap: 12px; }
.industries span { padding: 12px 22px; border: 1px solid var(--line); border-radius: 40px; background: var(--white); font-weight: 500; color: var(--navy-dark); }

/* Steps */
.steps { counter-reset: s; }
.steps > div { counter-increment: s; position: relative; padding-top: 28px; border-top: 2px solid var(--navy); }
.steps > div::before { content: "0" counter(s); font-family: var(--serif); font-size: 40px; color: var(--line); position: absolute; right: 0; top: 12px; line-height: 1; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* CTA */
.cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 64px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.cta p { color: #c6cede; }

/* Forms */
.form { display: grid; gap: 12px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input, .form textarea, .form select { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: 15px; background: var(--white); color: var(--text); }
.cta .form input, .cta .form select, .cta .form textarea { border-color: transparent; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form .note { font-size: 12.5px; color: #9eabc2; }
.form .btn { justify-content: center; }
.form .btn:disabled { opacity: .7; cursor: wait; transform: none; }
.form-status { font-size: 14px; padding: 12px 14px; border-radius: var(--radius); }
.form-status.ok { background: #e6f4ea; color: #1d5b31; }
.form-status.err { background: #fdecea; color: #8a1f17; }

/* Catalog table-like list */
.cat-block { margin-bottom: 72px; }
.cat-block:last-child { margin-bottom: 0; }
.cat-block > h2 { font-size: 32px; margin-bottom: 10px; }
.cat-block > p { color: var(--muted); max-width: 680px; margin-bottom: 32px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split p { color: var(--muted); margin-bottom: 16px; }
.ph { background: linear-gradient(135deg, #e7ebf2, #f4f6f9); border: 1px dashed #c4ccda; border-radius: var(--radius); min-height: 380px; display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 20px; }

.logo-panel { background: var(--steel); border-radius: var(--radius); min-height: 380px; display: grid; place-items: center; padding: 48px; }
.logo-panel img { width: 100%; max-width: 380px; height: auto; }

/* Contacts */
.contact-list { list-style: none; display: grid; gap: 26px; }
.contact-list b { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.contact-list span, .contact-list a { font-family: var(--serif); font-size: 21px; color: var(--navy-dark); }

/* Footer */
.footer { background: var(--navy-deep); color: #9eabc2; padding: 72px 0 32px; font-size: 15px; }
.footer .container { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer img { height: 46px; width: auto; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.footer .copy { grid-column: 1 / -1; border-top: 1px solid #263252; padding-top: 24px; margin-top: 16px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Reveal animation */
.reveal { animation: rise .8s ease both; }
.hero h1, .hero .lead, .hero .actions { animation: rise .9s ease both; }
.hero .lead { animation-delay: .12s; } .hero .actions { animation-delay: .24s; }
@keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal, .hero h1, .hero .lead, .hero .actions { animation: none; } }

/* Responsive */
@media (max-width: 1000px) {
  .g4, .features { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 48px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .topbar .hide-md { display: none; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 14px; background: var(--white); padding: 22px 24px 28px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.2); }
  .nav.open { display: flex; }
  .g2, .g3, .g4, .features { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .hero .container { padding-top: 72px; padding-bottom: 72px; }
  .head { flex-direction: column; align-items: flex-start; gap: 14px; }
  section { padding: 72px 0; }
  .direction { padding: 30px; min-height: 0; }
  .cta { padding: 34px 22px; }
  .form .row { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr; }
  .topbar .tb-group:last-child { display: none; }
  .container { padding: 0 16px; }
}
