:root {
  --navy-950: #021426;
  --navy-900: #06213c;
  --navy-800: #0b3157;
  --blue-600: #0f76d3;
  --blue-500: #2196f3;
  --blue-100: #dceeff;
  --slate-900: #0b1f33;
  --slate-700: #354b60;
  --slate-500: #65798b;
  --slate-200: #dbe4ec;
  --slate-100: #eef3f7;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(4, 28, 52, 0.12);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-kicker {
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; margin: 0 0 18px; }
.section-copy { color: var(--slate-700); font-size: 1.08rem; max-width: 760px; }
.center { text-align: center; }
.center .section-copy { margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(8, 40, 70, .08);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 250px; }
.brand img { width: 62px; height: 62px; object-fit: contain; border-radius: 12px; }
.brand-text strong { display: block; font-size: 1.25rem; line-height: 1; }
.brand-text span { display: block; font-size: .64rem; letter-spacing: .24em; color: var(--slate-700); margin-top: 7px; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: .92rem; }
.nav-links a { position: relative; padding: 28px 0 24px; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 16px; height: 2px; background: var(--blue-500); transition: .2s; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-cta { padding: 13px 20px !important; color: var(--white); background: var(--navy-800); border-radius: 8px; box-shadow: 0 8px 20px rgba(3, 33, 60, .18); }
.nav-cta::after { display: none; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--navy-900); margin: 5px 0; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 35%, rgba(33,150,243,.34), transparent 18%),
    radial-gradient(circle at 18% 15%, rgba(15,118,211,.24), transparent 24%),
    linear-gradient(120deg, #031426 0%, #042b4f 55%, #031a30 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}
.hero::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -170px;
  top: -220px;
  border: 1px solid rgba(88,187,255,.28);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(45,150,230,.05), 0 0 0 145px rgba(45,150,230,.035), 0 0 0 220px rgba(45,150,230,.02);
}
.hero-grid { position: relative; z-index: 1; min-height: 590px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.55rem, 5vw, 4.7rem); line-height: 1.03; letter-spacing: -.04em; margin: 0 0 24px; max-width: 780px; }
.hero h1 span { color: #45a8ff; }
.hero p { font-size: clamp(1rem, 1.7vw, 1.25rem); color: #d7e7f5; max-width: 680px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 8px; padding: 14px 22px; font-weight: 800; border: 1px solid transparent; transition: transform .18s, box-shadow .18s, background .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); box-shadow: 0 12px 28px rgba(13,118,211,.28); }
.btn-secondary { color: var(--white); border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.03); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-shield {
  width: min(390px, 82vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(33,150,243,.14), rgba(2,20,38,.05) 60%, transparent 62%);
  position: relative;
}
.hero-shield::before, .hero-shield::after { content: ""; position: absolute; border: 1px solid rgba(90,190,255,.3); border-radius: 50%; }
.hero-shield::before { inset: 24px; }
.hero-shield::after { inset: 0; }
.hero-shield img { width: 79%; filter: drop-shadow(0 20px 32px rgba(0,0,0,.35)); border-radius: 22px; }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--slate-100); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 34px 0; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.icon-circle { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-100); color: var(--navy-800); font-size: 1.25rem; }
.trust-item h3 { margin: 0 0 4px; font-size: .92rem; text-transform: uppercase; letter-spacing: .02em; }
.trust-item p { margin: 0; color: var(--slate-700); font-size: .9rem; }

.bg-soft { background: linear-gradient(180deg, #f8fbfd, #eef4f8); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.card { background: var(--white); border: 1px solid #e7eef4; border-radius: var(--radius); padding: 28px; box-shadow: 0 12px 36px rgba(11,49,87,.07); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 1.7rem; color: var(--blue-600); margin-bottom: 16px; }
.card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.card p { margin: 0 0 18px; color: var(--slate-700); }
.text-link { color: var(--blue-600); font-weight: 800; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.panel-dark { color: var(--white); background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); border-radius: 28px; padding: 44px; box-shadow: var(--shadow); }
.panel-dark p { color: #d8e7f4; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { position: relative; padding-left: 30px; margin: 12px 0; color: inherit; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #4eb3ff; font-weight: 900; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 42px; }
.step { position: relative; padding: 26px 22px; border-top: 3px solid var(--blue-500); background: var(--white); box-shadow: 0 8px 28px rgba(5,35,62,.07); border-radius: 12px; }
.step-number { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--white); font-weight: 900; margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--slate-700); }

.cta-band { background: linear-gradient(115deg, var(--navy-950), #073762); color: var(--white); }
.cta-grid { display: grid; grid-template-columns: 1.4fr .8fr; align-items: center; gap: 30px; }
.cta-grid h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.cta-grid p { color: #d8e7f4; margin: 0; }
.cta-actions { display: flex; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }

.page-hero { padding: 92px 0 78px; color: var(--white); background: linear-gradient(135deg, var(--navy-950), #073760); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; margin: 0 0 18px; }
.page-hero p { max-width: 760px; font-size: 1.15rem; color: #d8e7f4; margin: 0; }

.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 38px; }
.service-box { border: 1px solid var(--slate-200); border-radius: 16px; padding: 28px; }
.service-box h3 { margin-top: 0; }
.service-box ul { padding-left: 20px; color: var(--slate-700); }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: start; }
.about-card { background: var(--navy-900); color: var(--white); border-radius: 24px; padding: 34px; position: sticky; top: 118px; }
.about-card p { color: #d7e7f5; }
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.fact { padding: 20px; border-radius: 14px; background: var(--slate-100); }
.fact strong { display: block; font-size: 1.35rem; color: var(--navy-900); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; align-items: start; }
.contact-card { background: var(--navy-900); color: var(--white); padding: 34px; border-radius: 22px; }
.contact-card a { color: #62bdff; font-weight: 800; }
.contact-item { margin: 24px 0; }
.contact-form { background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow); padding: 34px; border-radius: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .9rem; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #cbd8e2; border-radius: 9px; padding: 12px 13px; background: #fbfdff; }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--slate-500); margin-top: 14px; }

.site-footer { background: #021220; color: #d7e7f5; padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 14px; color: var(--white); margin-bottom: 16px; }
.footer-brand img { width: 62px; height: 62px; object-fit: contain; border-radius: 12px; background: white; }
.footer-brand strong { font-size: 1.25rem; }
.site-footer h3 { color: var(--white); margin: 0 0 14px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: #5cb8ff; }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; font-size: .86rem; color: #9eb2c4; }

.notice { padding: 18px 20px; border-left: 4px solid var(--blue-500); background: #eef7ff; color: var(--slate-700); border-radius: 8px; }
.legal { max-width: 860px; }
.legal h2 { margin-top: 36px; }
.not-found { min-height: 66vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.not-found h1 { font-size: clamp(5rem, 14vw, 10rem); line-height: .8; color: var(--blue-600); margin: 0; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 82px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: white; border-bottom: 1px solid var(--slate-200); box-shadow: 0 18px 28px rgba(4,28,52,.12); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 6px; }
  .nav-links a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .hero-grid, .split, .cta-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 78px 0; }
  .hero-art { order: -1; }
  .hero-shield { width: 290px; }
  .trust-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { justify-content: flex-start; }
  .about-card { position: static; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand { min-width: 0; }
  .brand img { width: 52px; height: 52px; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text span { font-size: .52rem; }
  .hero-grid { min-height: auto; padding: 56px 0 64px; }
  .hero h1 { font-size: 2.55rem; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .trust-grid, .cards, .process, .service-detail, .fact-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .section { padding: 66px 0; }
  .footer-bottom { flex-direction: column; }
}
