:root {
  --bg: #f6f0ea;
  --bg-soft: #fffaf6;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --text: #2a2a31;
  --muted: #686677;
  --line: rgba(64, 50, 47, 0.12);
  --accent: #8c5e4a;
  --accent-dark: #714734;
  --accent-soft: #f0ddd1;
  --shadow: 0 18px 50px rgba(73, 43, 28, 0.12);
  --radius: 28px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(233, 198, 176, 0.38), transparent 35%),
    linear-gradient(180deg, #faf7f2 0%, #f4ede6 100%);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.7); color: var(--accent-dark);
  border: 1px solid rgba(140,94,74,.18); font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; line-height: 1.05; margin: 0 0 16px; }
h1 { font-size: clamp(48px, 7vw, 50px); }
h2 { font-size: clamp(36px, 5vw, 58px); }
h3 { font-size: clamp(26px, 3vw, 34px); }
p { margin: 0; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }

.decor {
  position: fixed; inset: auto auto 0 0; width: 360px; height: 360px; border-radius: 50%;
  filter: blur(70px); pointer-events: none; z-index: -1; opacity: .55;
}
.decor-1 { top: 80px; left: -100px; background: rgba(224, 174, 150, 0.36); }
.decor-2 { right: -120px; bottom: 100px; background: rgba(201, 191, 235, 0.26); left: auto; }

.header {
  position: sticky; top: 16px; z-index: 1000; padding: 16px 0 0;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 14px 20px; border-radius: 22px; background: rgba(255,255,255,.54);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.65); box-shadow: 0 8px 22px rgba(50, 35, 31, 0.08);
}
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark {
  width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, #9c6a54, #d7b39c); color: #fff; font-weight: 800; font-size: 22px;
  box-shadow: 0 10px 20px rgba(138, 91, 70, .25);
}
.logo strong, .logo small { display: block; }
.logo strong { font-size: 17px; }
.logo small { color: var(--muted); font-size: 12px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.nav a { color: #4d4b59; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--accent-dark); }
.header__phone { font-weight: 800; font-size: 18px; white-space: nowrap; }
.menu-toggle { display: none; border: 0; background: none; padding: 0; width: 44px; height: 44px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px auto; }

.hero {
  position: relative; min-height: 100vh; display: grid; align-items: center; padding: 120px 0 70px; overflow: hidden;
}
.hero__image, .hero__overlay { position: absolute; inset: 0; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  background: linear-gradient(100deg, rgba(34, 24, 28, .82) 10%, rgba(55, 37, 32, .68) 46%, rgba(255,255,255,.10) 100%);
}
.hero__content { position: relative; z-index: 1; color: #fff; max-width: 760px; }
.hero__content p { color: rgba(255,255,255,.82); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; margin-bottom: 18px;
  border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.22);
}
.hero__lead { font-size: clamp(18px, 2vw, 21px); max-width: 680px; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__trust { display: grid; gap: 12px; max-width: 500px; }
.hero__trust li { display: flex; gap: 12px; align-items: center; }
.hero__trust li::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%; background: #f0ddd1; box-shadow: 0 0 0 7px rgba(240,221,209,.18);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 16px 24px; min-height: 58px; cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
  font-weight: 800;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), #b78067); color: #fff; box-shadow: 0 14px 26px rgba(119,72,52,.28);
}
.btn--primary:hover { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); box-shadow: 0 20px 30px rgba(119,72,52,.30); }
.btn--secondary, .btn--ghost {
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(10px);
}
.btn--ghost { background: var(--accent-soft); color: var(--accent-dark); border-color: transparent; }
.btn--full { width: 100%; }

.pain__grid,
.process__grid,
.pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain-card,
.step-card,
.price-card,
.card,
.contact-form,
.quote-card,
.case-card__body,
.fact {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.pain-card {
  padding: 28px; border-radius: 26px; min-height: 220px;
}
.pain-card h3 { font-size: 28px; margin-bottom: 12px; }

.about__grid,
.contact__grid,
.faq__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.fact { padding: 22px; border-radius: 24px; }
.fact strong { display: block; font-size: 32px; font-weight: 800; color: var(--accent-dark); margin-bottom: 8px; }
.about__assurance { padding: 28px; border-radius: 30px; }
.about__media { position: relative; }
.about__media img { min-height: 630px; width: 100%; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); }
.quote-card {
  position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 24px; border-radius: 24px;
}
.quote-card p { color: var(--text); font-size: 18px; }

