.hero {
  background: linear-gradient(to bottom, #FFFFFF 80%, #EEF2F7 100%);
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.75rem) 0 0;
}

.hero::after {
  display: none;
}

/* Man image — absolute right, white fades into it */
.hero__man {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  pointer-events: none;
}

.hero__man::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #FFFFFF 0%, rgba(255,255,255,0.7) 30%, rgba(255,255,255,0.1) 65%, transparent 100%);
  z-index: 1;
}

.hero__man img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Container layout */
.hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.hero__content { max-width: 62%; }

/* Labels row */
.hero__labels-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

/* Base pill */
.hero__label-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.hero__label-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

/* Teal pill — service */
.hero__label-pill--teal {
  background: linear-gradient(135deg, #D8E8ED 0%, #C8DDE5 100%);
  border: 1.5px solid rgba(2,61,77,0.18);
  color: #023D4D;
  box-shadow: 0 2px 10px rgba(2,61,77,0.1),
              inset 0 1px 0 rgba(255,255,255,0.7);
}

.hero__label-pill--teal .hero__label-pill__dot {
  background: var(--color-primary);
  box-shadow: 0 0 6px rgba(0,149,153,0.55);
}

/* Green pill — 24/7 */
.hero__label-pill--green {
  background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
  border: 1.5px solid rgba(34,197,94,0.3);
  color: #166534;
  box-shadow: 0 2px 14px rgba(34,197,94,0.14),
              inset 0 1px 0 rgba(255,255,255,0.8);
}

.hero__label-pill--green .hero__label-pill__dot {
  background: #22C55E;
  box-shadow: 0 0 6px rgba(34,197,94,0.65);
}

/* On mobile hide 24/7 pill (it's in nav) */
@media (max-width: 900px) {
  .hero__label-pill--green { display: none; }
}

/* Legacy label — unused */
.hero__label {
  display: none;
}

.hero__label-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Title — dark, large, bold like reference */
.hero__title {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: 800;
  color: #0D1F2D;
  line-height: 1.22;
  margin-bottom: 0;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

/* Highlighted words — primary blue */
.hero__title span { color: var(--color-primary); }

/* Prevent "Санитарно-эпидемиологическая" from breaking mid-word */
.hero__title-nowrap { white-space: nowrap; color: inherit; }

/* Wrapping headline variant (new selling title) */
.hero__title--wrap {
  white-space: normal;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.25;
  max-width: none;
}

/* Keep the highlighted phrase on a single line */
.hero__title--wrap span { white-space: nowrap; }

/* Blue accent line below title */
.hero__title-line {
  width: 48px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: 18px 0 var(--space-lg);
}

/* Subtitle — dark gray */
.hero__subtitle {
  font-size: var(--text-base);
  color: #4A5568;
  line-height: 1.72;
  margin-bottom: var(--space-lg);
  max-width: 100%;
  font-weight: 400;
}

.hero__subtitle strong {
  color: #0D1F2D;
  font-weight: 700;
}

/* USP checklist under subtitle */
.hero__usp {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 var(--space-lg);
  padding: 0;
}

.hero__usp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-base);
  font-weight: 600;
  color: #0D1F2D;
}

.hero__usp-item svg {
  width: 14px;
  height: 14px;
  color: #fff;
  background: var(--color-success);
  border-radius: 50%;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(34,197,94,0.4);
}

/* ===== HERO CTA BUTTONS ===== */
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 59%;
  margin-bottom: var(--space-sm);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 18px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.1px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  min-height: 56px;
  flex: 1 1 260px;
  text-align: center;
  white-space: nowrap;
}

.hero__cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero__cta--primary {
  background: #F17C3F;
  color: #fff;
  box-shadow: 0 6px 20px rgba(241,124,63,0.45);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.hero__cta--primary:hover {
  background: #D96830;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(241,124,63,0.55);
}

.hero__cta--wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}
.hero__cta--wa:hover {
  background: #1EBE5A;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37,211,102,0.5);
}

/* CTA buttons */
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-md);
}

