:root {
  --bg: #f4f3ef;
  --panel: #ffffff;
  --text: #17253a;
  --muted: #5d697a;
  --line: #d8d5cd;
  --ink: #0e2a47;
  --ink-2: #173b61;
  --accent: #fdb515;
  --accent-2: #f8c64f;
  --ok: #2f7f5f;
  --danger: #c23b22;
  --radius: 10px;
  --container: 1120px;
  --font-display: "Space Grotesk", "Trebuchet MS", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--ink);
}

p {
  margin: 0;
  color: var(--muted);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(253, 181, 21, 0.65);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 243, 239, 0.94);
  backdrop-filter: blur(8px);
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark-bg {
  fill: var(--ink);
}

.brand-mark-roof {
  fill: var(--accent);
}

.brand-mark-letter {
  fill: #fff;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.brand-name em {
  position: relative;
  font-style: normal;
}

.brand-name em::after {
  content: "";
  position: absolute;
  left: 1px;
  right: -1px;
  bottom: -4px;
  height: 4px;
  border-radius: 99px;
  background: var(--accent);
}

.top-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.top-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}

.top-nav a:hover,
.top-nav a.is-active {
  color: var(--ink);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 11px 16px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #1f1b10;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.hero {
  background: linear-gradient(140deg, #0d2a46 0%, #14395f 70%, #102e4d 100%);
  color: #fff;
}

.hero-inner {
  padding: 72px 0 78px;
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 430px;
}

.hero h1 {
  color: #fff;
  font-size: 56px;
  margin-bottom: 16px;
}

.hero p {
  color: #d2dceb;
  max-width: 650px;
  font-size: 18px;
}

.hero-list {
  margin: 22px 0 30px;
  display: grid;
  gap: 9px;
  color: #d2dceb;
  padding: 0;
  list-style: none;
}

.hero-list li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 9px;
  font-weight: 700;
}

.hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(3, 14, 27, 0.35);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section {
  padding: 66px 0;
}

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: 40px;
  margin-bottom: 9px;
}

.hero-slim .hero-inner {
  padding: 54px 0 60px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.section-head p {
  max-width: 700px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.card ul li + li {
  margin-top: 7px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.step .n {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1;
}

.step h4 {
  margin-bottom: 6px;
}

.form-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field-wide {
  grid-column: 1 / -1;
}

.upload {
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f9f7f2;
}

.upload input {
  display: block;
  width: 100%;
}

.upload-help {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.contact-band {
  background: #112f4e;
  color: #fff;
}

.contact-inner {
  padding: 30px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.contact-inner p {
  color: #d2dceb;
}

.footer {
  background: #0a2037;
  color: #b7c3d2;
}

.footer-inner {
  padding: 34px 0 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
  font-size: 14px;
}

.footer a {
  color: #d6e2f1;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 44px;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .top-nav {
    display: none;
  }

  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 16px;
  }

  .hero-inner {
    padding: 52px 0 58px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .form-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .top-actions .btn-ghost {
    display: none;
  }
}
