/* Horizon Self Publishers — main styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

:root {
    --font-family-base: var(--font-lato), 'Lato', sans-serif;
    /* Horizon palette. Legacy variable names are kept and remapped so
       untouched inner-page blocks recolor on-brand automatically. */
    --navy: #004aad;
    --navy-dark: #00337a;
    --blue: #004aad;
    --blue-bright: #0069f6;
    --gold: #cf9946;
    --gold-dark: #bd8a43;
    --cream: #e4c697;
    --cream-light: #faf4ea;
    --lime: #cf9946;
    --royal-blue: #004aad;
    --white: #FFF;
    --black: #000;
    --primary-color: #004aad;
    --secondary-color: #004aad;
    --black-color: #000;
    --white-color: #FFF;
    --purple-color: #00337a;
    --section-tint: rgba(0, 74, 173, 0.10);
    --section-tint-gold: rgba(207, 153, 70, 0.10);
}

body {
    overflow-x: hidden;
    color: var(--black);
    font-family: var(--font-family-base);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    background: var(--white);
}

button,
input,
textarea,
select {
    font-family: var(--font-family-base);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none !important;
}

.ks-site-root figure {
    margin: 0;
}

/* Typography */
.heading-1 {
    font-family: var(--font-family-base);
    font-size: 45px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: capitalize;
}

.heading-2 {
    font-family: var(--font-family-base);
    font-size: 45px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: capitalize;
}

p {
    font-family: var(--font-family-base);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    text-transform: capitalize;
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

.white {
    color: var(--white);
}

.black {
    color: var(--black);
}

.tag-line {
    display: inline-block;
    font-family: var(--font-family-base);
    font-size: 15px;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    margin-bottom: 0.75rem;
}

.tag-line--hero {
    font-size: 23px;
    line-height: 22px;
    margin-bottom: 0.75rem;
}

.tag-line--section {
    font-size: 23px;
    line-height: normal;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-ks {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 24px;
    min-height: 38px;
    border: 0;
    border-radius: 20px;
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.btn-ks:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    color: var(--white);
}

.btn-ks-blue {
    background: var(--blue);
    color: var(--white);
}

.btn-ks-gold {
    background: var(--gold);
    color: var(--white);
}

/* Legacy alias — old markup used green as the secondary accent */
.btn-ks-green {
    background: var(--gold);
    color: var(--white);
}

/* Hero pills sit on the lighter wave overlay, so the solid brand blue
   reads as a slightly darker button — same as the design. */
.btn-ks-hero-outline {
    background: var(--blue);
    color: var(--white);
    min-width: 122px;
}

.btn-ks-hero-outline:hover {
    background: var(--navy-dark);
    color: var(--white);
    opacity: 1;
}

.btn-group-ks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.btn-ks-hero-primary {
    min-width: 165px;
}

.btn-ks-hero-secondary {
    min-width: 135px;
}

.btn-ks-nav {
    min-width: 122px;
}

/* Legacy button aliases (other pages) */
.blue-btn {
    background: var(--royal-blue) !important;
    color: var(--white) !important;
    border-radius: 200px !important;
    padding: 12px 28px !important;
    font-family: var(--font-family-base);
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: capitalize;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Header */
.site-header {
    background: var(--gold);
}

.header-top-bar {
    padding: 11px 0;
}

.header-top-bar__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.header-top-bar__inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-top-bar__inner p {
    font-size: 13px;
    line-height: 22px;
    margin: 0;
}

.header-top-bar__icon {
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.header-nav-wrap {
    background: transparent;
}

.header-nav-panel {
    background: var(--blue-bright);
    border-radius: 20px 20px 0 0;
    padding: 0 28px;
}

.header-nav-panel .navbar {
    padding: 12px 0;
    min-height: 75px;
}

.header-nav-panel .navbar-brand {
    padding: 0;
    margin-right: 24px;
}

.header-nav-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
}

.site-header .nav-link {
    position: relative;
    padding: 8px 10px !important;
    font-family: var(--font-family-base);
    font-size: 15px;
    font-weight: 400;
    color: var(--white) !important;
    text-transform: capitalize;
    transition: opacity 0.15s ease;
}

.site-header .nav-link:hover {
    opacity: 0.85;
}

.site-header .nav-link.active {
    font-weight: 700;
}

.site-header .nav-link.active::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 2px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

.site-header .nav-link--dropdown {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.site-header .nav-link__caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--white);
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.site-header .custom-drop-down-parent:has(.dropdown-menu.show) .nav-link__caret {
    transform: rotate(180deg);
}

.site-header .custom-drop-down-parent {
    position: relative;
}

.site-header .header-nav-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 235px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: var(--blue);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    display: none;
    z-index: 40;
}

.site-header .header-nav-dropdown.show {
    display: block;
}

.site-header .header-nav-dropdown .dropdown-item {
    display: block;
    padding: 10px 18px;
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--white);
    text-transform: capitalize;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
    background: transparent;
}

.site-header .header-nav-dropdown .dropdown-item:hover,
.site-header .header-nav-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.site-header .header-nav-dropdown .dropdown-item.active {
    background: rgba(207, 153, 70, 0.35);
    font-weight: 700;
}

.header-nav-services-mobile__label {
    font-weight: 700;
    opacity: 0.85;
}

.header-nav-services-mobile__list {
    list-style: none;
    margin: 0;
    padding-left: 14px;
}

.header-cta-group {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.header-call-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.header-call-link__icon {
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.header-call-link__text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.header-call-link__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
}

.header-call-link__number {
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.site-header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.site-header .navbar-toggler:focus {
    box-shadow: none;
}

/* Hero */
.hero-sec {
    position: relative;
    background: var(--blue);
    overflow: hidden;
}

.hero-sec__bg-shape {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 653px;
    max-width: 60%;
    background: url('/main/images/hero-wave.svg') left bottom / 100% 100% no-repeat;
    pointer-events: none;
}

.hero-sec .container {
    position: relative;
    z-index: 1;
}

.hero-sec__content {
    padding: 97px 0 156px;
}

.hero-sec__content .heading-1 {
    max-width: 525px;
}

.hero-sec__desc {
    font-size: 15px;
    line-height: 22px;
    max-width: 519px;
    margin-top: 14px;
}

.hero-sec__content .btn-group-ks {
    margin-top: 38px;
    gap: 18px;
}

.hero-sec__visual {
    display: flex;
    justify-content: flex-end;
}

.hero-sec__character {
    display: block;
    width: 404px;
    max-width: 100%;
    height: auto;
    /* In the design the figure's feet rest on the stats panel that overlaps
       the hero bottom by 88px. */
    margin-bottom: 88px;
}

.hero-sec--with-image .row {
    align-items: flex-end;
}

/* Trust badges (inner pages hero) */
.hero-trust-badges {
    margin: 1.5rem 0 1.75rem;
}

.hero-trust-badges__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2.5rem 3rem;
}

.hero-trust-badges__badge {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 34px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.hero-trust-badges__slider {
    overflow: hidden;
}

.hero-trust-badges__slider .swiper-slide {
    width: auto;
    display: flex;
    align-items: center;
}

/* Stats bar */
.stats-bar-sec {
    position: relative;
    z-index: 2;
    margin-top: -88px;
}

.stats-bar {
    background: var(--blue);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 20, 60, 0.18);
    padding: 38px 16px 36px;
}

.stats-bar__item {
    text-align: center;
    padding: 0 12px;
}

.stats-bar__item--divider {
    border-right: 1px solid rgba(255, 255, 255, 0.85);
}

.stats-bar__value {
    display: block;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--white);
}

.stats-bar__title {
    font-size: 25px;
    font-weight: 700;
    line-height: 30px;
    margin: 5px 0 0;
}

.stats-bar__icon {
    display: none;
}

.stats-bar__slider-wrap .stats-bar__item--slide {
    border-right: 0;
}

.stats-bar__pagination {
    margin-top: 14px;
    text-align: center;
}

/* Shared Swiper pagination — navy / lime site tokens */
.ks-swiper-pagination {
    position: relative;
    margin-top: 1.25rem;
    line-height: 0;
}

.ks-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
    background: rgba(0, 51, 122, 0.25);
    opacity: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ks-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--navy);
    transform: scale(1.15);
}

