/* Page-level and responsive overrides */


.menu-toggle {
  display: none;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.site-footer {
  border-top: 1px solid #d5dfec;
  background: linear-gradient(180deg, #edf2fa 0%, #e7eef8 100%);
}

.footer-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-4) 0;
}

.footer-bar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.005em;
  grid-column: 1 / 2;
}


.footer-legal-link {
  justify-self: center;
  font-size: 0.8rem;
  color: #1d2f4b;
}

.footer-legal-link:hover {
  color: #12284a;
}

.footer-top-link {
  justify-self: end;
}

.home-scroll-top {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: calc(clamp(0.9rem, 2.5vw, 1.3rem) + env(safe-area-inset-bottom));
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 11px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  color: #223a5f;
  background: rgba(247, 250, 255, 0.95);
  border: 1px solid rgba(185, 199, 221, 0.82);
  box-shadow: 0 6px 16px rgba(18, 39, 73, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.home-scroll-top__icon {
  display: inline-flex;
  width: 0.78rem;
  height: 0.78rem;
  font-size: 0;
  color: transparent;
}

.home-scroll-top__icon::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-top: 1.8px solid currentColor;
  border-left: 1.8px solid currentColor;
  transform: translateY(1px) rotate(45deg);
  color: #243c60;
}

.home-scroll-top:hover {
  border-color: rgba(150, 170, 201, 0.95);
  box-shadow: 0 8px 18px rgba(18, 39, 73, 0.17);
}

.home-scroll-top:focus-visible {
  outline: 2px solid rgba(74, 108, 160, 0.45);
  outline-offset: 2px;
}

.legal-card {
  display: block;
  color: inherit;
}

.legal-card p {
  margin: 0;
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  --reveal-transform: translateY(14px);
  transform: var(--reveal-transform);
  transition: opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1), transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal[data-reveal="scale"] {
  --reveal-transform: scale(0.98);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-scroll-top {
    transition: opacity 0.12s linear;
    transform: none;
  }

  .reveal {
    transition: opacity 0.2s linear;
    transform: none;
  }

  .case-card,
  .case-card::before,
  .case-card__link {
    transition: none;
  }

  .case-card:hover {
    transform: none;
  }
}

@media (max-width: 1023.98px) {
  /* Home hero: первый экран с CTA в рамках viewport */
  .hero--home {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(3.2rem, 8vw, 4.8rem) 0 clamp(3rem, 7.4vw, 4.4rem);
    margin: 0;
    box-sizing: border-box;
    position: relative;
  }

  .hero--home .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1.1rem;
  }

  .hero--home .hero-copy {
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .hero--home .hero-title {
    font-size: clamp(2.2rem, 9vw, 2.8rem) !important;
    line-height: 1.1;
    margin: 0.72rem 0 1rem;
    letter-spacing: -0.02em;
  }

  .hero--home .hero-text {
    font-size: 1rem;
    line-height: 1.48;
    margin-bottom: 1.5rem;
    max-width: 34ch;
  }

  .hero--home .hero-actions {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    width: 100%;
  }

  .hero--home .hero-actions .button--primary {
    width: 100%;
    padding: 1.1rem;
    display: flex;
    justify-content: center;
  }

  .hero--home .hero-visual {
    display: block;
    width: min(100%, 28rem);
    margin-inline: auto;
    align-self: center;
  }

  .hero--home .hero-visual__label {
    text-align: center;
  }

  .hero--home + .logos.section--tight {
    margin-top: 0;
    position: relative;
    z-index: 1;
  }

  .hero--home .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.1rem, 2.8vw, 1.7rem);
  }

  .hero--home .hero-title {
    max-width: 100%;
  }

  .hero--home::before {
    inset: 0.8rem 0 auto;
    height: min(58%, 400px);
  }

  .hero--home::after {
    width: min(68vw, 460px);
    right: -4rem;
  }

  .hero--service-page .hero-copy,
  .hero:not(.hero--home):not(.hero--accreditation) .hero-copy {
    max-width: min(100%, 68ch);
    margin-inline: auto;
    padding-inline: clamp(0.4rem, 2vw, 1rem);
  }

  .hero--service-page .hero-title,
  .hero:not(.hero--home):not(.hero--accreditation) .hero-title {
    font-size: clamp(2rem, 4.1vw, 2.65rem);
    line-height: 1.08;
    max-width: 24ch;
  }

  .hero--service-page .hero-text,
  .hero:not(.hero--home):not(.hero--accreditation) .hero-text {
    max-width: 62ch;
    margin-bottom: clamp(1.1rem, 2.2vw, 1.7rem);
  }

  .hero-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .contact-summary {
    min-height: 0;
  }

  .hero--accreditation .hero-grid {
    min-height: 0;
    gap: 1rem;
  }

  .hero-copy--service {
    padding-inline: 0;
  }

  .hero-copy--accreditation {
    max-width: 680px;
  }

  .services-grid,
  .standards-grid,
  .testimonials-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .cases-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cases-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .section--cases {
    padding-block: clamp(3.5rem, 7vw, 4.8rem);
  }

  .accreditation-types-grid,
  .trust-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .inline-cta {
    align-items: flex-start;
  }

  .trust-badges {
    gap: 0.55rem;
  }

  .trust-badge {
    --trust-badge-min-width: 7.1rem;
    height: 2.25rem;
    padding-inline: 0.88rem;
  }

  .mega-menu {
    width: min(940px, calc(100vw - 2rem));
    padding-left: 1.3rem;
  }

  .mega-menu__grid {
    grid-template-columns: minmax(190px, 1.06fr) repeat(2, minmax(170px, 1fr));
    gap: 1.05rem;
  }

  .mega-menu__column + .mega-menu__column {
    padding-left: 0.86rem;
  }
}

