@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --paper: #f4f1eb;
  --ink: #20211f;
  --muted: #6f706b;
  --line: rgba(32, 33, 31, .15);
  --accent: #d4f04a;
  --dark: #20211f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

.site-header, main, .site-footer { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand { align-items: center; display: inline-flex; gap: 11px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { align-items: center; background: var(--ink); color: var(--accent); display: inline-flex; font-family: 'Space Grotesk', sans-serif; font-size: 17px; height: 32px; justify-content: center; width: 32px; }
.header-phone { font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.header-phone:hover, .contact-link:hover { color: #687d13; }

.hero { display: grid; grid-template-columns: 1fr 240px; min-height: 560px; padding: 105px 0 90px; position: relative; }
.hero-copy { max-width: 760px; }
.eyebrow { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .14em; margin: 0 0 24px; text-transform: uppercase; }
h1, h2, h3 { font-family: 'Space Grotesk', Manrope, sans-serif; letter-spacing: -.06em; margin: 0; }
h1 { font-size: clamp(3.8rem, 8.4vw, 7.4rem); line-height: .92; max-width: 820px; }
h1 em { color: var(--muted); font-style: normal; }
.hero-text { color: var(--muted); font-size: 17px; margin: 32px 0 38px; max-width: 440px; }
.button { align-items: center; display: inline-flex; font-weight: 800; justify-content: space-between; min-width: 170px; padding: 16px 18px; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--accent); }
.button-primary:hover { background: #c5e239; }
.button-arrow { font-size: 21px; line-height: 1; }
.hero-badge { align-self: end; border-top: 1px solid var(--ink); display: flex; gap: 22px; justify-self: end; padding-top: 13px; width: 176px; font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 600; line-height: 1; }
.badge-line { background: var(--accent); display: block; height: 10px; margin-top: 2px; width: 34px; }
.hero-badge small { font-family: Manrope, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.services { border-top: 1px solid var(--line); padding: 88px 0 105px; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.section-heading .eyebrow { margin: 7px 0 0; }
h2 { font-size: clamp(2.1rem, 4.3vw, 4rem); line-height: .98; max-width: 680px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card { background: #e8e4dc; min-height: 225px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.service-card-dark { background: var(--dark); color: var(--paper); }
.service-number { color: var(--muted); font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; }
.service-card-dark .service-number { color: var(--accent); }
h3 { font-size: 28px; line-height: 1; }
.service-card p { color: var(--muted); font-size: 14px; margin: 0; max-width: 210px; }
.service-card-dark p { color: #b9b9b1; }

.contact { align-items: end; background: var(--accent); display: flex; justify-content: space-between; gap: 32px; padding: 48px; }
.contact .eyebrow { color: #56690e; margin-bottom: 16px; }
.contact h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.contact-link { border-bottom: 2px solid var(--ink); font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.1rem, 2vw, 1.55rem); font-weight: 700; padding-bottom: 5px; white-space: nowrap; }
.contact-link span { font-size: 1.4em; margin-left: 12px; }

.site-footer { color: var(--muted); display: flex; font-size: 12px; justify-content: space-between; letter-spacing: .03em; padding: 26px 0 30px; }

@media (max-width: 700px) {
  .site-header, main, .site-footer { width: min(100% - 32px, 1120px); }
  .site-header { padding: 20px 0; }
  .header-phone { font-size: 12px; }
  .hero { display: block; min-height: auto; padding: 72px 0 78px; }
  h1 { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  .hero-text { font-size: 16px; margin-top: 26px; }
  .hero-badge { margin-top: 74px; }
  .services { padding: 70px 0 78px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading .eyebrow { margin-bottom: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 178px; }
  .contact { align-items: start; display: block; padding: 30px 24px 34px; }
  .contact-link { display: inline-block; margin-top: 34px; }
  .site-footer { gap: 15px; line-height: 1.3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
