:root {
  --bg: #fbfcfe;
  --surface: #ffffff;
  --surface-2: #f3f6fa;
  --ink: #11233b;
  --muted: #5e6b7b;
  --line: #dfe6ee;
  --brand: #1769aa;
  --brand-deep: #0d4f86;
  --accent: #f2a33a;
  --accent-soft: #fff3df;
  --success: #1f7a5a;
  --shadow: 0 24px 70px rgba(31, 58, 88, .12);
  --radius: 24px;
  --radius-sm: 16px;
  --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(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 92px 0; }
.section.compact { padding: 64px 0; }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-deep);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--accent); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 16px; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 720px; }
.kicker { color: var(--brand); font-weight: 800; }

.topbar { background: #eef5fb; border-bottom: 1px solid var(--line); font-size: .92rem; }
.topbar .container { min-height: 42px; display: flex; justify-content: center; align-items: center; text-align: center; gap: 8px; }
.topbar strong { color: var(--brand-deep); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251,252,254,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,230,238,.9);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 900; letter-spacing: -.02em; }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #3d8bc3); color: white; font-size: .86rem; box-shadow: 0 8px 22px rgba(23,105,170,.2); }
.logo span em { font-style: normal; color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .96rem; font-weight: 700; }
.nav-links a:hover { color: var(--brand); }
.nav-cta, .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover, .nav-cta:hover { transform: translateY(-2px); }
.btn-primary, .nav-cta { background: var(--brand); color: white; box-shadow: 0 12px 24px rgba(23,105,170,.16); }
.btn-primary:hover, .nav-cta:hover { background: var(--brand-deep); }
.btn-secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { box-shadow: 0 12px 26px rgba(31,58,88,.09); }
.btn-accent { background: var(--accent); color: #32220d; }
.mobile-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: white; border-radius: 12px; }
.mobile-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }

.hero { padding: 76px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
.hero h1 .accent { color: var(--brand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 28px; font-weight: 800; font-size: .94rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.check { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #e8f6ef; color: var(--success); font-size: .78rem; }
.hero-visual { position: relative; }
.hero-photo { border-radius: 32px; box-shadow: var(--shadow); aspect-ratio: 1 / .88; object-fit: cover; }
.hero-card { position: absolute; background: rgba(255,255,255,.96); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(31,58,88,.15); border-radius: 18px; padding: 18px; }
.hero-card.card-a { left: -34px; bottom: 34px; width: 230px; }
.hero-card.card-b { right: -28px; top: 30px; width: 210px; }
.metric { font-size: 1.8rem; font-weight: 900; color: var(--brand-deep); line-height: 1; margin-bottom: 6px; }
.metric-label { color: var(--muted); font-size: .86rem; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 24px 22px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 1.05rem; color: var(--ink); }
.trust-item span { color: var(--muted); font-size: .9rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 12px 34px rgba(31,58,88,.06); }
.card:hover { box-shadow: 0 20px 50px rgba(31,58,88,.10); }
.card-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: #edf5fb; color: var(--brand); font-weight: 900; margin-bottom: 20px; }
.card p { font-size: .96rem; }
.card-link { color: var(--brand-deep); font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.card-link::after { content: "→"; transition: transform .2s ease; }
.card-link:hover::after { transform: translateX(4px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo-panel img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.bullet-list { display: grid; gap: 13px; margin: 24px 0; }
.bullet { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.bullet .dot { width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: #8c5b16; font-weight: 900; }
.bullet strong { display: block; margin-bottom: 3px; }
.bullet p { margin: 0; font-size: .94rem; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: steps; }
.process-step { position: relative; padding: 28px; border-radius: var(--radius); background: white; border: 1px solid var(--line); }
.process-step::before { counter-increment: steps; content: "0" counter(steps); display: block; color: var(--accent); font-weight: 900; font-size: .9rem; margin-bottom: 30px; }
.process-step:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 1px solid var(--line); background: var(--bg); border-radius: 50%; display: grid; place-items: center; z-index: 2; color: var(--brand); font-weight: 900; }

.band { background: #eef5fb; border: 1px solid #d9e8f5; border-radius: 34px; padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.band .copy { max-width: 720px; }
.band h2 { font-size: clamp(2rem, 4vw, 3rem); }

.page-hero { padding: 70px 0 58px; background: linear-gradient(180deg, #f4f9fd 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.page-hero .wrap { max-width: 850px; }
.breadcrumbs { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.breadcrumbs a { color: var(--brand); font-weight: 700; }

.service-detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 48px; align-items: start; }
.service-detail-grid .content h2 { margin-top: 44px; font-size: 2rem; }
.service-detail-grid .content h3 { margin-top: 28px; }
.service-detail-grid .content ul { padding-left: 20px; color: var(--muted); }
.service-detail-grid .content li { margin: 8px 0; }
.sidebar-card { position: sticky; top: 112px; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 14px 42px rgba(31,58,88,.08); }
.sidebar-card .mini { display: grid; gap: 14px; margin: 22px 0; }
.sidebar-card .mini span { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .93rem; }

.curriculum { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.module { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.module small { color: var(--brand); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.avatar { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; font-weight: 900; font-size: 1.1rem; color: var(--brand-deep); background: linear-gradient(135deg, #e7f2fa, #fff2dd); margin-bottom: 20px; }
.role { color: var(--brand); font-weight: 800; font-size: .9rem; }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 44px; align-items: start; }
.contact-card { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.contact-method { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-method:last-child { border-bottom: 0; }
.contact-method strong { display: block; margin-bottom: 4px; }
form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
label { font-size: .9rem; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid #cfd9e4; border-radius: 14px; padding: 13px 14px; background: white; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(23,105,170,.08); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); }

.legal { max-width: 860px; }
.legal h2 { margin-top: 38px; font-size: 1.65rem; }
.legal ul { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #f4f7fa; padding: 58px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr .9fr; gap: 36px; }
.footer-title { font-size: .9rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-links { display: grid; gap: 9px; font-size: .94rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--brand); }
.footer-brand p { max-width: 360px; font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 40px; font-size: .82rem; color: var(--muted); }

.sale-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 39, 60, .46);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
  z-index: 100;
}
.sale-modal.is-open { opacity: 1; visibility: visible; }
.sale-dialog { position: relative; width: min(100%, 560px); background: white; border-radius: 28px; border: 1px solid rgba(255,255,255,.7); box-shadow: 0 30px 90px rgba(17,35,59,.28); padding: 38px; transform: translateY(12px) scale(.98); transition: transform .22s ease; }
.sale-modal.is-open .sale-dialog { transform: translateY(0) scale(1); }
.sale-dialog::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 28px 28px 0 0; }
.sale-dialog h2 { font-size: clamp(1.8rem, 4vw, 2.35rem); }
.sale-dialog p { font-size: 1rem; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #f7f9fb; color: var(--ink); font-size: 1.25rem; }
.sale-dialog .btn { width: 100%; margin-top: 8px; min-height: 52px; }

.toast { position: fixed; right: 24px; bottom: 24px; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); max-width: 360px; z-index: 120; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 121px 20px auto 20px; background: white; border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: none; flex-direction: column; align-items: stretch; gap: 8px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 10px 6px; }
  .mobile-toggle { display: block; }
  .hero-grid, .split, .contact-grid, .service-detail-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .hero-visual { max-width: 720px; margin: 0 auto; }
  .hero-card.card-a { left: 18px; }
  .hero-card.card-b { right: 18px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .sidebar-card { position: static; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 68px 0; }
  .topbar .container { min-height: 48px; font-size: .82rem; }
  .nav { min-height: 70px; }
  .nav-links { inset: 119px 14px auto 14px; }
  h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .hero-grid { gap: 40px; }
  .hero-photo { border-radius: 24px; }
  .hero-card { position: static; width: 100% !important; margin-top: 12px; }
  .hero-visual { display: grid; }
  .cards, .process, .curriculum, .team-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-strip .container { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .band { padding: 34px 26px; flex-direction: column; align-items: flex-start; }
  .sale-dialog { padding: 34px 24px 26px; border-radius: 22px; }
  .footer-bottom { flex-direction: column; }
}
