/* ========== RESPONSIVE ========== */

@media (max-width: 1440px) {
  .hero-banner .container {
    padding-bottom: 130px;
  }

  .hero-title-sub {
    font-size: 55px;
  }

  .hero-title-italic {
    font-size: 55px;
  }

  .hero-visual img {
    width: 760px;
  }

  .section-badge {
    font-size: 17px;
  }

  .section-heading {
    font-size: 55px;
  }

  .section-text {
    font-size: 18px;
  }

  .section-quote {
    font-size: 35px;
  }

  .worldwide-publishing-visual {
    width: 800px;
  }

  .cta-heading {
    font-size: 45px;
  }

  .genre-card-title {
    font-size: 18px;
  }

  .service-card-title {
    font-size: 32px;
  }

  .service-card .btn-hero-primary {
    font-size: 18px;
  }

  .process-step-title {
    font-size: 26px;
  }

  .portfolio-filter {
    font-size: 16px;
  }

  .authors-slider .genre-card-title {
    font-size: 30px;
  }

  .solution-card-title {
    font-size: 34px;
  }

  .btn-blue {
    font-size: 18px;
  }

  .review-text {
    font-size: 16px;
    line-height: 28px;
  }

  .quote-actions .btn-hero-primary,
  .quote-actions .btn-hero-outline {
    min-height: 50px;
  }

  .quote-submit {
    min-height: 50px;
  }
}

@media (max-width: 1399.98px) {
  .hero-badge {
    font-size: 16px;
  }

  .hero-title-main {
    font-size: 82px;
  }

  .hero-title-sub {
    font-size: 46px;
  }

  .hero-title-italic {
    font-size: 46px;
  }

  .hero-text {
    font-size: 18px;
  }

  .btn-hero-primary {
    font-size: 16px;
  }

  .btn-hero-outline {
    font-size: 16px;
  }

  .hero-visual img {
    width: 680px;
  }

  .section-badge {
    font-size: 16px;
  }

  .section-heading {
    font-size: 45px;
    line-height: 60px !important;
  }

  .section-text {
    font-size: 16px;
  }

  .section-quote {
    font-size: 30px;
    line-height: 45px;
  }

  .worldwide-publishing-visual {
    width: 700px;
  }

  .cta-text {
    font-size: 16px;
  }

  .btn-gold {
    font-size: 16px;
  }

  .cta-visual {
    width: 520px;
    top: 51%;
  }

  .why-card-number {
    font-size: 60px;
  }

  .why-card-label {
    font-size: 16px;
  }

  .why-rating-score {
    font-size: 80px;
  }

  .why-rating-text {
    font-size: 16px;
  }

  .why-rating-avatars {
    width: 120px;
  }

  .why-rating-btn {
    font-size: 16px;
  }

  .genre-card-title {
    font-size: 16px;
  }

  .genre-card-desc {
    font-size: 14px;
    line-height: 24px;
  }

  .service-card-title {
    font-size: 26px;
  }

  .service-card-text {
    font-size: 16px;
  }

  .service-card .btn-hero-primary {
    font-size: 16px;
  }

  .process-step-title {
    font-size: 22px;
  }

  .process-step-text {
    font-size: 14px;
  }

  .process-step-dot {
    font-size: 18px;
  }

  .portfolio-filter {
    font-size: 14px;
    padding: 5px 15px;
  }

  .authors-slider .genre-card-title {
    font-size: 24px;
  }

  .genre-card--static .genre-card-desc {
    font-size: 16px;
    line-height: 26px;
  }

  .solution-card-tag {
    font-size: 14px;
  }

  .solution-card-title {
    font-size: 30px;
  }

  .solution-card-text {
    font-size: 16px;
    line-height: 24px;
  }

  .btn-blue {
    font-size: 16px;
  }

  .review-name {
    font-size: 18px;
  }

  .review-role {
    font-size: 12px;
  }

  .quote-heading {
    font-size: 45px;
    line-height: 60px;
  }

  .quote-input {
    padding: 15px 18px;
  }

  .quote-points {
    font-size: 14px;
  }

  .quote-submit {
    font-size: 16px;
  }
}

