:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --alt-bg: #f8fafc;
  --hero-gradient-start: #eff6ff;
  --hero-gradient-end: #f8fafc;
  --card-shadow: rgba(15, 23, 42, 0.08);
  --button-secondary-hover: #eff6ff;
  --input-bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #60a5fa;
    --primary-dark: #3b82f6;
    --text: #f8fafc;
    --muted: #94a3b8;
    --bg: #020617;
    --surface: #0f172a;
    --border: #1e293b;
    --alt-bg: #111827;
    --hero-gradient-start: #172554;
    --hero-gradient-end: #020617;
    --card-shadow: rgba(2, 6, 23, 0.45);
    --button-secondary-hover: rgba(96, 165, 250, 0.12);
    --input-bg: #0f172a;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  color-scheme: light dark;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

@media (prefers-color-scheme: dark) {
  .topbar {
    background: rgba(2, 6, 23, 0.9);
  }
}

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

.brand {
  font-weight: 800;
  font-size: 1.1rem;
}

nav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
}

.button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.button:hover {
  background: var(--primary-dark);
}

.button.secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.button.secondary:hover {
  background: var(--button-secondary-hover);
}

.button.small {
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
}

.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
}

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

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0 0 1rem;
}

.hero-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px var(--card-shadow);
  border: 1px solid var(--border);
}

.hero-card ul {
  padding-left: 1.2rem;
}

.section {
  padding: 4rem 0;
}

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

.about {
  max-width: 760px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 10px 24px var(--card-shadow);
}

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

.steps > div {
  background: var(--alt-bg);
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

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

.contact-form {
  display: grid;
  gap: 0.85rem;
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 50px var(--card-shadow);
  border: 1px solid var(--border);
}

/* ...existing code... */
/* ...existing code... */

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

.gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px var(--card-shadow);
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.gallery-card figcaption {
  padding: 1rem 1rem 1.15rem;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 780px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}


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

input,
textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  font: inherit;
  background: var(--input-bg);
  color: var(--text);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.1rem;
}

.logo {
  height: 42px;
  width: auto;
  display: block;
}

.form-message {
  min-height: 1.25rem;
  color: var(--primary);
  font-weight: 600;
}

.footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
}

@media (max-width: 780px) {
  .hero-grid,
  .contact-grid,
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
  }

  .topbar {
    position: static;
  }

  .hero {
    padding-top: 3rem;
  }
}