/* ================================================================
   Дополнительные секции главной: партнёрская врезка, блог, FAQ, контакты
   ================================================================ */

/* ---------- Секция партнёрской врезки (Growth Story) ---------- */
.home-partner-block {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 20%, rgba(31, 169, 131, 0.10), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(212, 165, 116, 0.10), transparent 45%),
    linear-gradient(135deg, #FBF9F4 0%, #F0F5F1 100%);
  border: 1px solid rgba(31, 169, 131, 0.15);
  box-shadow: 0 8px 32px rgba(15, 93, 75, 0.08);
  position: relative;
  overflow: hidden;
}
.home-partner-block::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(31, 169, 131, 0.08), transparent 60%);
  animation: partnerBlockOrb 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes partnerBlockOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.1); }
}
.home-partner-block h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--acc-2);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  position: relative;
}
.home-partner-block .lead {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ink);
  line-height: 1.5;
  max-width: 720px;
  margin: 0 0 24px;
  position: relative;
}
.home-partner-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
  position: relative;
}
.home-partner-feat {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 18px 20px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}
.home-partner-feat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(31, 169, 131, 0.18);
}
.home-partner-feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--acc), var(--acc-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(31, 169, 131, 0.3);
}
.home-partner-feat-icon svg { width: 22px; height: 22px; fill: currentColor; }
.home-partner-feat h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.home-partner-feat p {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--mut);
  margin: 0;
}
.home-partner-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  position: relative;
}
.home-partner-cta .btn-glass-lg {
  margin: 0;
}
.home-partner-cta .btn-ghost-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(31, 169, 131, 0.35);
  color: var(--acc-2);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.home-partner-cta .btn-ghost-lg:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

/* ---------- 3 превью блога ---------- */
.home-blog {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
}
.home-blog-hdr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}
.home-blog-hdr h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--acc-2);
  margin: 0;
  letter-spacing: -0.01em;
}
.home-blog-hdr .subtitle {
  font-size: 14px;
  color: var(--mut);
  margin: 0;
}
.home-blog-hdr a {
  color: var(--acc-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.home-blog-hdr a:hover { text-decoration: underline; }
.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.home-blog-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
  box-shadow: 0 4px 16px rgba(15, 93, 75, 0.08);
}
.home-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 93, 75, 0.15);
}
.home-blog-card-img {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--acc-soft), #F9F5EE);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-blog-card:hover .home-blog-card-img img {
  transform: scale(1.05);
}
.home-blog-card-img svg {
  width: 72px; height: 72px;
  color: var(--acc);
  opacity: 0.4;
}
.home-blog-card-body {
  padding: 18px 20px 20px;
}
.home-blog-card-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  background: var(--acc-soft);
  color: var(--acc-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.home-blog-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.home-blog-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--mut);
  margin: 0 0 12px;
}
.home-blog-card-more {
  color: var(--acc-2);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.home-blog-card-more svg {
  width: 14px; height: 14px;
  transition: transform 0.25s ease;
}
.home-blog-card:hover .home-blog-card-more svg { transform: translateX(3px); }

/* ---------- FAQ ---------- */
.home-faq {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px;
}
.home-faq-hdr {
  text-align: center;
  margin-bottom: 24px;
}
.home-faq-hdr h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--acc-2);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.home-faq-hdr p {
  color: var(--mut);
  font-size: 15px;
  margin: 0;
}
.home-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-faq-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.home-faq-item[open] {
  box-shadow: 0 4px 16px rgba(15, 93, 75, 0.1);
}
.home-faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-item summary::after {
  content: '';
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301696F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.home-faq-item[open] summary::after { transform: rotate(180deg); }
.home-faq-item .home-faq-body {
  padding: 0 20px 18px;
  color: var(--mut);
  font-size: 14.5px;
  line-height: 1.6;
}
.home-faq-item .home-faq-body p { margin: 0 0 8px; }
.home-faq-item .home-faq-body p:last-child { margin: 0; }

/* ---------- Контакты (карточка) ---------- */
.home-contacts {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
}
.home-contacts-card {
  background: linear-gradient(135deg, #0F5D4B 0%, #01696F 100%);
  color: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 12px 40px rgba(1, 105, 111, 0.25);
  position: relative;
  overflow: hidden;
}
.home-contacts-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}
.home-contacts-card::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.12), transparent 60%);
  pointer-events: none;
}
.home-contacts-info {
  position: relative;
  z-index: 1;
}
.home-contacts-info h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: #fff;
}
.home-contacts-info p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 20px;
  opacity: 0.9;
}
.home-contacts-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  transition: background 0.25s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.home-contact-link:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateX(4px);
}
.home-contact-link svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}
.home-contact-link-body { flex: 1; }
.home-contact-link-body strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 1px;
}
.home-contact-link-body small {
  display: block;
  font-size: 12.5px;
  opacity: 0.75;
  font-weight: 500;
}
.home-contact-link-arrow {
  width: 16px; height: 16px;
  opacity: 0.7;
  flex-shrink: 0;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .home-partner-block { padding: 28px 20px; margin: 24px 12px; }
  .home-blog { margin: 24px auto; padding: 0 12px; }
  .home-blog-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-faq { margin: 24px auto; padding: 0 12px; }
  .home-contacts { margin: 24px 12px; padding: 0; }
  .home-contacts-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 20px;
  }
}
