:root {
  --bg: #f4efe8;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf9;
  --ink: #1f2a2f;
  --muted: #5f6b70;
  /*--muted: #5f6b70;*/
  --line: rgba(31, 42, 47, 0.12);
  --primary: #0d7c66;
  --primary-dark: #095746;
  --accent: #c96d42;
  --sand: #e8d9c8;
  --shadow: 0 20px 60px rgba(31, 42, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 109, 66, 0.18), transparent 32%),
    radial-gradient(circle at right center, rgba(13, 124, 102, 0.18), transparent 28%),
    linear-gradient(180deg, #f8f4ee 0%, #f1ebe1 100%);
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 64px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #efb07f);
  color: white;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy small {
  color: var(--muted);
}

.nav {
  display: inline-flex;
  gap: 22px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

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

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 36px rgba(13, 124, 102, 0.24);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 110px);
  padding: 42px 0 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 0.96;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.hero-text,
.section-heading p,
.contact-section p,
.info-panel p,
.visual-card p,
.stats span,
.service-card p,
.work-card p,
.contact-card span {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

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

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.trust-points li,
.chips span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 18px;
}

.visual-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.visual-card-main {
  min-height: 480px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(31, 42, 47, 0.12), rgba(31, 42, 47, 0.56)),
    linear-gradient(145deg, rgba(13, 124, 102, 0.25), rgba(201, 109, 66, 0.18)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.12) 0,
      rgba(255, 255, 255, 0.12) 10px,
      rgba(255, 255, 255, 0.02) 10px,
      rgba(255, 255, 255, 0.02) 20px
    );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.visual-card-main.has-photo {
  background:
    var(--hero-image),
    linear-gradient(145deg, rgba(13, 124, 102, 0.18), rgba(201, 109, 66, 0.18));
  background-size: cover;
  background-position: center;
}

.visual-card-main::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: 22px;
}

.visual-card-main h2,
.visual-card-main p,
.visual-tag {
  position: relative;
  z-index: 1;
}

.visual-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  font-weight: 700;
}

.visual-card-note {
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(232, 217, 200, 0.9), rgba(255, 255, 255, 0.82));
}

.visual-card-note p {
  margin: 0 0 8px;
}

.stats,
.services-grid,
.works-grid,
.split-section,
.contact-section {
  display: grid;
  gap: 20px;
}

.stats {
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0 20px;
}

.stats article,
.service-card,
.work-card,
.info-panel,
.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.stats strong {
  display: block;
  font-size: 2rem;
  font-family: "Fraunces", serif;
}

.section {
  padding: 88px 0 0;
}

.section-heading {
  max-width: 68ch;
  margin-bottom: 28px;
}

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

.service-card {
  min-height: 240px;
}

.service-card strong,
.work-card strong,
.contact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(13, 124, 102, 0.14), rgba(201, 109, 66, 0.16));
  font-size: 1.35rem;
}

.accent-section {
  position: relative;
}

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

.work-card {
  overflow: hidden;
  padding: 0;
}

.work-thumb {
  min-height: 280px;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  position: relative;
  isolation: isolate;
  background: var(--thumb-gradient, linear-gradient(135deg, #c96d42, #0d7c66));
}

.work-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.work-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31, 42, 47, 0.02), rgba(31, 42, 47, 0.58)),
    var(--thumb-gradient, linear-gradient(135deg, #c96d42, #0d7c66));
  z-index: 1;
}

.work-thumb span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.work-copy {
  padding: 20px 22px 24px;
}

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

.panel-highlight {
  background:
    radial-gradient(circle at top right, rgba(13, 124, 102, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.76);
}

.check-list {
  padding-left: 18px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-section {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding-bottom: 52px;
}

.contact-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(232, 217, 200, 0.72));
}

.contact-card p,
.contact-card strong,
.contact-card span {
  margin: 0;
}

.contact-card strong {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.contact-card span {
  display: block;
  margin-top: 10px;
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #1fa463, #117a52);
  box-shadow: 0 18px 42px rgba(17, 122, 82, 0.35);
}

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

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

  .nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar,
  .hero,
  .contact-section,
  .split-section,
  .services-grid,
  .works-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: 14px 0;
  }

  .desktop-cta {
    display: none;
  }

  h1 {
    max-width: 9ch;
  }

  .section {
    padding-top: 64px;
  }

  .visual-card-main {
    min-height: 360px;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-width: auto;
  }
}
