:root {
  --green: #164f43;
  --green-dark: #0f3b33;
  --gold: #c8ad75;
  --gold-light: #e4d1a6;
  --text: #3f4246;
  --muted: #72777d;
  --line: #e8e3d7;
  --bg: #fbfaf7;
  --white: #ffffff;
  --telegram: #3fb4ea;
  --whatsapp: #48c735;
  --max: #7a40f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(200, 173, 117, 0.25);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 36px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-weight: 700;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 16px;
}

.logo-text {
  font-size: 18px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-contact {
  display: grid;
  gap: 2px;
  text-align: right;
}

.phone-link {
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.call-link {
  color: var(--muted);
  text-decoration: underline;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 92px;
  background:
    linear-gradient(90deg, var(--bg) 0 62%, var(--green) 62% 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  height: 34%;
  content: "";
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--green);
  font-size: 52px;
  line-height: 1.18;
  text-transform: uppercase;
}

h2 {
  color: var(--gold);
  font-size: 42px;
  line-height: 1.18;
}

h3 {
  color: var(--gold);
  font-size: 26px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
}

.hero-list {
  display: grid;
  gap: 8px;
  margin: 34px 0 46px;
  padding: 0;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding-left: 24px;
  font-size: 20px;
}

.hero-list li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--gold);
}

.messenger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 54px;
  padding: 15px 28px;
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button-telegram {
  background: var(--telegram);
}

.button-whatsapp {
  background: var(--whatsapp);
}

.button-max {
  background: var(--max);
}

.button-gold {
  color: var(--green-dark);
  background: var(--gold-light);
}

.button-light {
  color: var(--green-dark);
  background: var(--gold-light);
}

.hero-visual,
.about-visual {
  position: relative;
  margin: 0;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 520px;
  border: 2px dashed rgba(200, 173, 117, 0.75);
  border-radius: 50% 50% 44% 44%;
  color: var(--gold);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(228, 209, 166, 0.32)),
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(22, 79, 67, 0.04) 16px 32px);
  text-align: center;
  font-weight: 800;
}

.person-card {
  position: absolute;
  right: 4%;
  bottom: -28px;
  width: 72%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(15, 59, 51, 0.12);
  text-align: center;
}

.person-card strong {
  display: block;
  color: var(--gold);
  font-size: 24px;
}

.person-card span {
  color: var(--muted);
  font-size: 18px;
}

.section {
  padding: 100px 0;
}

.section-header {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-header-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.review-card {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
  font-size: 21px;
}

.review-card footer {
  margin-top: 22px;
  color: var(--gold);
  font-size: 22px;
  font-weight: 800;
}

.stats-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.stats-list strong {
  display: block;
  color: var(--gold);
  font-size: 56px;
  line-height: 1;
}

.stats-list span {
  display: block;
  margin-top: 14px;
  font-size: 18px;
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: situations;
}

.situation-grid li {
  position: relative;
  min-height: 178px;
  padding: 72px 24px 26px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 14px 14px 0 rgba(200, 173, 117, 0.45), 0 14px 34px rgba(15, 59, 51, 0.08);
  counter-increment: situations;
  font-size: 18px;
}

.situation-grid li::before {
  position: absolute;
  top: 18px;
  left: 24px;
  content: counter(situations, upper-roman);
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1;
}

.benefits {
  background: var(--white);
}

.benefits-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: center;
  gap: 76px;
}

