/* =====================================================
   Сиделка Доверия — shared stylesheet
   ===================================================== */

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #fff;
  font-family: 'Lora', serif;
  color: #2d2f34;
  min-width: 0;
}

.page {
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img { width: 155px; height: auto; display: block; }

.logo-text { display: flex; flex-direction: column; }
.logo-name1 { font-size: 23px; font-weight: 600; color: #2d2f34; line-height: 1; }
.logo-name2 { font-size: 23px; font-weight: 600; color: #7d3245; line-height: 1; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 20px; }

.nav-link {
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  color: #2d2f34;
  padding: 10px 20px;
  border-radius: 100px;
  white-space: nowrap;
  line-height: 0.9;
}

.nav-link.active { background: #fdf6f0; }

.btn-sos {
  background: #b85c6e;
  color: #fff;
  width: 180px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-family: 'Lora', serif;
  font-weight: 400;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
}

/* ===== FOOTER ===== */
.footer {
  background: #4e8c72;
  position: relative;
  overflow: hidden;
  padding: 50px 80px;
  min-height: 292px;
  box-sizing: border-box;
}

.footer-mint {
  position: absolute;
  top: 0;
  left: calc(100% - 560px);
  right: 0;
  height: 100%;
  background: #7d3245;
  pointer-events: none;
}

.footer-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 238px 100px 234px 270px;
  column-gap: 91px;
  align-items: flex-start;
  min-height: 192px;
}

.footer-logo-col { width: 238px; margin-right: 0; display: flex; flex-direction: column; align-self: stretch; grid-column: 1; }
.footer-logo-col .footer-tagline:first-of-type { margin-top: auto; }

.footer-logo-row {
  display: flex; align-items: center;
  gap: 10px; margin-bottom: 20px;
}

.footer-logo-row img { width: 48px; }
.footer-logo-img {
  width: 155px !important;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-tagline { font-size: 16px; font-weight: 400; color: #fff; line-height: 1.1; margin-bottom: 10px; }
.footer-tagline:last-child { margin-bottom: 0; }

.footer-col { width: 100px; margin-right: 0; grid-column: 2; }
.footer-col-legal { width: 234px; grid-column: 3; }

.footer-col-title {
  font-size: 14px; font-weight: 500;
  color: #a3cfbc;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.footer-links a { font-size: 15px; font-weight: 400; color: #fff; text-decoration: none; line-height: 0.9; }

.footer-contact { width: 270px; margin-left: 58px; grid-column: 4; }

.footer-contact-title {
  font-size: 14px; font-weight: 500;
  color: #fff;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-social {
  margin-bottom: 40px;
  width: 136.548px;
  height: 24px;
}

.footer-social img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-line-label {
  font-size: 14px; font-weight: 500;
  color: #fff;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-phone { font-size: 32px; font-weight: 500; color: #fff; line-height: 1.1; }

/* ===== COPYRIGHT ===== */
.copyright {
  background: #2d2f34;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copyright p {
  font-size: 14px; font-weight: 400;
  color: #fff;
  letter-spacing: 0.28px;
  text-transform: uppercase;
}

/* =====================================================
   INDEX PAGE
   ===================================================== */

/* ===== HERO ===== */
.hero-section { padding: 50px 80px 0; position: relative; }

.hero-card {
  background: #fdf6f0;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  height: 418px;
  position: relative;
}

.hero-image { width: 522px; flex-shrink: 0; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.hero-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
  width: 758px;
  flex-shrink: 0;
}

.hero-title { font-size: 42px; font-weight: 500; color: #2d2f34; line-height: 1.1; }
.hero-title .accent { color: #7d3245; }

.btn-find {
  background: #4e8c72;
  color: #fff;
  border-radius: 100px;
  padding: 10px 20px;
  height: 42px;
  width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-family: 'Lora', serif;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.hero-badges { display: flex; align-items: center; gap: 16px; }

.hero-badge-text {
  font-size: 14px;
  font-weight: 400;
  color: #2d2f34;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  white-space: nowrap;
}

.diamond {
  width: 5px; height: 5px;
  background: #a3cfbc;
  transform: rotate(45deg);
  flex-shrink: 0;
  display: inline-block;
}

.hero-script {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-65%) rotate(-3.45deg);
  font-family: 'Dancing Script', cursive;
  font-size: 38px;
  color: #b85c6e;
  line-height: 1.25;
  text-align: center;
  pointer-events: none;
}

.hero-sign {
  position: absolute;
  right: 40px;
  top: 210px;
  width: 363px;
  height: 125px;
  pointer-events: none;
  object-fit: contain;
  z-index: 2;
}

/* ===== STATS ===== */
.stats-section { padding: 70px 79px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 17px;
}

.stat-card {
  width: auto;
  height: 262px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 9px;
  text-align: center;
}

.stat-circle-wrap {
  position: relative;
  width: 74px; height: 74px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.stat-circle-wrap img {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
}

.stat-num {
  position: relative; z-index: 1;
  font-size: 30px; font-weight: 700;
  color: #4e8c72; line-height: 1.1;
}

.stat-label {
  font-size: 14px; font-weight: 500;
  color: #2d2f34;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  margin-top: 22px;
  line-height: 1;
  padding: 0 10px;
}

.stat-desc {
  font-size: 23px; font-weight: 500;
  color: #2d2f34; line-height: 1.2;
  margin-top: 10px; width: 210px;
}

/* ===== SERVICES ===== */
.services-section {
  background: #e3f0ea;
  padding: 70px 0;
  margin-top: 70px;
}

.services-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.section-tag {
  text-align: center;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tag-wine { color: #7d3245; }

.section-title {
  text-align: center;
  font-size: 36px; font-weight: 500;
  color: #2d2f34; line-height: 1.1;
  margin-bottom: 50px;
}

.services-grid {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  width: 305px;
  min-height: 392px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 70px;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
}

.service-top { flex-shrink: 0; min-height: 96px; }

.service-title {
  font-size: 22px; font-weight: 600;
  color: #2d2f34; line-height: 1.1;
}

.service-desc {
  font-size: 14px; font-weight: 400;
  color: #2d2f34; line-height: 1.25;
  margin-top: 12px;
}

.service-img {
  width: calc(100% + 60px);
  height: auto;
  margin: 14px -30px 0;
  display: block;
}

.service-price {
  position: absolute;
  bottom: 30px; left: 30px;
  font-size: 19px; font-weight: 600;
  color: #2d2f34; line-height: 1.1;
  white-space: nowrap;
}

.service-arrow {
  position: absolute;
  bottom: 34px; right: 30px;
  width: 11px; height: 11px;
  border-right: 2px solid #2d2f34;
  border-top: 2px solid #2d2f34;
  transform: rotate(45deg);
}

/* ===== PHILOSOPHY ===== */
.philosophy-section { padding: 46px 80px; }

.philosophy-card {
  background: #fdf6f0;
  border-radius: 30px;
  padding: 64px 80px 56px;
  text-align: center;
  position: relative;
}

.phil-tag {
  font-size: 14px; font-weight: 500;
  color: #7d3245;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.phil-quote {
  font-size: 36px; font-weight: 500;
  color: #2d2f34; line-height: 1.1;
  max-width: 900px;
  margin: 0 auto 10px;
}

.phil-sig-wrap {
  display: flex;
  justify-content: flex-end;
  max-width: 900px;
  margin: 0 auto 20px;
  padding-right: 26px;
}

.phil-sig-img {
  height: 82px;
  width: auto;
  display: block;
  object-fit: contain;
}

.phil-sig {
  font-family: 'Dancing Script', cursive;
  font-size: 38px; color: #4e8c72;
  display: inline-block;
  transform: rotate(-2.4deg);
}

.btn-story {
  background: #4e8c72; color: #fff;
  border-radius: 100px;
  padding: 10px 20px;
  height: 42px; width: 272px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 15px;
  font-family: 'Lora', serif;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.phil-mark {
  position: absolute;
  right: 50px;
  bottom: 20px;
  width: 55px;
  height: 47px;
  object-fit: contain;
  pointer-events: none;
}

/* =====================================================
   PRICING PAGE
   ===================================================== */

/* ===== PAGE TITLE ===== */
.page-title-section {
  padding: 38px 80px 30px;
  text-align: center;
}

.section-supertag {
  font-size: 14px;
  font-weight: 500;
  color: #7d3245;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-title {
  font-size: 42px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1.1;
}

.page-title-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* ===== PRICING TABLE ===== */
.pricing-table-wrap { padding: 0 80px 60px; }

.pricing-card {
  background: #fdf6f0;
  border-radius: 30px;
  overflow: hidden;
}

.pricing-header-row {
  background: #b85c6e;
  height: 60px;
  display: flex;
  align-items: center;
}

.pricing-header-row .col-type {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  padding-left: 108px;
  flex: 1;
}

.pricing-header-row .col-price {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  width: 320px;
  padding-right: 40px;
}

.pricing-row {
  display: flex;
  align-items: center;
  min-height: 80px;
  border-bottom: 1px solid #b85c6e;
}

.pricing-row--last { border-bottom: none; }

.pricing-row .col-type {
  font-size: 22px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1.1;
  padding: 16px 40px 16px 108px;
  flex: 1;
}

.pricing-row .col-price {
  font-size: 22px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1.1;
  width: 320px;
  white-space: nowrap;
  padding-right: 40px;
}

.pricing-footer-row {
  background: #f1dee2;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-footer-row p {
  font-size: 15px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1.1;
}

/* ===== DUTIES ===== */
.duties-section { padding: 60px 80px; }

.duties-card {
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 468px;
}

.duties-content {
  flex: 0 0 58%;
  padding: 56px 0;
}

.duties-tag {
  font-size: 14px;
  font-weight: 500;
  color: #7d3245;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.duties-title {
  font-size: 36px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1.1;
  margin-bottom: 30px;
}

.duties-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 470px;
}

.duty-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  cursor: default;
  transition: transform .25s ease;
}

.duty-item::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 14px;
  margin-top: 4px;
  border-right: 2.5px solid #4e8c72;
  border-bottom: 2.5px solid #4e8c72;
  transform: rotate(45deg);
  transition: transform .25s ease, border-color .25s ease;
}

.duty-text {
  font-size: 15px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1.2;
  transition: color .2s ease;
}

.duty-item:hover { transform: translateX(4px); }
.duty-item:hover::before {
  border-color: #7d3245;
  transform: rotate(45deg) scale(1.15);
}
.duty-item:hover .duty-text { color: #7d3245; }

.duties-image {
  flex: 0 0 42%;
  overflow: hidden;
  height: 468px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.duties-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== TRANSPARENT PRICING ===== */
.transparent-section {
  padding: 0 80px 60px;
  text-align: center;
}

.transparent-title {
  font-size: 42px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1.1;
  margin-bottom: 12px;
}

.transparent-note {
  font-size: 14px;
  font-weight: 400;
  color: #2d2f34;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.surcharge-grid {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.surcharge-card {
  background: #fdf6f0;
  border-radius: 30px;
  overflow: hidden;
  flex: 1;
  padding: 43px 60px 40px;
  min-height: 350px;
  position: relative;
}

.surcharge-icon {
  position: absolute;
  top: 26px;
  right: 30px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.surcharge-icon-img {
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.surcharge-card--weight .surcharge-icon-img {
  width: 32px;
  height: 36px;
  background-image: url("../images/surcharge-weight.png");
}

.surcharge-card--special .surcharge-icon-img {
  width: 27px;
  height: 34px;
  background-image: url("../images/surcharge-special.png");
}

.surcharge-card--time .surcharge-icon-img {
  width: 38px;
  height: 46px;
  background-image: url("../images/surcharge-time.png");
}

/* legacy sprite fallback (kept intentionally unused) */
.surcharge-icon-img--sprite {
  display: block;
  background-image: url("../images/surcharge-sprite.png");
  background-repeat: no-repeat;
}

.surcharge-title {
  font-size: 22px;
  font-weight: 600;
  color: #2d2f34;
  line-height: 1.1;
  margin-bottom: 30px;
}

.surcharge-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.surcharge-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.surcharge-range {
  background: #fff;
  border-radius: 100px;
  padding: 10px 20px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  color: #2d2f34;
  letter-spacing: 0.6px;
  white-space: nowrap;
  min-width: 0;
  width: 100%;
}

.surcharge-pct {
  background: #f1dee2;
  border-radius: 100px;
  padding: 4px 14px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 400;
  color: #2d2f34;
  white-space: nowrap;
  min-width: 108px;
}

.surcharge-text {
  font-size: 18px;
  font-weight: 400;
  color: #2d2f34;
  line-height: 1.1;
  margin-bottom: 20px;
}

.surcharge-badge {
  background: #f1dee2;
  border-radius: 100px;
  padding: 4px 14px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  font-size: 30px;
  font-weight: 400;
  color: #2d2f34;
  white-space: nowrap;
  margin-bottom: 16px;
}

.surcharge-list {
  list-style: disc;
  padding-left: 27px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.surcharge-list li {
  font-size: 18px;
  font-weight: 400;
  color: #2d2f34;
  line-height: 1.1;
}

/* ===== HOW TO START + CTA (объединённая секция) ===== */
.howto-cta-section {
  background: #fdf6f0;
  padding: 80px 80px 0;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.howto-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.howto-label-col {
  flex: 0 0 220px;
  padding-top: 20px;
}

.howto-title {
  font-size: 42px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1.1;
  max-width: 260px;
}

.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 305px);
  gap: 20px;
  justify-content: end;
  flex: 1;
}

.step-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  padding: 40px;
  min-height: 288px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: default;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -18px rgba(78, 140, 114, .35);
}

.step-num {
  position: absolute;
  bottom: 30px;
  left: 40px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fdf6f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1;
  transition: background .3s ease, color .3s ease;
}

.step-card:hover .step-num {
  background: #4e8c72;
  color: #fff;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-title {
  font-size: 23px;
  font-weight: 600;
  color: #4e8c72;
  line-height: 1.1;
}

.step-desc {
  font-size: 15px;
  font-weight: 400;
  color: #2d2f34;
  line-height: 1.2;
}

/* ===== CTA внутри объединённой секции ===== */
.cta-block {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  margin-top: 60px;
  position: relative;
}

.cta-image {
  flex: 0 0 auto;
  width: 499px;
  height: 455px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.cta-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform .5s ease;
}

.cta-block:hover .cta-image img { transform: scale(1.03); }

.cta-content {
  flex: 1;
  padding: 0 0 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.cta-title {
  font-size: 42px;
  font-weight: 400;
  color: #2d2f34;
  line-height: 1.1;
  text-align: center;
  max-width: 674px;
}

.btn-consult {
  background: #4e8c72;
  color: #fff;
  border-radius: 100px;
  padding: 10px 20px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-family: 'Lora', serif;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .25s ease;
}

.btn-consult:hover { background: #3f7460; }
.btn-consult:active { background: #346150; }

/* =====================================================
   HOVER STATES & MICRO-INTERACTIONS
   ===================================================== */

/* плавность по умолчанию */
a, button, .nav-link, .btn-sos, .btn-find, .btn-consult, .btn-story,
.surcharge-card, .surcharge-range, .surcharge-pct, .surcharge-badge,
.pricing-row, .service-card, .duty-pill, .stat-card,
.footer-links a, .logo, .footer-logo-row {
  transition: background-color .25s ease, color .25s ease,
              transform .25s ease, box-shadow .3s ease, opacity .2s ease;
}

/* nav */
.nav-link:hover { background: #fdf6f0; }
.nav-link.active { background: #fdf6f0; }
.nav-link.active:hover { background: #f1dee2; }

/* sos button */
.btn-sos:hover { background: #a44e5f; }
.btn-sos:active { background: #8c3f4e; }

/* find / story buttons */
.btn-find:hover, .btn-story:hover { background: #3f7460; }
.btn-find:active, .btn-story:active { background: #346150; }

/* logo */
.logo:hover { transform: scale(1.02); }

/* pricing rows */
.pricing-row { cursor: default; }
.pricing-row:hover {
  background: #fff;
}
.pricing-row:hover .col-price {
  color: #7d3245;
  letter-spacing: .3px;
}

/* surcharge cards — приподнимаются с тенью */
.surcharge-card { cursor: default; }
.surcharge-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -22px rgba(125, 50, 69, .3);
}
.surcharge-card:hover .surcharge-icon { transform: rotate(-8deg) scale(1.08); }
.surcharge-icon { transition: transform .35s ease; will-change: transform; }

.surcharge-range:hover {
  background: #4e8c72;
  color: #fff;
  cursor: pointer;
}

.surcharge-pct, .surcharge-badge { transition: background .25s ease, transform .25s ease; }
.surcharge-card:hover .surcharge-pct,
.surcharge-card:hover .surcharge-badge {
  background: #b85c6e;
  color: #fff;
}

/* service cards (главная) */
.service-card { cursor: pointer; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -20px rgba(45, 47, 52, .25);
}
.service-card:hover .service-arrow {
  transform: rotate(45deg) translate(3px, -3px);
  border-color: #4e8c72;
}
.service-arrow { transition: transform .25s ease, border-color .25s ease; }

/* stat cards */
.stat-card:hover { transform: translateY(-4px); }
.stat-card:hover .stat-circle-wrap { transform: rotate(8deg); }
.stat-circle-wrap { transition: transform .35s ease; }

/* footer links */
.footer-links a:hover { color: #a3cfbc; padding-left: 4px; }
.footer-links a { transition: color .2s ease, padding .2s ease; }

.footer-phone { transition: color .2s ease; }
.footer-phone:hover { color: #a3cfbc; cursor: pointer; }

.footer-social img:hover { opacity: .8; cursor: pointer; }
.footer-social img { transition: opacity .2s ease; }

/* page-title — лёгкое появление при загрузке */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-title-section .section-supertag { animation: fade-up .6s ease both; }
.page-title { animation: fade-up .7s ease .05s both; }

/* плавное появление карточек при скролле в зоне видимости */
.surcharge-card, .step-card, .pricing-card {
  animation: fade-up .6s ease both;
}
.surcharge-card:nth-child(2) { animation-delay: .08s; }
.surcharge-card:nth-child(3) { animation-delay: .16s; }
.step-card:nth-child(2) { animation-delay: .06s; }
.step-card:nth-child(3) { animation-delay: .12s; }
.step-card:nth-child(4) { animation-delay: .18s; }
.step-card:nth-child(5) { animation-delay: .24s; }
.step-card:nth-child(6) { animation-delay: .30s; }

/* =====================================================
   SERVICE SUB-PAGES (dementia, etc.)
   ===================================================== */

/* ===== TABS ===== */
.service-tabs {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 80px;
  margin-bottom: 0;
}

.service-tab {
  font-size: 15px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1;
  text-decoration: none;
  padding: 10px 20px 12px;
  border-bottom: 2px solid #e0e0e1;
  white-space: nowrap;
  transition: border-color .25s ease, color .25s ease;
}

.service-tab:hover {
  border-color: #b85c6e;
  color: #7d3245;
}

.service-tab--active {
  border-color: #2d2f34;
}

.service-tab--active:hover {
  border-color: #2d2f34;
  color: #2d2f34;
}

/* ===== SVC HERO CARD ===== */
.svc-hero-section {
  background: #fdf6f0;
  padding: 50px 80px;
  margin: 0 auto;
}

.svc-hero-card {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1280px;
  margin: 0 auto;
}

.svc-hero-image {
  flex: 0 0 454px;
  height: 420px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid #b85c6e;
}

.svc-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.svc-hero-card:hover .svc-hero-image img { transform: scale(1.04); }

.svc-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.svc-hero-title {
  font-size: 32px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1.1;
}

.svc-hero-desc {
  font-size: 17px;
  font-weight: 400;
  color: #2d2f34;
  line-height: 1.25;
  max-width: 520px;
}

/* ===== SVC DUTIES (2-column grid) ===== */
.svc-duties-section {
  padding: 80px 80px 60px;
}

.svc-duties-title {
  font-size: 34px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 50px;
}

.svc-duties-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.svc-duties-col {
  flex: 0 0 calc(50% - 20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.svc-duty-row {
  display: flex;
  align-items: center;
  gap: 25px;
  transition: transform .25s ease;
  cursor: default;
}

.svc-duty-row:hover { transform: translateX(4px); }

.svc-duty-icon-wrap {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 10px;
  border: 3px solid #fdf6f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: border-color .25s ease;
}

.svc-duty-row:hover .svc-duty-icon-wrap { border-color: #4e8c72; }

.svc-duty-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.svc-duty-text {
  font-size: 17px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1.25;
  max-width: 420px;
  transition: color .2s ease;
}

.svc-duty-row:hover .svc-duty-text { color: #4e8c72; }

/* ===== SVC ADVANTAGES ===== */
.svc-advantages-section {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 40px 80px 60px;
}

.svc-advantages-left {
  flex: 0 0 480px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.svc-advantages-title {
  font-size: 34px;
  font-weight: 500;
  color: #2d2f34;
  line-height: 1.1;
  max-width: 371px;
}

.svc-advantages-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svc-adv-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 17px;
  font-weight: 600;
  color: #2d2f34;
  line-height: 1.25;
  padding: 16px 22px;
  border-radius: 16px;
  background: #fff;
  transition: background .25s ease, transform .2s ease;
  cursor: default;
}

.svc-adv-item::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e8c72' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.svc-adv-item:hover {
  background: #fdf6f0;
  transform: translateX(4px);
}

/* кнопка «получить консультацию» в стиле btn-sos (красная) */
.btn-sos-inline {
  background: #b85c6e;
  color: #fff;
  border-radius: 100px;
  padding: 10px 20px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-family: 'Lora', serif;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  align-self: flex-start;
  transition: background .25s ease;
}

.btn-sos-inline:hover { background: #a44e5f; }
.btn-sos-inline:active { background: #8c3f4e; }

.svc-advantages-image {
  flex: 0 0 440px;
  height: 466px;
  border-radius: 40px;
  overflow: hidden;
  background: #b85c6e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-advantages-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.svc-advantages-image:hover img { transform: scale(1.04); }

/* ===== CTA LINKS (under CTA block) ===== */
.cta-links {
  display: flex;
  align-items: center;
  gap: 60px;
}

.cta-link {
  font-size: 18px;
  font-weight: 400;
  color: #2d2f34;
  text-decoration: underline;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .25s ease;
}

.cta-link:hover { color: #4e8c72; }

.cta-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease;
}

.cta-link:hover .cta-arrow { transform: rotate(45deg) translate(2px, -2px); }

/* pricing page: tighten and center CTA block between steps and footer */
.howto-cta-section--pricing {
  padding-top: 60px;
  padding-bottom: 36px;
}

.howto-cta-section--pricing .cta-block {
  margin-top: 34px;
  align-items: center;
}

.howto-cta-section--pricing .cta-content {
  padding-bottom: 0;
  justify-content: center;
  gap: 30px;
}

/* service pages: smaller CTA typography to match layout scale */
.howto-cta-section--service .cta-block {
  margin-top: 44px;
}

.howto-cta-section--service .cta-content {
  padding-bottom: 68px;
  gap: 28px;
}

.howto-cta-section--service .cta-title {
  font-size: 30px;
  line-height: 1.12;
  max-width: 560px;
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-hero {
  padding: 40px 80px 60px;
  text-align: center;
}

.about-hero-text {
  font-size: 20px;
  line-height: 1.3;
  max-width: 900px;
  margin: 24px auto 32px;
}

.about-values {
  padding: 0 80px 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card {
  background: #fdf6f0;
  border-radius: 24px;
  padding: 30px;
}

.about-card-title {
  color: #4e8c72;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.about-card-text {
  font-size: 18px;
  line-height: 1.3;
}

/* =====================================================
   SAFETY PAGE
   ===================================================== */
.safety-intro-section {
  max-width: 1140px;
  margin: 0 auto;
}

.safety-intro-text {
  max-width: 760px;
  margin: 34px auto 0;
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
  color: #2d2f34;
  text-align: center;
}

.safety-section.safety-system {
  background: #579a7d;
  border-radius: 26px;
  max-width: 1110px;
  margin: 56px auto 90px;
  padding: 40px 54px 46px;
  color: #fff;
}

.safety-system-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 34px;
}

.safety-system-tag {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1;
}

.safety-system-title {
  margin: 0;
  font-size: 50px;
  line-height: 1.04;
  font-weight: 500;
}

.safety-system-badge {
  text-align: right;
  margin-top: 8px;
  flex-shrink: 0;
}

.safety-system-badge-top {
  font-family: 'Dancing Script', cursive;
  font-size: 62px;
  line-height: 0.95;
  color: #f6fbff;
}

.safety-system-badge-bottom {
  font-size: 15px;
  line-height: 1;
  color: #f6fbff;
  text-transform: lowercase;
}

.safety-system-grid {
  display: grid;
  grid-template-columns: 345px 176px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.safety-system-image-wrap {
  border-radius: 44px;
  overflow: hidden;
  height: 331px;
}

.safety-system-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.safety-system-steps {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 6px;
}

.safety-system-step {
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 78px;
  font-size: 17px;
  line-height: 1.12;
  font-weight: 600;
  color: #2d2f34;
  padding: 10px 14px;
  overflow-wrap: anywhere;
}

.safety-system-step.step-light {
  background: #f0e9e2;
}

.safety-system-step.step-rose {
  background: #bc5f73;
  color: #fff;
}

.safety-system-step.step-burgundy {
  background: #84374b;
  color: #fff;
}

.safety-system-step.step-mint {
  background: #a5cfc1;
}

.safety-system-texts {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 6px;
  align-items: stretch;
  min-width: 0;
}

.safety-system-text {
  margin: 0;
  min-height: 78px;
  font-size: 15px;
  line-height: 1.17;
  display: flex;
  align-items: center;
}

.faq-section {
  padding: 0 80px 70px;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin: 30px auto;
  max-width: 1060px;
}

.faq-item {
  text-align: left;
  border-radius: 20px;
  background: #fdf6f0;
  padding: 0;
  border: 1px solid #ece3db;
  overflow: hidden;
}

.faq-question {
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
  list-style: none;
  cursor: pointer;
  padding: 26px 72px 26px 30px;
  position: relative;
}

.faq-answer {
  font-size: 18px;
  line-height: 1.22;
  padding: 0 30px 26px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  line-height: 1;
  color: #2d2f34;
  transition: transform .2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: translateY(-50%);
}

.faq-item:not([open]) .faq-answer {
  display: none;
}

.faq-section-safety .transparent-title {
  font-size: 52px;
  line-height: 1.1;
}

.faq-section-safety .faq-list {
  max-width: 880px;
  margin-top: 28px;
}

.faq-section-safety .faq-item {
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #e6ddd4;
}

.faq-section-safety .faq-item:last-child {
  border-bottom: 1px solid #e6ddd4;
}

.faq-section-safety .faq-question {
  font-size: 15px;
  line-height: 1.1;
  font-weight: 700;
  padding: 16px 46px 16px 0;
}

.faq-section-safety .faq-question::after {
  right: 4px;
  font-size: 24px;
}

.faq-section-safety .faq-answer {
  font-size: 15px;
  line-height: 1.35;
  padding: 2px 0 16px;
  max-width: 820px;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-intro {
  max-width: 720px;
  margin: 20px auto 0;
  font-size: 16px;
  line-height: 1.3;
}

.contact-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 80px 56px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 20px;
}

.contact-card {
  border-radius: 24px;
  background: #fdf6f0;
  padding: 26px;
}

.contact-card-title {
  font-size: 18px;
  color: #7d3245;
  margin-bottom: 14px;
  line-height: 1.15;
}

.contact-main-value {
  font-size: 32px;
  line-height: 1.16;
  margin-bottom: 14px;
}

.contact-main-value--phone {
  font-size: 28px;
  line-height: 1.15;
}

.contact-main-value--address {
  font-size: 24px;
  line-height: 1.2;
}

.contact-meta {
  font-size: 14px;
  line-height: 1.3;
}

.contact-meta--email {
  font-size: 16px;
}

.contact-form {
  border-radius: 24px;
  background: #fdf6f0;
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contact-form-title {
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.input-wrap {
  width: 100%;
}

.contact-form input {
  width: 100%;
  height: 60px;
  border-radius: 14px;
  border: 1px solid #d8d1cb;
  padding: 0 24px;
  font-family: 'Lora', serif;
  font-size: 15px;
}

.contact-form .btn-find {
  margin-top: 6px;
}

.contact-form-note {
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  max-width: 550px;
  margin-top: 4px;
}

.map-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 80px 70px;
}

.map-section iframe {
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: 24px;
}

/* =====================================================
   LEGAL PAGE
   ===================================================== */
.legal-title {
  padding-bottom: 10px;
}

.legal-content {
  padding: 0 80px 70px;
}

.legal-block {
  background: #fdf6f0;
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 20px;
}

.legal-block h2 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.legal-block p {
  font-size: 18px;
  line-height: 1.35;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .page {
    max-width: 100%;
  }

  .header {
    padding: 14px 24px;
    height: auto;
    gap: 14px;
    flex-wrap: wrap;
  }

  .nav {
    gap: 8px;
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-link {
    padding: 8px 14px;
  }

  .btn-sos {
    width: auto;
    padding: 0 18px;
  }

  .hero-section,
  .stats-section,
  .philosophy-section,
  .page-title-section,
  .pricing-table-wrap,
  .duties-section,
  .transparent-section,
  .howto-cta-section,
  .service-tabs,
  .svc-hero-section,
  .svc-duties-section,
  .svc-advantages-section,
  .about-hero,
  .about-values,
  .safety-section,
  .faq-section,
  .contact-main,
  .map-section,
  .legal-content,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-card {
    height: auto;
  }

  .hero-image {
    width: 40%;
  }

  .hero-content {
    width: 60%;
    padding: 40px 30px;
  }

  .services-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .surcharge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .surcharge-card {
    min-height: 0;
  }

  .surcharge-card--time {
    grid-column: 1 / -1;
  }

  .service-card {
    width: calc(50% - 12px);
    min-width: 280px;
  }

  .howto-layout,
  .cta-block,
  .svc-hero-card,
  .svc-advantages-section,
  .duties-card {
    flex-direction: column;
  }

  .howto-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .howto-title {
    max-width: none;
  }

  .cta-image {
    width: 100%;
    height: auto;
    max-width: 560px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 40px;
  }

  .footer-logo-col,
  .footer-col,
  .footer-col-legal,
  .footer-contact {
    width: 100%;
    margin: 0;
    grid-column: auto;
  }

  .footer-mint {
    left: 58%;
  }

  .contact-main {
    grid-template-columns: 1fr;
  }

  .safety-section.safety-system {
    margin: 40px 24px 70px;
    padding: 30px 24px;
  }

  .safety-system-title {
    font-size: 40px;
  }

  .safety-system-badge-top {
    font-size: 48px;
  }

  .safety-system-badge-bottom {
    font-size: 14px;
  }

  .safety-system-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .safety-system-image-wrap {
    max-width: 520px;
    width: 100%;
    height: auto;
    aspect-ratio: 408 / 394;
    margin: 0 auto;
  }

  .safety-system-steps,
  .safety-system-texts {
    grid-template-rows: none;
  }

  .safety-system-step {
    min-height: 68px;
    font-size: 17px;
  }

  .safety-system-text {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px 18px;
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .surcharge-grid {
    grid-template-columns: 1fr;
  }

  .surcharge-card--time {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .section-title,
  .phil-quote,
  .page-title,
  .transparent-title,
  .howto-title,
  .cta-title,
  .svc-hero-title,
  .svc-duties-title,
  .svc-advantages-title,
  .contact-form-title,
  .legal-block h2 {
    font-size: 30px;
  }

  .hero-card {
    flex-direction: column;
  }

  .hero-image,
  .hero-content {
    width: 100%;
  }

  .hero-content {
    gap: 22px;
  }

  .hero-sign {
    display: none;
  }

  .hero-badges,
  .page-title-badges {
    flex-wrap: wrap;
    justify-content: center;
  }

  .services-grid,
  .about-values,
  .howto-grid,
  .svc-duties-grid,
  .surcharge-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-card,
  .stat-card {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .pricing-header-row .col-type,
  .pricing-row .col-type {
    padding-left: 20px;
  }

  .pricing-header-row .col-price,
  .pricing-row .col-price {
    width: 160px;
    font-size: 17px;
    padding-right: 20px;
  }

  .pricing-row .col-type {
    font-size: 18px;
  }

  .safety-system-header {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .safety-system-title {
    font-size: 32px;
  }

  .safety-system-badge {
    text-align: left;
    margin-top: 0;
  }

  .safety-system-badge-top {
    font-size: 40px;
  }

  .safety-system-badge-bottom {
    font-size: 14px;
  }

  .safety-system-step {
    font-size: 19px;
    min-height: 62px;
  }

  .faq-question {
    font-size: 24px;
  }

  .contact-main-value {
    font-size: 24px;
  }

  .contact-main-value--phone {
    font-size: 24px;
  }

  .contact-main-value--address {
    font-size: 20px;
  }

  .map-section iframe {
    height: 360px;
  }

  .footer-mint {
    left: 0;
    top: auto;
    height: 38%;
  }

  .footer-logo-col,
  .footer-col,
  .footer-col-legal,
  .footer-contact {
    width: 100%;
    grid-column: auto;
  }

  .copyright {
    height: auto;
    padding: 14px;
    text-align: center;
  }
}
