:root {
  --bg: #1c1f26;
  --bg-alt: #282c33;
  --card: #23272e;
  --border: #31353d;
  --footer: #16181d;
  --text: #f2f2f2;
  --muted: #8f95a3;
  --accent: #f26c0d;
  --accent-dark: #d95e08;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Outfit", "Inter", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 112px 0; }
.alt { background: var(--bg-alt); }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.h2 { font-size: 36px; font-weight: 700; line-height: 1.2; }
.muted { color: var(--muted); }
.center { text-align: center; }
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-box { width: 48px; height: 48px; border-radius: 8px; background: rgba(242,108,13,.1); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.solid, .header.open { background: rgba(22,24,29,.97); box-shadow: 0 1px 0 var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.logo img { height: 80px; width: auto; }
.nav { display: flex; gap: 32px; }
.nav a, .header-phone { color: rgba(255,255,255,.8); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--accent); }
.header-phone { display: flex; align-items: center; gap: 8px; color: #fff; }
.header-phone .icon { width: 16px; height: 16px; color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; width: 40px; height: 40px; }
.nav-mobile { display: none; padding: 0 32px 24px; }
.nav-mobile a { display: block; padding: 12px 0; color: rgba(255,255,255,.85); text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--border); }
.header.open .nav-mobile { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-start; padding-top: 160px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.hero-content { position: relative; z-index: 2; max-width: 768px; }
.hero h1 { font-size: 72px; font-weight: 800; line-height: 1.1; color: #fff; margin-bottom: 24px; }
.hero p { font-size: 20px; color: rgba(255,255,255,.8); max-width: 576px; margin-bottom: 32px; line-height: 1.65; }
.hero .tagline { color: var(--accent); font-weight: 600; font-size: 24px; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid .h2 { margin-bottom: 24px; }
.about-grid > div > p { margin-bottom: 32px; line-height: 1.65; }
.points { display: grid; gap: 32px; }
.point { display: flex; gap: 16px; }
.point h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.point p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.about-img { border-radius: 16px; width: 100%; object-fit: cover; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); }

/* ---------- Features ---------- */
.why-head { margin-bottom: 56px; }
.why-head .h2 { margin-top: 8px; }
.why-head p { max-width: 768px; margin: 16px auto 0; line-height: 1.65; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid rgba(49,53,61,.5); border-radius: var(--radius); padding: 24px; transition: border-color .2s; }
.card:hover { border-color: rgba(242,108,13,.3); }
.card .ic-box { margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ---------- Application form ---------- */
.apply-wrap { max-width: 1024px; margin: 0 auto; }
.apply-head { margin-bottom: 40px; }
.apply-head p { margin-top: 12px; }
.form-card { background: var(--card); border: 1px solid rgba(49,53,61,.5); border-radius: var(--radius); padding: 32px; }
.form { display: grid; gap: 24px; }
.row { display: grid; gap: 16px; }
.row-2 { grid-template-columns: repeat(2, 1fr); }
.row-3 { grid-template-columns: repeat(3, 1fr); }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; height: 40px; border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px;
  font: inherit; font-size: 14px; background: #fff; color: #000;
}
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.field textarea { height: auto; min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.checks { display: grid; gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(242,242,242,.8); line-height: 1.6; cursor: pointer; }
.check input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }
.check a { color: #fff; text-decoration: underline; }
.check a:hover { color: var(--accent); }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { display: none; padding: 16px; border-radius: 8px; font-weight: 500; }
.form-status.ok { display: block; background: rgba(34,197,94,.15); color: #bbf7d0; }
.form-status.err { display: block; background: rgba(239,68,68,.15); color: #fecaca; }
.hidden { position: absolute; left: -9999px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 32px; border-radius: 6px; border: 0;
  background: var(--accent); color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; transition: background .2s;
}
.btn:hover { background: var(--accent-dark); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-full { width: 100%; }
.btn .icon { width: 16px; height: 16px; }

/* ---------- Testimonials ---------- */
.stars { display: flex; gap: 4px; margin-bottom: 16px; color: var(--accent); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; }
.quote p { color: rgba(242,242,242,.8); font-style: italic; line-height: 1.65; margin-bottom: 16px; font-size: 14px; }
.quote strong { color: var(--accent); font-size: 14px; }

/* ---------- Contact ---------- */
.contact-head { margin-bottom: 48px; }
.contact-head .h2 { margin-top: 8px; }
.contact-head p { max-width: 576px; margin: 16px auto 0; }
.contact-item { text-align: center; }
.contact-item .ic-box { margin: 0 auto 16px; }
.contact-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 14px; text-decoration: none; }
.contact-item a:hover { color: var(--accent); }
.sms-disclosure { margin: 40px auto 0; max-width: 760px; text-align: center; font-size: 14px; color: var(--muted); line-height: 1.6; }
.sms-disclosure a { color: #fff; font-weight: 600; }
.sms-disclosure a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--footer); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding: 64px 0; }
.footer .logo img { height: 64px; margin-bottom: 16px; }
.footer p, .footer li { color: var(--muted); font-size: 14px; line-height: 1.65; }
.footer h4 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer .contact-list li { display: flex; gap: 10px; align-items: center; }
.footer .contact-list .icon { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }

/* ---------- Legal pages ---------- */
.page-hero { background: var(--footer); padding: 168px 32px 64px; text-align: center; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: 44px; font-weight: 700; }
.page-hero p { color: var(--muted); margin-top: 8px; }
.legal { max-width: 800px; margin: 0 auto; padding: 64px 32px 96px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; }
.legal p, .legal li { color: #c9ccd3; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.legal a { color: var(--accent); }
.legal strong { color: #fff; }
.legal .callout { background: rgba(242,108,13,.08); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 16px 0; }
.legal .callout p { color: #fff; font-weight: 500; }
.legal address { font-style: normal; color: #c9ccd3; line-height: 1.75; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-mobile { padding: 0 16px 24px; }
  .header-inner { height: 80px; }
  .logo img { height: 56px; }
  .hero { padding-top: 128px; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 18px; margin-left: auto; margin-right: auto; }
  .hero .tagline { font-size: 20px; }
  .h2 { font-size: 30px; }
  .grid-4, .grid-3, .row-2, .row-3, .footer-top { grid-template-columns: 1fr; }
  .form-card { padding: 24px 16px; }
  .footer-top { padding: 48px 0; gap: 32px; }
  .page-hero { padding: 128px 16px 48px; }
  .page-hero h1 { font-size: 34px; }
  .legal { padding: 48px 16px 72px; }
}
