/* Small devices */
@media (max-width: 575.98px) {
  .site-container {
    width: min(calc(100% - 28px), var(--container));
  }
  .site-promo-bar .site-container {
    min-height: 29px;
    justify-content: center;
    text-align: center;
  }
  .site-promo-bar .promo-right {
    display: none;
  }
  .site-navbar .nav-inner {
    min-height: 70px;
    grid-template-columns: 1fr auto;
    gap: 14px;
  }
  .site-navbar .brand-link {
    width: 126px;
  }
  .site-navbar .nav-cta {
    display: none;
  }
  .site-navbar .mobile-toggle {
    display: inline-flex;
  }
  .site-navbar .nav-links {
    position: fixed;
    inset: 99px 14px auto;
    max-height: calc(100vh - 118px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .site-navbar .nav-links.open {
    display: flex;
  }
  .site-navbar .nav-link,
  .site-navbar .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 13px 12px;
  }
  .site-navbar .nav-dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 4px;
    min-width: 0;
    border: 0;
    background: var(--soft);
  }
  .site-navbar .nav-item:hover .nav-dropdown {
    display: none;
  }
  .site-navbar .nav-item.open .nav-dropdown {
    display: block;
  }
  .page-hero-section {
    padding-top: 18px;
  }
  .page-hero-section .hero-shell {
    min-height: 410px;
    border-radius: 24px;
  }
  .page-hero-section .hero-shell:after {
    background: linear-gradient(
      180deg,
      rgba(7, 31, 52, 0.34),
      rgba(7, 31, 52, 0.9) 78%
    );
  }
  .page-hero-section .hero-content {
    min-height: 410px;
    width: 100%;
    padding: 32px 24px;
  }
  .page-hero-section .hero-title {
    font-size: 44px;
  }
  .page-hero-section .hero-copy {
    font-size: 13px;
    line-height: 1.7;
  }
  .home-hero-section {
    padding-top: 18px;
  }
  .home-hero-section .hero-shell {
    min-height: 700px;
    border-radius: 24px;
  }
  .home-hero-section .hero-image {
    inset: 41% 0 0;
    width: 100%;
    height: 59%;
  }
  .home-hero-section .hero-shell:before {
    background: linear-gradient(
      180deg,
      #fff 0%,
      #fff 44%,
      rgba(255, 255, 255, 0.65) 58%,
      rgba(255, 255, 255, 0) 72%
    );
  }
  .home-hero-section .hero-content {
    width: 100%;
    min-height: 700px;
    padding: 36px 24px;
    justify-content: flex-start;
  }
  .home-hero-section .hero-title {
    font-size: 54px;
    margin-top: 20px;
  }
  .home-hero-section .hero-copy {
    font-size: 13px;
    line-height: 1.65;
  }
  .home-hero-section .hero-primary,
  .home-hero-section .hero-secondary {
    min-height: 46px;
    padding: 0 16px;
    font-size: 10px;
  }
  .home-hero-section .hero-float-card {
    right: 18px;
    left: 18px;
    bottom: 18px;
    width: auto;
  }
  .home-stats-section {
    padding: 18px 0 64px;
  }
  .home-stats-section .stats-grid {
    grid-template-columns: 1fr;
  }
  .home-stats-section .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px;
  }
  .home-stats-section .stat-item:last-child {
    border-bottom: 0;
  }
  .home-about-section,
  .home-why-section,
  .home-solutions-section,
  .about-story-section,
  .about-founder-section,
  .about-impact-section,
  .about-beliefs-section,
  .about-supply-section,
  .about-serve-section,
  .about-quality-section,
  .about-vision-section,
  .about-women-section,
  .products-list-section,
  .products-industries-section,
  .products-capability-section,
  .work-projects-section,
  .work-process-section,
  .work-testimonials-section,
  .standard-process-section,
  .standard-why-section,
  .standard-quality-section,
  .contact-quote-section,
  .contact-faq-section,
  .contact-info-section {
    padding: 68px 0;
  }
  .home-about-section .about-grid,
  .about-story-section .story-grid,
  .about-founder-section .founder-grid,
  .about-impact-section .impact-grid,
  .about-supply-section .supply-grid,
  .about-quality-section .quality-grid,
  .about-vision-section .vision-shell,
  .about-women-section .women-grid,
  .products-capability-section .capability-grid,
  .work-process-section .process-grid,
  .standard-why-section .why-grid,
  .standard-quality-section .quality-grid,
  .contact-quote-section .quote-grid,
  .contact-faq-section .faq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-founder-section .founder-grid *:nth-child(1) {
    order: 2;
  }

  .about-founder-section .founder-grid *:nth-child(2) {
    order: 1;
  }

  .home-about-section .image-side img,
  .about-story-section .image-side img,
  .about-founder-section .image-side img,
  .about-quality-section .image-side img,
  .about-women-section .image-side img,
  .standard-why-section .image-side img {
    height: 380px;
  }

  .home-why-section .heading-row,
  .about-beliefs-section .heading-row,
  .products-list-section .heading-row,
  .work-projects-section .heading-row,
  .standard-process-section .heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .home-why-section .why-grid,
  .about-beliefs-section .belief-list {
    grid-template-columns: 1fr;
  }
  .home-why-section .why-item,
  .about-beliefs-section .belief-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .home-solutions-section .heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .home-solutions-section .solution-grid,
  .products-list-section .products-grid {
    grid-template-columns: 1fr;
  }
  .home-solutions-section .solution-card {
    height: 330px;
  }
  .products-list-section .product-card img {
    height: 220px;
  }
  .site-cta-section {
    padding: 68px 0;
  }
  .site-cta-section .cta-shell {
    min-height: 0;
    padding: 34px 24px;
    border-radius: 24px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-cta-section .cta-shell:before {
    font-size: 190px;
    right: -14px;
    top: 32%;
  }
  .site-cta-section .cta-heading {
    font-size: 46px;
  }
  .about-impact-section .impact-cards {
    grid-template-columns: 1fr;
  }
  .about-supply-section .supply-list {
    grid-template-columns: 1fr;
  }
  .about-supply-section .supply-item {
    border-right: 0;
  }
  .about-serve-section .industry-grid {
    grid-template-columns: 1fr;
  }
  .about-vision-section .vision-panel {
    min-height: 300px;
    padding: 28px;
  }
  .products-industries-section .industry-grid {
    grid-template-columns: 1fr 1fr;
  }
  .products-capability-section .capability-list {
    grid-template-columns: 1fr;
  }
  .products-capability-section .capability-item {
    border-right: 0;
  }
  .work-projects-section .projects-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .work-projects-section .project-card,
  .work-projects-section .project-card:first-child {
    grid-row: auto;
    min-height: 360px;
  }
  .work-testimonials-section .testimonial-placeholder {
    padding: 28px;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .work-testimonials-section .testimonial-placeholder span {
    text-align: left;
  }
  .standard-why-section .risk-list {
    grid-template-columns: 1fr;
  }
  .standard-quality-section .control-list {
    grid-template-columns: 1fr;
  }
  .standard-quality-section .control-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .contact-quote-section .quote-form {
    padding: 22px;
  }
  .contact-quote-section .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-quote-section .field.full {
    grid-column: auto;
  }
  .contact-info-section .info-grid {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .site-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer .footer-bottom-links {
    flex-wrap: wrap;
  }
}
/* Tablets */
@media (min-width: 576px) and (max-width: 991.98px) {
  .site-container {
    width: min(calc(100% - 36px), var(--container));
  }
  .site-navbar .nav-inner {
    min-height: 74px;
    grid-template-columns: 1fr auto;
  }
  .site-navbar .nav-links {
    position: fixed;
    inset: 106px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }
  .site-navbar .nav-links.open {
    display: flex;
  }
  .site-navbar .mobile-toggle {
    display: inline-flex;
  }
  .site-navbar .nav-cta {
    display: none;
  }
  .site-navbar .nav-link,
  .site-navbar .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .site-navbar .nav-dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 4px;
    background: var(--soft);
  }
  .site-navbar .nav-item:hover .nav-dropdown {
    display: none;
  }
  .site-navbar .nav-item.open .nav-dropdown {
    display: block;
  }
  .home-hero-section .hero-shell {
    min-height: 610px;
  }
  .home-hero-section .hero-content {
    width: 72%;
    padding: 54px 44px;
  }
  .home-hero-section .hero-title {
    font-size: 66px;
  }
  .home-hero-section .hero-image {
    left: 30%;
    width: 70%;
  }
  .home-about-section .about-grid,
  .about-story-section .story-grid,
  .about-founder-section .founder-grid,
  .about-impact-section .impact-grid,
  .about-supply-section .supply-grid,
  .about-quality-section .quality-grid,
  .about-vision-section .vision-shell,
  .about-women-section .women-grid,
  .products-capability-section .capability-grid,
  .work-process-section .process-grid,
  .standard-why-section .why-grid,
  .standard-quality-section .quality-grid,
  .contact-quote-section .quote-grid,
  .contact-faq-section .faq-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .home-why-section .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-solutions-section .solution-grid,
  .products-list-section .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-beliefs-section .belief-list,
  .about-serve-section .industry-grid,
  .products-industries-section .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .site-cta-section .cta-shell {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}
/* Desktop */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .site-container {
    width: min(calc(100% - 44px), 1180px);
  }
  .site-navbar .nav-inner {
    grid-template-columns: 160px 1fr auto;
    gap: 18px;
  }
  .site-navbar .brand-link {
    width: 140px;
  }
  .site-navbar .nav-link,
  .site-navbar .dropdown-toggle {
    padding-inline: 8px;
    font-size: 11px;
  }
  .home-hero-section .hero-content {
    padding: 62px 54px;
  }
  .home-hero-section .hero-title {
    font-size: 74px;
  }
  .home-solutions-section .solution-card {
    height: 380px;
  }
  .products-list-section .product-card img {
    height: 230px;
  }
}
/* Extra-large */
@media (min-width: 1400px) {
  :root {
    --container: 1320px;
  }
  .site-container {
    width: min(calc(100% - 64px), var(--container));
  }
  .home-hero-section .hero-shell {
    min-height: 700px;
  }
  .home-hero-section .hero-content {
    min-height: 700px;
    padding: 82px 76px;
  }
  .home-hero-section .hero-title {
    font-size: 92px;
  }
  .home-solutions-section .solution-card {
    height: 460px;
  }
  .page-hero-section .hero-shell,
  .page-hero-section .hero-content {
    min-height: 460px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Refinement pass */
@media (max-width: 575.98px) {
  .site-navbar .nav-parent {
    width: 100%;
  }
  .site-navbar .nav-parent .nav-parent-link {
    flex: 1;
    width: auto;
    justify-content: flex-start;
  }
  .site-navbar .dropdown-expander {
    display: inline-flex;
    flex: 0 0 40px;
    height: 42px;
  }
  .site-cta-section {
    padding: 34px 0 42px;
  }
  .site-cta-section .cta-shell {
    padding: 24px 22px 24px 28px;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .site-cta-section .cta-heading {
    font-size: 34px;
  }
  .site-cta-section .cta-copy {
    font-size: 11px;
  }
  .site-cta-section .cta-button {
    min-height: 42px;
  }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .site-navbar .nav-parent {
    width: 100%;
  }
  .site-navbar .nav-parent .nav-parent-link {
    flex: 1;
    width: auto;
    justify-content: flex-start;
  }
  .site-navbar .dropdown-expander {
    display: inline-flex;
    flex: 0 0 42px;
    height: 42px;
  }
  .site-cta-section {
    padding: 38px 0 48px;
  }
  .site-cta-section .cta-shell {
    grid-template-columns: 1fr;
    padding: 28px 30px 28px 36px;
    gap: 18px;
  }
  .site-cta-section .cta-heading {
    font-size: 40px;
  }
}

/* Visual refinement responsive rules */
@media (max-width: 575.98px) {
  .products-industries-section .heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }
  .products-industries-section .heading-row .copy {
    font-size: 12px;
    line-height: 1.7;
  }
  .products-industries-section .industry-tile {
    min-height: 158px;
    padding: 18px 16px;
  }
  .products-industries-section .industry-tile .industry-icon {
    width: 40px;
    height: 40px;
  }
  .products-industries-section .industry-tile .industry-icon svg {
    width: 34px;
    height: 34px;
  }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .products-industries-section .heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 32px;
  }
}

@media (max-width: 575.98px) {
  .standard-process-section .process-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .standard-process-section .process-layout .process-card:nth-child(n) {
    grid-column: auto;
  }

  .standard-process-section .process-card {
    min-height: 250px;
    padding: 24px 20px 20px;
  }

  .standard-process-section .process-number {
    font-size: 56px;
  }

  .standard-process-section .process-card h3 {
    font-size: 20px;
    max-width: 100%;
  }

  .standard-process-section .process-card p {
    max-width: 100%;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .standard-process-section .process-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .standard-process-section .process-layout .process-card:nth-child(n) {
    grid-column: auto;
  }

  .standard-process-section .process-card {
    min-height: 280px;
  }
}

@media (min-width: 992px) {
  .standard-process-section .process-layout {
    grid-template-columns: repeat(12, 1fr);
  }
}

/* Afro-test pattern scaling */
@media (max-width: 575.98px) {
  .site-footer::before,
  .home-solutions-section::before,
  .about-founder-section::before,
  .about-quality-section::before,
  .products-capability-section::before,
  .work-process-section::before,
  .standard-quality-section::before {
    width: 340px;
    height: 420px;
    opacity: 0.085;
  }

  .home-solutions-section::before,
  .products-capability-section::before,
  .standard-quality-section::before {
    top: -4%;
    right: -24%;
  }

  .about-founder-section::before,
  .about-quality-section::before,
  .work-process-section::before,
  .site-footer::before {
    left: -28%;
    bottom: -12%;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .site-footer::before,
  .home-solutions-section::before,
  .about-founder-section::before,
  .about-quality-section::before,
  .products-capability-section::before,
  .work-process-section::before,
  .standard-quality-section::before {
    width: 520px;
    height: 580px;
    opacity: 0.1;
  }
}

/* Contact, WhatsApp and homepage social proof responsive rules */
@media (max-width: 575.98px) {
  .whatsapp-float {
    left: 14px;
    bottom: 14px;
  }
  .whatsapp-float-message {
    display: none;
  }
  .whatsapp-float-icon {
    width: 50px;
    height: 50px;
  }
  .whatsapp-float-icon svg {
    width: 27px;
    height: 27px;
  }

  .contact-info-section .info-grid {
    grid-template-columns: 1fr;
  }

  .home-social-proof-section {
    padding: 72px 0 84px;
  }
  .home-social-proof-section .social-proof-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 34px;
  }
  .home-social-proof-section .social-proof-heading .section-kicker {
    grid-column: auto;
    margin-bottom: 0;
  }
  .home-social-proof-section .social-proof-heading .heading {
    font-size: 42px;
  }
  .home-social-proof-section .social-proof-heading .copy {
    font-size: 12px;
    max-width: 520px;
  }
  .home-social-proof-section .logo-slider-viewport {
    min-height: 390px;
  }
  .home-social-proof-section .logo-slide {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .home-social-proof-section .logo-card {
    min-height: 116px;
    padding: 18px;
  }
  .home-social-proof-section .logo-card:last-child {
    grid-column: 1/-1;
    width: calc(50% - 5px);
    justify-self: center;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .whatsapp-float {
    left: 18px;
    bottom: 18px;
  }
  .whatsapp-float-message {
    display: none;
  }
  .whatsapp-float-icon {
    width: 52px;
    height: 52px;
  }

  .contact-info-section .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-social-proof-section {
    padding: 82px 0 94px;
  }
  .home-social-proof-section .social-proof-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 38px;
  }
  .home-social-proof-section .social-proof-heading .section-kicker {
    grid-column: auto;
    margin-bottom: 0;
  }
  .home-social-proof-section .logo-slider-viewport {
    min-height: 250px;
  }
  .home-social-proof-section .logo-slide {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .home-social-proof-section .logo-card {
    min-height: 112px;
    padding: 20px;
  }
}

@media (min-width: 992px) {
  .whatsapp-float-message {
    display: block;
  }
}

/* Contact map + refined social proof responsive rules */
@media (max-width: 575.98px) {
  .contact-location-section {
    padding: 0 0 68px;
  }
  .contact-location-section .location-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-location-section .location-copy {
    padding: 28px 22px;
    border-radius: 20px;
  }
  .contact-location-section .location-copy .heading {
    font-size: 38px;
    margin-bottom: 28px;
  }
  .contact-location-section .location-map,
  .contact-location-section .location-map iframe {
    min-height: 320px;
    border-radius: 20px;
  }

  .home-social-proof-section {
    padding: 68px 0 76px;
  }
  .home-social-proof-section .social-proof-heading {
    margin-bottom: 30px;
  }
  .home-social-proof-section .social-proof-heading .heading {
    font-size: 38px;
  }
  .home-social-proof-section .logo-slider-viewport {
    min-height: 330px;
  }
  .home-social-proof-section .logo-card {
    min-height: 96px;
    padding: 14px;
  }
  .home-social-proof-section .logo-card img {
    width: min(100%, 86px);
    max-height: 31px;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .contact-location-section {
    padding: 0 0 78px;
  }
  .contact-location-section .location-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-location-section .location-copy {
    padding: 34px;
  }
  .contact-location-section .location-map,
  .contact-location-section .location-map iframe {
    min-height: 380px;
  }

  .home-social-proof-section {
    padding: 76px 0 84px;
  }
  .home-social-proof-section .logo-slider-viewport {
    min-height: 218px;
  }
  .home-social-proof-section .logo-card {
    min-height: 92px;
    padding: 16px;
  }
  .home-social-proof-section .logo-card img {
    width: min(100%, 95px);
    max-height: 34px;
  }
}

/* Social proof background-card override */
@media (max-width: 991.98px) {
  .home-social-proof-section .logo-card {
    padding: 0;
  }
}

/* Quotation modal + footer socials responsive */
@media (max-width: 575.98px) {
  .contact-quote-section .choice-group,
  .contact-quote-section .size-choice-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .contact-quote-section .choice-option span,
  .contact-quote-section .size-choice span {
    width: 100%;
  }

  .size-modal {
    padding: 14px;
  }
  .size-modal-dialog {
    padding: 26px 18px 20px;
    border-radius: 18px;
  }
  .size-modal-dialog h3 {
    font-size: 26px;
  }
  .size-input-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .size-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .size-modal-primary,
  .size-modal-secondary {
    width: 100%;
  }

  .site-footer .footer-socials {
    margin-top: 14px;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .size-modal-dialog {
    width: min(620px, calc(100% - 36px));
  }
}

/* Animated testimonials responsive rules */
@media (max-width: 767.98px) {
  .work-testimonials-section .testimonial-heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }
  .work-testimonials-section .testimonial-stage {
    min-height: 0;
  }
  .work-testimonials-section .testimonial-slide {
    grid-template-columns: minmax(0, 1fr);
    /* Photo row never stretches beyond the square image; text fills the rest. */
    grid-template-rows: max-content auto;
    min-height: 0;
    border-radius: 22px;
  }
  .work-testimonials-section .testimonial-media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 0;
    align-self: start;
  }
  .work-testimonials-section .testimonial-content {
    min-width: 0;
    padding: 30px 24px 32px;
  }
  .work-testimonials-section .testimonial-mark {
    position: static;
    font-size: 58px;
    line-height: 0.8;
  }
  .work-testimonials-section .testimonial-mark-open {
    margin-bottom: 14px;
  }
  .work-testimonials-section .testimonial-mark-close {
    margin-top: 16px;
    margin-bottom: 22px;
  }
  .work-testimonials-section blockquote {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    margin: 0;
  }
  /* Stack the name, appointment and company as distinct lines on mobile. */
  .work-testimonials-section .testimonial-person {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
  }
  .work-testimonials-section .testimonial-person > .testimonial-name,
  .work-testimonials-section .testimonial-person > .testimonial-appointment,
  .work-testimonials-section .testimonial-person > .testimonial-company {
    display: block;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    overflow-wrap: anywhere;
    text-align: left;
  }
  .work-testimonials-section .testimonial-controls {
    margin-top: 14px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .work-testimonials-section .testimonial-heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 34px;
  }
  .work-testimonials-section .testimonial-stage {
    min-height: 0;
  }
  .work-testimonials-section .testimonial-slide {
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    min-height: 0;
  }
  .work-testimonials-section .testimonial-media {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    aspect-ratio: 1 / 1;
    align-self: start;
  }
  .work-testimonials-section .testimonial-content {
    padding: 34px 30px;
  }
  .work-testimonials-section .testimonial-mark {
    font-size: 62px;
  }
  .work-testimonials-section blockquote {
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
  }
}