.cases__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.case-card {
  border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 16px 28px rgba(93, 60, 42, 0.08); transition: transform .35s ease, box-shadow .35s ease;
}
.case-card:hover { transform: translateY(-8px); box-shadow: 0 24px 42px rgba(93,60,42,.16); }
.case-card img { height: 250px; width: 100%; object-fit: cover; transition: transform .55s ease; }
.case-card:hover img { transform: scale(1.06); }
.case-card__body { padding: 26px; min-height: 224px; border: 0; box-shadow: none; background: #fff; }

.step-card {
  position: relative; padding: 28px; border-radius: 28px; overflow: hidden; min-height: 260px;
}
.step-card span {
  width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 20px;
  border-radius: 18px; background: var(--accent-soft); color: var(--accent-dark); font-size: 22px; font-weight: 800;
}

.price-card {
  padding: 30px; border-radius: 30px; position: relative;
}
.price-card--featured {
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(240,221,209,.85)); transform: translateY(-10px);
  border-color: rgba(140,94,74,.28);
}
.price-card__label {
  position: absolute; top: -14px; left: 24px; background: var(--accent-dark); color: #fff; border-radius: 999px; padding: 8px 14px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.price-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.price-card__top strong { font-size: 28px; color: var(--accent-dark); white-space: nowrap; }
.price-card ul { display: grid; gap: 10px; margin: 22px 0 26px; }
.price-card li { position: relative; padding-left: 26px; color: var(--text); }
.price-card li::before { content: '•'; position: absolute; left: 10px; top: 0; color: var(--accent); font-size: 22px; line-height: 1; }

.faq__items { display: grid; gap: 14px; }
.faq-item {
  border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.78); border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(93,60,42,.08);
}
.faq-question {
  width: 100%; background: none; border: none; padding: 22px 24px; text-align: left; cursor: pointer;
  font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text);
}
.faq-question span {
  width: 28px; height: 28px; position: relative; flex-shrink: 0;
}
.faq-question span::before,
.faq-question span::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; background: var(--accent-dark); transform: translate(-50%, -50%);
  transition: transform .3s ease;
}
.faq-question span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.active .faq-question span::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 24px;
}
.faq-item.active .faq-answer { padding-bottom: 22px; }

.contact__text { padding-right: 20px; }
.contact__list { display: grid; gap: 12px; margin-top: 26px; }
.contact__list li { padding-left: 28px; position: relative; color: var(--text); }
.contact__list li::before {
  content: ''; position: absolute; left: 0; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
}
.contact-form {
  padding: 30px; border-radius: 32px; background: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.64);
}
.field { display: grid; gap: 10px; margin-bottom: 18px; }
.field label { font-weight: 700; }
.field input,
.field textarea {
  width: 100%; border: 1px solid rgba(92, 64, 56, 0.14); background: rgba(255,255,255,.8); color: var(--text);
  border-radius: 18px; padding: 16px 18px; outline: none; transition: border-color .25s ease, box-shadow .25s ease;
}
.field input:focus,
.field textarea:focus { border-color: rgba(140,94,74,.5); box-shadow: 0 0 0 4px rgba(140,94,74,.12); }
.form-note { margin-top: 16px; font-size: 14px; }
.form-message { min-height: 24px; margin-top: 14px; font-weight: 700; }
.form-message.success { color: #2f7a45; }
.form-message.error { color: #a03636; }

.footer { padding: 36px 0 50px; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(82, 58, 51, 0.14);
}
.logo--footer small, .footer__copy { color: var(--muted); }
.footer__links { display: grid; gap: 10px; justify-items: end; color: var(--muted); }
.footer__links a:hover { color: var(--accent-dark); }

[data-reveal] {
  opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .pain__grid, .process__grid, .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__grid, .faq__grid { grid-template-columns: 1fr; }
  .about__media img { min-height: 500px; }
  .header__inner { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; }
}

@media (max-width: 760px) {
  .section { padding: 82px 0; }
  .header { top: 8px; }
  .header__inner { position: relative; padding: 14px 16px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header__phone { display: none; }
  .nav {
    position: absolute; left: 16px; right: 16px; top: calc(100% + 10px); display: none; flex-direction: column; gap: 10px;
    padding: 16px; border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .hero { padding-top: 140px; }
  .pain__grid, .process__grid, .pricing__grid, .cases__grid, .about__facts { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
  .case-card__body { min-height: auto; }
  .footer__links { justify-items: start; }
}