@media (max-width: 1199.98px) {
  .top-bar-contacts-group {
    gap: 8px 30px;
    padding-right: 30px;
  }

  .hero-banner .container {
    padding-bottom: 80px;
  }

  .hero-badge {
    font-size: 14px;
  }

  .hero-title-main {
    font-size: 65px;
  }

  .hero-title-sub,
  .hero-title-italic {
    font-size: 38px;
    line-height: 56px;
  }

  .hero-visual img {
    width: 600px;
  }

  .nav-pill > a,
  .nav-pill .nav-dropdown-toggle {
    padding: 8px 12px;
    font-size: 14px;
  }

  .nav-dropdown-menu a {
    font-size: 14px;
  }

  .btn-start-book {
    min-width: 160px;
    height: 52px;
    font-size: 14px;
  }

  .section-heading {
    font-size: 40px;
    line-height: 55px !important;
  }

  .section-quote {
    font-size: 26px;
    line-height: 36px;
  }

  .worldwide-publishing-visual {
    width: 580px;
  }

  .cta-heading {
    font-size: 40px;
  }

  .cta-visual {
    width: 560px;
    left: -180px;
  }

  .why-card-number {
    font-size: 45px;
  }

  .why-rating-score {
    font-size: 65px;
  }

  .why-rating-text {
    font-size: 14px;
  }

  .why-rating-avatars {
    width: 90px;
  }

  .why-rating-btn {
    font-size: 14px;
    padding: 0 40px;
  }

  .genre-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card-title {
    font-size: 23px;
  }

  .portfolio-filter {
    font-size: 16px;
    padding: 5px 30px;
  }

  .authors-slider .genre-card-title {
    font-size: 22px;
  }

  .solution-card {
    padding: 24px 24px 30px 26px;
  }

  .solution-card-icon {
    width: 60px;
  }

  .solution-card-title {
    font-size: 26px;
  }

  .solution-card-text {
    font-size: 14px;
  }

  .btn-blue {
    font-size: 14px;
  }

  .faq-author {
    width: 100%;
  }

  .faq-accordion .accordion-button {
    font-size: 18px;
  }

  .faq-accordion .accordion-body {
    font-size: 14px;
  }

  .quote-heading {
    font-size: 40px;
    line-height: 50px;
  }

  .quote-form {
    padding: 0 15px;
  }

  .quote-input {
    padding: 12px 15px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .footer-main .row {
    --bs-gutter-x: 20px;
  }

  .footer-main .footer-brand {
    flex: 0 0 26%;
    max-width: 26%;
  }

  .footer-main .footer-col {
    flex: 0 0 18.5%;
    max-width: 18.5%;
  }

  .footer-logo {
    width: 140px;
  }

  .footer-about {
    max-width: none;
    font-size: 13px;
    line-height: 20px;
  }

  .footer-title {
    font-size: 18px;
    line-height: 24px;
    white-space: nowrap;
  }

  .footer-links a {
    font-size: 13px;
    line-height: 32px;
  }

  .footer-contact a,
  .footer-contact span {
    font-size: 13px;
    line-height: 20px;
  }

  .footer-contact {
    gap: 16px;
  }
}

@media (max-width: 991.98px) {
  .top-bar-contacts {
    font-size: 12px;
  }

  .top-bar-contacts-group {
    gap: 8px 16px;
    padding-right: 16px;
  }

  .main-nav-wrap {
    padding-top: 12px;
  }

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

  .nav-desktop {
    display: none;
  }

  .hero-banner {
    padding: 220px 0 0;
    min-height: auto;
  }

  .hero-visual {
    display: none;
  }

  .services-marquee-text {
    font-size: 24px;
  }

  .service-slider {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .service-slider .swiper-pagination,
  .authors-slider .swiper-pagination,
  .solutions-slider .swiper-pagination {
    display: flex;
  }
}

@media (max-width: 767.98px) {
  .top-bar-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .top-bar-contacts {
    flex: 1 1 100%;
  }

  .top-bar-social {
    display: none;
  }

  .worldwide-publishing-visual {
    margin-left: -70px;
  }

  .why-rating {
    padding: 14px;
  }

  .why-rating-score {
    font-size: 40px;
  }

  .why-rating-btn {
    padding: 0;
  }

  .hero-badge {
    font-size: 14px;
    line-height: 22px;
    padding: 8px 14px;
  }

  .hero-title-main {
    font-size: 48px;
  }

  .hero-title-sub,
  .hero-title-italic {
    font-size: 28px;
    line-height: 36px;
  }

  .hero-text {
    font-size: 16px;
    line-height: 26px;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
  }

  .services-marquee {
    padding: 16px 0;
  }

  .services-marquee-text {
    font-size: 20px;
    line-height: 30px;
  }

  .about-partner {
    padding: 50px 0;
  }

  .section-heading {
    font-size: 32px;
    line-height: 40px !important;
  }

  .section-text {
    font-size: 16px;
    line-height: 26px;
  }

  .section-quote {
    font-size: 22px;
    line-height: 32px;
  }

  .partners-logos::before,
  .partners-logos::after {
    display: none;
  }

  .partners-logos-slider {
    padding: 28px 0;
  }

  .partners-logos-group img {
    flex: 0 0 calc(100vw / 3);
    width: calc(100vw / 3);
    height: 32px;
    padding: 0 16px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .partners-logos-group img {
    flex: 0 0 calc(100vw / 4);
    width: calc(100vw / 4);
  }

  .section-heading {
    font-size: 40px;
    line-height: 48px;
  }

  .section-quote {
    font-size: 28px;
    line-height: 38px;
  }
}

@media (max-width: 991.98px) {
  .cta-section {
    padding: 50px 0;
  }

  .cta-heading {
    font-size: 36px;
    line-height: 44px;
  }

  .cta-visual {
    display: none;
  }

  .worldwide-publishing {
    padding: 60px 0;
  }

  .worldwide-publishing-visual {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 600px;
    margin: 30px 0 0;
    pointer-events: auto;
  }
}

/* ========== WHY CHOOSE (TEAM) ========== */
@media (max-width: 991.98px) {
  .why-choose {
    padding: 60px 0 70px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-card--wide {
    aspect-ratio: 2 / 1;
  }

  .section-heading--center {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 575.98px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card--wide {
    grid-column: auto;
    aspect-ratio: 1 / 1;
  }

  .why-rating {
    aspect-ratio: auto;
    min-height: 320px;
  }

  .why-card-number {
    font-size: 48px;
  }

  .section-heading--center {
    font-size: 30px;
    line-height: 38px;
  }
}

/* ========== GENRE / INDUSTRIES ========== */
@media (max-width: 991.98px) {
  .genre-section {
    padding: 60px 0 70px;
  }

  .genre-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .genre-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== SERVICES ========== */
@media (max-width: 991.98px) {
  .services-section {
    padding: 60px 0 70px;
  }
}

@media (max-width: 575.98px) {
  .service-card-title {
    font-size: 26px;
    line-height: 34px;
  }
}

@media (max-width: 991.98px) {
  .services-section .section-heading--center {
    line-height: 44px;
  }
}

@media (max-width: 575.98px) {
  .services-section .section-heading--center {
    line-height: 38px;
  }
}

/* ========== PROCESS / HOW IT WORKS ========== */
@media (max-width: 991.98px) {
  .process-section {
    padding: 60px 0 70px;
  }

  .process-section .section-heading--light {
    line-height: 44px;
  }

  .process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 560px;
    margin: 40px auto 0;
    padding: 0;
  }

  .process-steps::before {
    display: block;
    left: 23px;
    right: auto;
    top: 24px;
    bottom: 24px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #dba446 0%, #f6bf62 35%, #fbd173 50%, #f6bf62 65%, #c1922d 100%);
  }

  .process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 6px;
    align-items: start;
    padding: 0 0 32px;
    border: none;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .process-step:last-child {
    padding-bottom: 0;
  }

  .process-step-dot {
    grid-row: 1 / span 2;
    align-self: start;
    margin-bottom: 0;
    width: 48px;
    height: 48px;
    font-size: 18px;
    box-shadow: 0 0 0 6px rgba(9, 15, 31, 0.45);
  }

  .process-step-title {
    padding-top: 6px;
    font-size: 24px;
    line-height: 32px;
  }

  .process-step-text {
    max-width: none;
    font-size: 15px;
    line-height: 24px;
    color: #d7dce8;
  }
}

@media (max-width: 575.98px) {
  .process-section .section-heading--light {
    line-height: 38px;
  }

  .process-steps {
    max-width: none;
  }

  .process-steps::before {
    left: 20px;
  }

  .process-step {
    grid-template-columns: 42px 1fr;
    column-gap: 16px;
    padding-bottom: 28px;
  }

  .process-step-dot {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .process-step-title {
    font-size: 22px;
    line-height: 30px;
  }
}

/* ========== PORTFOLIO / PUBLISHED BOOKS ========== */
@media (max-width: 991.98px) {
  .portfolio-section {
    padding: 60px 0 70px;
  }

  .portfolio-filters {
    gap: 10px;
  }

  .portfolio-item {
    width: 200px;
  }
}

@media (max-width: 575.98px) {
  .portfolio-filter {
    padding: 4px 16px;
    font-size: 15px;
  }

  .portfolio-item {
    width: 160px;
    margin-right: 10px;
  }
}

@media (max-width: 991.98px) {
  .portfolio-section .section-heading--center {
    line-height: 44px;
  }
}

@media (max-width: 575.98px) {
  .portfolio-section .section-heading--center {
    line-height: 38px;
  }
}

/* ========== WHY AUTHORS CHOOSE ========== */
@media (max-width: 991.98px) {
  .authors-section {
    padding-top: 60px;
  }

  .authors-slider {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .authors-slider .genre-card {
    overflow: hidden;
    height: 100%;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  }

  .authors-slider .genre-card-title {
    min-height: 0;
    padding: 18px 22px 14px;
    font-size: 26px;
    line-height: 34px;
    justify-content: flex-start;
    text-align: left;
  }

  .authors-slider .genre-card--static .genre-card-desc {
    margin-top: 0;
    padding: 18px 22px 20px;
    font-size: 15px;
    line-height: 24px;
    text-align: left;
  }

  .authors-books {
    width: 100%;
    margin-top: 36px;
  }
}

@media (max-width: 575.98px) {
  .authors-slider .genre-card-title {
    font-size: 22px;
    line-height: 30px;
    padding: 16px 18px 12px;
  }

  .authors-slider .genre-card--static .genre-card-desc {
    padding: 16px 18px 18px;
    font-size: 14px;
    line-height: 22px;
  }
}

/* ========== SOLUTIONS / BOOK PUBLISHING SERVICES ========== */
@media (max-width: 991.98px) {
  .solutions-section {
    padding: 60px 0 70px;
  }

  .solutions-section .section-heading--center {
    line-height: 44px;
  }

  .solutions-slider {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }
}

@media (max-width: 767.98px) {
  .service-slider,
  .authors-slider,
  .solutions-slider {
    width: 86%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575.98px) {
  .solutions-section .section-heading--center {
    line-height: 38px;
  }

  .solution-card-title {
    font-size: 28px;
    line-height: 38px;
  }
}

/* ========== REVIEWS / TESTIMONIALS ========== */
@media (max-width: 991.98px) {
  .reviews-section {
    padding: 60px 0 70px;
  }
}

@media (max-width: 991.98px) {
  .reviews-section .section-heading--center {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 575.98px) {
  .reviews-section .section-heading--center {
    font-size: 30px;
    line-height: 38px;
  }
}

/* ========== FAQ ========== */
@media (max-width: 991.98px) {
  .faq-section {
    padding-top: 60px;
  }

  .faq-accordion {
    margin-bottom: 40px;
  }

  .faq-visual {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .faq-accordion .accordion-button {
    padding: 12px 18px;
    font-size: 18px;
    line-height: 26px;
  }

  .faq-accordion .accordion-body {
    padding: 0 18px 18px;
  }
}

/* ========== QUOTE ========== */
@media (max-width: 991.98px) {
  .quote-section {
    padding: 60px 0;
  }

  .quote-heading {
    font-size: 40px;
    line-height: 48px;
  }

  .quote-actions {
    margin-bottom: 12px;
  }

  .quote-form {
    margin-top: 36px;
  }
}

@media (max-width: 575.98px) {
  .quote-heading {
    font-size: 32px;
    line-height: 40px;
  }
}

/* ========== FOOTER ========== */
@media (max-width: 991.98px) {
  .footer-main {
    padding: 48px 0 20px;
  }

  .footer-brand {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 32px;
  }

  .footer-about {
    max-width: 520px;
  }

  .footer-col {
    margin-bottom: 32px;
  }
}

@media (max-width: 575.98px) {
  .footer-note p {
    font-size: 13px;
    line-height: 20px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 375.98px) {
  .hero-badge {
    padding-left: 30px;
  }

  .hero-title-sub,
  .hero-title-italic {
    font-size: 24px;
  }

  .hero-title-main {
    font-size: 38px;
  }

  .worldwide-publishing-visual {
    margin-left: -70px;
  }

  .portfolio-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #0c2c6e transparent;
  }

  .portfolio-filters::-webkit-scrollbar {
    height: 4px;
  }

  .portfolio-filters::-webkit-scrollbar-track {
    background: transparent;
  }

  .portfolio-filters::-webkit-scrollbar-thumb {
    background: #0c2c6e;
    border-radius: 4px;
  }

  .portfolio-filter {
    flex-shrink: 0;
  }

  .footer-main .footer-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