.stats-bar .ks-swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.45);
}

.stats-bar .ks-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--white);
}

.hero-trust-badges--loading {
    min-height: 34px;
}

/* E-book section (about / content split) */
.ebook-sec {
    padding: 80px 0;
    background: var(--white);
}

.ebook-sec__figure {
    position: relative;
    display: block;
    max-width: 525px;
}

.ebook-sec__figure-dots {
    position: absolute;
    top: -12px;
    left: -30px;
    width: 160px;
    height: 150px;
    background-image: radial-gradient(var(--gold) 2.2px, transparent 2.5px);
    background-size: 14px 14px;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.ebook-sec__book-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 525px;
    border-radius: 20px;
    border-top-left-radius: 90px;
    object-fit: cover;
}

.ebook-sec__badge {
    position: absolute;
    right: -14px;
    bottom: 61px;
    z-index: 2;
    width: 155px;
    height: 174px;
    padding: 28px 16px 0;
    background: var(--gold);
    color: var(--white);
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 87%, 0 100%);
}

.ebook-sec__badge strong {
    display: block;
    font-size: 45px;
    font-weight: 900;
    line-height: 1.1;
}

.ebook-sec__badge span {
    display: block;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: capitalize;
}

.ebook-sec__content .heading-2 {
    margin-bottom: 18px;
}

.ebook-sec__content p {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 18px;
}

.ebook-sec__bullets {
    list-style: none;
    margin: 6px 0 26px;
    padding: 0;
}

.ebook-sec__bullet {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.ebook-sec__bullet:last-child {
    margin-bottom: 0;
}

.ebook-sec__bullet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: var(--blue);
}

.ebook-sec__bullet strong {
    font-size: 17px;
    font-weight: 700;
    line-height: 20px;
    text-transform: capitalize;
}

/* Client testimonials */
.testimonials-sec {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-sec__header {
    margin-bottom: 30px;
}

.testimonials-sec__masonry {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.testimonials-sec__column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.testimonials-sec__card--text {
    background: var(--white);
    border-radius: 15px;
    padding: 24px;
    box-shadow: 0 12px 34px rgba(17, 29, 58, 0.10);
}

.testimonials-sec__quote {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 18px;
}

.testimonials-sec__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonials-sec__avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonials-sec__author-meta {
    display: flex;
    flex-direction: column;
}

.testimonials-sec__author-name {
    font-size: 13px;
    font-weight: 700;
    text-transform: capitalize;
}

.testimonials-sec__author-role {
    font-size: 13px;
    color: #666;
    text-transform: capitalize;
}

.testimonials-sec__card--video {
    position: relative;
    min-height: 439px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
}

.testimonials-sec__card--video-john {
    min-height: 452px;
}

.testimonials-sec__card--video::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.35) 100%);
}

.testimonials-sec__video-meta {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.testimonials-sec__video-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    text-transform: capitalize;
}

.testimonials-sec__video-role {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: capitalize;
}

.testimonials-sec__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(2px);
    cursor: pointer;
    transition: background 0.2s ease;
}

.testimonials-sec__play-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.testimonials-sec__play-btn svg {
    margin-left: 4px;
}

.testimonials-sec__actions {
    justify-content: center;
    margin-top: 30px;
}

.testimonials-sec__slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonials-sec__slider {
    overflow: hidden;
    flex: 1;
}

.testimonials-sec__nav {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    padding: 0;
}

/* Contact */
.contact-sec {
    padding: 80px 0 88px;
    background: var(--white);
}

.contact-sec__eyebrow {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: capitalize;
}

.contact-sec__header {
    margin-bottom: 8px;
}

.contact-sec__form-title {
    font-size: 25px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 22px;
}

.contact-sec__control {
    width: 100%;
    height: 57px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: var(--cream-light);
    font-size: 15px;
    color: #222;
}

.contact-sec__control::placeholder {
    color: #4a4a4a;
    text-transform: capitalize;
}

.contact-sec__control:focus {
    outline: 2px solid rgba(0, 74, 173, 0.35);
}

.contact-sec__control--textarea {
    height: auto;
    min-height: 148px;
    padding: 16px 20px;
    resize: vertical;
}

.contact-sec__submit {
    margin-top: 24px;
    min-width: 136px;
}

.contact-sec__status {
    margin-top: 14px;
}

.contact-sec__status-error {
    color: #c0392b;
    font-size: 14px;
}

.contact-sec__status-success {
    color: #1e8e3e;
    font-size: 14px;
}

.contact-sec__info-card {
    position: relative;
    overflow: hidden;
    background: var(--gold);
    border-radius: 8px;
    padding: 34px 34px 40px;
    color: var(--white);
    min-height: 473px;
}

.contact-sec__info-block {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
    max-width: 280px;
}

.contact-sec__info-title {
    font-size: 25px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 6px;
    color: var(--white);
}

.contact-sec__info-text {
    font-size: 15px;
    line-height: 22px;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-sec__info-text a {
    color: var(--white);
}

.contact-sec__social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.contact-sec__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    transition: transform 0.2s ease, background 0.2s ease;
}

.contact-sec__social-link:hover {
    transform: translateY(-2px);
    background: var(--navy-dark);
    color: var(--white);
}

.contact-sec__deco--spiral {
    position: absolute;
    top: 26px;
    right: 26px;
    z-index: 0;
    pointer-events: none;
}

.contact-sec__woman-halo {
    position: absolute;
    right: 46px;
    bottom: 128px;
    width: 121px;
    height: 121px;
    border-radius: 50%;
    background: var(--white);
    z-index: 0;
    pointer-events: none;
}

.contact-sec__woman {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 163px;
    z-index: 1;
    pointer-events: none;
}

/* FAQ */
.faq-sec {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.faq-sec__bleed {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.faq-sec__bleed-wash {
    position: absolute;
    inset: 0;
    background: var(--section-tint);
}

.faq-sec__bleed-wash::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 653px;
    max-width: 55%;
    background: url('/main/images/faq-wave.svg') left top / 100% 100% no-repeat;
}

.faq-sec__container {
    position: relative;
    z-index: 1;
}

.faq-sec__eyebrow {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: capitalize;
}

.faq-sec__title {
    margin-bottom: 14px;
}

.faq-sec__video {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.faq-sec__video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.faq-sec__video-img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.faq-sec__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: var(--blue-bright);
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-sec__play-btn:hover {
    background: var(--navy-dark);
}

.faq-sec__play-btn svg {
    width: 18px;
    margin-left: 3px;
}

.faq-sec__accordion .accordion-item {
    background: transparent;
    border: 0;
    margin-bottom: 10px;
}

.faq-sec__accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.faq-sec__accordion .accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--blue) !important;
    color: var(--white) !important;
    font-family: var(--font-family-base);
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    text-transform: capitalize;
    border-radius: 15px !important;
    padding: 15px 22px;
    box-shadow: none !important;
    border: 0;
}