@media (max-width: 767.98px) {
  #process.section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .process-step::after {
    display: none;
  }

  .process-step__number {
    margin-bottom: 0.5rem;
    font-size: 0.98rem;
  }

  .process-step__card::before {
    display: none;
  }

  .process-step__card {
    padding: 0.9rem;
    gap: 0.6rem;
  }

  .process-step__title {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .process-step__lead {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .process-step__list {
    gap: 0.6rem;
  }

  .process-step__list li {
    font-size: 0.88rem;
  }

  .process-step__result {
    font-size: 0.9rem;
  }

  .inline-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .inline-cta .button {
    width: 100%;
  }

  .contact-summary__title,
  .contact-form__title {
    font-size: 22px;
  }

  .contact-summary__subtitle,
  .contact-form__subtitle {
    font-size: 15px;
  }

  .section--cases {
    padding-block: 3.15rem;
  }

  .section-head--cases {
    margin-bottom: 1.45rem;
  }

  .cases-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cases-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-card {
    min-height: 0;
    padding: 1.2rem;
    border-radius: 20px;
    gap: 0.72rem;
  }

  .case-card--featured {
    padding: 1.35rem;
  }

  .case-card__title {
    font-size: 1.08rem;
    line-height: 1.34;
  }

  .case-card--featured .case-card__title {
    font-size: 1.34rem;
    line-height: 1.24;
    max-width: 24ch;
  }

  .case-card__text {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .case-card__result {
    padding: 0.45rem 0 0;
    font-size: 0.84rem;
  }

  .case-card__link {
    margin-top: 0.1rem;
    padding: 0.4rem 0.72rem;
  }

  .cases-section-cta {
    margin-top: 1.35rem;
  }

  .trust-badges {
    justify-content: flex-start;
  }

  .trust-badge {
    --trust-badge-min-width: 6.7rem;
    height: 2.18rem;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
  }
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  #services-mobile-panel {
    display: none !important;
  }

  .site-nav > a[href="index.html"] {
    display: none;
  }

  .site-nav > a:nth-of-type(1) {
    order: 1;
  }

  .site-nav > .nav-services {
    order: 2;
  }

  .site-nav > a:nth-of-type(2) {
    order: 3;
  }

  .site-nav > a:nth-of-type(3) {
    order: 4;
  }

  .site-nav > a:nth-of-type(4) {
    order: 5;
  }

  .site-nav > a:nth-of-type(5) {
    order: 6;
  }
}

@media (max-width: 1023.98px) {
  .site-nav > a[href="index.html"] {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 1px) 1rem auto;
    background: #fff;
    border: 1px solid #dfe5ef;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(17, 37, 69, 0.12);
    display: none;
    gap: 0;
    overflow-x: hidden;
    max-height: min(82vh, 38rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav > * {
    display: block;
  }

  .nav-services {
    width: 100%;
  }

  .site-nav > a,
  .site-nav > .nav-services > .nav-services__toggle {
    padding: 0.84rem 0.95rem;
    border-top: 1px solid #e6ebf3;
    text-align: left;
    width: 100%;
  }

  .site-nav > .nav-services > .nav-services__toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    min-height: 46px;
    font-weight: 600;
    color: #17345f;
    background: #fff;
    border-bottom: 0;
  }

  .site-nav > .nav-services > .nav-services__toggle::after {
    content: "▾";
    font-size: 0.84rem;
    color: #56709a;
    transition: transform 0.2s ease;
  }

  .nav-services.is-open > .nav-services__toggle::after {
    transform: rotate(180deg);
  }

  .site-nav > *:first-child .nav-services__toggle,
  .site-nav > a:first-of-type {
    border-top: 0;
  }

  #services-menu-panel {
    display: none;
  }

  #services-mobile-panel {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    border: 0;
    border-top: 1px solid #e6ebf3;
    background: #fff;
    padding: 0 var(--space-3) 0.8rem;
    margin-top: 0;
    display: none;
  }

  .nav-services.is-open #services-mobile-panel {
    display: block;
    max-height: min(62vh, 28rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .services-mobile-menu {
    display: block;
    padding-bottom: 0.1rem;
  }

  .services-mobile-menu__group {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem 0 0.6rem;
  }

  .services-mobile-menu__group + .services-mobile-menu__group {
    border-top: 1px solid #e6ebf3;
    margin-top: 0.2rem;
  }

  .services-mobile-menu a {
    display: block;
    min-height: 44px;
    padding: 0.48rem 0.6rem;
    border-radius: 8px;
    line-height: 1.4;
    color: #2f4668;
  }

  .services-mobile-menu__title {
    margin-bottom: 0.2rem;
    min-height: auto;
    padding: 0.1rem 0.1rem 0.2rem;
    color: #1e3458;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 0;
    border-bottom: 1px solid #edf1f7;
  }

  .services-mobile-menu a:not(.services-mobile-menu__title):focus-visible {
    outline: 2px solid rgba(31, 77, 191, 0.35);
    outline-offset: 2px;
    background: rgba(43, 82, 158, 0.08);
    color: #1b386a;
  }

  .services-mobile-menu a:not(.services-mobile-menu__title):active {
    background: rgba(43, 82, 158, 0.1);
    color: #1f3e79;
  }
}

