:root {
  color-scheme: dark;
  --bg: #0f1218;
  --surface: #121620;
  --surface-light: #1f2634;
  --surface-muted: #191f2a;
  --text: #f2f4f8;
  --muted: #98a0b1;
  --accent: #d4a742;
  --accent-soft: rgba(212, 167, 66, 0.16);
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at top, rgba(212, 167, 66, 0.08), transparent 45%), var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2rem;
  background: rgba(15, 18, 24, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.45rem;
}

.logo--large {
  width: min(260px, 100%);
  height: auto;
  max-height: 120px;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.brand--logo-only {
  align-items: center;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
  line-height: 1.05;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.95rem;
}

.brand-text strong {
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #c7972b);
  color: #0d1119;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  place-items: center;
  padding: 3rem 2rem;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.3), rgba(11, 14, 20, 0.95));
}

.hero-content {
  position: relative;
  max-width: 760px;
  z-index: 1;
}

.hero-featured-image {
  margin: 1.8rem 0 0;
  border-radius: 24px;
  overflow: hidden;
}

.hero-featured-image img {
  width: 100%;
  display: block;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 1.02;
}

.hero-content p {
  margin: 1.5rem 0 2rem;
  max-width: 35rem;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-contact {
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0 0;
  color: #d3d7df;
}

.hero-contact li {
  list-style: none;
}

.section {
  padding: 4.5rem 2rem;
}

.alt-bg {
  background: var(--surface);
}

.section-header {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-meta {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 1.1;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.about-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.text-card,
.card,
.feature-card,
.segment-card,
.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
}

.card img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 1rem;
  display: block;
  object-fit: cover;
  min-height: 180px;
}

.text-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.about-image {
  margin-top: 1.5rem;
  border-radius: 24px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  display: block;
}

.value-list {
  display: grid;
  gap: 1rem;
}

.value-item h3,
.card h3,
.feature-card h3,
.project-content h3 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
}

.value-item p,
.card p,
.feature-card p,
.project-content p,
.contact-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 2rem;
}

.slide-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.slide-card {
  width: 400px;
  height: 540px;
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  justify-items: center;
  text-align: center;
}

.slide-card img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

.slide-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.slide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.carousel-button {
  position: absolute;
  top: 50%;
  width: 3rem;
  height: 3rem;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 1;
}

.carousel-button.prev {
  left: 1rem;
}

.carousel-button.next {
  right: 1rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.25rem 0 1rem;
}

.dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
}

.card {
  min-height: 190px;
}

.feature-card {
  padding: 2.2rem;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 28px;
}

.project-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-content {
  padding: 1.75rem;
  background: rgba(15, 18, 24, 0.95);
}

.project-footer {
  text-align: center;
  color: var(--muted);
  margin-top: 1.5rem;
}

.segment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.segment-card {
  min-height: 120px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
  align-items: center;
}

.contact-info p {
  margin: 0 0 1rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card h3 {
  margin: 0 0 1rem;
}

.footer {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 1240px) {
  .slide-card {
    width: min(320px, 100%);
  }
}

@media (max-width: 1024px) {
  .about-grid,
  .service-grid,
  .features-grid,
  .project-grid,
  .segment-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .slide-grid {
    justify-content: center;
  }

  .slide-card {
    width: min(320px, 100%);
  }

  .site-header {
    flex-wrap: wrap;
    padding: 1rem 1.5rem;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 72vh;
    padding: 2rem 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-contact {
    margin-top: 1.5rem;
  }

  .section {
    padding: 3rem 1.2rem;
  }

  .slide-card {
    width: 100%;
  }

  .slide-card img {
    width: 100%;
    height: auto;
  }
}