.faq-sec__accordion .accordion-button::after {
    display: none;
}

.faq-sec__accordion .accordion-button span {
    flex: 1;
    text-align: left;
}

.faq-sec__chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-sec__accordion .accordion-button:not(.collapsed) {
    border-radius: 15px 15px 0 0 !important;
}

.faq-sec__accordion .accordion-button:not(.collapsed) .faq-sec__chevron {
    transform: rotate(180deg);
}

.faq-sec__accordion-body {
    background: var(--white);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
    padding: 18px 22px;
}

.faq-sec__accordion-body p {
    font-size: 15px;
    line-height: 22px;
}

/* Work process (ebook experts) */
.ebook-experts-sec {
    position: relative;
    padding: 80px 0;
    background: var(--section-tint);
    overflow: hidden;
}

.ebook-experts-sec__wash {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 653px;
    max-width: 55%;
    background: url('/main/images/process-wave.svg') left top / 100% 100% no-repeat;
    pointer-events: none;
}

.ebook-experts-sec__container {
    position: relative;
    z-index: 1;
}

.ebook-experts-sec__header {
    margin-bottom: 29px;
}

.ebook-experts-sec__steps {
    position: relative;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    min-height: 243px;
}

.ebook-experts-sec__connector {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 243px;
    z-index: 0;
    pointer-events: none;
}

