/* Стили для карточек с классом cards-shadow */
.cards-shadow .t-card,
.cards-shadow [class*="card"],
.cards-shadow .t-col,
.cards-shadow .t-text-block {
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15) !important;
  transition: box-shadow 0.3s ease !important;
}

/* При наведении */
.cards-shadow .t-card:hover,
.cards-shadow [class*="card"]:hover,
.cards-shadow .t-col:hover,
.cards-shadow .t-text-block:hover {
  box-shadow: 0 12px 32px rgba(30, 58, 138, 0.35) !important;
}

/* ===== HEADER «Просто хороший подолог» ===== */
/* Высокая специфичность + !important — чтобы Тильда не перебила стили */

:root {
  --ph-blue: #2B6BD8;
  --ph-blue-dark: #1F4FA8;
  --ph-text: #1B2335;
  --ph-green: #22C55E;
  --ph-green-hover: #16A34A;
  --ph-tg: #2AABEE;
  --ph-max: #635BFF;
  --ph-coral: #FF7A6B;
  --ph-coral-hover: #F45F4F;
  --ph-input-border: #E2E5EC;
  --ph-input-bg: #FFFFFF;
  --ph-muted: #6B7280;
  --ph-bg: #FFFFFF;
  --ph-border: #EEF1F6;
}

.ph-header,
.ph-header *,
.ph-mobile,
.ph-mobile *,
.ph-modal,
.ph-modal * { box-sizing: border-box; }

/* ============================================================ */
/* ====================       ШАПКА        ==================== */
/* ============================================================ */

.ph-header {
  position: fixed !important;
  top: 16px;
  left: 24px;
  right: 24px;
  z-index: 1000;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 30px rgba(20, 30, 60, .08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease, top .25s ease;
}
.ph-header.is-scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 40px rgba(20, 30, 60, .12);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ph-header { background: rgba(255, 255, 255, 0.85); }
}

.ph-header .ph-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 24px 10px 32px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap !important;
  gap: 18px;
}

/* ===== Меню ===== */
.ph-header .ph-nav {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 22px;
  flex: 0 1 auto;
  min-width: 0;
}
.ph-header .ph-nav a,
.ph-header .ph-nav a:link,
.ph-header .ph-nav a:visited {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--ph-blue) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  background: transparent !important;
  border: 0 !important;
  position: relative;
  padding: 6px 0;
  line-height: 1;
  transition: color .15s ease;
}
.ph-header .ph-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ph-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.ph-header .ph-nav a:hover { color: var(--ph-blue-dark) !important; }
.ph-header .ph-nav a:hover::after { transform: scaleX(1); }

/* ===== Логотип ===== */
.ph-header .ph-logo {
  display: flex !important;
  align-items: center;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  flex: 0 0 auto;
  margin: 0 8px;
}
.ph-header .ph-logo__img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity .15s ease;
}
.ph-header .ph-logo:hover .ph-logo__img { opacity: .85; }

/* ===== Правый блок ===== */
.ph-header .ph-actions {
  display: flex !important;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

/* Телефон в шапке — БЕЗ рамки и фона */
.ph-header .ph-phone,
.ph-header .ph-phone:link,
.ph-header .ph-phone:visited,
.ph-header .ph-phone:hover,
.ph-header .ph-phone:focus,
.ph-header .ph-phone:active {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--ph-text) !important;
  text-decoration: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  white-space: nowrap;
  transition: color .15s ease;
  display: inline-block;
}
.ph-header .ph-phone:hover { color: var(--ph-blue) !important; }

/* Соцсети */
.ph-header .ph-socials {
  display: flex !important;
  gap: 8px;
  align-items: center;
}
.ph-header .ph-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: transform .15s ease, filter .15s ease;
  flex-shrink: 0;
  border: 0 !important;
}
.ph-header .ph-social svg {
  width: 20px;
  height: 20px;
  display: block;
}
.ph-header .ph-social--tg { background: var(--ph-tg) !important; }
.ph-header .ph-social--max { background: var(--ph-max) !important; }
.ph-header .ph-social:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* CTA — пульсирующая зелёная */
.ph-header .ph-cta,
.ph-header .ph-cta:link,
.ph-header .ph-cta:visited {
  background: var(--ph-green) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
  border: 0 !important;
  cursor: pointer;
  display: inline-block;
  line-height: 1.2;
  font-family: inherit;
  animation: ph-pulse 2.2s ease-out infinite;
}
.ph-header .ph-cta:hover {
  background: var(--ph-green-hover) !important;
  transform: translateY(-1px);
  animation: none;
  box-shadow: 0 10px 22px rgba(34, 197, 94, .45);
}
.ph-header .ph-cta:focus-visible {
  outline: 3px solid rgba(34, 197, 94, .4);
  outline-offset: 2px;
}

