:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #1b2430;
  --muted: #4b5b70;
  --accent: #1f4e79;
  --accent-soft: #e7f0fa;
  --highlight: #f2c14e;
  --border: #d9e2ec;
  --error: #b42318;
  --success: #0f6b3d;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(27, 36, 48, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
a { color: var(--accent); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.noscript { background: #fff3cd; color: #5c4700; padding: 16px 24px; text-align: center; border-bottom: 1px solid #e6d28a; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(244,247,251,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.brand-text { font-size: 14px; line-height: 1.15; font-weight: 600; }
.brand-text small { font-weight: 500; color: var(--muted); font-size: 14px; }
.nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--text); font-size: 16px; padding: 8px 0; }
.nav-cta { color: var(--accent); font-weight: 600; }

.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; color: var(--accent); font-weight: 600; margin: 0 0 8px; }
h1 { font-size: 56px; line-height: 1.15; margin: 0 0 16px; max-width: 68ch; }
h2 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; }
h3 { font-size: 20px; line-height: 1.15; margin: 0 0 8px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--muted); margin: 0 0 24px; max-width: 68ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.hero-visual { background: linear-gradient(135deg, #eaf2fb 0%, #fff7e3 100%); padding: 16px; border-radius: 24px; border: 1px solid var(--border); }
.visual-scene { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #dcecff 0%, #f7fbff 55%, #eef4ea 55%, #e3eddc 100%); border: 1px solid #d6e3f0; }
.visual-scene-study { background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 60%, #e8d8b5 60%, #d8c59b 100%); }
.shape { position: absolute; display: block; }
.shape-sun { width: 72px; height: 72px; border-radius: 50%; background: #f2c14e; top: 24px; right: 32px; box-shadow: 0 0 0 12px rgba(242,193,78,0.25); }
.shape-building { left: 18%; bottom: 22%; width: 64%; height: 46%; background: #ffffff; border: 2px solid #c8d7e8; border-radius: 12px; box-shadow: 0 8px 0 #e7f0fa inset; }
.shape-door { left: 46%; bottom: 22%; width: 12%; height: 18%; background: #1f4e79; border-radius: 8px 8px 0 0; }
.shape-window { width: 10%; height: 12%; background: #bfe0ff; border: 2px solid #8fb6d9; border-radius: 6px; top: 48%; }
.shape-window.w1 { left: 26%; }
.shape-window.w2 { left: 58%; top: 40%; }
.shape-window.w3 { left: 70%; }
.shape-book { width: 18%; height: 10%; border-radius: 4px; }
.shape-book.b1 { left: 12%; bottom: 12%; background: #1f4e79; transform: rotate(-8deg); }
.shape-book.b2 { left: 24%; bottom: 10%; background: #f2c14e; transform: rotate(6deg); }
.shape-board { left: 14%; top: 14%; width: 72%; height: 34%; background: #244e3a; border: 6px solid #8a6238; border-radius: 8px; }
.shape-desk { bottom: 18%; width: 22%; height: 14%; background: #d9b77a; border-radius: 8px 8px 4px 4px; box-shadow: 0 6px 0 #c49b55; }
.shape-desk.d1 { left: 12%; }
.shape-desk.d2 { left: 39%; bottom: 14%; }
.shape-desk.d3 { left: 66%; }
.shape-pencil { width: 28%; height: 4%; background: #f2c14e; left: 18%; top: 56%; border-radius: 4px; transform: rotate(-12deg); box-shadow: 18px 0 0 #d97a4a inset; }
.shape-note { right: 18%; top: 24%; width: 14%; height: 18%; background: #fff7cc; border: 1px solid #eadf9a; border-radius: 4px; transform: rotate(8deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 12px; font-size: 16px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus { outline: 3px solid rgba(31,78,121,0.25); outline-offset: 2px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #183e61; }
.btn-secondary { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn-full { width: 100%; }

.section { padding: 80px 0; }
.section-alt { background: #eef4fa; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.section-intro { max-width: 68ch; color: var(--muted); margin: 0 0 32px; }
.check-list { padding-left: 20px; margin: 24px 0; color: var(--muted); }
.check-list li { margin-bottom: 8px; }
.note { background: var(--accent-soft); padding: 16px; border-radius: 12px; color: var(--muted); margin: 24px 0 0; }
.image-card { background: #fff; padding: 16px; border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #5a86b3); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; margin-bottom: 16px; }
.card p { color: var(--muted); margin: 0; }

.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 24px; }
.contact-box ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.contact-box li { margin-bottom: 8px; }

.form { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; margin: 0 0 8px; }
.form input[type="text"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #b9c7d8; border-radius: 12px; font: inherit; min-height: 48px; color: var(--text); background: #fff;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 3px solid rgba(31,78,121,0.2); border-color: var(--accent); }
.field-error { min-height: 24px; margin: 4px 0 8px; color: var(--error); font-size: 14px; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; margin: 8px 0 0; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 20px; }
.form-status { min-height: 24px; margin: 16px 0 0; font-weight: 600; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }

.site-footer { padding: 32px 0 48px; border-top: 1px solid var(--border); }
.footer-inner p { margin: 0 0 8px; }
.footer-note { color: var(--muted); font-size: 14px; max-width: 68ch; }

@media (max-width: 960px) {
  .hero-grid, .two-col, .apply-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .header-inner { flex-direction: column; align-items: flex-start; padding: 16px 0; }
  .nav { width: 100%; gap: 12px; }
  .nav a { min-height: 44px; display: inline-flex; align-items: center; }
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .lead { font-size: 16px; }
  .hero { padding: 48px 0 32px; }
  .section { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .form { padding: 24px; }
}
