:root {
  --bg: #121212;
  --text: #ece7df;
  --muted: #b4aca0;
  --card: #1b1a18;
  --line: #37332d;
  --brand: #f97316;
  --brand-dark: #ea580c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.container {
  width: min(1060px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #1a1816;
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.nav-wrap nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-wrap nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
}

.nav-wrap nav a:hover {
  color: var(--text);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.2;
  margin: 0 0 0.9rem;
}

h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-block;
  margin-top: 0.2rem;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.05rem;
  font-size: 1rem;
  cursor: pointer;
}

.btn:hover {
  background: var(--brand-dark);
}

.section {
  padding: 2.5rem 0;
}

.alt {
  background: #171512;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.2rem;
}

.card h3 {
  margin-top: 0.8rem;
  margin-bottom: 0.45rem;
}

.payment-inline {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #1b1916;
}

.payment-inline h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.hero-photo,
.service-photo {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #141311;
  display: block;
  overflow: hidden;
}

.hero-photo {
  aspect-ratio: 16 / 7;
  object-fit: contain;
}

.service-photo {
  min-height: 170px;
  aspect-ratio: 12 / 7;
  object-fit: contain;
  padding: 0.5rem;
}

.section-intro {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #191816;
  border: 1px solid var(--line);
  border-radius: 4px;
}

th,
td {
  text-align: left;
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
}

th {
  background: #23211d;
}

.small-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.steps {
  margin: 0;
  padding-left: 1.2rem;
}

.steps li {
  margin-bottom: 0.9rem;
}

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

.full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

input,
select,
textarea {
  font: inherit;
  padding: 0.72rem;
  color: var(--text);
  background: #1a1917;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.output {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer {
  padding: 1.6rem 0 2.4rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--brand);
}

.page-main {
  padding: 2.1rem 0 2.8rem;
}

.page-card {
  max-width: 760px;
}

.page-card h1 {
  margin-bottom: 0.8rem;
}

.page-card h2 {
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.page-card p,
.page-card li {
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  color: var(--brand);
}

.compact-footer {
  padding: 0.9rem 0 1.1rem;
}

.compact-footer .footer-grid {
  gap: 0;
}

.compact-footer .footer-links {
  margin-top: 0;
}

@media (max-width: 780px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .nav-wrap nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0.9rem;
    padding-bottom: 0.2rem;
  }

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

  .section {
    padding: 1.8rem 0;
  }

  .hero-photo {
    aspect-ratio: 16 / 8;
    min-height: 150px;
  }

  .service-photo {
    aspect-ratio: 12 / 8;
    min-height: 150px;
  }

  .footer-links {
    gap: 0.65rem;
  }

  .page-main {
    padding: 1.6rem 0 2.2rem;
  }
}
