@import url('https://fonts.googleapis.com/css2?family=Lalezar&family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #09111c;
  --bg-alt: #0e1724;
  --panel: rgba(13, 20, 32, 0.78);
  --panel-strong: #111b2a;
  --text: #f4f7fb;
  --muted: #aab5c6;
  --line: rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.16);
  --accent: #f39a22;
  --accent-soft: rgba(243, 154, 34, 0.14);
  --accent-alt: #49b4ff;
  --good: #6dd3a0;
  --shadow: 0 26px 60px rgba(0,0,0,0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  text-align: right;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(243,154,34,0.16), transparent 24%),
    radial-gradient(circle at 82% 8%, rgba(73,180,255,0.16), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(243,154,34,0.08), transparent 28%),
    linear-gradient(180deg, #050b12 0%, #09131f 40%, #0c1626 100%);
  font-family: "Vazirmatn", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.02)),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.02) 0,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 44px
    );
  mix-blend-mode: screen;
  opacity: 0.24;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 45%, rgba(255,255,255,0.03) 45% 46%, transparent 46% 100%),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08), transparent 22%);
  opacity: 0.44;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(7, 13, 22, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-row {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 72px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050505;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-family: "Lalezar", cursive;
  font-size: 1.02rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.86rem;
}

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

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

.nav-links a {
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  color: #09111c;
  background: linear-gradient(135deg, #ffd08a, var(--accent));
  box-shadow: 0 16px 28px rgba(243,154,34,0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.03);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.hero,
.page-hero,
.section {
  position: relative;
}

.hero {
  padding: 72px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  font-size: 0.92rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 5px rgba(109,211,160,0.12);
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.4rem, 4vw, 4.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-family: "Lalezar", cursive;
  font-weight: 400;
  text-wrap: balance;
}

.hero h1 span,
.page-hero h1 span {
  color: var(--accent);
}

.lead {
  max-width: 58ch;
  color: #dce3ef;
  font-size: 1.07rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.meta-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 600px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    rgba(8, 15, 25, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateZ(0);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 20% 20%, rgba(243,154,34,0.14), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(73,180,255,0.16), transparent 16%),
    linear-gradient(180deg, transparent 0 58%, rgba(0,0,0,0.22) 100%);
  z-index: 1;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(243,154,34,0.18), transparent);
  transform: skewY(-6deg);
  animation: sweep 10s linear infinite;
  opacity: 0.55;
}

.visual-image {
  position: absolute;
  inset: 22px 22px 140px 22px;
  border-radius: 24px;
  overflow: hidden;
  z-index: 0;
}

.visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.05);
}

.visual-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,15,25,0.06), rgba(8,15,25,0.70)),
    linear-gradient(135deg, transparent 45%, rgba(243,154,34,0.24) 100%);
}

.floating-card {
  position: absolute;
  z-index: 2;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(13,20,32,0.86);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  animation: floaty 8s ease-in-out infinite;
}

.floating-card small {
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}

.floating-card strong {
  font-size: 1rem;
}

.card-a {
  right: 20px;
  top: 20px;
}

.card-b {
  left: 20px;
  bottom: 18px;
  width: calc(50% - 34px);
  animation-delay: -2s;
}

.card-c {
  right: 20px;
  left: auto;
  transform: none;
  bottom: 18px;
  width: calc(50% - 34px);
  animation-delay: -4s;
}

.card-b,
.card-c {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.section {
  padding: 42px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.4rem);
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.service-card,
.project-card,
.value-card,
.contact-card,
.feature-card,
.story-card {
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
    var(--panel);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.service-card h3,
.value-card h3,
.contact-card h3,
.feature-card h3,
.story-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.service-card p,
.value-card p,
.contact-card p,
.feature-card p,
.story-card p {
  margin: 0;
  color: var(--muted);
}

.service-card::before,
.value-card::before,
.contact-card::before,
.feature-card::before,
.story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0 58%, rgba(243,154,34,0.08) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before,
.value-card:hover::before,
.contact-card:hover::before,
.feature-card:hover::before,
.story-card:hover::before {
  opacity: 1;
}

.service-icon,
.value-icon,
.contact-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  margin-bottom: 16px;
  background: var(--accent-soft);
  color: #ffd08a;
  font-size: 1.25rem;
}

.service-list,
.contact-list,
.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-list li,
.contact-list li,
.check-list li {
  position: relative;
  padding-right: 20px;
  color: #dfe6f1;
}

.service-list li::before,
.contact-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.project-card {
  padding: 0;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, transparent 0 60%, rgba(243,154,34,0.12) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.project-card:hover::before {
  opacity: 1;
}

.project-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-body {
  padding: 18px 18px 20px;
  position: relative;
  z-index: 2;
}

.project-body h3 {
  margin: 0 0 6px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  background: rgba(255,255,255,0.04);
}

.feature-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

.feature-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(243,154,34,0.12), transparent 22%),
    radial-gradient(circle at 90% 80%, rgba(73,180,255,0.10), transparent 20%);
}

