:root {
  --bg: #0b1117;
  --bg-alt: #111b24;
  --card: #16202c;
  --text: #f2f4f7;
  --muted: #c3c9d3;
  --accent: #f5a524;
  --accent-2: #f97316;
  --border: #263445;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  background: radial-gradient(1200px 600px at 70% -10%, rgba(245, 165, 36, 0.08), transparent 60%),
              linear-gradient(180deg, #0b1117 0%, #0f1822 100%);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--accent);
  color: #101418;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 9999;
}

.skip-link:focus {
  left: 10px;
}

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

.section {
  padding: 4.5rem 0;
  scroll-margin-top: 90px;
}

.section-intro {
  color: var(--muted);
  margin-top: -6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 17, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo img {
  display: block;
}

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

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  padding-top: 5.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Franklin Gothic Medium", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.2rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-accent {
  background: var(--accent);
  color: #101418;
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.disclaimer {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-meta {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.meta-label {
  color: var(--muted);
  font-size: 0.85rem;
  display: block;
}

.meta-value {
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 1.4rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card,
.project-card,
.form-card,
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
}

.card h3,
.project-card h3 {
  margin-top: 0;
}

.project-card img {
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 0.9rem;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.process-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  position: relative;
}

.process-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  right: 1rem;
  top: 1rem;
  color: var(--accent);
  font-weight: 700;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--muted);
}

.checklist li::before {
  content: "v";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.contact {
  background: var(--bg-alt);
}

.contact-header {
  margin-bottom: 1.2rem;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.form-card label {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-card input,
.form-card textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0f1722;
  color: var(--text);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #0b1117;
  padding: 2.5rem 0 1.5rem;
}

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

.footer-bottom {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: var(--accent);
  color: #101418;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  animation: fadeUp 0.6s ease both;
  animation-delay: var(--d, 0s);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal h1 {
  margin-top: 0;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    padding-top: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .reveal,
  .back-to-top {
    transition: none;
    animation: none;
  }
}