@keyframes ph-pulse {
  0%   { box-shadow: 0 6px 16px rgba(34, 197, 94, .3), 0 0 0 0 rgba(34, 197, 94, .55); }
  70%  { box-shadow: 0 6px 16px rgba(34, 197, 94, .3), 0 0 0 14px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 6px 16px rgba(34, 197, 94, .3), 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ph-header .ph-cta { animation: none; box-shadow: 0 6px 16px rgba(34, 197, 94, .3); }
}

/* Бургер */
.ph-header .ph-burger {
  display: none;
  width: 44px;
  height: 44px;
  background: none !important;
  border: 0 !important;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}
.ph-header .ph-burger span {
  display: block;
  height: 2px;
  background: var(--ph-blue-dark);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.ph-header.is-open .ph-burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.ph-header.is-open .ph-burger span:nth-child(2) { opacity: 0; }
.ph-header.is-open .ph-burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }


/* ============================================================ */
/* =================    МОБИЛЬНОЕ МЕНЮ      ================== */
/* ============================================================ */

.ph-mobile {
  display: none;
  position: fixed;
  top: 84px;
  left: 12px; right: 12px;
  max-height: calc(100vh - 100px);
  background: #fff;
  border-radius: 24px;
  padding: 24px 22px;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 20px 60px rgba(20, 30, 60, .18);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.ph-mobile.is-open { display: flex; animation: ph-mobile-in .25s ease; }
@keyframes ph-mobile-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ph-mobile__nav { display: flex !important; flex-direction: column; gap: 0; }
.ph-mobile__nav a {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: var(--ph-blue) !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--ph-border) !important;
  display: block !important;
}
.ph-mobile__nav a:last-child { border-bottom: 0 !important; }

.ph-mobile__phone,
.ph-mobile__phone:link,
.ph-mobile__phone:visited {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--ph-blue-dark) !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin-top: 6px !important;
  display: block !important;
}

.ph-mobile__socials { display: flex !important; gap: 12px; }
.ph-mobile__socials .ph-social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}
.ph-mobile__socials .ph-social svg { width: 22px; height: 22px; }
.ph-mobile__socials .ph-social--tg { background: var(--ph-tg) !important; }
.ph-mobile__socials .ph-social--max { background: var(--ph-max) !important; }

.ph-cta--mobile,
.ph-cta--mobile:link,
.ph-cta--mobile:visited {
  display: block !important;
  width: 100%;
  text-align: center;
  margin-top: 6px !important;
  padding: 16px 20px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  background: var(--ph-green) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(34, 197, 94, .3);
  animation: none;
}
.ph-cta--mobile:hover { background: var(--ph-green-hover) !important; }


/* ============================================================ */
/* =====================     АДАПТИВ      ==================== */
/* ============================================================ */

@media (max-width: 1280px) {
  .ph-header .ph-nav { gap: 18px; }
  .ph-header .ph-nav a { font-size: 14px !important; }
  .ph-header .ph-phone { font-size: 16px !important; }
  .ph-header .ph-header__inner { padding: 10px 20px 10px 26px; gap: 14px; }
}

@media (max-width: 1100px) {
  .ph-header .ph-nav { display: none !important; }
  .ph-header .ph-burger { display: flex !important; }
}

@media (max-width: 720px) {
  .ph-header .ph-phone { display: none !important; }
}

