:root {
  --accent: #7AA891;
  --accent-2: #E7B887;
  --bg: #F5F1EA;
  --dark: #24342F;
  --muted: #62736B;
  --soft: #EAF2ED;
  --white: #fffaf4;
  --line: rgba(48, 45, 61, .12);
  --shadow: 0 24px 80px rgba(36, 52, 47, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.9), transparent 32rem),
    radial-gradient(circle at 90% 20%, var(--soft), transparent 34rem),
    var(--bg);
  color: var(--dark);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 250, 244, .72);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 28px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(36, 52, 47, .10);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.logo span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 25px rgba(0,0,0,.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.nav a:hover, .phone:hover { color: var(--accent); }
.phone { font-weight: 800; white-space: nowrap; }

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 140px max(24px, calc((100vw - 1180px) / 2)) 80px;
  background: var(--hero-image) center/cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 24, 24, .78), rgba(20, 24, 24, .38), rgba(20, 24, 24, .12)),
    linear-gradient(180deg, rgba(20, 24, 24, .25), rgba(20, 24, 24, .55));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  color: #fff;
}

.kicker {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  line-height: .98;
  letter-spacing: -.035em;
}

h1 { font-size: clamp(44px, 7vw, 88px); max-width: 940px; }
h2 { font-size: clamp(34px, 5vw, 58px); }
h3 { font-size: 26px; }

.hero__subtitle {
  max-width: 720px;
  margin: 26px 0 34px;
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255,255,255,.86);
}

.hero__actions, .hero__actions a {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover { transform: translateY(-3px); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #171a19;
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}
.btn--ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
}

.hero__panel {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 70px;
  z-index: 2;
  width: min(330px, calc(100% - 48px));
  padding: 26px;
  border-radius: 30px;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(18px);
}

.hero__panel span { color: rgba(255,255,255,.74); font-weight: 700; }
.hero__panel strong { display: block; font-family: 'Playfair Display', serif; font-size: 46px; line-height: 1.1; }

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0;
}

.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about__media img {
  min-height: 560px;
  object-fit: cover;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.about__content > p:not(.kicker),
.section__head p {
  color: var(--muted);
  font-size: 18px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.fact, .pain-card, .process-card, .tariff, .faq-item {
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, .74);
  border-radius: 30px;
  box-shadow: 0 18px 50px rgba(36,52,47,.07);
}

.fact { padding: 22px; }
.fact strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  line-height: 1;
}
.fact span { color: var(--muted); font-size: 14px; }

.section__head {
  max-width: 760px;
  margin-bottom: 38px;
}

.pain-grid, .process-grid, .tariff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pain-card, .process-card {
  padding: 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pain-card:hover, .process-card:hover, .tariff:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pain-card span, .process-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--soft);
  color: var(--accent);
  font-weight: 900;
}

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

.case-card {
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255,250,244,.8);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(36,52,47,.07);
}

.case-card__image {
  height: 260px;
  overflow: hidden;
}
.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.case-card:hover img { transform: scale(1.08); }
.case-card__body { padding: 26px; }

.tariff-grid { grid-template-columns: repeat(3, 1fr); }
.tariff {
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tariff::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: var(--soft);
}
.price {
  display: block;
  margin: 18px 0;
  color: var(--accent);
  font-size: 28px;
  font-weight: 900;
}
.tariff ul, .contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tariff li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.faq-list { max-width: 860px; }
.faq-item {
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--dark);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--muted);
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.active .faq-answer {
  max-height: 180px;
  padding: 0 24px 22px;
}

.contact {
  padding: 90px 16px;
  background:
    linear-gradient(135deg, rgba(36,52,47,.95), rgba(36,52,47,.78)),
    url('assets/img/photo-1551836022-b06985bceb24-f8f62a51.jpg') center/cover;
}

.contact__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 44px;
  align-items: start;
  color: #fff;
}

.contact__inner p { color: rgba(255,255,255,.76); }
.contact-list li {
  margin-top: 10px;
  color: rgba(255,255,255,.9);
  font-weight: 700;
}

.lead-form {
  padding: 32px;
  border-radius: 34px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(22px);
  box-shadow: 0 25px 90px rgba(0,0,0,.22);
}

.lead-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 800;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255,255,255,.88);
  color: var(--dark);
  font: inherit;
  outline: none;
}
.lead-form textarea { min-height: 120px; resize: vertical; }
.form-message { min-height: 24px; margin-bottom: 0; }

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.footer a { color: var(--dark); font-weight: 800; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero__panel { position: relative; right: auto; bottom: auto; margin-top: 34px; }
  .about, .contact__inner { grid-template-columns: 1fr; }
  .facts, .pain-grid, .process-grid, .tariff-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header { top: 10px; border-radius: 22px; }
  .phone { display: none; }
  .hero { padding-top: 120px; }
  .facts, .pain-grid, .process-grid, .tariff-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
}