@media (max-width: 800px) {
  .hero--home {
    padding-top: clamp(2.8rem, 7.2vw, 3.8rem);
    padding-bottom: clamp(2.6rem, 6.8vw, 3.4rem);
  }

  .hero--home .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: clamp(1rem, 3.2vh, 1.4rem);
  }

  .hero--home .hero-copy {
    justify-content: flex-start;
  }

  .hero--home .hero-visual {
    display: block;
    width: min(100%, 24rem);
    margin-inline: auto;
    align-self: center;
  }

  .hero::before {
    inset: 0.2rem 0 auto;
    height: min(72%, 380px);
    border-radius: var(--radius-lg);
  }

  .hero::after {
    width: min(88vw, 390px);
    top: 1.2rem;
    right: -5.6rem;
    opacity: 0.72;
  }

  .hero-title {
    font-size: clamp(2rem, 5.2vw, 3rem);
    line-height: 1.06;
    gap: 0.2rem;
  }

  .hero--home .hero-title,
  .hero--service-page .hero-title {
    max-width: 100%;
  }

  .hero--home .hero-title {
    text-wrap: balance;
  }

  .hero--home .hero-title__line {
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hero--accreditation {
    padding-top: clamp(1.9rem, 7vw, 2.5rem);
    padding-bottom: clamp(1.45rem, 5.5vw, 2.1rem);
  }

  .hero--accreditation::before {
    height: min(74%, 330px);
    border-radius: 24px;
  }

  .hero--accreditation .hero-title {
    line-height: 1.04;
  }

  .hero--accreditation .hero-text {
    margin: 0.75rem 0 0.62rem;
    line-height: 1.5;
  }

  .hero--accreditation .hero-actions {
    margin-top: 0.86rem;
    gap: 0.56rem;
  }

  .hero-facts {
    gap: 0.45rem;
  }

  .hero--home .hero-copy .hero-facts {
    justify-content: center;
    align-self: center;
  }

  .hero-facts li span {
    min-height: 34px;
  }

  .hero-panel--cards {
    grid-template-columns: 1fr;
    gap: 0.62rem;
    padding: 0.92rem;
  }

  .section {
    padding: clamp(2.8rem, 12vw, 3.6rem) 0;
  }

  .logos.section--tight {
    padding-top: clamp(1.28rem, 5.1vw, 1.72rem);
    padding-bottom: clamp(1.5rem, 6.2vw, 1.98rem);
  }

  .section + .section {
    margin-top: 0.15rem;
  }

  .hero-actions {
    gap: 0.7rem;
  }

  .hero--home .hero-copy .hero-actions {
    margin-top: 0;
  }

  .button {
    width: 100%;
  }

  .form-submit {
    width: 100%;
  }

  .consent-modal {
    place-items: start center;
    padding: 0.6rem;
  }

  .consent-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 1.2rem);
    display: flex;
    flex-direction: column;
  }

  .consent-modal__header,
  .consent-modal__body {
    padding: 0.9rem;
  }

  .consent-modal__title {
    font-size: clamp(0.92rem, 3.4vw, 1rem);
  }

  .consent-modal__body {
    overflow-y: auto;
    font-size: clamp(0.8rem, 2.95vw, 0.9rem);
    line-height: 1.45;
  }

  .consent-modal__body p {
    margin-bottom: 0.72rem;
  }

  .consent-modal__policy-note {
    font-size: clamp(0.76rem, 2.7vw, 0.85rem);
  }

  .footer-bar {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .footer-bar p,
  .footer-legal-link,
  .footer-top-link {
    grid-column: 1;
  }

  .home-scroll-top {
    left: max(0.85rem, env(safe-area-inset-left));
    bottom: calc(0.9rem + env(safe-area-inset-bottom));
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 10px;
  }

  .footer-legal-link {
    justify-self: center;
  }

  .footer-top-link {
    justify-self: flex-start;
  }

  .logos-heading {
    margin-bottom: 0.86rem;
    font-size: clamp(1.24rem, 5.4vw, 1.52rem);
    line-height: 1.24;
  }

  .logos-subheading {
    margin-bottom: 0.42rem;
    font-size: clamp(1.02rem, 4.25vw, 1.24rem);
    line-height: 1.72;
  }

  .trust-badges {
    gap: 0.46rem;
  }

}