@media (max-width: 600px) {
  .ph-header { top: 10px; left: 10px; right: 10px; border-radius: 28px; }
  .ph-header.is-scrolled { top: 8px; }
  .ph-header .ph-header__inner { padding: 8px 8px 8px 16px; gap: 8px; }
  .ph-header .ph-logo__img { height: 36px; }
  .ph-header .ph-socials { display: none !important; }
  .ph-header .ph-cta {
    padding: 10px 16px !important;
    font-size: 13px !important;
    animation: ph-pulse-sm 2.2s ease-out infinite;
  }
  @keyframes ph-pulse-sm {
    0%   { box-shadow: 0 4px 12px rgba(34, 197, 94, .3), 0 0 0 0 rgba(34, 197, 94, .5); }
    70%  { box-shadow: 0 4px 12px rgba(34, 197, 94, .3), 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 4px 12px rgba(34, 197, 94, .3), 0 0 0 0 rgba(34, 197, 94, 0); }
  }
  .ph-header .ph-burger { width: 40px; height: 40px; padding: 9px; }
  .ph-mobile { top: 70px; }
}

@media (max-width: 400px) {
  .ph-header .ph-cta { padding: 9px 12px !important; font-size: 12px !important; }
}


/* ============================================================ */
/* ===========       ПОПАП — ФОРМА ЗАЯВКИ          =========== */
/* ============================================================ */

.ph-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.ph-modal.is-open { display: flex; animation: ph-modal-fade .25s ease; }
@keyframes ph-modal-fade { from { opacity: 0; } to { opacity: 1; } }

.ph-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 60, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ph-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 40px 36px 32px;
  box-shadow: 0 30px 80px rgba(20, 30, 60, .25);
  animation: ph-modal-pop .3s cubic-bezier(.2,.8,.3,1.2);
}
@keyframes ph-modal-pop {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ph-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F4F5F8 !important;
  border: 0 !important;
  cursor: pointer;
  color: #1B2335;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .25s ease;
  padding: 0;
}
.ph-modal__close:hover { background: #E8EAEF !important; transform: rotate(90deg); }
.ph-modal__close svg { width: 16px; height: 16px; }

.ph-modal__title {
  margin: 0 0 10px !important;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: #1B2335;
  letter-spacing: -.01em;
  padding-right: 40px;
}
.ph-modal__subtitle {
  margin: 0 0 24px !important;
  font-size: 14px;
  color: var(--ph-muted);
  line-height: 1.5;
}

/* Форма */
.ph-form { display: flex; flex-direction: column; gap: 16px; }

.ph-field { display: flex; flex-direction: column; gap: 6px; }
.ph-field__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ph-muted);
  margin: 0 0 4px;
  display: block;
}
.ph-field__error {
  font-size: 12px;
  color: #E14444;
  display: none;
  margin-top: 2px;
  line-height: 1.3;
}
.ph-field.has-error .ph-field__error { display: block; }
.ph-field.has-error .ph-input,
.ph-field.has-error .ph-tel { border-color: #E14444 !important; }

/* Инпуты */
.ph-form .ph-input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1.5px solid var(--ph-input-border);
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  color: #1B2335;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  box-shadow: none;
  margin: 0;
}
.ph-form .ph-input::placeholder { color: #9CA3AF; }
.ph-form .ph-input:focus {
  border-color: var(--ph-blue);
  box-shadow: 0 0 0 4px rgba(43, 107, 216, .12);
}

/* Телефон с флагом — отдельный класс .ph-tel */
.ph-tel {
  display: flex;
  align-items: center;
  height: 54px;
  border: 1.5px solid var(--ph-input-border);
  border-radius: 14px;
  background: #fff;
  padding: 0 6px 0 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ph-tel:focus-within {
  border-color: var(--ph-blue);
  box-shadow: 0 0 0 4px rgba(43, 107, 216, .12);
}
.ph-tel__flag {
  width: 26px;
  height: 18px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  margin-right: 10px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}
.ph-tel__flag svg { width: 100%; height: 100%; display: block; }
.ph-form .ph-tel__input {
  flex: 1;
  height: 100%;
  border: 0 !important;
  padding: 0 12px 0 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-size: 15px;
}
.ph-form .ph-tel__input:focus { box-shadow: none !important; border: 0 !important; }

/* Чекбокс */
.ph-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  line-height: 1.45;
  color: #1B2335;
  position: relative;
}
.ph-check__input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
.ph-check__box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1.5px solid var(--ph-input-border);
  border-radius: 5px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease;
  margin-top: 1px;
}
.ph-check__box svg { width: 13px; height: 13px; opacity: 0; transition: opacity .15s ease; }
.ph-check__input:checked + .ph-check__box {
  background: var(--ph-blue);
  border-color: var(--ph-blue);
}
.ph-check__input:checked + .ph-check__box svg { opacity: 1; }
.ph-check__input:focus-visible + .ph-check__box {
  box-shadow: 0 0 0 4px rgba(43, 107, 216, .15);
}
.ph-field--check.has-error .ph-check__box { border-color: #E14444 !important; }

.ph-check__text { flex: 1; }
.ph-check__text a {
  color: var(--ph-coral) !important;
  text-decoration: none !important;
  border-bottom: 1px dashed currentColor;
}
.ph-check__text a:hover { color: var(--ph-coral-hover) !important; }

/* Кнопка отправки */
.ph-submit {
  width: 100%;
  height: 56px;
  border: 0 !important;
  border-radius: 14px;
  background: var(--ph-coral) !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
  box-shadow: 0 8px 20px rgba(255, 122, 107, .35);
  margin-top: 6px;
  padding: 0;
}
.ph-submit:hover {
  background: var(--ph-coral-hover) !important;
  box-shadow: 0 12px 28px rgba(255, 122, 107, .45);
  transform: translateY(-1px);
}
.ph-submit:active { transform: translateY(0); }

/* Успех */
.ph-form__success {
  padding: 18px 20px;
  border-radius: 14px;
  background: #E8F8EF;
  color: #166534;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}
.ph-form__success strong { display: block; font-size: 16px; margin-bottom: 4px; }

/* Адаптив попапа */
@media (max-width: 540px) {
  .ph-modal { padding: 12px; }
  .ph-modal__dialog { padding: 32px 20px 24px; border-radius: 22px; }
  .ph-modal__title { font-size: 21px; padding-right: 36px; }
  .ph-modal__subtitle { font-size: 13px; margin-bottom: 20px !important; }
  .ph-form { gap: 14px; }
  .ph-form .ph-input, .ph-tel { height: 50px; }
  .ph-submit { height: 52px; font-size: 15px; }
}


/* ===== ПЕРВЫЙ ЭКРАН — Просто хороший подолог ===== */

.ph-hero,
.ph-hero * { box-sizing: border-box; }

.ph-hero {
  position: relative;
  width: 100%;
  padding: 100px 24px 32px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1B2335;
  isolation: isolate;
}

/* Фон с плюсиками */
.ph-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 15% 25%, rgba(91, 194, 231, .10), transparent 60%),
    radial-gradient(800px 500px at 90% 90%, rgba(43, 107, 216, .07), transparent 60%),
    linear-gradient(180deg, #F2F6FC 0%, #FFFFFF 100%);
}
.ph-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><path fill='%23A8C4E8' opacity='0.16' d='M46 36h8v10h10v8H54v10h-8V54H36v-8h10z'/></svg>");
  background-size: 100px 100px;
  opacity: .8;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 60%, rgba(0,0,0,0) 100%);
}

