:root {
  --bg: #0b0d10;
  --bg-alt: #101317;
  --surface: #14181d;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef1f4;
  --muted: #98a2ae;
  --accent: #ff7a1a;
  --accent-2: #ffc247;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .price, .work-num {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

/* ── Nav ─────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(11, 13, 16, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; }

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(255, 122, 26, 0.55);
  animation: pulse 3.2s ease-in-out infinite;
}

.nav nav { display: flex; align-items: center; gap: 1.4rem; font-size: 0.92rem; }
.nav nav a { color: var(--muted); transition: color 0.2s; }
.nav nav a:hover { color: var(--text); }

.nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text) !important;
  transition: background 0.25s, border-color 0.25s;
}
.nav-cta:hover { background: rgba(255, 122, 26, 0.15); border-color: var(--accent); }

/* ── Hero ────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 12vw, 8rem) clamp(1rem, 4vw, 2.5rem); }

.hero-glow {
  position: absolute;
  inset: -30% 30% auto -10%;
  height: 620px;
  background: radial-gradient(circle at 30% 40%, rgba(255, 122, 26, 0.28), transparent 62%),
    radial-gradient(circle at 70% 30%, rgba(255, 194, 71, 0.16), transparent 60%);
  filter: blur(20px);
  animation: drift 16s ease-in-out infinite alternate;
}

.hero-inner { position: relative; max-width: var(--max); margin: 0 auto; }

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

h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }

.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { color: var(--muted); max-width: 46ch; margin-top: 1.4rem; font-size: 1.05rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.25s, background 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #17110a;
  box-shadow: 0 10px 28px -12px rgba(255, 122, 26, 0.9);
}
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }
.btn.full { display: block; text-align: center; }

.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3rem; }
.stats strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.9rem; }
.stats span { color: var(--muted); font-size: 0.85rem; }

/* ── Sections ────────────────────────── */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) clamp(1rem, 4vw, 2.5rem); }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section > * { max-width: var(--max); margin-inline: auto; }

.section-head { margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0.6rem 0 0.9rem; }
.section-head p { color: var(--muted); max-width: 56ch; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 122, 26, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: transform 0.28s, border-color 0.28s, background 0.28s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 122, 26, 0.45); }
.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.94rem; }

/* ── Pricing ─────────────────────────── */
.price-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.28s, box-shadow 0.28s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border-color: rgba(255, 122, 26, 0.5);
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.1), var(--surface) 60%);
  box-shadow: 0 20px 50px -30px rgba(255, 122, 26, 0.9);
}
.price-label { display: block; color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; }
.price { display: block; font-size: 1.9rem; margin: 0.5rem 0 0.6rem; }
.price small { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.price-card p { color: var(--muted); font-size: 0.9rem; }

/* ── Work links ──────────────────────── */
.work { display: grid; gap: 0.6rem; }

.work-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.work-item:hover { background: rgba(255, 122, 26, 0.08); border-color: rgba(255, 122, 26, 0.45); transform: translateX(6px); }
.work-num { color: var(--accent); font-size: 0.9rem; }
.work-name { font-weight: 500; }
.work-meta { color: var(--muted); font-size: 0.9rem; }
.work-arrow { color: var(--accent-2); transition: transform 0.25s; }
.work-item:hover .work-arrow { transform: translate(3px, -3px); }

/* ── Table ───────────────────────────── */
.table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  padding: 0.95rem 1.3rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.table-row:first-child { border-top: 0; }
.table-head { background: rgba(255, 255, 255, 0.04); color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74rem; }

/* ── Contact ─────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-grid h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin: 0.6rem 0 1.4rem; }

.info { display: grid; gap: 1rem; }
.info dt { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }
.info dd { margin-top: 0.15rem; }
.info a:hover { color: var(--accent-2); }

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

.contact-form { display: grid; gap: 0.85rem; }
.contact-form label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-form .optional {
  color: var(--muted);
  font-weight: 400;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(152, 162, 174, 0.7); }
.contact-form select option { background: var(--surface); color: var(--text); }
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.form-status {
  margin: 0;
  min-height: 1.5em;
  font-size: 0.88rem;
  text-align: center;
}
.form-status.success { color: #3ddc84; }
.form-status.error { color: #ff6b6b; }

.map-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 240px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 12px, transparent 12px 24px);
}

/* ── Footer ──────────────────────────── */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── Animation ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease var(--d, 0ms), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.8; }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(8%, 6%, 0) scale(1.12); }
}

@media (max-width: 860px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .work-item { grid-template-columns: auto 1fr auto; }
  .work-meta { grid-column: 2 / -1; }
  .table-row { grid-template-columns: 1.6fr 1fr; }
  .table-row span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