/* Badges */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--color-primary-light);
  border: 1px solid rgba(64,121,146,0.18);
  color: var(--color-primary-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-full);
}

/* ===== HORIZONTAL FORM STRIP ===== */

/* Wrapper — carries the fade/glow aura behind the card */
.hero__form-wrap {
  position: relative;
  max-width: 58%;
  margin-bottom: 0;
  margin-top: -0.75rem;
}

.hero__form-wrap::before {
  content: '';
  position: absolute;
  inset: -18px;
  background: rgba(180,190,195,0.30);
  filter: blur(22px);
  border-radius: var(--radius-xl);
  z-index: 0;
  pointer-events: none;
}

.hero__form-strip {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: none;
  padding: 0 0 20px;
  box-shadow:
    0 16px 48px rgba(26,51,68,0.14),
    0 2px 8px rgba(26,51,68,0.08);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Integrated header */
.hero__form-strip-header {
  background: linear-gradient(135deg, #023D4D 0%, #035F72 60%, #009599 100%);
  padding: 18px 24px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.hero__form-strip-header::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.hero__form-strip-header__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(74,222,128,0.8);
  animation: pulse-dot 2s infinite;
}

.hero__form-strip-header__title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex: 1;
}

.hero__form-strip-header__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  font-weight: 500;
}

/* Fields inside have horizontal padding now */
.hero__form-fields,
.hero__form-strip-footer {
  padding: 0 24px;
}

/* Floating badge — REMOVED */
.hero__form-strip-badge-float { display: none; }
.hero__form-strip-top         { display: none; }

.hero__form-strip-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: pulse-dot 2s infinite;
}

.hero__form-strip-services-link {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}

.hero__form-strip-services-link:hover {
  color: var(--color-accent);
}

.hero__form-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

.hero__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero__form-fields .form-input,
.hero__form-fields .form-select {
  width: 100%;
  background: #F8FAFB;
  border: 1.5px solid #CBD5DC;
  color: #0D1F2D;
  padding: 12px 14px;
  font-size: 14px;
  min-height: 46px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  transition: var(--transition);
}

