:root {
  --bg: #1a1a1a;
  --bg-alt: #222222;
  --fg: #f0ece4;
  --fg-muted: #a09a8e;
  --accent: #d4a843;
  --accent-light: #e8c96a;
  --card-bg: #2a2a2a;
  --border: #333333;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 40px;
  overflow: hidden;
}

.hero-inner {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-texture {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(212, 168, 67, 0.03) 20px,
    rgba(212, 168, 67, 0.03) 21px
  );
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 20px;
  margin-bottom: 40px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.lede {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Section Label */
.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 32px;
}

/* Services */
.services {
  padding: 100px 40px;
  background: var(--bg-alt);
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 36px 28px;
  transition: border-color 0.3s ease;
}

.service-card:hover {
  border-color: var(--accent);
}

.service-icon {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Why Section */
.why {
  padding: 100px 40px;
}

.why-inner {
  max-width: 900px;
  margin: 0 auto;
}

.why-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 50px;
  max-width: 800px;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.why-point {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.point-marker {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 32px;
  padding-top: 2px;
}

.why-point strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 6px;
}

.why-point p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* Closing */
.closing {
  padding: 120px 40px;
  background: var(--bg-alt);
  text-align: center;
}

.closing-inner {
  max-width: 750px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 24px;
}

.closing-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Footer */
.footer {
  padding: 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.footer-location {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

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

.nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: 8px 20px;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: #1a1a1a !important;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  background: var(--accent);
  padding: 16px 36px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: transparent;
  padding: 16px 28px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, color 0.2s ease;
  letter-spacing: 0.01em;
}

.btn-ghost:hover {
  border-color: var(--fg-muted);
  color: var(--fg);
}

/* ============================================================
   Hero CTA buttons
   ============================================================ */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 50px;
}

/* ============================================================
   Page Layout (quote, gallery)
   ============================================================ */
.page-main {
  min-height: 80vh;
  padding: 80px 40px 120px;
}

.page-inner {
  max-width: 840px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 60px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  margin-top: 28px;
}

.page-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   Quote Form
   ============================================================ */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group--half {
  max-width: 320px;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}

.required {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555;
}

/* Date input calendar icon tint */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.6) sepia(1) saturate(2) hue-rotate(5deg);
  cursor: pointer;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a09a8e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-group select option {
  background: var(--card-bg);
  color: var(--fg);
}

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

.btn-submit {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  background: var(--accent);
  padding: 18px 44px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-submit:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.form-error {
  background: rgba(180, 60, 60, 0.15);
  border: 1px solid rgba(180, 60, 60, 0.4);
  color: #e08080;
  padding: 14px 18px;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.form-success {
  text-align: center;
  padding: 80px 40px;
}

.success-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.form-success h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.form-success p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.btn-back {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 12px 28px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-back:hover {
  background: var(--accent);
  color: #1a1a1a;
}

/* ============================================================
   Closing CTA
   ============================================================ */
.closing-actions {
  margin-top: 40px;
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 80px;
}

.gallery-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.gallery-card:hover {
  border-color: rgba(212, 168, 67, 0.4);
}

.gallery-card-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
}

.gallery-service-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.gallery-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
}

.gallery-panels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  min-height: 240px;
}

.gallery-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  min-height: 200px;
}

.panel-placeholder {
  opacity: 0.3;
}

/* Simulates a cluttered/filled space with diagonal hash lines */
.panel-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-lines div {
  width: 80px;
  height: 6px;
  background: var(--fg-muted);
  transform: skewX(-20deg);
}

.panel-lines div:nth-child(2) { width: 60px; margin-left: 10px; }
.panel-lines div:nth-child(3) { width: 90px; }
.panel-lines div:nth-child(4) { width: 50px; margin-left: 20px; }

.panel-placeholder--clean {
  opacity: 0.6;
}

.clean-mark {
  font-size: 3rem;
  color: var(--accent);
}

.panel-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.panel-label--before {
  color: var(--fg-muted);
}

.panel-label--after {
  color: var(--accent);
}

.gallery-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.divider-arrow {
  font-size: 1.4rem;
  color: var(--accent);
  opacity: 0.6;
}

.gallery-cta {
  text-align: center;
  padding: 60px 0 0;
  border-top: 1px solid var(--border);
}

.gallery-cta p {
  font-size: 1.2rem;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

/* ============================================================
   Mobile
   ============================================================ */
/* Mobile */
@media (max-width: 768px) {
  .hero {
    padding: 60px 24px;
    min-height: 80vh;
  }

  .hero-texture {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .services {
    padding: 60px 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why {
    padding: 60px 24px;
  }

  .closing {
    padding: 80px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .site-nav {
    padding: 16px 24px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.78rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 40px;
  }

  .btn-primary,
  .btn-ghost {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  .page-main {
    padding: 48px 24px 80px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group--half {
    max-width: 100%;
  }

  .btn-submit {
    width: 100%;
    text-align: center;
    padding: 18px 24px;
  }

  .gallery-panels {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto 1fr;
    min-height: unset;
  }

  .gallery-divider {
    width: 100%;
    height: 40px;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .gallery-panel {
    min-height: 140px;
  }
}