/* Dinamica Insure — главная страница. Все бывшие <style> из index.html вынесены сюда. */


/* home block 1 */
:root {
  --navy: #0d0d0d;
  --navy-mid: #1a1a1a;
  --navy-light: #262626;
  --red: #0DA7A0;
  --red-hover: #0B918B;
  --grey: #8a8a8a;
  --grey-light: #dfe1e5;
  --bg: #e7e9ec;
  --white: #f3f4f6;
  --text: #1a1a1a;
  --text-light: #6a6a6a;
  --font: "Manrope", sans-serif;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
}


/* HEADER */


.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex; align-items: center; gap: 40px;
}


.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav a.active { color: var(--white); background: rgba(13,167,160,0.16); }
.header-phone { color: var(--white); font-weight: 700; font-size: 16px; white-space: nowrap; }


/* HERO */
.hero {
  min-height: 720px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1a1a1a 100%);
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(13,167,160,0.12) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 60px);
}
.hero-geo {
  position: absolute; right: -100px; top: -100px;
  width: 700px; height: 700px;
  background: rgba(255,255,255,0.025);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transform: rotate(15deg);
}
.hero-geo2 {
  position: absolute; right: 80px; bottom: -80px;
  width: 400px; height: 400px;
  background: rgba(13,167,160,0.08);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 128px 40px 68px;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 72px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,167,160,0.15); border: 1px solid rgba(13,167,160,0.3);
  color: #0DA7A0; font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
}
.hero-title {
  color: var(--white); font-size: clamp(36px, 4vw, 58px);
  font-weight: 800; line-height: 1.15; letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-sub {
  color: rgba(255,255,255,0.65); font-size: 18px; font-weight: 400;
  line-height: 1.6; margin-bottom: 40px; max-width: 480px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-btns .btn-primary { font-size: 16px; padding: 14px 28px; }
.hero-btns .btn-outline { font-size: 16px; padding: 14px 28px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 34px;
  align-items: start;
}
.hero-stat { min-width: 0; }
.hero-stat-num {
  color: var(--white);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  white-space: nowrap;
}
.hero-stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 6px;
  max-width: 145px;
}
.hero-right { display: flex; justify-content: flex-end; }
.hero-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; padding: 32px; width: 340px;
}
.hero-card-title { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.hero-card-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-card-row:last-child { border-bottom: none; }
.hero-card-link { color: inherit; text-decoration: none; transition: background 0.2s, transform 0.2s; border-radius: 8px; padding-left: 8px; padding-right: 8px; margin-left: -8px; margin-right: -8px; }
.hero-card-link:hover { background: rgba(255,255,255,0.06); transform: translateX(3px); }
.hero-card-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(13,167,160,0.2); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-card-icon svg { width: 18px; height: 18px; fill: #0DA7A0; }
.hero-card-label { color: rgba(255,255,255,0.6); font-size: 12px; }
.hero-card-val { color: var(--white); font-size: 15px; font-weight: 600; }

/* SECTION COMMON */
section { padding: 96px 0; }

.section-tag {
  display: inline-block; background: rgba(13,167,160,0.1);
  color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 4px; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 3vw, 42px); font-weight: 800;
  letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 16px;
}
.section-sub { color: var(--grey); font-size: 17px; max-width: 560px; }
.section-header { margin-bottom: 56px; }


/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--grey-light);
  border-radius: 12px; padding: 32px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  cursor: pointer; display: block; text-decoration: none;
}
.service-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-4px);
  border-color: var(--red);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.service-desc { color: var(--grey); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.service-link {
  color: var(--red); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.service-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* REVIEWS */
.reviews { background: var(--bg); }
.reviews-slider { position: relative; overflow: hidden; }
.reviews-track { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.review-card {
  min-width: calc(50% - 12px); width: calc(50% - 12px);
  background: var(--white); border-radius: 12px; padding: 36px;
  border: 1px solid var(--grey-light); flex-shrink: 0;
}
.review-stars { color: #f59e0b; font-size: 18px; margin-bottom: 16px; }
.review-text { color: var(--text-light); font-size: 15px; line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 14px; }
.review-meta { color: var(--grey); font-size: 12px; }
.slider-controls { display: flex; gap: 12px; justify-content: center; margin-top: 32px; }
.reviews-more-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 28px; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); font-weight: 700; font-size: 15px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.reviews-more-btn:hover { background: var(--navy); color: #fff; }
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--grey-light);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.slider-btn:hover { border-color: var(--red); background: var(--red); }
.slider-btn:hover svg { stroke: white; }
.slider-btn svg { width: 18px; height: 18px; stroke: var(--navy); fill: none; stroke-width: 2; }

/* CONTACTS */
.contacts-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(13,167,160,0.1); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.8; }


.messengers { display: flex; gap: 12px; margin-top: 28px; }
.messenger-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 600;
  border: 2px solid var(--grey-light); transition: all 0.2s;
}
.messenger-btn:hover { border-color: var(--navy); background: var(--navy); color: white; }
.map-placeholder {
  background: var(--navy); border-radius: 12px; height: 320px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.map-placeholder-text {
  color: rgba(255,255,255,0.3); font-size: 13px; font-family: monospace; text-align: center;
}

/* FINAL FORM */
.final-form { background: var(--navy); }
.final-form .section-title { color: var(--white); }
.final-form .section-sub { color: rgba(255,255,255,0.55); }
.final-form .section-tag { background: rgba(13,167,160,0.25); color: #0DA7A0; }
.form-wrap { max-width: 600px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 500; }
.form-field input, .form-field textarea {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 12px 16px;
  color: var(--white); font-family: var(--font); font-size: 15px;
  outline: none; transition: border-color 0.2s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-field input:focus, .form-field textarea:focus { border-color: var(--red); }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field-full { grid-column: 1 / -1; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; color: rgba(255,255,255,0.5); font-size: 13px; }
.form-consent input[type="checkbox"] { margin-top: 2px; accent-color: var(--red); }
.form-submit { width: 100%; padding: 16px; font-size: 16px; font-weight: 700; }
.form-success { display: none; text-align: center; padding: 40px; color: var(--white); }
.form-success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: rgba(255,255,255,0.6); }

/* FOOTER */
.footer { background: #0a0a0a; padding: 48px 0 24px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 32px; }
.footer-logo-text { color: var(--white); font-weight: 700; font-size: 16px; }
.footer-desc { color: rgba(255,255,255,0.35); font-size: 13px; line-height: 1.7; max-width: 260px; }
.footer-col-title { color: rgba(255,255,255,0.5); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.45); font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }

.footer-policy { color: rgba(255,255,255,0.25); font-size: 13px; }
.footer-policy:hover { color: rgba(255,255,255,0.5); }

/* STICKY PHONE */
.sticky-phone {
  position: fixed; bottom: 32px; right: 32px; z-index: 99;
  background: var(--red); color: var(--white);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(13,167,160,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.sticky-phone:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(13,167,160,0.7); }
.sticky-phone svg { width: 24px; height: 24px; fill: white; }

/* HERO VARIANTS */
.hero.v2 .hero-bg { background: linear-gradient(160deg, #141414 0%, #1a0d0d 100%); }
.hero.v2 .hero-pattern { background-image: radial-gradient(circle at 30% 70%, rgba(13,167,160,0.18) 0%, transparent 50%); }
.hero.v2 .hero-geo { background: rgba(13,167,160,0.06); }
.hero.v3 .hero-bg { background: linear-gradient(180deg, var(--navy) 0%, #060606 100%); }
.hero.v3 .hero-inner { grid-template-columns: 1fr; max-width: 800px; text-align: center; }
.hero.v3 .hero-sub { margin: 0 auto 40px; }
.hero.v3 .hero-btns { justify-content: center; }
.hero.v3 .hero-stats { justify-content: center; }
.hero.v3 .hero-right { display: none; }
.hero.v3 .hero-pattern { background-image: radial-gradient(circle at 50% 40%, rgba(13,167,160,0.15) 0%, transparent 60%); }

/* Animations */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.anim { opacity: 0; }
.anim.visible { animation: fadeUp 0.6s ease forwards; }
.anim:nth-child(2) { animation-delay: 0.1s; }
.anim:nth-child(3) { animation-delay: 0.2s; }
.anim:nth-child(4) { animation-delay: 0.3s; }
.anim:nth-child(5) { animation-delay: 0.4s; }
.anim:nth-child(6) { animation-delay: 0.5s; }


/* ============ RESPONSIVE (home) ============ */
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; gap: 10px; height: 60px; }
  .nav { display: none; }
  .header-phone { display: none; }
  .logo img { height: 30px; }
  .logo-text { font-size: 15px; }
  .header .btn-primary { padding: 9px 16px; font-size: 13px; margin-left: auto; }

  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 110px 16px 56px; }
  .hero-title { font-size: clamp(30px, 9vw, 44px); }
  .hero-sub { font-size: 16px; }
  .hero-btns { flex-direction: column; align-items: stretch; margin-bottom: 36px; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(3, max-content); gap: 22px; }
  .hero-right { justify-content: stretch; }
  .hero-card { width: 100%; }
  .hero-geo, .hero-geo2 { display: none; }

  section { padding: 56px 0; }
  .section-inner { padding: 0 16px; }
  .section-title { font-size: clamp(24px, 6.5vw, 32px); }
  .section-header { margin-bottom: 36px; }

  .services-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr 1fr; }
  .reviews-track { display: block; }
  .review-card { min-width: 100%; width: 100%; margin-right: 0; margin-bottom: 16px; }
  .slider-controls { display: none; }
  /* На мобиле показываем первые 3 отзыва, остальные — по кнопке */
  .reviews-slider { overflow: visible; }
  .reviews-slider:not(.reviews-expanded) .review-card:nth-child(n/**/+4) { display: none; }
  .reviews-more-wrap { display: block !important; }
  .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .form-field input, .form-field textarea { font-size: 16px; }
  .sticky-phone { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .section-inner { padding: 0 14px; }
  .hero-inner { padding: 104px 14px 48px; }
  .hero-title { font-size: 30px; }
  .section-title { font-size: 23px; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .hero-stat-num { font-size: 21px; white-space: normal; }
}


/* home block 2 — сохранены только реально используемые правила старого слоя */
.reviews { background: #e1e3e8 !important; }

/* home block 3 */
.home-faq .faq-item{border-bottom:1px solid var(--grey-light)}.home-faq .faq-q{display:flex;justify-content:space-between;align-items:center;padding:20px 0;cursor:pointer;font-weight:700;gap:16px}.home-faq .faq-q svg{flex-shrink:0;transition:transform .3s}.home-faq .faq-item.open .faq-q svg{transform:rotate(180deg)}.home-faq .faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;color:var(--grey);font-size:15px;line-height:1.75}.home-faq .faq-item.open .faq-a{max-height:420px;padding-bottom:20px}


/* home block 4 */
@media(max-width:768px){.messengers{flex-wrap:wrap}.messenger-btn{flex:1 1 120px;justify-content:center}.footer-copy{line-height:1.55}}


/* home block 5 */
/* Messenger icons in header and footer */
.header-inner{gap:18px}
.nav a{padding-left:9px;padding-right:9px}


@media(max-width:1180px){.header-inner{gap:12px}.logo-text{display:none}.nav a{padding-left:8px;padding-right:8px}}
@media(max-width:1000px){.header-phone{display:none}}
@media(max-width:880px){.nav{display:none}.header-socials{margin-left:auto}}
@media(max-width:768px){.header-socials{margin-left:auto}.header .btn-primary{display:none}.header-social-link{width:31px;height:31px}.header-social-link img{width:19px;height:19px}.logo-text{display:inline}.footer-socials{margin-top:16px}}
@media(max-width:480px){.logo-text{display:none}}


/* home block 6 */
.location-link:hover{border-color:rgba(13,167,160,.72)}


/* home block 7 */
/* === Партнеры: страховые компании === */


/* Команда */
.people { padding: 80px 0; background: var(--bg); }
.people-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.person-card { text-align: center; }
.person-photo { position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--white); border: 1px solid var(--grey-light); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-name { font-weight: 700; font-size: 15px; margin-top: 14px; }
.person-role { color: var(--grey); font-size: 13px; margin-top: 4px; }
@media (max-width: 1000px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .people-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }


/* home block 9 */
/* Центрирование формы на главной. Внутренний iframe amoCRM не трогаем. */
.final-form .section-inner {
  max-width: 600px !important;
}

.final-form .section-header {
  width: min(960px, calc(100vw - 32px)) !important;
  max-width: 960px !important;
  margin-left: 50% !important;
  transform: translateX(-50%) !important;
  text-align: center !important;
}

.final-form .section-header .section-sub {
  margin-left: auto !important;
  margin-right: auto !important;
}

.final-form .form-wrap,
.final-form .amo-form-wrap {
  width: 100% !important;
  max-width: 560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* home block 10 */
.page-home .service-cta-button {background: linear-gradient(135deg, #C35A62 0%, #A64750 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 24px #C35A6238 !important;}
.page-home .service-cta-button:hover {background: linear-gradient(135deg, #A64750 0%, #A64750 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px #C35A624d !important;}


/* home block 11 */
.reviews-source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}
.reviews-source-link:hover { opacity: .78; }


/* home block 12 — актуальные локальные правила */
.review-text { font-style: normal; }
.people { padding: 36px 0 80px; }
/* 2026-08: seven service cards — center the final card on desktop only. */
@media (min-width: 901px) {
  .services-grid .service-card:last-child:nth-child(3n + 1) { grid-column: 2; }
}


/* HOME PROCESS — единый блок вместо повторяющихся секций */
.home-process {
  background: var(--bg);
  padding: 76px 0 54px;
}
.home-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  gap: 64px;
  align-items: center;
}
.home-process-copy { min-width: 0; }
.home-process .section-title {
  max-width: 700px;
  margin-bottom: 18px;
}
.home-process-lead {
  max-width: 690px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.78;
}
.home-process-label {
  margin-top: 26px;
  margin-bottom: 11px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.home-process-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.home-process-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--grey-light);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #676e7b;
  font-size: 12px;
  font-weight: 600;
}
.home-process-visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  background: #d7dce2;
  box-shadow: 0 18px 42px rgba(12,16,24,.12);
}
.home-process-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-process-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,16,24,.02), rgba(12,16,24,.20));
  pointer-events: none;
}
.home-process-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(12,16,24,.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(5px);
}
.home-process-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.home-process-card {
  min-width: 0;
  min-height: 126px;
  padding: 22px 20px;
  border: 1px solid var(--grey-light);
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  color: inherit;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.home-process-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13,167,160,.34);
  box-shadow: 0 10px 24px rgba(15,23,42,.07);
}
.home-process-card-title {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 10px;
}
.home-process-card-text {
  color: var(--grey);
  font-size: 13px;
  line-height: 1.55;
}
.page-home #services { padding-top: 54px; }

@media (max-width: 1020px) {
  .home-process-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .88fr);
    gap: 36px;
  }
  .home-process-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .home-process { padding: 54px 0 38px; }
  .home-process-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-process-visual { aspect-ratio: 16 / 10; }
  .home-process-cards { margin-top: 22px; }
  .page-home #services { padding-top: 40px; }
}

@media (max-width: 560px) {
  .home-process { padding: 48px 0 32px; }
  .home-process-lead { font-size: 15px; line-height: 1.7; }
  .home-process-points { gap: 6px; }
  .home-process-points span { min-height: 31px; padding: 6px 9px; font-size: 11px; }
  .home-process-visual { border-radius: 16px; aspect-ratio: 4 / 3; }
  .home-process-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .home-process-card { min-height: 112px; padding: 17px 15px; }
  .home-process-card-title { font-size: 17px; }
  .home-process-card-text { font-size: 12px; }
  .page-home #services { padding-top: 34px; }
}

@media (max-width: 380px) {
  .home-process-cards { grid-template-columns: 1fr; }
  .home-process-card { min-height: 0; }
}
