:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --ink: #1c2434;
  --soft: #5b6578;
  --line: #e3e7ef;
  --paper: #f6f8fb;
  --accent: #ff7a1a;
  --accent-deep: #e5600a;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 37, 69, 0.96);
  color: #fff;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; opacity: 0.85; }
.nav a:hover, .nav a.on { opacity: 1; color: var(--accent); }
.menu { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 72px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 0 0 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 18px; color: #c9d4e5; margin: 0 0 28px; max-width: 520px; }
.badge-line { display: inline-block; padding: 6px 12px; border-radius: 99px; background: rgba(255, 122, 26, 0.15); color: #ffb27a; font-weight: 700; font-size: 13px; margin-bottom: 18px; }

.btn {
  display: inline-block; padding: 13px 24px; border-radius: 99px;
  background: var(--accent); color: #fff; font-weight: 700; text-decoration: none;
  border: 0; cursor: pointer; font-size: 16px; transition: background 0.2s;
}
.btn:hover { background: var(--accent-deep); }
.btn.ghost { background: transparent; border: 2px solid rgba(255, 255, 255, 0.35); margin-left: 10px; }
.btn.ghost:hover { border-color: #fff; }

/* Sections */
section { padding: 72px 0; }
.alt { background: var(--paper); }
.head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.head h2 { font-size: clamp(26px, 3.5vw, 36px); margin: 0 0 10px; }
.head p { color: var(--soft); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11, 37, 69, 0.08); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: #fff1e6; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--soft); }
.price { margin-top: 14px; font-weight: 800; color: var(--accent-deep); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats b { display: block; font-size: 34px; color: var(--navy); }
.stats span { color: var(--soft); }

.cta { background: var(--accent); color: #fff; border-radius: 24px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; opacity: 0.9; }
.cta .btn { background: var(--navy); }
.cta .btn:hover { background: var(--navy-2); }

/* Pages */
.page-head { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 56px 0; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(30px, 4vw, 44px); }
.page-head p { margin: 0; color: #c9d4e5; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person { text-align: center; }
.person img { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 12px; }
.person b { display: block; }
.person span { color: var(--soft); font-size: 14px; }

table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
th { background: var(--paper); font-size: 14px; color: var(--soft); }
td:last-child { font-weight: 700; color: var(--accent-deep); white-space: nowrap; }

form { display: grid; gap: 14px; }
label { font-weight: 600; font-size: 14px; display: grid; gap: 6px; }
input, textarea, select {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.note { padding: 14px 16px; border-radius: 12px; background: #e9f8ef; color: #17663a; font-weight: 600; display: none; }
.note.show { display: block; }

.lost { text-align: center; padding: 110px 0; }
.lost b { font-size: 90px; color: var(--accent); line-height: 1; display: block; }

/* Footer */
footer { background: var(--navy); color: #c9d4e5; padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer b { color: #fff; }

/* Fade in on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s, transform 0.6s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .grid, .team { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; text-align: center; }
  .menu { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--navy);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
}
@media (max-width: 560px) {
  .grid, .team { grid-template-columns: 1fr; }
  .btn.ghost { margin: 10px 0 0; }
}
