:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --ink: #1e1f1d;
  --muted: #565a54;
  --brand: #d97706;
  --brand-dark: #9a5604;
  --accent: #264653;
  --line: #dfd8cc;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fffaf2 0%, #f0ede7 100%);
  line-height: 1.6;
}

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

.section {
  padding: 5rem 0;
}

h1,
h2,
h3,
.brand {
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

p {
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  text-decoration: none;
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--brand-dark);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
}

.hero {
  position: relative;
  background: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  min-height: 82vh;
  display: grid;
  place-items: center;
}

/* Services section */
.services {
  background: #ece8df;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.4rem;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

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

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

  .about-stats {
    grid-template-columns: 1fr;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(17, 17, 17, 0.82) 0%, rgba(17, 17, 17, 0.5) 60%, rgba(17, 17, 17, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1,
.hero p,
.hero .eyebrow {
  color: #f4f1ec;
}

.hero p {
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  border: 0;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

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

.btn-secondary {
  color: #fff;
  border: 1px solid #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

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

.about {
  background: var(--surface);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-stats article {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
}

.about-stats h3 {
  font-size: 2rem;
  color: var(--accent);
}

.projects {
  background: #ece8df;
}

.project-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.3rem;
}

.project-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.contact {
  background: var(--surface);
}

.contact-info {
  list-style: none;
  margin-top: 1rem;
}

.contact-info li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 0.6rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfc7b9;
  border-radius: 8px;
  padding: 0.7rem;
  font: inherit;
}

.site-footer {
  padding: 1rem 0;
  background: #18191b;
  color: #d4d7db;
  text-align: center;
}

.site-footer p {
  color: #d4d7db;
}

@media (max-width: 900px) {
  .two-col,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    right: 4vw;
    top: 4.1rem;
    width: 220px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fffaf2;
    padding: 0.8rem;
    flex-direction: column;
    gap: 0.7rem;
  }

  .main-nav.open {
    display: flex;
  }
}
