﻿:root {
  --page: #ffffff;
  --warm: #f7f5ee;
  --ink: #070b14;
  --muted: #3f4754;
  --green: #4b3428;
  --green-hover: #35241c;
  --line: #ececec;
  --card: #ffffff;
  --soft-card: #faf8f0;
  --container: 1060px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 34px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand__logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #0e1522;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  transition: color 160ms ease;
}

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

.hero {
  padding: 52px 0 76px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - 160px);
}

.hero__copy {
  max-width: 610px;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 4.1vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.13;
}

.hero p,
.section-heading p,
.about-grid p {
  color: #141b28;
  font-size: 18px;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 0 28px;
  background: var(--green);
  border-radius: 3px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.hero-collage {
  position: relative;
  min-height: 560px;
}

.hero-collage__item {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 5px;
  background: var(--warm);
}

.hero-collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-collage__item--1 {
  top: 95px;
  left: 0;
  width: 170px;
  height: 220px;
}

.hero-collage__item--2 {
  top: 18px;
  right: 0;
  width: 205px;
  height: 250px;
}

.hero-collage__item--3 {
  left: 0;
  bottom: 58px;
  width: 180px;
  height: 245px;
}

.hero-collage__item--4 {
  right: 0;
  bottom: 136px;
  width: 205px;
  height: 245px;
}

.section {
  padding: 96px 0;
}

.section--warm {
  background: var(--warm);
}

.section--white {
  background: #fff;
}

.section-heading {
  max-width: 610px;
  margin-bottom: 58px;
}

.service-grid,
.price-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.service-card,
.price-card,
.testimonial-card {
  background: var(--card);
  border-radius: 4px;
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
}

.service-card div {
  padding: 26px 28px 32px;
}

.service-card p,
.feature-card p,
.price-card p,
.testimonial-card blockquote {
  color: #1a2230;
  line-height: 1.55;
}

.price-card {
  overflow: hidden;
  background: var(--soft-card);
}

.price-card img {
  width: 100%;
  aspect-ratio: 1.02;
  object-fit: cover;
}

.price-card__body {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  min-height: 126px;
  padding: 22px 22px 26px;
}

.price-card__body h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.price-card__body p {
  margin-bottom: 0;
  font-size: 13px;
}

.price-card strong {
  flex: 0 0 auto;
  padding-top: 2px;
  font-size: 17px;
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 228px;
  background: #fff;
  border-radius: 4px;
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 228px;
  object-fit: cover;
}

.feature-card div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.feature-card:nth-child(3) img,
.feature-card:nth-child(4) img {
  order: 0;
}

.wave-top {
  position: relative;
  overflow: hidden;
}

.wave-top::before {
  position: absolute;
  top: -70px;
  left: 50%;
  width: 120vw;
  height: 150px;
  background: var(--warm);
  border-radius: 0 0 50% 50%;
  content: "";
  transform: translateX(-50%);
}

.wave-top > .container {
  position: relative;
}

.testimonial-card {
  padding: 34px 30px;
  margin: 0;
  background: var(--soft-card);
}

.stars {
  margin-bottom: 24px;
  color: var(--green);
  font-size: 21px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  margin: 0 0 30px;
  font-size: 17px;
}

.testimonial-card figcaption {
  display: grid;
  gap: 2px;
}

.testimonial-card span {
  font-weight: 900;
}

.testimonial-card small {
  color: #243041;
  font-weight: 600;
}

.about-section {
  position: relative;
  overflow: hidden;
  background: var(--warm);
}

.about-section::after {
  position: absolute;
  right: -15vw;
  bottom: -72px;
  width: 130vw;
  height: 160px;
  background: #fff;
  border-radius: 50% 50% 0 0;
  content: "";
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-photo {
  display: block;
  width: 100%;
  height: 360px;
  border-radius: 4px;
  object-fit: cover;
  object-position: center;
  background: var(--warm);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
}



.site-footer {
  padding: 72px 0 50px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.9fr;
  gap: 52px;
  align-items: start;
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 900;
}

.site-footer p,
.site-footer address,
.footer-contact {
  margin: 0;
  color: #1e2734;
  font-style: normal;
}

.site-footer address,
.footer-contact {
  display: grid;
  gap: 4px;
}

@media (max-width: 960px) {
  .site-header {
    padding: 18px 22px;
  }

  .hero__grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    gap: 30px;
    min-height: 0;
  }

  .hero-collage {
    min-height: 470px;
    max-width: 460px;
  }

  .service-grid,
  .price-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .site-header {
    align-items: flex-start;
  }

  .brand strong {
    max-width: 180px;
    line-height: 1.18;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 54px 0 64px;
  }

  .hero__copy {
    max-width: none;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero p,
  .section-heading p,
  .about-grid p {
    font-size: 16px;
  }

  .hero-collage {
    min-height: 330px;
    max-width: none;
  }

  .hero-collage__item--1 {
    top: 44px;
    width: 42%;
    height: 145px;
  }

  .hero-collage__item--2 {
    width: 50%;
    height: 166px;
  }

  .hero-collage__item--3 {
    bottom: 0;
    width: 42%;
    height: 152px;
  }

  .hero-collage__item--4 {
    bottom: 42px;
    width: 50%;
    height: 158px;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card img {
    min-height: 220px;
  }

  .price-card__body {
    display: grid;
  }
}

