:root {
  --bg: #f8ece3;
  --surface: #fff8f1;
  --surface-strong: #ffffff;
  --surface-dark: #a94812;
  --text: #221712;
  --muted: #6f5448;
  --line: rgba(102, 52, 28, 0.16);
  --brand: #ef7c2a;
  --brand-dark: #cf6216;
  --accent: #ef7c2a;
  --accent-soft: #fee7d6;
  --shadow: 0 20px 60px rgba(97, 45, 24, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(229, 109, 47, 0.22), transparent 32%),
    radial-gradient(circle at right center, rgba(191, 79, 28, 0.08), transparent 28%),
    linear-gradient(180deg, #fbf0e6 0%, #f5e5d7 100%);
  line-height: 1.6;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 20px 0;
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 244, 237, 0.8);
  border-radius: 999px;
  background: rgba(255, 247, 240, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(97, 45, 24, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-logo {
  width: 54px;
  height: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #8c533c;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: rgba(239, 124, 42, 0.18);
  color: var(--text);
  transform: translateY(-1px);
}

main {
  overflow: hidden;
}

.hero-section,
.stats-section,
.section,
.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding-top: 72px;
  padding-bottom: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d6661b;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
strong {
  margin: 0;
}

h1,
h2,
.project-body h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.3rem, 7vw, 6rem);
  line-height: 0.97;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.hero-lead,
.section-heading p,
.project-body p,
.service-card p,
.process-card p,
.contact-card span,
.stat-card p,
.hero-card-accent p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy::after {
  content: "";
  position: absolute;
  left: -40px;
  top: -36px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(229, 109, 47, 0.1);
  z-index: -1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 18px 34px rgba(239, 124, 42, 0.4);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-dark);
}

.button-secondary {
  border: 1px solid rgba(239, 124, 42, 0.26);
  background: rgba(255, 245, 237, 0.95);
  color: #c75d17;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-weight: 600;
}

.hero-points i {
  margin-right: 8px;
  color: var(--accent);
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 20px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 28px -40px -28px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(239, 124, 42, 0.94), rgba(169, 72, 18, 0.96));
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card-main {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 252, 249, 0.96), rgba(250, 235, 225, 0.96));
}

.hero-card-label {
  margin: 0 0 20px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

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

.hero-card-grid article,
.service-card,
.stat-card,
.process-card,
.project-card,
.contact-panel {
  border: 1px solid rgba(23, 33, 31, 0.08);
}

.hero-card-grid article {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(239, 124, 42, 0.11);
}

.hero-card-grid strong,
.stat-card strong,
.contact-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 800;
}

.hero-card-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card-accent {
  max-width: 300px;
  margin-left: auto;
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(255, 248, 243, 0.98), rgba(252, 228, 213, 0.98));
}

.hero-card-accent a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 800;
  color: var(--brand);
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 6px;
  margin-bottom: 32px;
}

.stat-card,
.service-card,
.process-card,
.contact-panel,
.project-card {
  background: rgba(255, 250, 246, 0.76);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 26px;
  border-radius: var(--radius-md);
  border-top: 4px solid rgba(229, 109, 47, 0.5);
}

.section {
  padding-top: 88px;
  padding-bottom: 20px;
}

.process-section,
.contact-section {
  position: relative;
}

.process-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 36px 20px 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(239, 124, 42, 0.14), rgba(207, 98, 22, 0.06));
  z-index: -1;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 14px;
}

.section-heading-left {
  margin-bottom: 0;
}

.services-grid,
.process-grid {
  display: grid;
  gap: 20px;
}

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

.service-card {
  padding: 28px;
  border-radius: var(--radius-md);
  border-top: 4px solid rgba(229, 109, 47, 0.5);
}

.service-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.4rem;
  box-shadow: inset 0 0 0 1px rgba(239, 124, 42, 0.24);
}

.service-card h3,
.process-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.projects-section {
  position: relative;
}

.projects-section::before {
  content: "";
  position: absolute;
  inset: 140px 20px auto;
  height: 320px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(239, 124, 42, 0.22), rgba(207, 98, 22, 0.12));
  z-index: -1;
}

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

.project-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(20, 32, 28, 0.18);
}

.project-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  padding: 24px;
}

.project-tag {
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d6661b;
}

.project-body h3 {
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-weight: 800;
  color: #c75d17;
}

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

.process-card {
  padding: 28px;
  border-radius: var(--radius-md);
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(239, 124, 42, 0.34);
}

.contact-section {
  padding-bottom: 88px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-lg);
}

.contact-grid {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 251, 0.98);
  border: 1px solid var(--line);
  transition: transform 160ms ease, border-color 160ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(239, 124, 42, 0.48);
  box-shadow: 0 16px 32px rgba(239, 124, 42, 0.16);
}

.contact-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(239, 124, 42, 0.22), rgba(207, 98, 22, 0.14));
  color: #c75d17;
  font-size: 1.15rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 0;
  padding-bottom: 42px;
  color: #8a5d49;
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .hero-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .stats-section,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel::before {
    inset: 24px 0 -24px 0;
  }

  .hero-card-accent {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 14px 0;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 26px;
    padding: 16px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-section {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-card-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .contact-panel {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-section,
  .stats-section,
  .section,
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-card-main,
  .service-card,
  .process-card,
  .stat-card,
  .project-body {
    padding: 20px;
  }

  .hero-actions,
  .hero-points {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
