:root {
  --bg: #fdf9f3;
  --bg-tinted: #eef7f5;
  --blue-soft: #a8d8e8;
  --mint: #5ec4b6;
  --mint-dark: #3ba99b;
  --navy: #1d3557;
  --yellow: #ffd97a;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(29, 53, 87, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--navy);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint-dark); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 249, 243, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(29,53,87,.06);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; line-height: 1.2; }
.logo__img { width: 60px; height: auto; }
.logo__icon { font-size: 30px; color: var(--yellow); text-shadow: 0 0 12px rgba(255,217,122,.8); }
.logo__text small { font-weight: 400; font-size: 12px; color: var(--mint-dark); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__link { text-decoration: none; color: var(--navy); font-weight: 500; }
.nav__link:hover { color: var(--mint-dark); }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.burger span { display: block; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary { background: var(--blue-soft); color: var(--navy); }
.btn--accent { background: var(--mint); color: #fff; }
.btn--accent:hover { background: var(--mint-dark); }
.btn--messenger { background: var(--white); border-color: var(--blue-soft); color: var(--navy); }
.btn--max { border-color: var(--yellow); }
.btn--big { min-height: 54px; padding: 15px 32px; font-size: 18px; }
.btn__ico { width: 22px; height: 22px; flex-shrink: 0; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
h1 { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.15; margin-bottom: 18px; }
.hero__subtitle { font-size: 20px; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__phone { font-size: 18px; }
.hero__phone a { color: var(--navy); font-weight: 700; }
.hero__image img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-height: 480px; object-fit: cover; }

/* Notice */
.notice {
  background: #fff8e3; border-left: 5px solid var(--yellow);
  border-radius: 12px; padding: 16px 20px; margin: 24px auto;
}

/* Sections */
.section { padding: 56px 0; }
.section--tinted { background: var(--bg-tinted); }
h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 24px; }
.section__lead { font-size: 18px; max-width: 720px; margin-bottom: 28px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.feature { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature__icon { font-size: 30px; }
.feature h3 { font-size: 17px; margin: 10px 0 6px; }
.feature p { font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; list-style: none; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--yellow); color: var(--navy); font-weight: 800; font-size: 18px; margin-bottom: 10px;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; margin-bottom: 24px; align-items: stretch; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; height: 100%; }
.card__img { background: var(--bg-tinted); aspect-ratio: 4 / 3; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { font-size: 20px; }
.card__body h4 { font-size: 15px; margin-top: 10px; color: var(--mint-dark); text-transform: uppercase; letter-spacing: .04em; }
.card__terms { padding-left: 20px; font-size: 15px; }
.card__features { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; }
.card__features li { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.stars { color: #f2b01e; font-size: 15px; letter-spacing: 2px; white-space: nowrap; }
.stars__dim { color: #d8dee6; }
.card__note { background: #fff8e3; border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.card__note--warning { background: #fdecea; border-left: 4px solid #e0907f; }
.card__btn { margin-top: auto; align-self: flex-start; margin-top: 16px; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--blue-soft), var(--mint)); padding: 56px 0; text-align: center; }
.cta__inner h2 { margin-bottom: 10px; }
.cta__inner p { font-size: 19px; margin-bottom: 22px; }
.cta .btn--accent { background: var(--navy); }

/* Accordion */
.accordion details { background: var(--white); border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 12px; padding: 4px 20px; }
.accordion summary { cursor: pointer; font-weight: 600; padding: 14px 0; font-size: 17px; list-style: none; }
.accordion summary::before { content: "+"; color: var(--mint-dark); font-weight: 800; margin-right: 10px; }
.accordion details[open] summary::before { content: "−"; }
.accordion details p { padding: 0 0 16px; }
.faq-answer { padding: 0 0 16px; }
.faq-answer p { padding: 0 0 10px; }
.faq-list { padding-left: 20px; margin-bottom: 10px; }
.faq-list li { margin-bottom: 6px; }
.faq-list--check li::marker { content: "✅ "; }
.faq-list--cross li::marker { content: "❌ "; }
.faq-note { background: #eef7f5; border-radius: 10px; padding: 10px 14px; font-size: 15px; margin-top: 8px; }
.faq-alert { background: #fdecea; border-left: 4px solid #e0907f; border-radius: 10px; padding: 10px 14px; margin-top: 8px; }
.faq-model { background: var(--bg-tinted); border-radius: 12px; padding: 14px 16px; margin: 10px 0; }
.faq-model h5 { font-size: 16px; margin-bottom: 6px; color: var(--mint-dark); }
.faq-model p { padding: 0; }

/* Certificates */
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 24px; }
.cert { text-align: center; }
.cert img {
  width: 100%; max-width: 320px; height: auto; border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .2s; cursor: pointer;
}
.cert img:hover { transform: scale(1.03); }
.cert figcaption { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--navy); }

/* Contacts */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contacts__list { list-style: none; margin: 18px 0; display: grid; gap: 10px; }
.contacts__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contacts__form { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

form label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 15px; }
form input[type="text"], form input[type="tel"], form select, form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 2px solid #dbe7ec;
  border-radius: 12px; font: inherit; font-weight: 400; background: #fbfdfd; color: var(--navy);
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--mint); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status--ok { color: var(--mint-dark); }
.form-status--err { color: #c0392b; }
button[disabled] { opacity: .6; cursor: wait; }

/* Footer */
.footer { background: var(--navy); color: #dce8f5; padding: 34px 0; text-align: center; font-size: 15px; }
.footer a { color: var(--yellow); }
.footer__disclaimer { margin-top: 10px; font-size: 13px; opacity: .85; }

/* Floating buttons */
.floating { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; z-index: 90; }
.floating__btn {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; text-decoration: none; color: #fff; box-shadow: var(--shadow); overflow: hidden;
}
.floating__btn img { width: 100%; height: 100%; object-fit: contain; display: block; }
.floating__btn--call { background: var(--mint); }
.floating__btn--tg, .floating__btn--max { background: transparent; }

@media (min-width: 761px) {
  .floating__btn--call { display: none; } /* звонок — только на мобильных */
}

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; background: var(--bg);
    flex-direction: column; align-items: stretch; padding: 18px 20px 26px; gap: 6px;
    box-shadow: 0 12px 24px rgba(29,53,87,.12); display: none;
  }
  .nav--open { display: flex; }
  .nav__link, .nav__cta { padding: 12px 6px; min-height: 44px; display: flex; align-items: center; }
  .nav__cta { justify-content: center; margin-top: 8px; }
  .hero { padding: 34px 0 24px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .contacts { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
}