/* Contact form premium polish */
.contact-form-shell {
  border-color: #dbe4f0;
  box-shadow: 0 10px 24px rgba(23, 40, 74, 0.06);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #95a6bc;
}

.form-submit {
  box-shadow:
    0 14px 30px rgba(20, 50, 116, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 20px rgba(65, 112, 216, 0.18);
}

.form-submit:disabled,
.form-submit.is-loading {
  cursor: not-allowed;
  opacity: 0.85;
  transform: none;
  box-shadow: 0 6px 14px rgba(26, 63, 141, 0.16);
}

.contact-success {
  display: grid;
  padding-top: 0.35rem;
  gap: 0.85rem;
}

.contact-success__icon {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(21, 143, 92, 0.12);
  color: #158f5c;
  font-weight: 800;
  font-size: 0.95rem;
}

.contact-success__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
}

.contact-success__text {
  margin: 0;
  color: #5a6c82;
}

.contact-success__next {
  border: 1px solid #e1e8f3;
  border-radius: 12px;
  background: #fbfdff;
  padding: 0.75rem 0.85rem;
}

.contact-success__next-title {
  margin: 0 0 0.45rem;
  color: #2e4564;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-success__next ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #576b82;
  font-size: 0.9rem;
  display: grid;
  gap: 0.28rem;
}