.feature-copy {
  padding: 28px;
}

.feature-copy .eyebrow {
  margin-bottom: 18px;
}

.feature-art {
  min-height: 320px;
  background: url("assets/images/generated/elevator-project-banner.jpeg") center/cover;
  position: relative;
}

.feature-art::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(255,255,255,0.09) 46% 47%, transparent 47% 100%),
    linear-gradient(45deg, rgba(243,154,34,0.14), transparent 42%);
  mix-blend-mode: screen;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  position: relative;
  overflow: hidden;
}

.timeline-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 85%, rgba(243,154,34,0.10) 100%);
  opacity: 0.55;
}

.timeline-item strong {
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 600;
  color: #e7edf8;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(243,154,34,0.55);
  box-shadow: 0 0 0 4px rgba(243,154,34,0.12);
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

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

.map-card {
  min-height: 100%;
  display: grid;
  gap: 14px;
  align-content: start;
}

.map-placeholder {
  min-height: 260px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 35% 28%, rgba(243,154,34,0.28), transparent 20%),
    radial-gradient(circle at 70% 72%, rgba(73,180,255,0.22), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)),
    #0b1421;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(243,154,34,0.18), transparent 12%),
    radial-gradient(circle at 65% 62%, rgba(73,180,255,0.16), transparent 11%);
  opacity: 0.8;
}

.map-placeholder strong {
  display: block;
  color: var(--text);
  margin-bottom: 8px;
}

.map-embed {
  display: grid;
  gap: 14px;
  padding: 0;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  filter: grayscale(0.15);
}

.map-caption {
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
}

.map-caption span {
  color: var(--muted);
}

.map-caption a {
  width: fit-content;
  color: var(--accent);
  font-weight: 700;
}

.page-hero {
  padding: 52px 0 24px;
}

.subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-callout {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.mini-callout strong {
  display: block;
  margin-bottom: 6px;
}

.footer {
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}

.note {
  color: var(--muted);
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-grid > .reveal:first-child {
  transition-delay: 0.05s;
}

.hero-grid > .reveal:last-child {
  transition-delay: 0.18s;
}

.grid > .reveal:nth-child(1) { transition-delay: 0.04s; }
.grid > .reveal:nth-child(2) { transition-delay: 0.10s; }
.grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid > .reveal:nth-child(4) { transition-delay: 0.22s; }
.grid > .reveal:nth-child(5) { transition-delay: 0.28s; }
.grid > .reveal:nth-child(6) { transition-delay: 0.34s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes sweep {
  0% { transform: translateX(-10%) skewY(-6deg); }
  100% { transform: translateX(10%) skewY(-6deg); }
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-grid,
  .feature-banner,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 86px;
    left: 16px;
    right: 16px;
    padding: 14px;
    display: grid;
    gap: 14px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(8,15,25,0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a {
    width: 100%;
  }

  .header-actions {
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .grid-3,
  .grid-2,
  .subgrid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .hero-visual {
    min-height: 460px;
    padding: 16px;
  }

  .visual-image {
    inset: 16px 16px 148px 16px;
  }
}

@media (max-width: 560px) {
  .hero-visual {
    min-height: 660px;
  }

  .visual-image {
    inset: 16px 16px 292px 16px;
  }

  .card-a,
  .card-b,
  .card-c {
    left: 16px;
    right: 16px;
    width: auto;
  }

  .card-b {
    bottom: 150px;
  }

  .card-c {
    bottom: 24px;
  }
}

/* Apple-inspired flat direction using the company logo palette. */
:root {
  --bg: #f7f4e8;
  --bg-alt: #efead8;
  --panel: #fffdf5;
  --panel-strong: #f0ead8;
  --text: #111111;
  --muted: #6f6a59;
  --line: #ddd6bd;
  --line-strong: #cfc5a2;
  --accent: #177a1d;
  --accent-soft: #e8f1e3;
  --accent-alt: #bd1018;
  --good: #177a1d;
  --shadow: none;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

body {
  color: var(--text);
  background: var(--bg);
}

body::before,
body::after,
.hero-visual::before,
.hero-visual::after,
.feature-banner::before,
.feature-art::after,
.service-card::before,
.value-card::before,
.contact-card::before,
.feature-card::before,
.story-card::before,
.project-card::before,
.timeline-item::after,
.map-placeholder::before {
  display: none;
}

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

.site-header {
  backdrop-filter: none;
  background: rgba(247, 244, 232, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand-copy strong,
.hero h1,
.page-hero h1 {
  letter-spacing: 0;
}

.brand-copy span,
.nav-links a,
.lead,
.section-head p,
.service-card p,
.value-card p,
.contact-card p,
.feature-card p,
.story-card p,
.floating-card small,
.tag,
.note {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--panel-strong);
}

.btn {
  border-radius: 14px;
  min-height: 46px;
  font-weight: 700;
}

.btn-primary {
  color: #ffffff;
  background: var(--accent);
  box-shadow: none;
}

.btn-primary:hover {
  transform: none;
  background: #126517;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--panel-strong);
}

.menu-toggle {
  color: var(--text);
  border-color: var(--line);
  background: var(--panel);
}

.eyebrow {
  color: var(--accent);
  border: 1px solid var(--line);
  background: var(--panel);
  font-weight: 700;
}

.eyebrow::before {
  background: var(--accent-alt);
  box-shadow: none;
}

.hero h1 span,
.page-hero h1 span,
.timeline-item strong {
  color: var(--accent-alt);
}

.lead {
  font-size: 1.08rem;
}

.hero-meta {
  gap: 8px;
}

.meta-pill,
.tag {
  background: var(--panel);
  border-color: var(--line);
  border-radius: 12px;
}

.hero-visual,
.panel,
.service-card,
.project-card,
.value-card,
.contact-card,
.feature-card,
.story-card,
.mini-callout,
.timeline-item,
.map-placeholder {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-visual {
  min-height: 560px;
}

.visual-image {
  border-radius: 18px;
}

.visual-image::after {
  background: rgba(0, 0, 0, 0.04);
}

.visual-image img,
.project-media img {
  filter: none;
}

.floating-card {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: none;
  box-shadow: none;
  animation: none;
  border-radius: 16px;
}

.service-icon,
.value-icon,
.contact-icon {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 14px;
}

.service-list li,
.contact-list li,
.check-list li {
  color: var(--text);
}

.service-list li::before,
.contact-list li::before,
.check-list li::before {
  background: var(--accent-alt);
}

.project-card:hover .project-media img {
  transform: none;
}

.feature-art {
  background: url("assets/images/generated/elevator-project-banner.jpeg") center/cover;
}

.field label {
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  color: var(--text);
  background: #ffffff;
  border-color: var(--line);
  border-radius: 14px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9b947d;
}

.map-placeholder {
  background: var(--panel-strong);
}

.footer {
  border-top-color: var(--line);
  color: var(--muted);
}

.footer-links a {
  background: transparent;
  border-color: var(--line);
}

@media (max-width: 860px) {
  .nav {
    background: var(--panel);
    border-color: var(--line);
    box-shadow: none;
  }
}

/* Dark flat mode requested by client. */
:root {
  --bg: #050505;
  --bg-alt: #10100c;
  --panel: #111111;
  --panel-strong: #181812;
  --text: #f4f0d8;
  --muted: #b9b28f;
  --line: #312f24;
  --line-strong: #4a4633;
  --accent: #2f9d27;
  --accent-soft: #13220f;
  --accent-alt: #d71920;
  --good: #2f9d27;
  --shadow: none;
}

body,
.shell {
  color: var(--text);
  background: var(--bg);
}

.site-header {
  background: rgba(5, 5, 5, 0.96);
  border-bottom-color: var(--line);
}

.brand-copy span,
.nav-links a,
.lead,
.section-head p,
.service-card p,
.value-card p,
.contact-card p,
.feature-card p,
.story-card p,
.floating-card small,
.tag,
.note {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--panel-strong);
}

.btn-primary {
  color: #ffffff;
  background: var(--accent);
}

.btn-primary:hover {
  background: #267f20;
}

.btn-ghost,
.menu-toggle,
.eyebrow,
.meta-pill,
.tag,
.hero-visual,
.panel,
.service-card,
.project-card,
.value-card,
.contact-card,
.feature-card,
.story-card,
.mini-callout,
.timeline-item,
.map-placeholder,
.floating-card {
  background: var(--panel);
  border-color: var(--line);
}

.btn-ghost:hover,
.footer-links a:hover {
  background: var(--panel-strong);
}

.eyebrow {
  color: #81d674;
}

.hero h1 span,
.page-hero h1 span,
.timeline-item strong {
  color: var(--accent-alt);
}

.visual-image::after {
  background: rgba(0, 0, 0, 0.16);
}

.service-icon,
.value-icon,
.contact-icon {
  color: #8de27f;
  background: var(--accent-soft);
}

.service-list li,
.contact-list li,
.check-list li,
.field label {
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  color: var(--text);
  background: #080808;
  border-color: var(--line);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #80795e;
}

.map-placeholder {
  background: var(--panel-strong);
}

.footer {
  border-top-color: var(--line);
  color: var(--muted);
}

.footer-links a {
  background: transparent;
  border-color: var(--line);
}

@media (max-width: 860px) {
  .nav {
    background: var(--panel);
    border-color: var(--line);
  }
}
