:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card-bg: #111827;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
  --danger: #f97373;
  --radius: 10px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
  --shadow-card: 0 14px 35px rgba(15, 23, 42, 0.9);
  --transition: 0.2s ease-out;
  --max-width: 1120px;
  --nav-height: 70px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

body {
  min-height: 100vh;
}

/* Layout */

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

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #111827 0, #020617 55%, #000 100%);
}

.center {
  text-align: center;
}

/* Header & Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #f9fafb;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.9rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.nav a:hover {
  color: #e5f2ff;
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.nav a.active {
  color: #e0f2fe;
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}

/* Hero */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-skyline {
  background-image: url("../images/skyline-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  width: 100%;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.96));
}

.hero-content {
  padding: 5rem 0 4rem;
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3rem);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 32rem;
}

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

/* Page hero */

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #0b1120;
  box-shadow: 0 18px 40px rgba(8, 47, 73, 0.9);
}

.btn.primary:hover {
  box-shadow: 0 22px 55px rgba(8, 47, 73, 1);
  transform: translateY(-1px);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.4);
}

.btn.secondary:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.7);
}

.btn.full-width {
  width: 100%;
}

/* Cards & grids */

.card {
  background: radial-gradient(circle at top left, #111827 0, #020617 55%, #000 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-card);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

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

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

.two-column {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

/* Lists */

.checklist,
.bullet-list,
.steps {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.checklist li::marker {
  content: "✔ ";
  color: var(--accent);
}

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

/* Forms */

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

.form-card {
  background: radial-gradient(circle at top left, #111827 0, #020617 55%, #000 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-card);
}

.form-card h2 {
  margin-top: 0;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-top: 0.9rem;
  margin-bottom: 0.25rem;
  color: #cbd5f5;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border var(--transition), box-shadow var(--transition), background var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
  background: rgba(15, 23, 42, 1);
}

textarea {
  resize: vertical;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

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

/* Gallery */

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

.gallery-item {
  background: radial-gradient(circle at top left, #111827 0, #020617 55%, #000 100%);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-card);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-item figcaption {
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contact layout */

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

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 1.5rem 0 2rem;
  margin-top: 2rem;
  background: radial-gradient(circle at bottom, #020617 0, #000 60%);
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .two-column,
  .form-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding-top: 4rem;
  }
  .nav {
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 60vh;
  }
  .hero-content {
    padding: 3.5rem 0 3rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