.contact-form[hidden] {
  display: none !important;
}

.contact-success[hidden] {
  display: none !important;
}

.contact-success__reset {
  border: 1px solid #cfdaea;
  background: #fff;
  color: #35507a;
  border-radius: 999px;
  padding: 0.64rem 1.08rem;
  font-weight: 600;
}

.contact-success__reset:hover {
  color: #263f67;
  border-color: #bccce1;
  background: #f8fbff;
}

.breadcrumbs {
  padding-top: clamp(0.85rem, 1.8vw, 1.25rem);
  padding-bottom: clamp(0.35rem, 0.8vw, 0.6rem);
  color: #5c6d86;
  font-size: 0.84rem;
  line-height: 1.45;
}

.breadcrumbs__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.5rem;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "›";
  margin-right: 0.5rem;
  color: #8ca0be;
}

.breadcrumbs a {
  color: #5c6d86;
}

.breadcrumbs__current {
  color: #2a3f62;
}

@media (hover: hover) {
  .breadcrumbs a:hover {
    color: var(--accent);
  }
}

@media (max-width: 767px) {
  .breadcrumbs {
    font-size: 0.78rem;
    padding-top: 0.72rem;
    padding-bottom: 0.42rem;
  }
}

.page-internal .hero--service-page {
  padding-top: clamp(2.15rem, 4.4vw, 3.4rem);
}

.page-family--accreditation .hero--service-page {
  --family-accent: #3f5f9f;
}

.page-family--certification .hero--service-page {
  --family-accent: #1f4dbf;
}

.page-family--attestation .hero--service-page {
  --family-accent: #1e6694;
}

.page-family--licensing .hero--service-page {
  --family-accent: #2c5a88;
}

.page-family--adjacent .hero--service-page {
  --family-accent: #4d5c94;
}

.page-internal .hero--service-page .eyebrow {
  color: var(--family-accent, var(--accent));
  border-color: color-mix(in srgb, var(--family-accent, var(--accent)) 24%, transparent);
  background: color-mix(in srgb, var(--family-accent, var(--accent)) 8%, #fff);
}

.page-internal #faq .section-head h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.page-internal #faq .service-card.faq-card {
  border-radius: 16px;
}

[data-include].is-empty {
  display: none;
}

.hero-text__mobile {
  display: none;
}