.phone-placeholder {
  min-height: 620px;
  padding: 26px;
  border: 12px solid #eff1f0;
  border-radius: 42px;
  background: linear-gradient(180deg, var(--white), #f2efe7);
  box-shadow: 0 28px 70px rgba(15, 59, 51, 0.12);
}

.phone-screen {
  display: grid;
  align-content: center;
  min-height: 544px;
  padding: 34px 28px;
  border-radius: 30px;
  background: var(--white);
}

.phone-label {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-screen h3 {
  margin-bottom: 26px;
  color: var(--green);
  font-size: 26px;
}

.phone-task-list {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.phone-task-list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.phone-task-list li::before {
  position: absolute;
  top: 12px;
  left: 14px;
  content: "✓";
  color: var(--gold);
  font-weight: 800;
}

.phone-note {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.phone-button {
  display: inline-flex;
  justify-content: center;
  justify-self: start;
  min-width: 150px;
  padding: 12px 20px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 48px;
  font-size: 20px;
}

.benefit-list li::before,
.why-list h3::before {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  content: "✓";
  border-radius: 50%;
  color: var(--white);
  background: var(--gold);
  font-weight: 800;
}

.benefit-list li::before {
  position: absolute;
  top: 0;
  left: 0;
}

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

.service-card {
  display: grid;
  align-content: start;
  min-height: 390px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 14px 14px 0 rgba(200, 173, 117, 0.45), 0 14px 34px rgba(15, 59, 51, 0.08);
}

.service-card p {
  max-width: 530px;
  font-size: 20px;
}

.service-card strong {
  display: block;
  margin: 22px 0 32px;
  color: var(--gold);
  font-size: 30px;
}

.service-card .button {
  justify-self: start;
}

.case-item {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  align-items: center;
  gap: 54px;
}

.case-image {
  min-height: 420px;
  border-radius: 8px;
}

.case-details {
  display: grid;
  gap: 8px;
  margin: 0 0 26px;
}

.case-details div {
  display: flex;
  gap: 8px;
}

.case-details dt {
  font-weight: 800;
}

.case-details dd {
  margin: 0;
}

.case-content p {
  font-size: 20px;
}

.case-content strong {
  color: var(--gold);
  font-size: 26px;
}

.cta-section {
  padding: 76px 0;
  color: var(--white);
  background: var(--green);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-section h2 {
  margin-bottom: 14px;
}

.cta-section p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 20px;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 76px;
}

.about-content p {
  font-size: 20px;
}

.why {
  background: var(--white);
}

.why-inner {
  max-width: 980px;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.why-list h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  font-size: 22px;
}

.why-list p {
  margin-left: 46px;
  margin-bottom: 0;
  font-size: 18px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-dark);
}

.footer-cta {
  padding: 78px 0;
  text-align: center;
  background: var(--green);
}

.footer-cta h2 {
  margin-bottom: 10px;
}

.footer-cta p {
  font-size: 20px;
}

.footer-cta .messenger-links {
  justify-content: center;
  margin-top: 28px;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 290px;
  color: var(--green);
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(0deg, #f5e5b9 0 14px, #ffffff 14px 28px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(22, 79, 67, 0.12) 34px 36px);
  font-size: 28px;
  font-weight: 800;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 40px;
  padding: 34px 0;
}

address {
  display: grid;
  gap: 6px;
  font-style: normal;
}

address span,
.qr-placeholder p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

address a,
address p {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.35;
  text-decoration: underline;
}

address span + a,
address span + p {
  margin-top: 0;
}

.qr-placeholder {
  text-align: center;
}

.qr-placeholder span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto 10px;
  border: 5px solid var(--gold);
  color: var(--gold);
  font-size: 24px;
  font-weight: 800;
}

.qr-placeholder p {
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.35;
}

.footer-bottom {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .container {
    width: min(100% - 40px, 920px);
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 0;
    gap: 18px 28px;
  }

  .main-nav {
    order: 3;
    width: 100%;
  }

  .main-nav ul {
    justify-content: center;
    gap: 20px;
  }

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

  .hero {
    padding: 64px 0 76px;
    background: linear-gradient(180deg, var(--bg) 0 58%, var(--green) 58% 100%);
  }

  .hero::after {
    width: 100%;
    height: 22%;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .photo-placeholder {
    min-height: 440px;
  }

  .stats-list,
  .situation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-layout,
  .case-item,
  .about-inner {
    grid-template-columns: 1fr;
  }

  .phone-placeholder {
    max-width: 390px;
    margin: 0 auto;
    width: 100%;
  }

  .service-grid {
    gap: 32px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 640px);
  }

  .site-header {
    position: static;
  }

  .header-inner {
    align-items: center;
    flex-direction: column;
    min-height: 0;
  }

  .logo-text {
    font-size: 16px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .header-contact {
    text-align: center;
  }

  .phone-link {
    font-size: 18px;
  }

  .hero {
    padding: 48px 0 62px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 23px;
  }

  .hero-lead,
  .hero-list li,
  .service-card p,
  .case-content p,
  .about-content p,
  .cta-section p,
  .footer-cta p {
    font-size: 18px;
  }

  .section {
    padding: 70px 0;
  }

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

  .messenger-links,
  .footer-cta .messenger-links {
    gap: 12px;
  }

  .button {
    min-width: 150px;
    min-height: 48px;
    padding: 13px 22px;
  }

  .photo-placeholder {
    min-height: 360px;
  }

  .person-card {
    position: static;
    width: calc(100% - 28px);
    margin: -34px auto 0;
  }

  .review-card {
    margin-bottom: 46px;
    font-size: 18px;
  }

  .stats-list,
  .situation-grid,
  .benefit-list,
  .service-grid,
  .why-list,
  .footer-info {
    grid-template-columns: 1fr;
  }

  .stats-list {
    gap: 24px;
  }

  .stats-list strong {
    font-size: 44px;
  }

  .situation-grid {
    gap: 26px;
  }

  .situation-grid li,
  .service-card {
    box-shadow: 8px 8px 0 rgba(200, 173, 117, 0.42), 0 12px 28px rgba(15, 59, 51, 0.08);
  }

  .benefits-layout {
    gap: 44px;
  }

  .phone-placeholder {
    min-height: 0;
  }

  .phone-screen {
    min-height: 0;
  }

  .service-card {
    min-height: 0;
    padding: 34px 28px;
  }

  .case-image {
    min-height: 320px;
  }

  .case-details div {
    display: grid;
    gap: 2px;
  }

  .about-inner,
  .why-inner {
    gap: 44px;
  }

  .why-list li {
    padding: 24px;
  }

  .footer-cta {
    padding: 58px 0;
  }

  .footer-info {
    gap: 26px;
    padding: 32px 0;
    text-align: center;
  }

  address {
    justify-items: center;
  }

  .footer-bottom .container {
    align-items: center;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 420px);
  }

  .logo {
    gap: 10px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .main-nav ul {
    gap: 8px 12px;
  }

  .hero {
    padding-top: 38px;
  }

  .eyebrow {
    font-size: 12px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 26px;
  }

  .hero-lead,
  .hero-list li {
    font-size: 16px;
  }

  .messenger-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .phone-button {
    width: 100%;
  }

  .photo-placeholder {
    min-height: 280px;
  }

  .phone-placeholder {
    padding: 18px;
    border-width: 8px;
    border-radius: 32px;
  }

  .phone-screen {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .phone-task-list li {
    font-size: 15px;
  }

  .benefit-list li {
    padding-left: 42px;
    font-size: 17px;
  }

  .service-card {
    padding: 28px 22px;
  }

  .service-card strong {
    font-size: 26px;
  }

  .why-list h3 {
    align-items: flex-start;
  }

  .why-list p {
    margin-left: 0;
  }

  .footer-bottom {
    padding: 22px 0;
  }
}