/* Внутренний контейнер */
.ph-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
}

/* ============== КОНТЕНТ СЛЕВА ============== */
.ph-hero__content {
  max-width: 640px;
  display: flex;
  flex-direction: column;
}

.ph-hero__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(43, 107, 216, .15);
  color: #1F4FA8;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(20, 30, 60, .05);
}
.ph-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .25);
  animation: ph-hero-dot 2s infinite;
}
@keyframes ph-hero-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
  50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.ph-hero__title {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.ph-hero__title--main,
.ph-hero__title--accent {
  display: block;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ph-hero__title--main {
  background-image: linear-gradient(135deg, #1F4FA8 0%, #2B6BD8 100%);
}
.ph-hero__title--accent {
  background-image: linear-gradient(135deg, #5BC2E7 0%, #2B6BD8 100%);
}

.ph-hero__subtitle {
  margin: 0 0 18px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.35;
  font-weight: 500;
  color: #1B2335;
  max-width: 540px;
}
.ph-hero__accent {
  color: #16A34A;
  font-weight: 800;
  white-space: nowrap;
}

/* Теги услуг */
.ph-hero__tags {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ph-hero__tags li {
  font-size: 14px;
  font-weight: 500;
  color: #1F4FA8;
  background: #fff;
  border: 1px solid rgba(43, 107, 216, .15);
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(20, 30, 60, .04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ph-hero__tags li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(43, 107, 216, .12);
  border-color: rgba(43, 107, 216, .3);
}

/* CTA */
.ph-hero__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
}
.ph-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #22C55E;
  color: #fff;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  padding: 18px 32px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
  animation: ph-hero-pulse 2.2s ease-out infinite;
}
.ph-hero__cta svg { width: 18px; height: 18px; transition: transform .15s ease; }
.ph-hero__cta:hover {
  background: #16A34A;
  transform: translateY(-1px);
  animation: none;
  box-shadow: 0 14px 32px rgba(34, 197, 94, .45);
}
.ph-hero__cta:hover svg { transform: translateX(3px); }
.ph-hero__cta:focus-visible {
  outline: 3px solid rgba(34, 197, 94, .4);
  outline-offset: 3px;
}

@keyframes ph-hero-pulse {
  0%   { box-shadow: 0 8px 22px rgba(34, 197, 94, .35), 0 0 0 0 rgba(34, 197, 94, .55); }
  70%  { box-shadow: 0 8px 22px rgba(34, 197, 94, .35), 0 0 0 18px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 8px 22px rgba(34, 197, 94, .35), 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ph-hero__cta { animation: none; box-shadow: 0 8px 22px rgba(34, 197, 94, .35); }
  .ph-hero__dot { animation: none; }
}

.ph-hero__cta-note {
  margin: 0;
  font-size: 14px;
  color: #6B7280;
  padding-left: 6px;
}

/* ============== СТАТИСТИКА — компактные карточки ============== */
.ph-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.ph-stat {
  background: #fff;
  border: 1px solid rgba(43, 107, 216, .1);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  box-shadow: 0 3px 10px rgba(20, 30, 60, .04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ph-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 30, 60, .08);
  border-color: rgba(43, 107, 216, .25);
}
.ph-stat__num {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: #1F4FA8;
  letter-spacing: -.02em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.ph-stat__num span {
  font-size: 12px;
  font-weight: 700;
  color: #5BC2E7;
}
.ph-stat__label {
  font-size: 11px;
  color: #6B7280;
  font-weight: 500;
  line-height: 1.25;
}


/* ============== ФОТО СПРАВА — крупно, обрезка по пояс ============== */
.ph-hero__media {
  position: relative;
  align-self: stretch;
  height: 600px;
  overflow: hidden;
  border-radius: 24px;
}
.ph-hero__media-blob {
  position: absolute;
  inset: auto 10% 0 10%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(91, 194, 231, .4), transparent 75%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.ph-hero__photo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 150%;
  width: auto;
  max-width: none;
  display: block;
  z-index: 1;
  filter: drop-shadow(0 25px 35px rgba(20, 30, 60, .18));
}


/* ============================================================ */
/* ====================       АДАПТИВ       =================== */
/* ============================================================ */

@media (max-width: 1024px) {
  .ph-hero { padding: 95px 20px 30px; }
  .ph-hero__inner { gap: 20px; grid-template-columns: 1fr 1fr; }
  .ph-hero__media { height: 540px; }
}

@media (max-width: 860px) {
  .ph-hero { padding: 95px 16px 28px; }
  .ph-hero__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ph-hero__content { max-width: none; order: 2; }
  .ph-hero__media {
    order: 1;
    height: 380px;
    margin: 0 auto;
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
  }
  .ph-hero__photo { height: 130%; }

  .ph-hero__title { font-size: clamp(32px, 7vw, 48px); }
  .ph-hero__subtitle { font-size: 16px; }
}

@media (max-width: 560px) {
  .ph-hero { padding: 85px 14px 24px; }
  .ph-hero__badge { font-size: 12px; padding: 6px 12px; margin-bottom: 14px; }
  .ph-hero__title { font-size: 34px; }
  .ph-hero__subtitle { font-size: 15px; margin-bottom: 16px; }
  .ph-hero__tags { margin-bottom: 20px; gap: 6px; }
  .ph-hero__tags li { font-size: 13px; padding: 6px 12px; }
  .ph-hero__cta { font-size: 15px; padding: 15px 26px; width: 100%; justify-content: center; }
  .ph-hero__cta-wrap { width: 100%; margin-bottom: 20px; }
  .ph-hero__cta-note { text-align: center; width: 100%; padding-left: 0; }
  .ph-hero__media { height: 340px; max-width: 360px; }
  .ph-hero__photo { height: 125%; }

  .ph-stats { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .ph-stat { padding: 10px 12px; }
  .ph-stat__num { font-size: 20px; }
  .ph-stat__label { font-size: 11px; }
}