@media (min-width: 1025px) {
  .hero--home .hero-title {
    font-size: clamp(2.6rem, 3.6vw, 3.85rem);
    line-height: 1.02;
    max-width: 18ch;
  }

  .hero--home .hero-text {
    font-size: clamp(1.08rem, 1.24vw, 1.24rem);
    line-height: 1.62;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.14rem, 9.9vw, 2.56rem);
  }

  .site-header {
    border-bottom-color: rgba(196, 210, 231, 0.72);
  }

  .header-bar {
    min-height: 64px;
  }

  .hero--home {
    padding: 2.85rem 0 2.5rem;
    margin-bottom: 0;
  }

  .hero--home::before {
    inset: 0.85rem 0 auto;
    border-radius: 30px;
  }

  .hero--home .container {
    width: min(100% - 2.4rem, var(--container));
  }

  .hero--home .hero-grid {
    grid-template-rows: auto;
    gap: 1.15rem;
  }

  .hero--home .hero-copy {
    max-width: none;
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 0;
  }

  .hero--home .hero-copy .hero-facts {
    margin-top: 1rem;
  }

  .hero--home .eyebrow {
    align-self: flex-start;
    margin-bottom: 15px;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    padding: 5px 11px;
    border-color: rgba(56, 90, 159, 0.2);
    background: rgba(56, 90, 159, 0.09);
  }

  .hero--home .hero-title {
    display: block;
    font-size: clamp(2.42rem, 10.8vw, 2.94rem);
    line-height: 1.08;
    letter-spacing: -0.022em;
    margin-bottom: 0.48rem;
    max-width: none;
    gap: 0.2em;
    font-weight: 800;
  }

  .hero--home .hero-title__line {
    display: block;
    font-size: inherit;
    line-height: inherit;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hero--home .hero-title__line + .hero-title__line {
    margin-left: 0;
  }

  .hero--home .hero-title__line--accent {
    color: #2f5cff;
    text-shadow: 0 1px 5px rgba(42, 79, 166, 0.06);
    letter-spacing: -0.012em;
  }

  .hero--home .hero-text {
    font-size: 1.16rem;
    line-height: 1.5;
    max-width: 26ch;
    margin: 0.52rem 0 1.82rem;
  }

  .hero-text__desktop {
    display: none;
  }

  .hero-text__mobile {
    display: inline;
  }

  .hero--home .hero-facts {
    gap: 5px;
    margin-bottom: 0;
    font-size: 11px;
  }

  .hero--home .hero-facts li span {
    min-height: 34px;
    font-size: 11px;
    line-height: 1.1;
    padding: 10px 12px;
    border-radius: 999px;
  }

  .hero--home .hero-actions {
    margin-top: 0.1rem;
    margin-bottom: 0;
    padding-top: 0;
    gap: 0;
  }

  .hero--home .hero-actions .button--primary {
    width: 100%;
    min-height: 56px;
    padding: 16px 24px;
    font-size: 16px;
    line-height: 1.12;
  }

  .hero--home .hero-visual__label {
    margin-top: 0.5rem;
    margin-bottom: 0.58rem;
    font-size: 0.68rem;
    letter-spacing: 0.09em;
  }

  .hero--home .hero-panel--cards {
    padding: 0.68rem;
    gap: 0.5rem;
    border-radius: var(--radius-md);
    border-color: rgba(205, 219, 239, 0.9);
    box-shadow: 0 8px 18px rgba(13, 33, 68, 0.05), 0 16px 30px rgba(13, 33, 68, 0.09);
  }

  .hero--home .hero-service-card {
    padding: 0.78rem 0.84rem 0.82rem;
    border-radius: 14px;
    --card-base-lift: 0;
    --card-hover-lift: -2px;
  }

  .hero--home .hero-service-card--featured {
    transform: translateY(var(--card-base-lift)) scale(1.005);
  }

  .hero--home .hero-service-card h3 {
    margin-bottom: 0.4rem;
    font-size: 0.94rem;
  }

  .hero--home .hero-service-card p {
    font-size: 0.83rem;
    line-height: 1.42;
  }

  .hero--home .hero-service-card .card-cta {
    margin-top: 0.52rem !important;
    font-size: 0.78rem !important;
  }

  .trust-badges {
    gap: 0.45rem;
  }

  .trust-badge {
    --trust-badge-min-width: 6.3rem;
    height: 2.08rem;
    padding-inline: 0.8rem;
    font-size: 0.71rem;
  }
}

@media (max-width: 390px) {
  .hero--home .container {
    width: min(100% - 2.1rem, var(--container));
  }

  .hero--home .hero-title {
    font-size: clamp(2.24rem, 10.6vw, 2.56rem);
  }

  .hero--home .hero-text {
    font-size: 1.1rem;
    max-width: 24ch;
  }

  .hero--home .hero-facts,
  .hero--home .hero-facts li span {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .header-bar {
    min-height: 60px;
  }

  .hero--home .container {
    width: min(100% - 1.7rem, var(--container));
  }

  .hero--home .hero-copy {
    max-width: 18.8rem;
  }

  .hero--home .hero-title {
    font-size: clamp(2.06rem, 10.9vw, 2.34rem);
    line-height: 1.06;
  }

  .hero--home .hero-actions .button--primary {
    min-height: 56px;
    font-size: 16px;
  }

  .hero--home .hero-facts li span {
    min-height: 32px;
    padding: 8px 12px;
  }
}
