:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-soft: #eaf1f8;
  --ink: #10233f;
  --muted: #65758b;
  --line: #dbe5ef;
  --primary: #116d73;
  --primary-dark: #0a4d52;
  --accent: #e6a25c;
  --deep: #071b2f;
  --success: #18794e;
  --shadow: 0 18px 60px rgba(12, 40, 67, .12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 82px;
  display: flex;
  align-items: center;
  background: rgba(243, 247, 251, .9);
  border-bottom: 1px solid rgba(219, 229, 239, .75);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .12em; }
.brand-logo { display:block; width:auto; height:48px; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  color: #fff; background: linear-gradient(145deg, var(--primary), #1b9aa2); box-shadow: 0 8px 28px rgba(17,109,115,.24);
  font-size: 20px; letter-spacing: 0;
}
.brand-name { font-size: 15px; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { position: relative; color: #42556f; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.main-nav a::after { content:""; position:absolute; left:0; right:100%; bottom:-8px; height:2px; background:var(--primary); transition:.25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right:0; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display:block; height:2px; margin:5px 0; border-radius:10px; background:var(--ink); transition:.25s ease; }

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(230,162,92,.2), transparent 25%),
    linear-gradient(135deg, #edf5f8 0%, #f8fafc 48%, #e7f1f4 100%);
}
.hero::before { content:""; position:absolute; inset:0; opacity:.26; background-image:linear-gradient(rgba(16,35,63,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(16,35,63,.08) 1px,transparent 1px); background-size:54px 54px; mask-image:linear-gradient(to bottom,black,transparent 86%); }
.hero-grid { position:relative; z-index:2; display:grid; grid-template-columns:1.05fr .95fr; gap:80px; align-items:center; }
.hero-copy h1 { margin: 8px 0 22px; max-width: 720px; font-size: clamp(52px, 8vw, 96px); line-height: .95; letter-spacing: -.055em; }
.eyebrow { margin:0 0 14px; color:var(--primary); font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.16em; }
.hero-lead { margin:0 0 15px; max-width:680px; color:#314862; font-size:21px; line-height:1.55; }
.hero-copy > p:not(.eyebrow):not(.hero-lead) { max-width:650px; color:var(--muted); }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top:32px; }
.company-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; max-width:650px; margin:42px 0 0; overflow:hidden; border:1px solid var(--line); border-radius:18px; background:var(--line); }
.company-facts div { padding:16px 18px; background:rgba(255,255,255,.8); }
.company-facts dt { margin-bottom:3px; color:var(--muted); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
.company-facts dd { margin:0; color:var(--ink); font-size:14px; font-weight:800; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:54px; padding:0 26px; border:1px solid transparent; border-radius:999px; font-weight:800; cursor:pointer; transition:.25s ease; }
.button-primary { color:#fff; background:var(--primary); box-shadow:0 12px 30px rgba(17,109,115,.23); }
.button-primary:hover { transform:translateY(-2px); background:var(--primary-dark); }
.button-ghost { color:var(--ink); border-color:#bccbd8; background:rgba(255,255,255,.48); }
.button-ghost:hover { border-color:var(--primary); color:var(--primary); }
.hero-visual { position:relative; min-height:470px; }
.visual-card { position:absolute; border:1px solid rgba(255,255,255,.8); background:rgba(255,255,255,.72); box-shadow:var(--shadow); backdrop-filter:blur(16px); }
.visual-card-main { top:82px; right:0; width:min(100%,480px); padding:38px; border-radius:32px; transform:rotate(-2deg); }
.visual-label { display:block; margin-bottom:18px; color:var(--primary); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.14em; }
.visual-card-main strong { display:block; font-size:31px; line-height:1.25; letter-spacing:-.03em; }
.progress-line { height:10px; margin-top:34px; overflow:hidden; border-radius:20px; background:#d8e7e9; }
.progress-line span { display:block; width:74%; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--primary),var(--accent)); animation:pulse-line 2.8s ease-in-out infinite; }
.visual-card-small { display:flex; align-items:center; gap:12px; min-width:190px; padding:16px 18px; border-radius:18px; font-size:14px; font-weight:800; }
.icon-chip { display:grid; place-items:center; width:38px; height:38px; border-radius:12px; color:#fff; background:var(--deep); }
.card-a { top:8px; left:26px; transform:rotate(3deg); }
.card-b { right:4px; bottom:38px; transform:rotate(4deg); }
.card-c { left:8px; bottom:88px; transform:rotate(-4deg); }
.hero-orb { position:absolute; border-radius:50%; filter:blur(2px); }
.hero-orb-one { width:420px; height:420px; right:-190px; top:130px; background:rgba(17,109,115,.1); }
.hero-orb-two { width:230px; height:230px; left:46%; bottom:-100px; background:rgba(230,162,92,.2); }
.scroll-cue { position:absolute; left:50%; bottom:28px; z-index:3; display:flex; flex-direction:column; align-items:center; gap:8px; color:var(--muted); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.15em; transform:translateX(-50%); }
.scroll-cue span { display:block; width:1px; height:34px; background:linear-gradient(var(--primary),transparent); animation:scroll-cue 1.8s ease-in-out infinite; }

.section { padding: 120px 0; }
.section-heading { display:grid; grid-template-columns:1fr 1.2fr; gap:30px 70px; align-items:end; margin-bottom:54px; }
.section-heading .eyebrow { grid-column:1/-1; margin-bottom:-10px; }
.section-heading h2 { margin:0; font-size:clamp(36px,5vw,58px); line-height:1.05; letter-spacing:-.045em; }
.section-heading > p:last-child { margin:0; color:var(--muted); font-size:18px; }
.services { background:#fff; }
.service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.service-card { position:relative; min-height:290px; padding:30px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(150deg,#fff,#f8fbfd); transition:.3s ease; }
.service-card:hover { transform:translateY(-6px); border-color:rgba(17,109,115,.35); box-shadow:0 24px 60px rgba(12,40,67,.1); }
.service-card::after { content:""; position:absolute; width:130px; height:130px; right:-70px; bottom:-70px; border-radius:50%; background:rgba(17,109,115,.07); transition:.3s ease; }
.service-card:hover::after { transform:scale(1.5); }
.service-number { position:absolute; top:25px; right:27px; color:#a9b7c5; font-size:12px; font-weight:800; letter-spacing:.1em; }
.service-icon { display:grid; place-items:center; width:52px; height:52px; margin-bottom:34px; border-radius:16px; color:#fff; background:var(--deep); font-size:22px; }
.service-card h3 { margin:0 0 12px; font-size:20px; text-transform:uppercase; letter-spacing:.015em; }
.service-card p { margin:0; color:var(--muted); font-size:15px; }

.approach-section { background:var(--bg); }
.approach-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:80px; align-items:start; }
.approach-grid .section-heading { position:sticky; top:122px; display:block; margin:0; }
.approach-grid .section-heading h2 { margin:0 0 24px; }
.approach-grid .section-heading > p:last-child { font-size:17px; }
.process-list { display:grid; gap:14px; margin:0; padding:0; list-style:none; }
.process-list li { display:grid; grid-template-columns:64px 1fr; gap:22px; padding:28px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,.7); }
.process-list li > span { color:var(--primary); font-size:13px; font-weight:800; letter-spacing:.12em; }
.process-list h3 { margin:0 0 7px; font-size:22px; text-transform:uppercase; letter-spacing:.015em; }
.process-list p { margin:0; color:var(--muted); }

.contact-section { background:linear-gradient(135deg,var(--deep),#0e3549); color:#fff; }
.contact-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:80px; align-items:start; }
.contact-copy h2 { margin:0 0 20px; font-size:clamp(42px,6vw,68px); line-height:1.02; letter-spacing:-.045em; }
.contact-copy > p:not(.eyebrow) { color:#b8c7d5; font-size:17px; }
.contact-panel { padding:42px; border:1px solid rgba(255,255,255,.13); border-radius:28px; background:rgba(255,255,255,.07); box-shadow:0 30px 80px rgba(0,0,0,.18); }
.contact-panel-label { display:block; margin-bottom:14px; color:#8eabbc; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.14em; }
.contact-email { display:block; overflow-wrap:anywhere; color:#fff; font-size:clamp(23px,3vw,34px); font-weight:800; letter-spacing:-.03em; }
.contact-email:hover { color:#83d1d4; }
.contact-panel p { margin:22px 0 30px; color:#b8c7d5; }
.contact-panel .button { justify-content:space-between; width:100%; }
.contact-details { display:grid; gap:12px; margin-top:38px; }
.contact-details a { display:flex; flex-direction:column; gap:3px; padding:17px 20px; border:1px solid rgba(255,255,255,.13); border-radius:16px; background:rgba(255,255,255,.04); }
.contact-details span { color:#8eabbc; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; }
.contact-form { padding:38px; border:1px solid rgba(255,255,255,.13); border-radius:28px; background:rgba(255,255,255,.07); box-shadow:0 30px 80px rgba(0,0,0,.18); }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field { display:block; margin-bottom:20px; }
.field > span { display:block; margin-bottom:8px; color:#dce8ef; font-size:13px; font-weight:700; }
.field input, .field textarea { width:100%; border:1px solid rgba(255,255,255,.16); border-radius:14px; outline:none; color:#fff; background:rgba(255,255,255,.06); transition:.2s ease; }
.field input { height:54px; padding:0 16px; }
.field textarea { min-height:150px; padding:14px 16px; resize:vertical; }
.field input::placeholder, .field textarea::placeholder { color:#8199a8; }
.field input:focus, .field textarea:focus { border-color:#55b4b9; box-shadow:0 0 0 4px rgba(85,180,185,.12); }
.field.has-error input, .field.has-error textarea { border-color:#ff8b8b; }
.field-error { display:none; margin-top:6px; color:#ffb1b1; font-size:12px; }
.field.has-error .field-error { display:block; }
.submit-button { width:100%; justify-content:space-between; border:0; }
.button-arrow { font-size:22px; }
.form-success { display:none; margin-top:18px; padding:14px 16px; border:1px solid rgba(125,232,180,.35); border-radius:14px; color:#b9f2d3; background:rgba(24,121,78,.18); }
.form-success.is-visible { display:block; animation:fade-up .35s ease both; }

.site-footer { padding:74px 0 26px; color:#c3d0db; background:#051522; }
.footer-grid { display:grid; grid-template-columns:1.25fr 1.2fr .75fr .75fr; gap:50px; }
.brand-light { color:#fff; }
.footer-brand .brand { width:max-content; padding:8px 14px; border-radius:14px; background:#fff; }
.footer-brand .brand-logo { height:42px; }
.footer-brand p { max-width:310px; color:#8499aa; }
.footer-brand .registration { margin-top:20px; color:#718799; font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.site-footer h3 { margin:0 0 18px; color:#fff; font-size:13px; text-transform:uppercase; letter-spacing:.14em; }
.site-footer address { margin-bottom:15px; color:#91a5b5; font-style:normal; }
.footer-contacts address { display:grid; gap:10px; }
.footer-contacts address strong { color:#dce5ec; }
.footer-contacts address span { max-width:320px; }
.footer-contacts address a { overflow-wrap:anywhere; color:#c3d0db; }
.site-footer a:hover { color:#fff; }
.footer-links { display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.footer-links a { color:#91a5b5; }
.footer-links a[aria-current="page"] { color:#fff; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:58px; padding-top:24px; border-top:1px solid rgba(255,255,255,.09); color:#718799; font-size:13px; }
.footer-bottom p { margin:0; }

.legal-page { background:#fff; }
.legal-page .site-header { position:fixed; }
.legal-hero { padding:170px 0 82px; color:#fff; background:linear-gradient(135deg,var(--deep),#0e4052); }
.legal-hero h1 { margin:0 0 18px; font-size:clamp(48px,7vw,82px); line-height:1; letter-spacing:-.05em; }
.legal-hero p:last-child { max-width:700px; margin:0; color:#bdd0dc; font-size:18px; }
.legal-section { padding:90px 0 120px; }
.legal-layout { display:grid; grid-template-columns:260px minmax(0,780px); gap:80px; align-items:start; justify-content:center; }
.legal-toc { position:sticky; top:112px; display:grid; gap:10px; padding:24px; border:1px solid var(--line); border-radius:18px; background:#f7fafc; }
.legal-toc strong { margin-bottom:7px; font-size:13px; text-transform:uppercase; letter-spacing:.1em; }
.legal-toc a { color:var(--muted); font-size:14px; }
.legal-toc a:hover { color:var(--primary); }
.legal-content { color:#344a62; }
.legal-intro { margin:0 0 42px; padding:25px 28px; border-left:4px solid var(--accent); border-radius:0 16px 16px 0; background:#f7fafc; color:var(--ink); font-size:18px; }
.legal-content section { scroll-margin-top:110px; margin-bottom:42px; }
.legal-content h2 { margin:0 0 15px; color:var(--ink); font-size:28px; line-height:1.25; letter-spacing:-.02em; }
.legal-content h3 { margin:24px 0 10px; color:var(--ink); font-size:19px; }
.legal-content p { margin:0 0 14px; }
.legal-content ul { padding-left:23px; }
.legal-content li { margin-bottom:8px; }
.legal-content a { color:var(--primary); text-decoration:underline; text-underline-offset:3px; }
.notice-box { margin:24px 0; padding:18px 20px; border:1px solid #c9e2e4; border-radius:14px; color:#244d52; background:#edf7f7; }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .65s ease,transform .65s ease; }
.reveal.is-visible { opacity:1; transform:none; }

@keyframes pulse-line { 0%,100%{width:58%} 50%{width:86%} }
@keyframes scroll-cue { 0%,100%{opacity:.35;transform:scaleY(.6);transform-origin:top} 50%{opacity:1;transform:scaleY(1)} }
@keyframes fade-up { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }

@media (max-width: 980px) {
  .hero { min-height:auto; padding-top:135px; }
  .hero-grid, .contact-grid { grid-template-columns:1fr; }
  .hero-grid { gap:30px; }
  .hero-visual { min-height:420px; max-width:600px; width:100%; margin:0 auto; }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .section-heading { grid-template-columns:1fr; gap:20px; }
  .approach-grid { grid-template-columns:1fr; gap:45px; }
  .approach-grid .section-heading { position:static; }
  .footer-grid { grid-template-columns:1.3fr 1.3fr 1fr; }
  .footer-grid > div:last-child { grid-column:3; }
  .legal-layout { grid-template-columns:210px minmax(0,1fr); gap:45px; }
}

@media (max-width: 760px) {
  .container { width:min(calc(100% - 28px),var(--container)); }
  .site-header { height:72px; }
  .menu-toggle { display:block; position:relative; z-index:102; }
  .main-nav { position:fixed; inset:0; z-index:101; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:22px; padding:180px 34px; background:rgba(243,247,251,.98); transform:translateX(100%); transition:.3s ease; }
  .main-nav.is-open { transform:none; }
  .main-nav a { font-size:24px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .hero { padding:120px 0 85px; }
  .hero-copy h1 { font-size:54px; }
  .hero-lead { font-size:18px; }
  .company-facts { grid-template-columns:1fr; }
  .hero-visual { min-height:360px; }
  .visual-card-main { top:70px; padding:28px; }
  .visual-card-main strong { font-size:25px; }
  .visual-card-small { min-width:auto; padding:12px 14px; }
  .card-a { left:2px; }
  .card-c { left:0; bottom:60px; }
  .section { padding:85px 0; }
  .service-grid { grid-template-columns:1fr; }
  .service-card { min-height:250px; }
  .field-row { grid-template-columns:1fr; gap:0; }
  .contact-form { padding:25px; }
  .contact-panel { padding:28px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-grid > div:last-child { grid-column:auto; }
  .footer-brand { grid-column:1/-1; }
  .footer-bottom { flex-direction:column; }
  .legal-hero { padding:135px 0 65px; }
  .legal-layout { grid-template-columns:1fr; gap:35px; }
  .legal-toc { position:static; grid-template-columns:repeat(2,1fr); }
  .legal-toc strong { grid-column:1/-1; }
}

@media (max-width: 480px) {
  .brand-logo { height:40px; }
  .hero-copy h1 { font-size:46px; }
  .hero-actions .button { width:100%; }
  .hero-visual { min-height:330px; }
  .visual-card-main { width:94%; padding:24px; }
  .visual-card-small { font-size:12px; }
  .icon-chip { width:32px; height:32px; }
  .card-b { bottom:20px; }
  .section-heading h2 { font-size:38px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand { grid-column:auto; }
  .legal-toc { grid-template-columns:1fr; }
  .legal-content h2 { font-size:24px; }
}