.ebook-experts-sec__card {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ebook-experts-sec__card-media {
    position: relative;
    display: inline-flex;
    margin-bottom: 23px;
}

/* Down cards start 30px lower than the up-card circles, as in the design. */
.ebook-experts-sec__card--down .ebook-experts-sec__card-body {
    margin-top: 30px;
}

/* Down cards: text on top, circle pinned lower — matches the Figma zigzag. */
.ebook-experts-sec__card--down .ebook-experts-sec__card-media {
    position: absolute;
    top: 152px;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
}

.ebook-experts-sec__card-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 91px;
    height: 91px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.ebook-experts-sec__card-num {
    position: absolute;
    top: -5px;
    left: -9px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}

.ebook-experts-sec__card-title {
    font-size: 25px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.ebook-experts-sec__card-text {
    font-size: 15px;
    line-height: 22px;
    max-width: 270px;
    margin: 0 auto;
}

/* Swiper (global) */
.swiper-button-prev,
.swiper-button-next {
    border-radius: 54px;
    width: 50px;
    height: 50px;
    background: #f90;
    border: 0;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}

/* Enquiry modal
   Landing-page buttons open this instead of scrolling the visitor down to a
   form, so the arrival has to carry the moment: the dialog rises and settles
   while the panel's contents follow it in. */
@keyframes ks-modal-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.ks-site-root .enquiry-modal.fade .enquiry-modal__dialog {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.96);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease-out;
}

.ks-site-root .enquiry-modal.show .enquiry-modal__dialog {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.enquiry-modal.show .enquiry-modal__eyebrow,
.enquiry-modal.show .enquiry-modal__title,
.enquiry-modal.show .enquiry-modal__subtitle,
.enquiry-modal.show .enquiry-modal__field,
.enquiry-modal.show .enquiry-modal__submit {
    animation: ks-modal-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.enquiry-modal.show .enquiry-modal__eyebrow { animation-delay: 0.16s; }
.enquiry-modal.show .enquiry-modal__title { animation-delay: 0.21s; }
.enquiry-modal.show .enquiry-modal__subtitle { animation-delay: 0.26s; }
.enquiry-modal.show .enquiry-modal__field:nth-child(1) { animation-delay: 0.31s; }
.enquiry-modal.show .enquiry-modal__field:nth-child(2) { animation-delay: 0.36s; }
.enquiry-modal.show .enquiry-modal__field:nth-child(3) { animation-delay: 0.41s; }
.enquiry-modal.show .enquiry-modal__field:nth-child(4) { animation-delay: 0.46s; }
.enquiry-modal.show .enquiry-modal__submit { animation-delay: 0.52s; }

body .modal-backdrop.show {
    background-color: rgba(0, 51, 122, 0.55);
    backdrop-filter: blur(5px);
    opacity: 1;
}

.enquiry-modal__dialog {
    max-width: 500px;
    margin: 1rem auto;
}

.enquiry-modal__content {
    position: relative;
    border: 0;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 24px 48px rgba(0, 51, 122, 0.18), 0 8px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.enquiry-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 51, 122, 0.06);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.enquiry-modal__close::before,
.enquiry-modal__close::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    border-radius: 1px;
    background: var(--navy);
}

.enquiry-modal__close::before {
    transform: rotate(45deg);
}

.enquiry-modal__close::after {
    transform: rotate(-45deg);
}

.enquiry-modal__close:hover {
    background: rgba(0, 51, 122, 0.12);
    transform: scale(1.05);
}

.enquiry-modal__close:focus-visible {
    outline: 2px solid var(--royal-blue);
    outline-offset: 2px;
}

.enquiry-modal__body {
    padding: 2rem 1.75rem 1.75rem;
}

.enquiry-modal__eyebrow {
    font-family: var(--font-family-base);
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lime);
    margin-bottom: 0.5rem;
}

.enquiry-modal__title {
    font-family: var(--font-family-base);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: capitalize;
    color: var(--navy);
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.enquiry-modal__subtitle {
    font-family: var(--font-family-base);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
    text-transform: none;
}

.enquiry-modal__fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.enquiry-modal__field label {
    display: block;
    font-family: var(--font-family-base);
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    color: var(--black);
    margin-bottom: 0.375rem;
}

.enquiry-modal__control {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0.625rem 1.3125rem;
    border: 1px solid var(--royal-blue);
    border-radius: 10px;
    background: var(--white);
    font-family: var(--font-family-base);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    text-transform: capitalize;
    color: var(--black);
    outline: none;
    appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.enquiry-modal__control::placeholder {
    color: rgba(0, 0, 0, 0.45);
    opacity: 1;
}

.enquiry-modal__control:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(17, 61, 205, 0.12);
}

.enquiry-modal__control--select {
    padding-right: 2.5rem;
    cursor: pointer;
}

.enquiry-modal__control--select:invalid {
    color: rgba(0, 0, 0, 0.45);
}

.enquiry-modal__select-wrap {
    position: relative;
}

.enquiry-modal__select-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 7px;
    height: 13px;
    background: url('/main/images/editing-lead-select-chevron.svg') no-repeat center / contain;
    transform: translateY(-50%) rotate(90deg);
    pointer-events: none;
}

.enquiry-modal__submit {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-size: 16px;
    line-height: 22px;
}

.enquiry-modal__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.enquiry-modal__status {
    margin-top: 0.75rem;
}

.enquiry-modal__status-error {
    color: #b42318;
    font-size: 14px;
    margin: 0;
    text-transform: none;
}

.enquiry-modal__status-success {
    color: #067647;
    font-size: 14px;
    margin: 0;
    text-transform: none;
}

.py-t {
    padding-top: 9rem;
    padding-bottom: 5rem;
}

/* Footer */
.footer-modern {
    position: relative;
    /* Deep blue base with soft glows on the left and right, as in the design. */
    background:
        radial-gradient(620px 480px at 6% 26%, rgba(90, 150, 255, 0.38), transparent 70%),
        radial-gradient(760px 620px at 97% 60%, rgba(90, 150, 255, 0.34), transparent 70%),
        radial-gradient(900px 700px at 50% 110%, rgba(10, 40, 110, 0.65), transparent 75%),
        linear-gradient(180deg, #114f9f 0%, #0d4290 55%, #0a3576 100%);
    padding-top: 80px;
    color: var(--white);
}

.footer-modern__newsletter {
    background: var(--blue);
    border-radius: 8px;
    padding: 30px 40px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.footer-modern__logo img {
    width: 227px;
    height: auto;
}

.footer-modern__newsletter-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    text-transform: capitalize;
}

.footer-modern__newsletter-title span {
    display: block;
}

.footer-modern__newsletter-form {
    position: relative;
}

.footer-modern__newsletter-input {
    width: 100%;
    height: 60px;
    border: 0;
    border-radius: 8px;
    background: var(--white);
    padding: 0 74px 0 20px;
    font-size: 14px;
    color: #222;
}

.footer-modern__newsletter-input::placeholder {
    color: #555;
    text-transform: capitalize;
}

.footer-modern__newsletter-btn {
    position: absolute;
    top: 3px;
    right: 3px;
    bottom: 3px;
    width: 54px;
    border: 0;
    border-radius: 8px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.footer-modern__newsletter-btn:hover {
    background: var(--gold-dark);
}

.footer-modern__main {
    padding: 56px 0 30px;
}

.footer-modern__heading {
    font-size: 25px;
    font-weight: 700;
    color: var(--white);
    text-transform: capitalize;
    margin-bottom: 18px;
}

.footer-modern__about-text {
    font-size: 15px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.95);
}

.footer-modern__social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.footer-modern__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-modern__social-link:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-modern__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-modern__list li {
    margin-bottom: 10px;
}

.footer-modern__list a {
    font-size: 15px;
    color: var(--white);
    text-transform: capitalize;
    transition: color 0.15s ease;
}

.footer-modern__list a:hover {
    color: var(--cream);
}

.footer-modern__contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-modern__contact-list li {
    margin-bottom: 14px;
}

.footer-modern__contact-list span {
    display: block;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 2px;
}

.footer-modern__contact-list a {
    font-size: 15px;
    color: var(--white);
    transition: color 0.15s ease;
}

.footer-modern__contact-list a:hover {
    color: var(--cream);
}

.footer-modern__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    padding: 16px 0 18px;
    margin-top: 14px;
}

.footer-modern__bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-modern__bottom-bar p {
    font-size: 15px;
    margin: 0;
    color: var(--white);
}

.footer-modern__bottom-bar ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.footer-modern__bottom-bar ul a {
    font-size: 15px;
    color: var(--white);
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* Experience The Difference — inner pages (Figma 96:114 / 98:676) */
.exp-diff-sec {
    position: relative;
    padding: 5rem 0 5rem;
    overflow: hidden;
    background: #f8f9fc;
}

.exp-diff-sec__wave {
    position: absolute;
    left: 0;
    top: 0;
    width: min(51.5%, 742px);
    height: 100%;
    background: url('/main/images/exp-diff-wave-left.svg') no-repeat left top / 100% 100%;
    transform-origin: left top;
    transform: scaleY(-1) rotate(180deg);
    pointer-events: none;
    z-index: 0;
}

.exp-diff-sec__container {
    position: relative;
    z-index: 1;
    max-width: 1140px;
}

.exp-diff-sec__header {
    text-align: center;
    margin: 0 auto 2.4rem;
}

.exp-diff-sec__header .tag-line {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 23px;
    line-height: normal;
}

.exp-diff-sec__title {
    font-size: 45px;
    line-height: normal;
    margin: 0;
}

.exp-diff-sec__slider-wrap {
    position: relative;
    max-width: 1137px;
    margin: 0 auto;
    padding: 0 2.75rem;
}

.exp-diff-sec__slider {
    overflow: hidden;
}

.exp-diff-sec .swiper-button-prev:not(.exp-diff-sec__nav),
.exp-diff-sec .swiper-button-next:not(.exp-diff-sec__nav) {
    display: none !important;
}

.exp-diff-sec__slider .swiper-slide {
    height: auto;
}

.exp-diff-sec__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 31px;
    height: 31px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exp-diff-sec__nav img {
    display: block;
    width: 31px;
    height: 31px;
}

.exp-diff-sec__nav--prev {
    left: 0;
}

.exp-diff-sec__nav--next {
    right: 0;
}

.exp-diff-sec__pagination {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 1.25rem;
    padding-top: 0.35rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.exp-diff-card {
    position: relative;
    width: 100%;
    max-width: 369px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    min-height: 334px;
    overflow: hidden;
}

.exp-diff-card__deco {
    position: absolute;
    inset: 0;
    background: url('/main/images/exp-diff-card-deco.svg') no-repeat center / 100% 100%;
    pointer-events: none;
    z-index: 1;
}

.exp-diff-card__icon-wrap {
    position: relative;
    z-index: 2;
    padding: 16px 0 0 21px;
    min-height: 85px;
}

.exp-diff-card__icon {
    display: block;
    width: auto;
    max-width: 75px;
    height: auto;
    max-height: 69px;
    object-fit: contain;
}

.exp-diff-card__body {
    position: relative;
    z-index: 2;
    padding: 52px 21px 28px;
}

.exp-diff-card__title {
    font-size: 25px;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 10px;
    text-transform: capitalize;
}

.exp-diff-card__text {
    margin: 0;
    text-transform: none;
    font-size: 15px;
    line-height: 22px;
    max-width: 329px;
}

/* Inner service pages — Figma 96:114 content split (white bg) */
.content-split-sec--inner {
    background: var(--white);
}

.content-split-sec--inner.ebook-sec {
    padding: 4.5rem 0 5rem;
}

/* Inner process steps — white cards on lavender section (Figma 102:795) */
.ebook-experts-sec--inner .ebook-experts-sec__card {
    background: var(--white);
}

/* Editing lead — Figma node 100:785 */
.editing-lead-sec {
    padding: 4.5rem 0 5rem;
    background: var(--white);
}

.editing-lead-sec__row {
    --bs-gutter-x: 2.25rem;
}

.editing-lead-sec__title {
    font-size: 45px;
    line-height: normal;
    margin: 0 0 1.125rem;
    max-width: 657px;
}

.editing-lead-sec__desc {
    margin: 0 0 1.625rem;
    max-width: 657px;
    font-size: 15px;
    line-height: 22px;
    text-transform: capitalize;
}

.editing-lead-sec__checklist {
    --bs-gutter-x: 1.5rem;
    margin-bottom: 1.75rem;
}

.editing-lead-sec__checklist-col {
    list-style: none;
    margin: 0;
    padding: 0;
}

.editing-lead-sec__check-item {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 22px;
    text-transform: capitalize;
    color: var(--black);
}

.editing-lead-sec__check-item:last-child {
    margin-bottom: 0;
}

.editing-lead-sec__check-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.editing-lead-sec__actions {
    margin-top: 0.25rem;
}

.editing-lead-sec__form-card {
    max-width: 446px;
    margin-left: auto;
    background: rgba(17, 61, 205, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.editing-lead-sec__form-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 0.5rem 1.25rem;
    background: var(--lime);
    border-radius: 10px;
}

.editing-lead-sec__form-banner-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    text-transform: capitalize;
}

.editing-lead-sec__form-banner-title span {
    display: block;
}

.editing-lead-sec__form {
    padding: 1.25rem 2.625rem 1.75rem;
}

.editing-lead-sec__fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1rem;
}

.editing-lead-sec__control {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0.625rem 1.3125rem;
    border: 1px solid var(--royal-blue);
    border-radius: 10px;
    background: var(--white);
    font-family: var(--font-family-base);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    text-transform: capitalize;
    color: var(--black);
    outline: none;
    appearance: none;
}

.editing-lead-sec__control::placeholder {
    color: var(--black);
    opacity: 1;
}

.editing-lead-sec__control--select {
    padding-right: 2.5rem;
    cursor: pointer;
}

.editing-lead-sec__control--select:invalid {
    color: var(--black);
}

.editing-lead-sec__control--textarea {
    height: auto;
    min-height: 96px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    resize: vertical;
    text-transform: none;
}

.editing-lead-sec__select-wrap {
    position: relative;
}

.editing-lead-sec__select-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 7px;
    height: 13px;
    background: url('/main/images/editing-lead-select-chevron.svg') no-repeat center / contain;
    transform: translateY(-50%) rotate(90deg);
    pointer-events: none;
}

.editing-lead-sec__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.editing-lead-sec__consent-input {
    flex: 0 0 13px;
    width: 13px;
    height: 14px;
    margin: 4px 0 0;
    border: 1px solid var(--black);
    border-radius: 2px;
    accent-color: var(--royal-blue);
    cursor: pointer;
}

.editing-lead-sec__consent-text {
    font-size: 15px;
    line-height: 22px;
    text-transform: capitalize;
    color: var(--black);
}

.editing-lead-sec__submit {
    width: 100%;
    min-height: 44px;
    padding: 0.625rem 1.5rem;
    border-radius: 20px;
    font-size: 15px;
    line-height: 22px;
}

.editing-lead-sec__status {
    margin-top: 0.75rem;
}

.editing-lead-sec__status-error {
    color: #b42318;
    font-size: 14px;
    margin: 0;
    text-transform: none;
}

.editing-lead-sec__status-success {
    color: #067647;
    font-size: 14px;
    margin: 0;
    text-transform: none;
}

/* Legal pages — Terms, Privacy, Refund */
.legal-content-sec {
    padding: 2.5rem 0 4.5rem;
    background: var(--white);
}

.legal-content-sec__body {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content-sec__block {
    margin-bottom: 2.25rem;
}

.legal-content-sec__block:last-child {
    margin-bottom: 0;
}

.legal-content-sec__heading {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.legal-content-sec__subheading {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin: 1.25rem 0 0.75rem;
    text-transform: capitalize;
}

.legal-content-sec__text {
    font-size: 15px;
    line-height: 1.65;
    color: #333;
    margin-bottom: 0.85rem;
    text-transform: none;
}

.legal-content-sec__list {
    margin: 0 0 1rem;
    padding-left: 1.35rem;
}

.legal-content-sec__list li {
    font-size: 15px;
    line-height: 1.65;
    color: #333;
    margin-bottom: 0.65rem;
    text-transform: none;
}

.legal-content-sec__list li:last-child {
    margin-bottom: 0;
}

/* ── Scroll-triggered animations ── */
@media (prefers-reduced-motion: no-preference) {
    .ks-animate {
        opacity: 0;
        transition:
            opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: var(--ks-animate-delay, 0ms);
        will-change: opacity, transform;
    }

    .ks-animate--fade-up {
        transform: translate3d(0, 32px, 0);
    }

    .ks-animate--fade-left {
        transform: translate3d(-32px, 0, 0);
    }

    .ks-animate--fade-right {
        transform: translate3d(32px, 0, 0);
    }

    .ks-animate--fade-in {
        transform: none;
    }

    .ks-animate.is-visible {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ks-animate {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ── Card & button hover polish ── */
@media (prefers-reduced-motion: no-preference) {
    .ebook-pathway-sec__card,
    .ebook-experts-sec__card,
    .exp-diff-card,
    .testimonials-sec__card--text {
        transition: transform 0.28s ease, box-shadow 0.28s ease;
    }

    .ebook-pathway-sec__card:hover,
    .ebook-experts-sec__card:hover,
    .exp-diff-card:hover,
    .testimonials-sec__card--text:hover {
        transform: none;
        box-shadow: 0 10px 20px rgba(0, 51, 122, 0.14);
    }

    .btn-ks {
        transition: opacity 0.2s ease, transform 0.22s ease, box-shadow 0.22s ease;
    }

    .btn-ks:hover {
        box-shadow: 0 6px 18px rgba(17, 61, 205, 0.22);
    }

    .btn-ks-green:hover {
        box-shadow: 0 6px 18px rgba(144, 193, 32, 0.28);
    }
}

/* Thank you page */
.thank-you-sec {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 4rem 0 5rem;
}

.thank-you-sec__card {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.thank-you-sec__title {
    margin-bottom: 1rem;
}

.thank-you-sec__desc {
    max-width: 520px;
    margin: 0 auto 1.5rem;
    text-transform: none;
    line-height: 1.6;
    opacity: 0.92;
}

.thank-you-sec__details {
    width: 100%;
    max-width: 440px;
    margin: 0 auto 1.75rem;
    padding: 1.25rem 1.5rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.thank-you-sec__details-heading {
    margin: 0 0 1rem;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.thank-you-sec__details-list {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.thank-you-sec__details-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.thank-you-sec__details-row:first-child {
    padding-top: 0;
}

.thank-you-sec__details-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.thank-you-sec__details-row dt {
    flex: 0 0 auto;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    text-transform: none;
}

.thank-you-sec__details-row dd {
    flex: 1 1 auto;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--white);
    text-align: right;
    text-transform: none;
    word-break: break-word;
}

.thank-you-sec__details ::selection {
    background: rgba(144, 193, 32, 0.35);
    color: var(--white);
}

.thank-you-sec__btns {
    justify-content: center;
    margin-bottom: 1.25rem;
}

.thank-you-sec__note {
    font-size: 15px;
    text-transform: none;
    opacity: 0.85;
    margin: 0;
}

.thank-you-sec__note a {
    color: var(--lime);
    text-decoration: none;
    font-weight: 700;
}

.thank-you-sec__note a:hover {
    text-decoration: underline;
}

/* Services cards */
.services-cards-sec {
    position: relative;
    padding: 80px 0;
    background: var(--section-tint);
    overflow: hidden;
}

.services-cards-sec__wash {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 653px;
    max-width: 55%;
    background: url('/main/images/services-wave.svg') right top / 100% 100% no-repeat;
    pointer-events: none;
}

.services-cards-sec__container {
    position: relative;
    z-index: 1;
}

.services-cards-sec__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.services-cards-sec__header .heading-2 {
    max-width: 520px;
}

.services-cards-sec__cta {
    margin-bottom: 8px;
}

.services-cards-sec .row {
    margin-top: 0;
}

.services-cards-sec__card {
    position: relative;
    height: 100%;
    background: var(--white) url('/main/images/service-card-deco.svg') right bottom / 231px auto no-repeat;
    border-radius: 15px;
    padding: 0 21px 30px;
    box-shadow: 0 10px 26px rgba(17, 29, 58, 0.06);
    overflow: hidden;
}

.services-cards-sec__icon-wrap {
    position: relative;
    height: 137px;
}

.services-cards-sec__icon-circle {
    position: absolute;
    top: -40px;
    left: -37px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 153px;
    height: 153px;
    border-radius: 50%;
    background: var(--blue);
}

.services-cards-sec__icon-circle img {
    width: auto;
    height: auto;
    max-width: 60px;
    max-height: 72px;
    object-fit: contain;
    transform: translate(5px, 11px);
}

.services-cards-sec__icon-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--gold);
    transform: translate(7px, 6px);
    z-index: -1;
}

.services-cards-sec__card-title {
    font-size: 25px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 12px;
}

.services-cards-sec__card-title a {
    color: inherit;
    transition: color 0.15s ease;
}

.services-cards-sec__card-title a:hover {
    color: var(--blue);
}

.services-cards-sec__card-text {
    font-size: 15px;
    line-height: 22px;
}

/* Portfolio */
.portfolio-sec {
    padding: 80px 0;
    background: var(--white);
}

.portfolio-sec__header {
    margin-bottom: 24px;
}

.portfolio-sec__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--white);
    border: 1px solid #e3c18b;
    border-radius: 10px;
    padding: 39px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.portfolio-sec__item:hover {
    box-shadow: 0 14px 30px rgba(17, 29, 58, 0.12);
    transform: translateY(-3px);
}

.portfolio-sec__item img {
    display: block;
    width: 194px;
    max-width: 100%;
    height: auto;
    border-radius: 3px;
}

.portfolio-sec__actions {
    justify-content: center;
    margin-top: 30px;
}

/* Why choose us */
.why-choose-sec {
    padding: 80px 0;
    background: var(--white);
}

.why-choose-sec__intro {
    font-size: 15px;
    line-height: 22px;
    max-width: 570px;
    margin: 14px 0 28px;
}

.why-choose-sec__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.why-choose-sec__feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.why-choose-sec__feature-icon {
    flex-shrink: 0;
    width: 55px;
}

.why-choose-sec__feature-title {
    font-size: 25px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 6px;
}

.why-choose-sec__feature-text {
    font-size: 15px;
    line-height: 22px;
    max-width: 500px;
}

.why-choose-sec__collage {
    position: relative;
    height: 520px;
}

.why-choose-sec__collage-ring {
    position: absolute;
    left: 30%;
    top: 4%;
    width: 432px;
    height: 432px;
    border: 2px dashed var(--blue);
    border-radius: 50%;
    opacity: 0.85;
    pointer-events: none;
}

.why-choose-sec__photo {
    position: absolute;
    border-radius: 12px;
    object-fit: cover;
    z-index: 1;
}

.why-choose-sec__photo--first {
    left: 0;
    top: 0;
    width: 273px;
    height: 363px;
}

.why-choose-sec__photo--second {
    right: 4%;
    top: 118px;
    width: 273px;
    height: 376px;
}

/* Award banner */
.award-banner-sec {
    position: relative;
    background: var(--blue);
    padding: 72px 0;
    overflow: hidden;
}

.award-banner-sec__dots {
    position: absolute;
    left: 0;
    top: 0;
    width: 125px;
    height: 175px;
    background: url('/main/images/award-shape-left.webp') left top / contain no-repeat;
    pointer-events: none;
}

.award-banner-sec::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 230px;
    background: url('/main/images/award-shape-right.webp') right center / contain no-repeat;
    pointer-events: none;
}

.award-banner-sec .container {
    position: relative;
    z-index: 1;
}

.award-banner-sec__title {
    font-size: 45px;
    font-weight: 700;
    line-height: 54px;
    text-transform: none;
    max-width: 390px;
}

.award-banner-sec__badges {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: nowrap;
}

.award-banner-sec__badges img {
    width: auto;
    height: 110px;
    min-width: 0;
    object-fit: contain;
}

/* Inner-page centered hero */
.about-hero-sec {
    position: relative;
}

.about-hero-sec__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 112px 0;
    text-align: center;
}

.about-hero-sec__desc {
    max-width: 560px;
    margin: 12px auto 0;
    font-size: 15px;
    line-height: 22px;
}

.about-hero-sec__btns {
    justify-content: center;
    margin-top: 28px;
    gap: 18px;
}

.about-hero-sec__character {
    position: absolute;
    right: 99px;
    bottom: 0;
    height: auto;
    max-height: 315px;
    width: auto;
    z-index: 1;
    pointer-events: none;
}

/* Service intro split */
.service-intro-sec {
    padding: 96px 0;
    background: var(--white);
}

.service-intro-sec__content .heading-2 {
    margin-bottom: 18px;
}

.service-intro-sec__content p {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 16px;
}

.service-intro-sec__cta {
    margin-top: 10px;
    min-width: 136px;
}

.service-intro-sec__figure {
    position: relative;
    display: block;
    margin-left: auto;
    max-width: 561px;
    height: 517px;
}

.service-intro-sec__corner {
    position: absolute;
    top: -14px;
    right: -16px;
    width: 162px;
    height: 159px;
    border: 5px solid var(--gold);
    z-index: 0;
    pointer-events: none;
}

.service-intro-sec__img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* Service guide steps */
.service-guide-sec {
    padding: 90px 0;
    background: var(--section-tint);
}

.service-guide-sec__header {
    margin-bottom: 44px;
}

.service-guide-sec__card {
    height: 100%;
    background: var(--white);
    border-radius: 10px;
    padding: 26px;
    box-shadow: 0 10px 26px rgba(17, 29, 58, 0.06);
    text-align: center;
}

.service-guide-sec__step {
    font-size: 15px;
    text-transform: capitalize;
    margin-bottom: 6px;
}

.service-guide-sec__step strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.2;
}

.service-guide-sec__card-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.service-guide-sec__card-text {
    font-size: 15px;
    line-height: 22px;
}

/* Services listing page (plain cards, no tinted band) */
.services-cards-sec--plain {
    background: var(--white);
    padding-top: 110px;
}

.services-cards-sec--plain .services-cards-sec__wash {
    display: none;
}

.services-cards-sec--plain .row {
    margin-top: 0;
    justify-content: center;
}

/* Stacked testimonial bands on the testimonials page */
.testimonials-sec--compact {
    padding-top: 0;
}

/* Design grid pitch: cards are 369 (services) / 273 (portfolio) wide with
   15px gaps inside the 1137px column. Scoped so Bootstrap's row gutters
   cannot win on source order. */
.ks-site-root .services-cards-sec__grid,
.ks-site-root .portfolio-sec__grid {
    display: grid;
    gap: 15px;
    margin: 0;
}

.ks-site-root .services-cards-sec__grid {
    grid-template-columns: repeat(3, 1fr);
}

.ks-site-root .portfolio-sec__grid {
    grid-template-columns: repeat(4, 1fr);
}

.ks-site-root .services-cards-sec__grid > *,
.ks-site-root .portfolio-sec__grid > * {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
    margin: 0;
}


/* ============================================================
   Exact design geometry (Figma frame 1:2)
   ============================================================ */

/* Portfolio covers are a fixed 194x269 box inside a 273x348 card */
.ks-site-root .portfolio-sec__item {
    padding: 39px;
}

.ks-site-root .portfolio-sec__item img {
    width: 194px;
    height: 269px;
    object-fit: cover;
}

/* Contact: 657px form column + 465px info card, 15px apart */
.ks-site-root .contact-sec__row {
    display: grid;
    grid-template-columns: minmax(0, 657fr) minmax(0, 465fr);
    gap: 15px;
    margin: 0;
}

.ks-site-root .contact-sec__row > * {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
    margin: 0;
}

/* Contact fields: full-width rows with a 15px split for email/phone */
.ks-site-root .contact-sec__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin: 0;
}

.ks-site-root .contact-sec__fields > * {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
    margin: 0;
}

.ks-site-root .contact-sec__fields > .contact-sec__field--full {
    grid-column: 1 / -1;
}

.contact-sec__control--textarea {
    min-height: 145px;
}

/* FAQ: two 561px columns, 15px apart */
.ks-site-root .faq-sec__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin: 0;
}

.ks-site-root .faq-sec__row > * {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
    margin: 0;
}

/* Contact header + form title rhythm (design: 24px, then 30px) */
.contact-sec__header {
    margin-bottom: 24px;
}

.contact-sec__form-title {
    margin-bottom: 30px;
}

/* FAQ: closed rows are 56px tall and the title sits on one line */
.faq-sec__accordion .accordion-button {
    min-height: 56px;
}

@media (min-width: 1200px) {
    .faq-sec__title {
        white-space: nowrap;
    }
}


/* Footer rhythm from the design: 79px to the newsletter card (143 tall),
   30px to the link columns, and a 22px bottom bar. */
.footer-modern {
    padding-top: 79px;
}

.footer-modern__newsletter {
    padding: 30px 40px;
    min-height: 143px;
    display: flex;
    align-items: center;
}

.footer-modern__newsletter > .row {
    width: 100%;
    margin: 0;
}

.footer-modern__main {
    padding: 30px 0 0;
}

.footer-modern__bottom {
    margin-top: 24px;
    padding: 14px 0 16px;
}

/* About split: 525px figure + 561px copy, 51px apart (design) */
.ks-site-root .ebook-sec__row {
    display: grid;
    grid-template-columns: minmax(0, 525fr) minmax(0, 561fr);
    gap: 51px;
    align-items: center;
    margin: 0;
}

.ks-site-root .ebook-sec__row > * {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
    margin: 0;
}

/* Process step titles sit on one line in the design, overflowing their column */
@media (min-width: 1200px) {
    .ebook-experts-sec__card-title {
        white-space: nowrap;
    }
}


/* Service intro: two 561px columns, 15px apart (design) */
.ks-site-root .service-intro-sec__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    align-items: center;
    margin: 0;
}

