:root {
  --primary: #111827;
  --primary-alt: #020617;
  --gold: #fbbf24;
  --gold-soft: rgba(251, 191, 36, 0.15);
  --accent: #f97316;
  --bg-dark: #020617;
  --bg-darker: #02040a;
  --bg-alt: #0b1120;
  --text-light: #e5e7eb;
  --text-muted: #9ca3af;
  --border-dark: #1f2937;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.theme-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin-top: 0;
  color: #f9fafb;
}

p {
  margin-top: 0;
  color: var(--text-muted);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.9));
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  backdrop-filter: blur(12px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.logo a {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9fafb;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  padding: 4px 6px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #e5e7eb;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 4rem 0 3.5rem;
}

.hero-dark {
  background: radial-gradient(circle at top left, #111827 0, #020617 45%);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.hero-text h1 {
  font-size: clamp(2.3rem, 3.4vw, 3rem);
  margin-bottom: 1rem;
}

.hero-subtitle {
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.7rem 0 1.2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.8);
}

.hero-image-overlay {
  position: relative;
}

.hero-image-overlay img {
  box-shadow: var(--shadow-soft);
}

.hero-stats {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  display: flex;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  backdrop-filter: blur(10px);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  min-width: 70px;
}

.hero-stats strong {
  color: var(--gold);
  font-size: 1.1rem;
}

.hero-stats span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #111827;
  box-shadow: 0 16px 40px rgba(251, 191, 36, 0.35);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(251, 191, 36, 0.45);
  text-decoration: none;
}

.btn-outline-light {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn-outline-light:hover {
  background: rgba(15, 23, 42, 0.9);
}

.btn-dark {
  background: #020617;
  color: var(--text-light);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn-dark:hover {
  background: #02040a;
}

/* Sections */
.section {
  padding: 3.2rem 0;
}

.section-dark {
  background: var(--bg-dark);
}

.section-alt-dark {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.2rem;
}

.section-header p {
  margin-top: 0.6rem;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
}

/* Cards */
.card {
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}

.card-dark {
  background: radial-gradient(circle at top left, #111827 0, #020617 60%);
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.card-dark h3 {
  margin-bottom: 0.5rem;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.checklist-gold li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--gold);
  font-size: 0.7rem;
}

/* Two-column layout */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}

/* Gallery */
.gallery-grid-large {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: #020617;
}

.gallery-item img {
  height: 230px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  padding: 0.9rem 1rem 1.1rem;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.process-step {
  background: radial-gradient(circle at top left, #111827 0, #020617 60%);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.step-number {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

/* Testimonials */
.testimonial-card {
  position: relative;
}

.testimonial-card p {
  font-style: italic;
}

.testimonial-name {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* CTA */
.section-cta-gold {
  background: radial-gradient(circle at top left, #fbbf24 0, #f97316 40%, #b45309 80%);
  color: #111827;
  text-align: center;
  padding: 3.4rem 0;
}

.section-cta-gold h2 {
  color: #111827;
}

.section-cta-gold p {
  color: #1f2937;
}

.cta-content {
  max-width: 640px;
  margin: 0 auto;
}

.cta-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.cta-phone {
  font-size: 0.95rem;
  color: #111827;
}

/* Page hero */
.page-hero {
  padding: 3.2rem 0 2.4rem;
}

.page-hero-dark {
  background: radial-gradient(circle at top left, #111827 0, #020617 45%);
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

/* Services page */
.service-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.service-image img {
  height: 260px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.contact-details h3 {
  margin-top: 1.4rem;
}

.contact-form {
  background: radial-gradient(circle at top left, #111827 0, #020617 60%);
  padding: 1.8rem 1.7rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: var(--shadow-soft);
}

.contact-form h2 {
  margin-bottom: 1.2rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #e5e7eb;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: #020617;
  color: var(--text-light);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6b7280;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.4);
  background: #02040a;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
}

/* Footer */
.site-footer {
  background: #020617;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding-top: 2.6rem;
  margin-top: 2.4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.site-footer h3,
.site-footer h4 {
  color: #f9fafb;
}

.site-footer a {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding: 1rem 0 1.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Utility */
.text-link-gold {
  color: var(--gold);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-content,
  .two-column,
  .service-section,
  .contact-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-image-overlay {
    order: -1;
  }

  .nav-container {
    padding-inline: 1.2rem;
  }

  .main-nav {
    position: absolute;
    top: 60px;
    right: 1rem;
    background: #020617;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 0.9rem 1rem;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 190px;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-image img {
    height: auto;
  }
}

@media (max-width: 720px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav-container {
    padding-inline: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-content {
    gap: 1.6rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid-large {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding-inline: 0.9rem;
  }

  .hero {
    padding: 2.4rem 0 2.6rem;
  }

  .section {
    padding: 2.4rem 0;
  }
}
