@media screen and (min-width: 701px) {
  html {
    scroll-behavior: smooth;
  }

  .rs-home,
  .rs-home * {
    box-sizing: border-box;
    letter-spacing: 0;
  }

  .rs-home {
    --rs-navy: #06285f;
    --rs-blue: #0b4fa3;
    --rs-teal: #099b9b;
    --rs-teal-dark: #087d82;
    --rs-ink: #101c2d;
    --rs-muted: #627184;
    --rs-line: #d9e3ec;
    --rs-soft: #f2f7fa;
    --rs-white: #ffffff;
    position: relative;
    overflow: hidden;
    color: var(--rs-ink);
    background: var(--rs-white);
    font-family: "Poppins", Arial, sans-serif;
  }

  .rs-home img {
    display: block;
    max-width: 100%;
  }

  .rs-home a {
    color: inherit;
    text-decoration: none;
  }

  .rs-home-shell {
    width: min(1480px, calc(100% - 96px));
    margin: 0 auto;
  }

  .rs-home-section {
    padding: 76px 0;
  }

  .rs-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 17px;
    color: var(--rs-blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .rs-home-eyebrow--light {
    color: #aee8e4;
  }

  .rs-home-eyebrow__icon {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: var(--rs-teal);
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 16px;
  }

  .rs-home-eyebrow--light .rs-home-eyebrow__icon {
    color: #6fe2da;
  }

  .rs-home-section-head {
    margin-bottom: 38px;
  }

  .rs-home-section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    align-items: end;
    gap: 64px;
  }

  .rs-home-section-head--center {
    max-width: 880px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .rs-home-section-head--center .rs-home-eyebrow {
    justify-content: center;
  }

  .rs-home-section-head h2 {
    max-width: 900px;
    margin: 0;
    color: var(--rs-ink);
    font-size: 46px;
    font-weight: 650;
    line-height: 1.14;
  }

  .rs-home-section-head > p,
  .rs-home-section-head--center > p:last-child {
    margin: 0;
    color: var(--rs-muted);
    font-size: 16px;
    line-height: 1.8;
  }

  .rs-home-section-head--light h2,
  .rs-home-section-head--light > p {
    color: var(--rs-white);
  }

  .rs-home-section-head--light > p {
    color: #b9c9da;
  }

  .rs-home-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 23px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
  }

  .rs-home-button:hover {
    transform: translateY(-2px);
  }

  .rs-home-button i {
    font-size: 18px;
  }

  .rs-home-button--primary {
    color: var(--rs-white) !important;
    background: var(--rs-teal);
  }

  .rs-home-button--primary:hover {
    background: var(--rs-teal-dark);
  }

  .rs-home-button--outline {
    color: var(--rs-white) !important;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(7, 28, 53, 0.28);
    backdrop-filter: blur(8px);
  }

  .rs-home-button--outline:hover {
    border-color: var(--rs-white);
    background: rgba(7, 28, 53, 0.55);
  }

  .rs-home-button--dark {
    color: var(--rs-white) !important;
    background: var(--rs-navy);
  }

  .rs-home-button--dark:hover {
    background: var(--rs-blue);
  }

  .rs-home-button--teal {
    color: #03233a !important;
    background: #70e0d8;
  }

  .rs-home-button--teal:hover {
    background: var(--rs-white);
  }

  .rs-home-section-action {
    display: flex;
    justify-content: center;
    margin-top: 38px;
  }

  .rs-home-hero {
    position: relative;
    min-height: max(720px, 100svh);
    color: var(--rs-white);
    background: #061b35;
  }

  .rs-home-hero__image,
  .rs-home-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .rs-home-hero__image {
    object-fit: cover;
    object-position: center center;
  }

  .rs-home-hero__shade {
    background: linear-gradient(90deg, rgba(3, 20, 44, 0.92) 0%, rgba(3, 25, 52, 0.76) 37%, rgba(3, 25, 52, 0.2) 66%, rgba(3, 25, 52, 0.08) 100%);
  }

  .rs-home-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: max(720px, 100svh);
    align-items: center;
    padding-top: 104px;
    padding-bottom: 96px;
  }

  .rs-home-hero__content {
    width: min(670px, 54%);
  }

  .rs-home-hero h1 {
    margin: 0;
    color: var(--rs-white);
    font-size: 66px;
    font-weight: 650;
    line-height: 1.04;
    text-wrap: balance;
  }

  .rs-home-hero__lead {
    max-width: 630px;
    margin: 25px 0 0;
    color: #d9e5ef;
    font-size: 18px;
    line-height: 1.72;
  }

  .rs-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 31px;
  }

  .rs-home-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin: 31px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    list-style: none;
  }

  .rs-home-hero__trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #edf6fa;
    font-size: 13px;
    font-weight: 550;
  }

  .rs-home-hero__trust i {
    color: #6fe2da;
    font-size: 18px;
  }

  .rs-home-hero__scroll {
    position: absolute;
    z-index: 3;
    right: 42px;
    bottom: 36px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
  }

  .rs-home-hero__scroll i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    font-size: 16px;
  }

  .rs-home-categories {
    background: #ffffff;
  }

  .rs-home-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 17px;
  }

  .rs-home-category {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--rs-line);
    border-radius: 6px;
    background: var(--rs-white);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }

  .rs-home-category:hover {
    transform: translateY(-4px);
    border-color: #9dc7d2;
    box-shadow: 0 16px 34px rgba(11, 50, 88, 0.11);
  }

  .rs-home-category__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--rs-soft);
  }

  .rs-home-category__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
  }

  .rs-home-category:hover .rs-home-category__media img {
    transform: scale(1.035);
  }

  .rs-home-category__body {
    display: grid;
    min-height: 70px;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    gap: 10px;
    padding: 14px 15px 15px;
  }

  .rs-home-category__name {
    min-width: 0;
    color: var(--rs-ink);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.38;
  }

  .rs-home-category__body i {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--rs-blue);
    background: #eaf4f8;
    border-radius: 50%;
    font-size: 16px;
  }

  .rs-home-factory {
    color: var(--rs-white);
    background: #071b35;
  }

  .rs-home-factory-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 255px;
    gap: 15px;
  }

  .rs-home-factory-card {
    position: relative;
    grid-column: span 5;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    border-radius: 6px;
    background: #0c2948;
  }

  .rs-home-factory-card:first-child {
    grid-column: span 7;
    grid-row: span 2;
  }

  .rs-home-factory-card:nth-child(n + 4) {
    grid-column: span 4;
  }

  .rs-home-factory-card::after {
    position: absolute;
    inset: 45% 0 0;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(2, 16, 35, 0.78));
  }

  .rs-home-factory-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
  }

  .rs-home-factory-card:hover img {
    transform: scale(1.025);
  }

  .rs-home-factory-card figcaption {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 16px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rs-white);
    font-size: 14px;
    font-weight: 650;
  }

  .rs-home-factory-card figcaption i {
    color: #55d2ca;
    font-size: 17px;
  }

  .rs-home-products {
    background: var(--rs-soft);
  }

  .rs-home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 19px;
  }

  .rs-home-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dbe5ed;
    border-radius: 6px;
    background: var(--rs-white);
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .rs-home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(11, 50, 88, 0.11);
  }

  .rs-home-product-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #ffffff;
  }

  .rs-home-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 300ms ease;
  }

  .rs-home-product-card:hover .rs-home-product-card__media img {
    transform: scale(1.035);
  }

  .rs-home-product-card__chip {
    position: absolute;
    top: 13px;
    left: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    color: #07535a;
    background: rgba(229, 249, 247, 0.94);
    border: 1px solid #bce5e1;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 650;
  }

  .rs-home-product-card__body {
    padding: 18px 18px 20px;
    border-top: 1px solid #e6edf2;
  }

  .rs-home-product-card h3 {
    min-height: 46px;
    margin: 0 0 17px;
    color: var(--rs-ink);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.43;
  }

  .rs-home-product-card h3 a,
  .rs-home-product-card__link {
    color: inherit;
  }

  .rs-home-product-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--rs-blue) !important;
    font-size: 13px;
    font-weight: 650;
  }

  .rs-home-product-card__link i {
    font-size: 17px;
  }

  .rs-home-global {
    background: #ffffff;
  }

  .rs-home-global-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .rs-home-global-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 4 / 4.7;
    border-radius: 6px;
    background: #dce8ee;
  }

  .rs-home-global-card::after {
    position: absolute;
    inset: 35% 0 0;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(3, 21, 43, 0.9));
  }

  .rs-home-global-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
  }

  .rs-home-global-card:hover img {
    transform: scale(1.025);
  }

  .rs-home-global-card__body {
    position: absolute;
    z-index: 2;
    right: 25px;
    bottom: 23px;
    left: 25px;
    color: var(--rs-white);
  }

  .rs-home-global-card h3 {
    margin: 0 0 9px;
    color: var(--rs-white);
    font-size: 23px;
    font-weight: 650;
    line-height: 1.25;
  }

  .rs-home-global-card p {
    margin: 0;
    color: #d7e4ee;
    font-size: 13px;
    line-height: 1.65;
  }

  .rs-home-global-support {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    margin-top: 24px;
    padding: 22px 24px;
    border: 1px solid var(--rs-line);
    border-left: 4px solid var(--rs-teal);
    border-radius: 6px;
    background: #f7fafc;
  }

  .rs-home-global-support ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .rs-home-global-support li {
    display: grid;
    min-width: 0;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: var(--rs-muted);
    font-size: 12px;
    line-height: 1.5;
  }

  .rs-home-global-support li > i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--rs-teal-dark);
    background: #e4f4f3;
    border-radius: 50%;
    font-size: 19px;
  }

  .rs-home-global-support strong {
    display: block;
    margin-bottom: 3px;
    color: var(--rs-ink);
    font-size: 13px;
  }

  .rs-home-process {
    color: var(--rs-white);
    background: #06285f;
  }

  .rs-home-process-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .rs-home-process-list::before {
    position: absolute;
    top: 31px;
    right: 10%;
    left: 10%;
    height: 1px;
    content: "";
    background: rgba(120, 223, 216, 0.36);
  }

  .rs-home-process-list li {
    position: relative;
    z-index: 1;
    min-width: 0;
    min-height: 238px;
    padding: 0 12px 22px;
    text-align: center;
  }

  .rs-home-process-list__icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    margin: 0 auto 22px;
    color: #65d8d1;
    border: 1px solid rgba(112, 224, 216, 0.58);
    border-radius: 50%;
    background: #092f68;
    box-shadow: 0 0 0 8px #06285f;
    font-size: 27px;
  }

  .rs-home-process-list h3 {
    margin: 0 0 10px;
    color: var(--rs-white);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.35;
  }

  .rs-home-process-list p {
    margin: 0;
    color: #b8c9dc;
    font-size: 13px;
    line-height: 1.68;
  }

  /* Home-only desktop overrides for shared header, customer-service sidebar and footer. */
  .garment-header {
    border-bottom-color: rgba(255, 255, 255, 0.16) !important;
  }

  .garment-header .garment-logo {
    width: 238px !important;
    height: 72px !important;
  }

  .garment-header .garment-logo img.logo-light {
    width: 238px !important;
    height: 72px !important;
    object-fit: contain !important;
    content: url("../img/home-medical/rensino-logo-light.png");
  }

  .garment-header .garment-logo img.logo-dark {
    width: 238px !important;
    height: 72px !important;
    object-fit: contain !important;
    content: url("../img/home-medical/rensino-logo-color.png");
  }

  #kf.cs-section {
    padding: 72px 0 !important;
    background: #eef5f8 !important;
  }

  #kf .cs-container {
    width: min(1480px, calc(100% - 96px)) !important;
    max-width: none !important;
    margin: 0 auto !important;
  }

  #kf .cs-eyebrow {
    color: #0b4fa3 !important;
  }

  #kf .cs-title {
    color: #101c2d !important;
    font-size: 42px !important;
    line-height: 1.16 !important;
  }

  #kf .cs-subtitle {
    color: #627184 !important;
  }

  #kf .cs-grid {
    gap: 18px !important;
  }

  #kf .cs-card {
    overflow: hidden !important;
    border: 1px solid #d4e1e9 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(11, 50, 88, 0.08) !important;
  }

  #kf .cs-status,
  #kf .cs-quick-contact {
    border-radius: 4px !important;
  }

  #kf .cs-quick-contact {
    border-color: #c9dce5 !important;
  }

  #kf .cs-quick-contact:hover {
    color: #ffffff !important;
    border-color: #099b9b !important;
    background: #099b9b !important;
  }

  .zw {
    height: 22px !important;
    background: #061b35 !important;
  }

  .dibu {
    position: relative !important;
    overflow: hidden !important;
    padding-top: 58px !important;
    color: #d8e5ed !important;
    background-color: #061b35 !important;
    background-image: linear-gradient(rgba(3, 20, 44, 0.9), rgba(3, 20, 44, 0.95)), url("../img/home-medical/factory-01-campus.webp") !important;
    background-position: center !important;
    background-size: cover !important;
  }

  .dibu .bls {
    display: none !important;
  }

  .dibu .footer,
  .dibu .footer2 {
    position: relative !important;
    z-index: 1 !important;
  }

  .dibu .footer-l .logo {
    width: 245px !important;
    height: 80px !important;
  }

  .dibu .footer-l .logo img {
    width: 245px !important;
    height: 80px !important;
    object-fit: contain !important;
    content: url("../img/home-medical/rensino-logo-light.png");
  }

  .dibu h3,
  .dibu a,
  .dibu .footer-l p,
  .dibu .footer2,
  .dibu .dz_ {
    color: #d8e5ed !important;
  }

  .dibu a:hover {
    color: #6fe2da !important;
  }

  @media screen and (max-width: 1280px) {
    .rs-home-shell,
    #kf .cs-container {
      width: min(1180px, calc(100% - 60px)) !important;
    }

    .rs-home-section {
      padding: 64px 0;
    }

    .rs-home-section-head {
      gap: 38px;
    }

    .rs-home-section-head h2 {
      font-size: 38px;
    }

    .rs-home-hero h1 {
      font-size: 54px;
    }

    .rs-home-hero__scroll {
      display: none;
    }

    .rs-home-category-grid {
      gap: 12px;
    }

    .rs-home-category__body {
      min-height: 66px;
      padding: 12px;
    }

    .rs-home-category__name {
      font-size: 13px;
    }

    .rs-home-factory-grid {
      grid-auto-rows: 220px;
    }

    .rs-home-product-grid,
    .rs-home-global-grid {
      gap: 14px;
    }

    .rs-home-global-support {
      grid-template-columns: 1fr;
    }

    .rs-home-global-support .rs-home-button {
      justify-self: center;
    }

    .rs-home-process-list {
      gap: 8px;
    }

    .rs-home-process-list li {
      padding-right: 6px;
      padding-left: 6px;
    }

    .rs-home-process-list h3 {
      font-size: 15px;
    }

    .garment-header .garment-logo,
    .garment-header .garment-logo img.logo-light,
    .garment-header .garment-logo img.logo-dark {
      width: 196px !important;
    }

    #kf .cs-title {
      font-size: 36px !important;
    }
  }
}
