:root {
  --ink: #201711;
  --muted: #6f5b49;
  --paper: #fff7e8;
  --clay: #c8754f;
  --clay-dark: #8e472f;
  --leaf: #7da66a;
  --leaf-dark: #446337;
  --sun: #f3c451;
  --cream: #fffdf5;
  --shadow: 0 24px 70px rgba(66, 37, 14, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(243, 196, 81, 0.35), transparent 28rem),
    radial-gradient(circle at 90% 0%, rgba(125, 166, 106, 0.22), transparent 24rem),
    linear-gradient(180deg, #fff3d4 0%, var(--paper) 42%, #f2e0c1 100%);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

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

.hero {
  min-height: 100vh;
  padding: 24px clamp(18px, 4vw, 64px) 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 88px auto auto -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, rgba(142, 71, 47, 0.16) 0 12px, transparent 12px 24px);
  transform: rotate(12deg);
}

.nav {
  width: min(1160px, 100%);
  margin: 0 auto 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: var(--sun);
  box-shadow: 4px 4px 0 var(--ink);
}

.nav-links {
  display: flex;
  gap: clamp(12px, 3vw, 34px);
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
}

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

.hero-grid,
.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.6vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 950;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button.primary {
  background: var(--clay);
  color: #fffaf2;
}

.button.secondary {
  background: var(--cream);
}

.button.big {
  min-height: 62px;
  padding-inline: 32px;
  font-size: 1.08rem;
}

.trust-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 800;
}

.trust-list li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.trust-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero-card,
.image-panel {
  margin: 0;
  border: 3px solid var(--ink);
  border-radius: 34px;
  background: var(--cream);
  box-shadow: var(--shadow), 8px 8px 0 var(--ink);
  overflow: hidden;
}

.hero-card {
  transform: rotate(2deg);
}

.hero-card img,
.image-panel img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #ffe7b8;
}

.hero-card figcaption {
  padding: 18px 20px 22px;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.35;
}

.section {
  padding: clamp(64px, 11vw, 132px) 0;
}

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

.section-heading.narrow {
  max-width: 680px;
}

.cards,
.price-cards,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.price-card,
.case-grid article {
  border: 2px solid var(--ink);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 6px 6px 0 var(--ink);
}

.service-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card p,
.price-card p,
.case-grid p,
.split-copy p,
.verdict p {
  color: var(--muted);
  line-height: 1.55;
}

.clay {
  background: #f1b08e;
}

.leaf {
  background: #cfe4b6;
}

.sun {
  background: #ffe085;
}

.card-icon,
.case-number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 950;
}

.split,
.verdict,
.pricing {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: center;
}

.tilt-left {
  transform: rotate(-2deg);
}

.tilt-right {
  transform: rotate(2deg);
}

.quote {
  margin-top: 26px;
  padding: 22px;
  border-left: 8px solid var(--clay);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.5;
}

.cases {
  position: relative;
}

.case-grid article {
  background: rgba(255, 253, 245, 0.76);
}

.pricing {
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
}

.price-card {
  background: var(--cream);
}

.price-card.featured {
  background: var(--leaf);
  transform: translateY(-18px) rotate(-1deg);
}

.price {
  margin: 18px 0;
  color: var(--ink) !important;
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.verdict {
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
}

.client {
  font-weight: 900;
}

.cta {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto 48px;
  padding: clamp(44px, 8vw, 84px);
  border: 3px solid var(--ink);
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 224, 133, 0.68)),
    var(--sun);
  box-shadow: var(--shadow), 10px 10px 0 var(--ink);
  text-align: center;
}

.cta h2 {
  max-width: 800px;
  margin-inline: auto;
}

.fine-print {
  margin: 24px auto 0;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 750;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .pricing,
  .verdict {
    grid-template-columns: 1fr;
  }

  .cards,
  .price-cards,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .hero-card,
  .tilt-left,
  .tilt-right {
    transform: none;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 18px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 38px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(2.7rem, 17vw, 4.6rem);
  }

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

  .button {
    width: 100%;
  }

  .service-card,
  .price-card,
  .case-grid article {
    padding: 22px;
  }
}