.ks-site-root .service-intro-sec__row > * {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
    margin: 0;
}

.service-intro-sec__img {
    height: 100%;
}

/* Service guide: three 369px cards, 15px apart (design) */
.ks-site-root .service-guide-sec__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin: 0;
}

.ks-site-root .service-guide-sec__grid > * {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
    margin: 0;
}

/* Flex children that contain a slider must be allowed to shrink, otherwise the
   track's content width blows the layout out. */
.testimonials-sec__slider,
.stats-bar__slider {
    min-width: 0;
}

/* ============================================================
   Mobile slider — sections that would otherwise stack into a very
   long page become swipeable below 992px.
   ============================================================ */
.m-slider {
    position: relative;
}

.m-slider__viewport {
    overflow: hidden;
    padding: 4px 0 6px;
}

.m-slider .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.m-slider .swiper-slide > * {
    flex: 1;
    width: 100%;
}

.m-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.m-slider__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: none;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.m-slider__nav:hover {
    background: var(--navy-dark);
}

.m-slider__nav.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

.m-slider__pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
}

.m-slider__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: var(--blue);
    opacity: 0.3;
}

.m-slider__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gold);
    width: 20px;
    border-radius: 4px;
}

/* The disc is clipped to the card, so the track needs no extra headroom */
.services-cards-sec__slider .m-slider__viewport {
    padding-top: 4px;
}

