/* === Шаг 4: основные страницы (подключается после style.css) === */

.section--tight { padding: 56px 0; }
.center-actions { text-align: center; margin: 24px 0 0; }
.note { margin: 24px 0 0; color: var(--muted); font-size: .98rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; margin-top: 16px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .cta-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.cta-band .cta-ghost:hover { background: #fff; color: var(--brown-dark); }

/* Герой */
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero__flags { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.hero__flags li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--brown-dark); }
.hero__flags .flag { width: 30px; height: 20px; }
.hero__visual { display: grid; place-items: center; min-height: 380px; }
.hero__frame { position: relative; width: min(100%, 380px); aspect-ratio: 1; display: grid; place-items: center; }
.hero__frame-star { position: absolute; inset: -14%; width: 128%; height: 128%; color: var(--gold); stroke-width: .5; opacity: .7; max-width: none; }
.hero__arch {
  position: relative; width: 78%; aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 14%;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border-radius: 999px 999px 28px 28px; border: 6px solid var(--sand);
  box-shadow: var(--shadow-lg);
}
.hero__arch img { width: 100%; height: auto; object-fit: contain; }
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; max-width: 220px;
  padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-md);
  font-size: .85rem; font-weight: 700; line-height: 1.25; color: var(--brown-dark);
  animation: float-y 5s ease-in-out infinite;
}
.float-chip svg { width: 20px; height: 20px; flex: none; color: #1E8E4E; }
.float-chip--a { left: 0; top: 10%; }
.float-chip--b { right: 0; bottom: 8%; animation-delay: -2.5s; }
@keyframes float-y { 50% { transform: translateY(-8px); } }
@media (max-width: 899px) {
  .hero__visual { min-height: 0; padding: 24px 0 8px; }
  .hero__frame { width: min(78%, 300px); }
  .float-chip--a { left: -4px; }
  .float-chip--b { right: -4px; }
}
@media (max-width: 400px) { .float-chip { max-width: 170px; font-size: .78rem; padding: 8px 12px; } }

/* Блоки */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.adv-box { background: #fff; border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--sand); }
.adv-box h3 { margin-bottom: 20px; }
.why-grid { gap: 32px 48px; }
.countries-grid .country-card__title { font-size: 1.3rem; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 639px) { .adv-box { padding: 26px 22px; } }

/* Услуги */
.svc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.svc--rev .svc__text { order: 2; }
.svc__sub { font-size: 1.1rem; margin: 28px 0 14px; }
.svc__btn { margin: 32px 0 0; }
.svc__visual {
  position: relative; aspect-ratio: 1; max-width: 360px; width: 100%; margin: 0 auto;
  display: grid; place-items: center; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%); color: #fff; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.svc__star { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .14); stroke-width: .5; }
.svc__num { position: absolute; left: 24px; top: 8px; font: 700 6rem/1 var(--font-head); color: rgba(255, 255, 255, .22); }
.svc__icon { position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); }
.svc__icon svg { width: 52px; height: 52px; }
@media (max-width: 899px) {
  .svc { grid-template-columns: 1fr; gap: 32px; }
  .svc--rev .svc__text { order: 0; }
  .svc__visual { max-width: 260px; }
}
.docs-grid .card:hover, .age-card:hover { transform: none; }
.age-card { text-align: center; }
.age-card__val { font: 700 1.6rem/1.2 var(--font-head); color: var(--brown); margin: 0; }
.accordion { margin-top: 32px; }

/* Отзывы */
.masonry { columns: 3; column-gap: 24px; }
.masonry .review-card { height: auto; break-inside: avoid; margin: 0 0 24px; }
.review-card { margin: 0; }
.review-card__text { margin-left: 0; margin-right: 0; }
.review-card__meta { gap: 2px; }
.review-card__ok { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: #1E8E4E; font-weight: 700; font-size: .85rem; }
.review-card__ok svg { width: 16px; height: 16px; }
@media (max-width: 1023px) { .masonry { columns: 2; } }
@media (max-width: 639px) { .masonry { columns: 1; } }

/* О нас */
.logo-box { position: relative; display: grid; place-items: center; padding: 32px 0; }
.logo-box .hero__arch { width: min(70%, 260px); }
.logo-box .hero__frame-star { inset: 0; width: 100%; height: 100%; }
.logo-box__badge {
  position: absolute; right: 8%; bottom: 8%; padding: 8px 18px; border-radius: 999px;
  background: var(--brown-dark); color: #fff; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-md);
}
.adv-num { display: block; font: 700 2.6rem/1 var(--font-head); color: var(--gold); margin-bottom: 12px; }
.adv-grid .card h3 { margin: 0; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-bottom: 32px; font-weight: 600; }
.section .contact-link { color: var(--brown-dark); text-decoration: none; overflow-wrap: anywhere; }
.section .contact-link svg { color: var(--brown); }
.social-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 16px; text-align: center;
  background: #fff; border-radius: var(--r-md); text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm); border: 1px solid rgba(232, 213, 186, .6);
  transition: transform .25s ease, box-shadow .25s ease;
}
.social-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: var(--ink); }
.social-card .card__icon { margin: 0; width: 64px; height: 64px; }
.social-card .card__icon svg { width: 30px; height: 30px; }

/* Пять звёзд в правом верхнем углу отзыва, напротив кавычки */
.review-card__stars { position: absolute; top: 24px; right: 26px; display: flex; gap: 3px; }
.review-card__stars svg { width: 17px; height: 17px; fill: #D9A441; }
