﻿:root {
  --bg: #f3f0e8;
  --bg-alt: #e8eef2;
  --text: #112632;
  --muted: #4d6270;
  --primary: #c6511a;
  --primary-dark: #8f3b14;
  --accent: #157f8e;
  --card: #ffffff;
  --line: #d3dbe0;
  --shadow: 0 14px 30px rgba(17, 38, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background: linear-gradient(170deg, #f6f2eb 0%, #f3f0e8 45%, #e6edf1 100%);
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.2;
  margin: 0 0 0.65rem;
}

p {
  margin: 0 0 1rem;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(243, 240, 232, 0.9);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-weight: 800;
}

.brand-text {
  font-size: 0.97rem;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  color: var(--muted);
  font-weight: 600;
}

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

.cta-btn {
  font-weight: 700;
  padding: 0.56rem 0.95rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}

.hero {
  padding: 5.2rem 0 3.6rem;
  position: relative;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 24%, rgba(21, 127, 142, 0.15), transparent 38%),
    radial-gradient(circle at 8% 70%, rgba(198, 81, 26, 0.13), transparent 36%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.95rem, 4vw, 3.35rem);
  max-width: 19ch;
}

.lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.btn {
  display: inline-block;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.68rem 1.12rem;
}

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

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

.btn-outline {
  border: 2px solid var(--text);
}

.hero-media {
  display: block;
}

.hero-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  min-height: 220px;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.hero-stats-row article {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hero-stats-row h3 {
  margin-bottom: 0.2rem;
  font-size: 1.6rem;
}

.section {
  padding: 4.4rem 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.2rem;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  padding: 1rem;
  border-radius: 10px;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  display: block;
}

.card h3 {
  font-size: 1.2rem;
}

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

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

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

.project img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  display: block;
}

.project:nth-child(2) {
  border-top: 4px solid var(--accent);
}

.project:nth-child(3) {
  border-top: 4px solid var(--primary);
}

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

.about-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.checklist li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  position: relative;
  padding-left: 2.2rem;
}

.checklist li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0.92rem;
  top: 1.05rem;
}

.contact {
  padding-top: 2rem;
}

.contact-box {
  background: linear-gradient(130deg, #112632 0%, #204153 62%, #22606d 100%);
  color: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.contact-box p {
  color: #d8e5ec;
  max-width: 62ch;
  margin-inline: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f7f3eb;
}

.foot-row {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

.foot-phone {
  font-weight: 700;
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 120ms;
}

.stagger-2 {
  transition-delay: 220ms;
}

@media (max-width: 940px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .hero-stats-row,
  .service-grid,
  .project-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.3rem;
  }
}

@media (max-width: 600px) {
  .brand-text {
    display: none;
  }

  .cta-btn {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .contact-box {
    text-align: left;
  }

  .foot-row {
    flex-direction: column;
    justify-content: center;
    padding: 0.8rem 0;
  }
}