/* Process steps read as plain cards inside the slider */
.ebook-experts-sec__slider .ebook-experts-sec__card,
.ebook-experts-sec__slider .ebook-experts-sec__card--down {
    align-items: center;
    text-align: center;
}

.ebook-experts-sec__slider .ebook-experts-sec__card--down .ebook-experts-sec__card-media {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    margin: 0 0 23px;
    order: -1;
}

.ebook-experts-sec__slider .ebook-experts-sec__card--down .ebook-experts-sec__card-body {
    margin-top: 0;
}

/* Landing page sliders sit on dark bands */
.nh-lpprocess__slider .m-slider__nav,
.nh-lppricing__slider .m-slider__nav {
    background: var(--gold);
}

.nh-lpprocess__slider .m-slider__pagination .swiper-pagination-bullet,
.nh-lppricing__slider .m-slider__pagination .swiper-pagination-bullet {
    background: #fff;
}

.nh-lpprocess__slider .m-slider__pagination .swiper-pagination-bullet-active,
.nh-lppricing__slider .m-slider__pagination .swiper-pagination-bullet-active {
    background: var(--gold);
}

.nh-lpprocess__slider .nh-lpstep,
.nh-lppricing__slider .nh-lpplan {
    width: 100%;
    max-width: none;
}

/* Bootstrap has no d-lg-grid helper; provide it for the design grids */
@media (min-width: 992px) {
    .ks-site-root .d-lg-grid {
        display: grid !important;
    }
}

