.consent-switch input:checked:active+.consent-slider::before {
  transform: translateX(19px)
}

.consent-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 17px 26px 22px;
  border-top: 1px solid rgba(255,255,255,.08)
}

.consent-foot small {
  color: #71848e;
  font-size: 9.5px;
  line-height: 1.4
}

.consent-foot-actions {
  display: flex;
  gap: 8px
}

@media(max-width:820px) {
  .legal-document-grid {
    grid-template-columns: 1fr
  }
  .legal-side {
    display: none
  }
  .legal-content {
    padding: 25px 24px 36px
  }
  .cookie-banner-inner {
    grid-template-columns: 1fr
  }
  .cookie-actions {
    justify-content: flex-start
  }
}

@media(max-width:560px) {
  .legal-dialog {
    height: calc(100vh - 18px);
    max-height: calc(100vh - 18px);
    width: calc(100vw - 18px);
    border-radius: 18px
  }
  .legal-dialog-head {
    padding: 19px 18px
  }
  .legal-content {
    padding: 22px 18px 32px
  }
  .legal-contact-card {
    grid-template-columns: 1fr
  }
  .legal-table {
    display: block;
    overflow-x: auto
  }
  .cookie-banner {
    bottom: 9px;
    width: calc(100vw - 18px);
    border-radius: 18px
  }
  .cookie-banner-inner {
    padding: 16px
  }
  .cookie-copy {
    grid-template-columns: 1fr
  }
  .cookie-icon {
    display: none
  }
  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%
  }
  .cookie-btn.primary {
    grid-column: 1/-1
  }
  .consent-dialog {
    width: calc(100vw - 18px);
    border-radius: 18px
  }
  .consent-head,.consent-body,.consent-foot {
    padding-left: 18px;
    padding-right: 18px
  }
  .consent-foot {
    align-items: flex-start;
    flex-direction: column
  }
  .consent-foot-actions {
    width: 100%
  }
  .consent-foot-actions .cookie-btn {
    flex: 1
  }
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: .7s ease
}

.reveal.on {
  opacity: 1;
  transform: none
}

@media(max-width:1000px) {
  .nav-links {
    display: none
  }
  .mobile {
    display: block
  }
  .hero-grid,.about-grid,.trust-grid2,.contact-grid {
    grid-template-columns: 1fr
  }
  .hero {
    height: auto;
    min-height: 800px
  }
  .hero .container {
    padding-top: 100px;
    padding-bottom: 90px
  }
  .hero-side {
    display: none
  }
  .social-rail {
    display: none
  }
  .promo-grid,.why-grid,.guides-grid {
    grid-template-columns: 1fr 1fr
  }
  .case-card {
    grid-template-columns: 1fr
  }
  .case-img {
    min-height: 320px
  }
  .footer-main {
    grid-template-columns: 1.25fr 1fr;
    gap: 46px 58px
  }
  .footer-bottom {
    grid-template-columns: 1fr 1fr
  }
  .footer-credit {
    justify-self: end
  }
  .footer-legal {
    grid-column: 1/-1;
    justify-self: start
  }
}

@media(max-width:680px) {
  .container {
    width: min(100% - 28px,1240px)
  }
  .section {
    padding: 80px 0
  }
  .hero-title {
    font-size: 55px
  }
  .promo-wrap {
    margin-top: -25px
  }
  .promo-grid,.why-grid,.guides-grid,.trust-cards,.form-row,.credentials-grid,.about-bottom {
    grid-template-columns: 1fr
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-bottom: 46px
  }
  .footer-brand-column {
    max-width: none
  }
  .footer-description {
    max-width: 430px
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 12px
  }
  .footer-credit,.footer-legal {
    justify-self: start
  }
  .footer-legal {
    white-space: normal;
    flex-wrap: wrap
  }
  .promo-card {
    min-height: auto
  }
  .credential {
    border-right: 0;
    border-bottom: 1px solid #ddd
  }
  .outcomes {
    grid-template-columns: 1fr
  }
  .case-info {
    padding: 28px
  }
}

/* ===== Premium interaction layer ===== */
html.has-custom-cursor,html.has-custom-cursor * {
  cursor: none!important
}

/* Native cursor is restored while a top-layer dialog is open.
   Custom cursor elements sit below <dialog> top layer in browsers. */
html.has-custom-cursor.modal-native-cursor,
html.has-custom-cursor.modal-native-cursor * {
  cursor: auto!important
}

html.has-custom-cursor.modal-native-cursor a,
html.has-custom-cursor.modal-native-cursor button,
html.has-custom-cursor.modal-native-cursor [role="button"],
html.has-custom-cursor.modal-native-cursor label,
html.has-custom-cursor.modal-native-cursor summary {
  cursor: pointer!important
}

html.has-custom-cursor.modal-native-cursor input[type="text"],
html.has-custom-cursor.modal-native-cursor input[type="email"],
html.has-custom-cursor.modal-native-cursor input[type="tel"],
html.has-custom-cursor.modal-native-cursor textarea {
  cursor: text!important
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--secondary);
  z-index: 9999;
  box-shadow: 0 0 16px rgba(var(--secondary-rgb),.65);
  pointer-events: none
}

.page-loader {
  display: none!important;
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9998;
  display: grid;
  place-items: center;
  transition: opacity .65s ease,visibility .65s ease
}

.page-loader.done {
  opacity: 0;
  visibility: hidden
}

.loader-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  font: 700 24px Inter,Arial,sans-serif
}

.loader-brand b {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  display: grid;
  place-items: center;
  animation: loaderPulse 1.2s ease-in-out infinite
}

@keyframes loaderPulse {
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 12px rgba(var(--secondary-rgb),.08)
  }
}

.cursor-dot,.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%,-50%);
  opacity: 0
}

.cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
  transition: width .2s,height .2s,background .2s,opacity .2s
}

.cursor-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(var(--secondary-rgb),.78);
  display: grid;
  place-items: center;
  transition: width .25s,height .25s,background .25s,border-color .25s,opacity .2s;
  backdrop-filter: blur(2px)
}

.cursor-ring span {
  opacity: 0;
  color: var(--primary);
  font: 700 11px Inter,Arial,sans-serif;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: opacity .2s
}

.cursor-ring.is-label {
  width: 104px;
  height: 104px;
  background: var(--secondary);
  border-color: var(--secondary)
}

.cursor-ring.is-label span {
  opacity: 1
}

.cursor-ring.is-link {
  width: 64px;
  height: 64px;
  border-color: var(--secondary);
  background: rgba(var(--secondary-rgb),.08)
}

.site-header {
  transition: transform .35s ease,background .35s ease,box-shadow .35s ease
}

.site-header.is-hidden {
  transform: translateY(-100%)
}

.site-header.is-scrolled {
  background: rgba(var(--primary-rgb),.93);
  box-shadow: 0 12px 35px rgba(0,0,0,.12)
}

.title-reveal {
  clip-path: inset(0 0 100% 0);
  transform: translateY(28px);
  transition: clip-path .85s cubic-bezier(.2,.7,.2,1),transform .85s cubic-bezier(.2,.7,.2,1)
}

.title-reveal.title-on {
  clip-path: inset(0 0 0 0);
  transform: none
}