.hero__form-fields .form-input::placeholder { color: #94A3B8; }
.hero__form-fields .form-select { color: #94A3B8; appearance: none; cursor: pointer; }
.hero__form-fields .form-select:valid { color: #0D1F2D; }
.hero__form-fields .form-select option { color: #0D1F2D; background: white; }

.hero__form-fields .form-input:focus,
.hero__form-fields .form-select:focus {
  border-color: var(--color-primary);
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(0,149,153,0.12);
}

.hero__form-strip-btn {
  background: #F17C3F;
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 15px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 54px;
  width: 100%;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 20px rgba(241,124,63,0.45);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.hero__form-strip-btn:hover {
  background: #D96830;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(241,124,63,0.55);
}

.hero__form-strip-hint {
  font-size: 11px;
  color: #94A3B8;
  text-align: center;
  letter-spacing: 0.2px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.hero__form-strip .modal__privacy {
  font-size: 9px;
  margin-top: 2px;
}

.hero__form-strip-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  flex-wrap: nowrap;
}

.hero__form-strip-or { display: none; }

.hero__form-strip-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  min-height: 36px;
  flex: 1;
}

.hero__form-strip-call--phone {
  background: #EAF5F6;
  color: #023D4D;
  border: 1.5px solid rgba(0,149,153,0.25);
}
.hero__form-strip-call--phone:hover {
  background: #D6EEF0;
  border-color: rgba(0,149,153,0.4);
}

.hero__form-strip-call--wa {
  background: #F0FDF4;
  color: #16A34A;
  border: 1.5px solid #BBF7D0;
}
.hero__form-strip-call--wa:hover {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

.hero__form-strip-call--tg {
  background: #EFF6FF;
  color: #1D6FA4;
  border: 1.5px solid #BFDBFE;
}
.hero__form-strip-call--tg:hover {
  background: #229ED9;
  color: white;
  border-color: #229ED9;
}

.hero__form-strip-call svg { width: 16px; height: 16px; }

/* ===== CERTIFICATION BADGES ===== */
.hero__certs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  max-width: 58%;
  margin-top: 1rem;
  margin-bottom: clamp(1rem, 2.5vw, 2rem);
  position: relative;
  z-index: 3;
}

.hero__certs img {
  width: clamp(30px, 4vw, 48px);
  height: clamp(30px, 4vw, 48px);
  object-fit: contain;
  filter: grayscale(0.7) opacity(0.5) brightness(0.75);
  transition: filter 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

.hero__certs img:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.12);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero__content    { max-width: 65%; }
  .hero__form-wrap  { max-width: 80%; }
  .hero__man        { width: 38%; }
}

@media (max-width: 900px) {
  .hero__man        { display: none; }
  .hero__content    { max-width: 100%; }
  .hero__form-wrap  { max-width: 100%; }
  .hero__cta-group  { max-width: 100%; }
  .hero__certs      { max-width: 100%; }
  .hero__certs img  { width: clamp(28px, 10vw, 40px); height: clamp(28px, 10vw, 40px); }
}

@media (max-width: 768px) {
  .hero__title { white-space: normal; }
}

@media (max-width: 540px) {
  .hero__title { font-size: clamp(1.05rem, 4.4vw, 1.35rem); white-space: normal; }
  .hero__title--wrap { font-size: clamp(1.2rem, 5.2vw, 1.55rem); max-width: 100%; }
  .hero__usp-item { font-size: 0.85rem; }
  .hero__cta {
    font-size: clamp(0.78rem, 3.6vw, 0.95rem);
    padding: 14px 12px;
    min-height: 52px;
    letter-spacing: 0;
    white-space: nowrap;
    justify-content: center;
    text-align: center;
  }
  .hero__cta svg { width: 18px; height: 18px; }
  .hero__certs img { width: clamp(24px, 9vw, 34px); height: clamp(24px, 9vw, 34px); }
  .hero__subtitle { font-size: 0.8rem; line-height: 1.5; margin-bottom: var(--space-sm); }
  .hero__title-line { margin: 12px 0 var(--space-sm); }
  .hero__form-wrap { margin-top: 0.6rem; }
  .hero__form-row { grid-template-columns: 1fr; }
  .hero__form-strip-footer { flex-wrap: nowrap; gap: 6px; }
  .hero__form-strip-or { display: none; }
  .hero__form-strip-call { padding: 6px 10px; font-size: 12px; flex: 1; justify-content: center; }

  .hero__form-strip-header {
    padding: 14px 16px;
    gap: 8px;
    justify-content: center;
  }
  .hero__form-strip-header__title {
    font-size: 14.5px;
    letter-spacing: 1px;
    white-space: nowrap;
    flex: none;
  }
  .hero__form-fields,
  .hero__form-strip-footer {
    padding: 0 16px;
  }

  /* Badge — pill centered above form on mobile */
  .hero__form-strip-badge-float {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 375px) {
  .hero__form-strip-header {
    padding: 11px 14px;
  }
  .hero__form-strip-header__title {
    font-size: 12.5px;
    letter-spacing: 0.7px;
  }
  .hero__form-strip-header__dot {
    width: 6px;
    height: 6px;
  }
  .hero__form-fields,
  .hero__form-strip-footer {
    padding: 0 12px;
  }
  .hero__form-fields {
    gap: 7px;
  }
  .hero__form-fields .form-input {
    padding: 9px 12px;
    font-size: 13px;
    min-height: 38px;
  }
  .hero__form-strip-btn {
    padding: 12px 16px;
    min-height: 44px;
    font-size: 14px;
  }
  .hero__form-strip-hint {
    font-size: 10px;
    margin-top: 3px;
    margin-bottom: 3px;
  }
  .hero__form-strip-call {
    padding: 5px 8px;
    font-size: 11px;
    min-height: 32px;
  }
  .hero__form-strip-footer {
    margin-top: 8px;
    gap: 5px;
  }
  .hero__form-strip {
    padding-bottom: 14px;
  }
  .hero__form-strip-header__dot {
    width: 6px;
    height: 6px;
  }
}