/* Dots-only slider controls */
.m-slider .m-slider__pagination,
.testimonials-sec__slider-wrap .m-slider__pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
    margin-top: 18px;
}

.testimonials-sec__slider-wrap {
    display: block;
}

.testimonials-sec__slider-wrap .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: var(--blue);
    opacity: 0.3;
}

.testimonials-sec__slider-wrap .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gold);
    width: 20px;
    border-radius: 4px;
}

/* Landing sliders sit on dark bands */
.nh-lptesti__slider .m-slider__pagination .swiper-pagination-bullet {
    background: #fff;
}

.nh-lptesti__slider .m-slider__pagination .swiper-pagination-bullet-active,
.nh-lpsvc__slider .m-slider__pagination .swiper-pagination-bullet-active {
    background: var(--gold);
}

/* ============================================================
   Header rhythm + card details measured off the frame
   ============================================================ */

/* Bootstrap gives h2 a 0.5rem bottom margin, which pushed every section
   header (and everything under it) 8px below the design. */
.heading-2 {
    margin-bottom: 0;
}

/* The design leaves 5px between an eyebrow and its heading */
.tag-line--section {
    margin-bottom: 5px;
}

/* The icon disc is offset from the card edge, not from the padding box */
.services-cards-sec__icon-circle {
    left: -58px;
}

.services-cards-sec__card-title {
    margin-bottom: 5px;
}

/* Cards hold the design's height so the sections below keep their rhythm
   regardless of how long the copy is */
@media (min-width: 992px) {
    .services-cards-sec__card {
        min-height: 334px;
    }
}

/* Why-choose collage at the design's exact offsets (photos 273x363 / 273x376
   inside a 432px dashed ring) */
@media (min-width: 992px) {
    .why-choose-sec__collage {
        height: 494px;
    }

    .why-choose-sec__collage-ring {
        left: -15px;
        top: 2px;
        width: 432px;
        height: 432px;
    }

    .why-choose-sec__photo--first {
        left: 0;
        top: 0;
        width: 273px;
        height: 363px;
    }

    .why-choose-sec__photo--second {
        left: 288px;
        right: auto;
        top: 118px;
        width: 273px;
        height: 376px;
    }
}

/* Why choose: two 561px columns, 15px apart (design) */
.ks-site-root .why-choose-sec__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    align-items: center;
    margin: 0;
}

.ks-site-root .why-choose-sec__row > * {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
    margin: 0;
}

/* The design's halo is a 121px white circle under a 150px layer blur, so it
   reads as a soft glow rather than a hard disc */
.contact-sec__woman-halo {
    width: 260px;
    height: 260px;
    right: 11px;
    bottom: 138px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.22) 40%, rgba(255, 255, 255, 0) 70%);
}

