:root {
  --navy: #081a33;
  --navy-2: #102a4d;
  --blue: #125deb;
  --blue-hover: #0a48c4;
  --sky: #eaf2ff;
  --ice: #f6f8fc;
  --white: #ffffff;
  --ink: #10213a;
  --muted: #52627a;
  --line: #d9e1ec;
  --orange: #f0642b;
  --green: #14805e;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(8, 26, 51, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; min-height: 74px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(8,26,51,.08); backdrop-filter: blur(14px); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: baseline; gap: 4px; text-decoration: none; color: var(--navy); font-size: 1.55rem; letter-spacing: -.055em; }
.brand-ai { font-weight: 900; color: var(--blue); }
.brand-net { font-weight: 760; }
.nav-main { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-main a { color: #31435d; text-decoration: none; font-size: .9rem; font-weight: 700; }
.nav-main a:hover { color: var(--blue); }
.language-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--ice); }
.language-switch a { min-width: 38px; padding: 6px 10px; border-radius: 999px; text-align: center; text-decoration: none; color: var(--muted); font-size: .78rem; font-weight: 850; }
.language-switch a.active { background: var(--navy); color: var(--white); box-shadow: 0 3px 12px rgba(8,26,51,.18); }
.nav-cta { display: inline-flex; min-height: 42px; padding: 0 17px; align-items: center; border-radius: 10px; color: var(--white) !important; background: var(--blue); }
.menu-toggle { display: none; padding: 10px; border: 0; background: transparent; color: var(--navy); font-weight: 800; }

.button { display: inline-flex; min-height: 50px; padding: 0 21px; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--blue); border-radius: 11px; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 800; cursor: pointer; transition: .2s ease; }
.button:hover { background: var(--blue-hover); border-color: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(18,93,235,.22); }
.button.secondary { color: var(--navy); border-color: #bac7d9; background: var(--white); }
.button.secondary:hover { border-color: var(--blue); background: var(--sky); box-shadow: none; }
.button.small { min-height: 40px; padding-inline: 15px; font-size: .87rem; }

.hero { position: relative; padding: 96px 0 82px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f7faff 100%); }
.hero::before { content: ""; position: absolute; width: 680px; height: 680px; right: -340px; top: -310px; border-radius: 50%; background: radial-gradient(circle, rgba(18,93,235,.14), rgba(18,93,235,0) 68%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 76px; }
.kicker { margin: 0 0 20px; color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-size: .73rem; font-weight: 900; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3.1rem, 6.7vw, 6.25rem); letter-spacing: -.068em; }
h2 { margin-bottom: 18px; font-size: clamp(2.25rem, 4vw, 4rem); letter-spacing: -.052em; }
h3 { margin-bottom: 12px; font-size: 1.3rem; letter-spacing: -.025em; }
.lead { max-width: 710px; margin: 0; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.micro { margin: 18px 0 0; color: #627188; font-size: .86rem; }

.product-window { position: relative; border: 1px solid #cfd9e7; border-radius: 22px; background: var(--white); box-shadow: 0 28px 80px rgba(8,26,51,.15); overflow: hidden; }
.product-window::after { content: ""; position: absolute; left: -1px; bottom: -1px; width: 6px; height: 45%; background: var(--orange); }
.window-top { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); background: var(--ice); }
.dots { display: flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #aab7c8; }
.window-label { color: #6b7b91; font-size: .72rem; font-weight: 800; }
.window-body { padding: 24px; }
.window-metric { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.window-metric small { display: block; color: var(--muted); }
.window-metric strong { display: block; color: var(--navy); font-size: 2.25rem; letter-spacing: -.05em; }
.metric-badge { padding: 6px 9px; border-radius: 8px; color: var(--green); background: #e8f7f1; font-size: .75rem; font-weight: 850; }
.lead-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid #e6ebf2; }
.lead-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--sky); color: var(--blue); font-weight: 900; }
.lead-row b { display: block; color: var(--navy); font-size: .88rem; }
.lead-row small { display: block; color: #627188; }
.row-status { padding: 5px 8px; border-radius: 7px; background: #eef2f7; color: #53647b; font-size: .69rem; font-weight: 800; white-space: nowrap; }
.row-status.new { color: #0a52c6; background: #eaf2ff; }

.proof { border-block: 1px solid var(--line); background: var(--white); }
.proof-grid { min-height: 92px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.proof-item { padding: 8px 28px; border-right: 1px solid var(--line); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-item b { display: block; margin-bottom: 2px; color: var(--navy); }
.proof-item span { color: var(--muted); font-size: .88rem; }

section { padding: 104px 0; }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 1.07rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 100%; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: .2s ease; }
.service-card:hover { border-color: #afc7f8; transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card.featured { border: 2px solid var(--blue); }
.tag { display: inline-flex; margin-bottom: 28px; padding: 6px 9px; border-radius: 7px; color: var(--blue); background: var(--sky); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 900; }
.service-card p, .service-card li { color: var(--muted); }
.service-card ul { margin: 22px 0 0; padding: 0; list-style: none; }
.service-card li { position: relative; padding: 7px 0 7px 24px; }
.service-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.service-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.price { display: block; color: var(--navy); font-size: 1.7rem; font-weight: 900; letter-spacing: -.04em; }
.price-note { color: #627188; font-size: .77rem; }

.process-section { color: var(--white); background: var(--navy); }
.process-section h2, .process-section h3 { color: var(--white); }
.process-section .section-head p:not(.kicker) { color: #afbdd0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.15); }
.process-step { min-height: 260px; padding: 28px; background: var(--navy); }
.process-step b { display: inline-grid; width: 34px; height: 34px; margin-bottom: 48px; place-items: center; border-radius: 50%; color: var(--navy); background: #75a7ff; font-size: .76rem; }
.process-step p { color: #aebdd0; font-size: .93rem; }

.safety { background: var(--ice); }
.safety-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.safety-list { display: grid; gap: 14px; }
.safety-row { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.safety-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--sky); color: var(--blue); font-weight: 900; }
.safety-row h3 { margin-bottom: 5px; font-size: 1.05rem; }
.safety-row p { margin: 0; color: var(--muted); font-size: .9rem; }

.faq { max-width: 860px; }
details { border-top: 1px solid var(--line); padding: 22px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; color: var(--navy); font-weight: 820; }
details p { color: var(--muted); }

.contact-section { padding-top: 0; }
.contact-panel { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; padding: 56px; border-radius: 24px; background: var(--sky); }
.contact-panel p { color: #4d6079; }
.contact-meta { margin-top: 28px; padding-top: 22px; border-top: 1px solid #cbdaf1; }
.contact-meta strong { color: var(--navy); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { color: var(--navy); font-size: .8rem; font-weight: 800; }
input, textarea, select { width: 100%; padding: 13px 14px; border: 1px solid #bdc9d9; border-radius: 10px; background: var(--white); color: var(--ink); outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,93,235,.12); }
textarea { min-height: 118px; resize: vertical; }
.form-note, .form-status { grid-column: 1 / -1; margin: 0; color: #586981; font-size: .78rem; }
.form-status { padding: 10px 12px; border-radius: 8px; background: #e4f5ed; color: #11684b; }
.hp { position: absolute; left: -9999px; }

.site-footer { padding: 32px 0; border-top: 1px solid var(--line); }
.footer-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; color: var(--muted); font-size: .85rem; }
.footer-links { justify-self: end; display: flex; align-items: center; gap: 17px; }
.footer-links a { text-decoration: none; }

.legal { max-width: 820px; padding: 82px 0 110px; }
.legal h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.legal h2 { margin-top: 38px; font-size: 1.55rem; }
.legal p, .legal li { color: var(--muted); }
.draft-warning { padding: 16px; border-left: 4px solid var(--orange); background: #fff4ed; }

@media (max-width: 940px) {
  .hero-grid, .safety-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 54px; }
  .service-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 740px) {
  .shell { width: min(100% - 28px, 1180px); }
  .menu-toggle { display: block; }
  .nav-main { display: none; position: absolute; left: 14px; right: 14px; top: 66px; padding: 18px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
  .nav-main.open { display: flex; }
  .language-switch { align-self: flex-start; }
  .hero { padding: 68px 0 64px; }
  h1 { font-size: clamp(2.9rem, 14vw, 4.4rem); }
  section { padding: 76px 0; }
  .proof-grid, .process-grid { grid-template-columns: 1fr; }
  .proof-item { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .process-step { min-height: auto; }
  .process-step b { margin-bottom: 24px; }
  .contact-panel { padding: 30px 22px; gap: 34px; }
  .contact-form { grid-template-columns: 1fr; }
  .field.full, .form-note, .form-status { grid-column: auto; }
  .footer-row { grid-template-columns: 1fr; justify-items: start; }
  .footer-links { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Admin */
.admin-body { min-height: 100vh; background: var(--ice); }
.admin-top { background: var(--navy); color: var(--white); }
.admin-nav { min-height: 66px; display: flex; align-items: center; gap: 24px; }
.admin-nav .brand { color: var(--white); }
.admin-nav a { color: #c4d1e3; text-decoration: none; font-size: .9rem; font-weight: 700; }
.admin-nav .admin-spacer { flex: 1; }
.admin-main { padding: 42px 0 80px; }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.admin-heading h1 { margin: 0; font-size: 2.35rem; letter-spacing: -.045em; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.metric { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.metric span { color: var(--muted); font-size: .78rem; font-weight: 750; }
.metric strong { display: block; margin-top: 8px; color: var(--navy); font-size: 2rem; letter-spacing: -.04em; }
.admin-card { margin-bottom: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; }
.admin-card-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.admin-card-head h2 { margin: 0; font-size: 1.15rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 16px; border-bottom: 1px solid #e8edf3; text-align: left; vertical-align: top; font-size: .84rem; }
th { color: #627188; background: #fafbfd; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.status-pill { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: var(--sky); color: var(--blue); font-size: .7rem; font-weight: 850; }
.inline-form { display: flex; gap: 7px; }
.inline-form select { min-width: 125px; padding: 7px 8px; }
.content-editor { padding: 20px; }
.editor-row { display: grid; grid-template-columns: 210px 1fr 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid #e8edf3; }
.editor-row:last-child { border-bottom: 0; }
.editor-label { color: var(--navy); font-size: .82rem; font-weight: 800; }
.editor-lang { display: grid; gap: 5px; }
.editor-lang small { color: var(--muted); font-weight: 800; }
.editor-actions { position: sticky; bottom: 14px; display: flex; justify-content: flex-end; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.notice { margin-bottom: 20px; padding: 13px 15px; border-radius: 10px; background: #e6f5ee; color: #11684b; }
.notice.error { background: #fff0ec; color: #9c341b; }
.login-shell { width: min(430px, calc(100% - 30px)); margin: 12vh auto; }
.login-card { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.login-card .brand { margin-bottom: 30px; }
.login-card form { display: grid; gap: 14px; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr 1fr; } .editor-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .admin-grid { grid-template-columns: 1fr; } .admin-nav a:not(.brand) { display: none; } }