/* Footer columns at the design's positions (152 / 582 / 843 / 1143) */
.ks-site-root .footer-modern__main {
    display: grid;
    grid-template-columns: minmax(0, 400fr) minmax(0, 250fr) minmax(0, 280fr) minmax(0, 207fr);
    gap: 30px;
    margin: 0;
}

.ks-site-root .footer-modern__main > * {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
    margin: 0;
}

/* Footer socials are 39px discs in the design */
.footer-modern__social-link {
    width: 39px;
    height: 39px;
    background: var(--blue);
}

.footer-modern__social-link svg {
    width: 18px;
    height: 18px;
}

/* ============================================================
   Smooth scrolling
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Anchor targets clear the header instead of hiding under it */
:target {
    scroll-margin-top: 90px;
}

.ks-site-root [id],
.lp-site-root [id] {
    scroll-margin-top: 90px;
}

/* Interactive polish */
.services-cards-sec__card,
.service-guide-sec__card,
.portfolio-sec__item,
.testimonials-sec__card--text {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services-cards-sec__card:hover,
.service-guide-sec__card:hover,
.testimonials-sec__card--text:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(17, 29, 58, 0.12);
}

.award-banner-sec__badges img,
.footer-modern__list a,
.nh-lpfooter__nav a {
    transition: transform 0.25s ease, color 0.15s ease;
}

.award-banner-sec__badges img:hover {
    transform: scale(1.06);
}

.footer-modern__list a:hover,
.nh-lpfooter__nav a:hover {
    transform: translateX(3px);
}

/* ============================================================
   Motion layer — the page should feel alive, not static
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

    /* --- the process line draws itself left to right ---
       The clip lives on the line, but the observer watches the row: a fully
       clipped element has no area, so it would never report as intersecting. */
    .ks-animate--draw-line {
        opacity: 1;
    }

    .ks-animate--draw-line .ebook-experts-sec__connector {
        clip-path: inset(0 100% 0 0);
        transition: clip-path 1.8s cubic-bezier(0.4, 0, 0.2, 1);
        transition-delay: var(--ks-animate-delay, 250ms);
    }

    .ks-animate--draw-line.is-visible .ebook-experts-sec__connector {
        clip-path: inset(0 0 0 0);
    }

    /* --- gentle floating --- */
    @keyframes ks-float {
        0%, 100% { transform: translate3d(0, 0, 0); }
        50%      { transform: translate3d(0, -12px, 0); }
    }

    @keyframes ks-float-soft {
        0%, 100% { transform: translate3d(0, 0, 0); }
        50%      { transform: translate3d(0, -7px, 0); }
    }

    .hero-sec__character.is-visible {
        animation: ks-float 6s ease-in-out 0.9s infinite;
    }

    .about-hero-sec__character.is-visible {
        animation: ks-float-soft 5.5s ease-in-out 1s infinite;
    }

    .ebook-sec__badge {
        animation: ks-float-soft 5s ease-in-out infinite;
    }

    .award-banner-sec__badges img.is-visible {
        animation: ks-float-soft 4.5s ease-in-out infinite;
    }

    .award-banner-sec__badges img:nth-child(2n).is-visible { animation-delay: 0.5s; }
    .award-banner-sec__badges img:nth-child(3n).is-visible { animation-delay: 1s; }

    .nh-lpbooks__item {
        animation: ks-float-soft 6s ease-in-out infinite;
    }

    .nh-lpbooks__item--c2 { animation-delay: 0.6s; }
    .nh-lpbooks__item--c3 { animation-delay: 1.2s; }
    .nh-lpbooks__item--c4 { animation-delay: 0.3s; }
    .nh-lpbooks__item--c5 { animation-delay: 0.9s; }
    .nh-lpbooks__item--c6 { animation-delay: 1.5s; }
    .nh-lpbooks__item--c7 { animation-delay: 2.1s; }

    .nh-lpcta__book {
        animation: ks-float 7s ease-in-out infinite;
    }

    /* --- play buttons pulse so they read as clickable --- */
    @keyframes ks-pulse-ring {
        0%   { box-shadow: 0 0 0 0 rgba(0, 74, 173, 0.45); }
        70%  { box-shadow: 0 0 0 18px rgba(0, 74, 173, 0); }
        100% { box-shadow: 0 0 0 0 rgba(0, 74, 173, 0); }
    }

    .faq-sec__play-btn,
    .testimonials-sec__play-btn {
        animation: ks-pulse-ring 2.6s ease-out infinite;
    }
}

/* ============================================================
   Hover states
   ============================================================ */
.btn-ks {
    position: relative;
    overflow: hidden;
}

.btn-ks::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.btn-ks:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 51, 122, 0.25);
}

.btn-ks:hover::after {
    transform: translateX(120%);
}

.btn-ks:active {
    transform: translateY(0);
}

/* Service card: the disc reacts with the card */
.services-cards-sec__icon-circle,
.services-cards-sec__icon-circle::before {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.services-cards-sec__card:hover .services-cards-sec__icon-circle {
    transform: scale(1.06);
}

.services-cards-sec__card:hover .services-cards-sec__icon-circle::before {
    transform: translate(11px, 10px);
}

/* Book covers lift out of their frame */
.portfolio-sec__item img,
.nh-lpbest__slide-img {
    transition: transform 0.35s ease;
}

.portfolio-sec__item:hover img,
.nh-lpbest__slide-img:hover {
    transform: scale(1.05) rotate(-1deg);
}

/* Process steps respond on hover */
.ebook-experts-sec__card-circle,
.ebook-experts-sec__card-num {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.ebook-experts-sec__card:hover .ebook-experts-sec__card-circle {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.ebook-experts-sec__card:hover .ebook-experts-sec__card-num {
    transform: scale(1.12);
}

/* Why-choose feature icons */
.why-choose-sec__feature-icon img,
.nh-lpwhy__list li img {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-choose-sec__feature:hover .why-choose-sec__feature-icon img,
.nh-lpwhy__list li:hover img {
    transform: scale(1.15) rotate(-6deg);
}

/* Nav underline grows from the middle */
.site-header .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 2px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: left 0.25s ease, right 0.25s ease;
}

.site-header .nav-link:hover::after {
    left: 10px;
    right: 10px;
}

.site-header .nav-link.active::after {
    left: 10px;
    right: 10px;
}

/* Social + play buttons */
.contact-sec__social-link,
.footer-modern__social-link,
.nh-lpfooter__social a,
.nh-lphead__social a {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.contact-sec__social-link:hover,
.footer-modern__social-link:hover,
.nh-lpfooter__social a:hover,
.nh-lphead__social a:hover {
    transform: translateY(-3px) scale(1.08);
}

.faq-sec__play-btn:hover,
.testimonials-sec__play-btn:hover {
    transform: translate(-50%, -50%) scale(1.12);
}

/* Landing page cards */
.nh-lpsvc-card,
.nh-lpplan,
.nh-lptesti-card,
.nh-lpstep__card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nh-lpsvc-card:hover,
.nh-lptesti-card:hover,
.nh-lpstep__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(0, 51, 122, 0.18);
}

.nh-lpplan:hover {
    transform: translateY(-6px);
}

.nh-lpsvc-card__icon {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nh-lpsvc-card:hover .nh-lpsvc-card__icon {
    transform: translateX(-50%) scale(1.1);
}

/* Lenis needs the native smooth-scroll off while it drives the page */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* Visitors who ask for less motion get none of it — hover feedback included. */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
