/* Home desktop: native reconstruction of the source composition. */
@media (min-width: 1101px) {
  .home #main-content {
    margin-top: -6px;
    line-height: 1.5;
  }

  .home .site-header {
    position: fixed;
    height: 136px;
  }

  .home .site-header:not(.is-revealed):not(.is-mega-open):not(.is-open):not(:has(.desktop-menu-item--mega:hover)):not(:has(.desktop-menu-item--mega:focus-within)) {
    color: #fff;
    background: transparent;
    box-shadow: none;
  }

  .home .site-header__inner {
    width: calc(100% - 86px);
    height: 136px;
    padding-top: 43px;
    align-items: flex-start;
  }

  .home .site-logo,
  .home .site-logo img {
    width: 188px;
    height: 65px;
    flex-basis: 188px;
  }

  .home .site-header:not(.is-revealed):not(.is-mega-open):not(.is-open):not(:has(.desktop-menu-item--mega:hover)):not(:has(.desktop-menu-item--mega:focus-within)) .site-logo__light {
    opacity: 1;
  }

  .home .site-header:not(.is-revealed):not(.is-mega-open):not(.is-open):not(:has(.desktop-menu-item--mega:hover)):not(:has(.desktop-menu-item--mega:focus-within)) .site-logo__dark {
    opacity: 0;
  }

  .home .desktop-navigation {
    flex: 1;
    /* Spazio fluido: 24px a 1101 (dove il menu sfiora il logo) fino a 42px da 1280 in su. */
    gap: clamp(24px, 10.06vw - 86.7px, 42px);
    height: 65px;
    margin-left: 64px;
    padding-right: 16px;
    /* 16px dove lo spazio e' poco, 17px da 1280 in su. */
    font-size: clamp(16px, 0.559vw + 9.85px, 17px);
    line-height: 24px;
  }

  .home .desktop-navigation > a,
  .home .desktop-menu-item > a {
    height: 65px;
    padding: 8px 0 20px;
  }

  .home .desktop-navigation > a::after,
  .home .desktop-menu-item > a::after {
    bottom: 12px;
  }

  .home .mega-menu {
    top: 100%;
  }

  .home-hero {
    height: 85vh;
    min-height: 85vh;
  }

  .home-hero__content {
    position: absolute;
    top: 376px;
    left: 50%;
    width: min(calc(100% - 228px), 1197px);
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
  }

  .home-hero h1 {
    max-width: none;
    font-size: 28px;
    line-height: 45px;
  }

  .home-hero__actions {
    gap: 20px;
    margin-top: 56px;
  }

  .home-hero__actions .button {
    width: auto;
    min-width: 0;
    min-height: 35px;
    height: 35px;
    padding: 12px 30px 9px;
    border-radius: 10px;
    line-height: 14px;
  }

  .hero-down {
    bottom: 58px;
    left: max(43px, calc((100vw - 1197px) / 2));
    width: 50px;
    height: 50px;
  }

  .hero-down::before {
    width: 1px;
    height: 19px;
    border: 0;
    background: currentColor;
    transform: translateY(-3px);
  }

  .hero-down::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    content: "";
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translate(-50%, 3px) rotate(45deg);
  }

  .home-tagline {
    height: 145px;
    min-height: 145px;
  }

  .context-section {
    height: 389px;
    padding: 43px 0 42px;
  }

  .context-section .selcom-container {
    width: min(calc(100% - 285px), 1140px);
    max-width: 1140px;
  }

  .context-section .section-kicker {
    height: 19px;
    margin: 0;
    font-size: 19px;
    line-height: 19px;
  }

  .context-section .section-rule {
    width: 72px;
    margin: 12px auto 11px;
  }

  .context-section .section-title {
    width: min(100%, 1058px);
    max-width: 1058px;
    height: 34px;
    margin: 0 auto 69px;
    font-size: 34px;
    line-height: 34px;
    white-space: nowrap;
  }

  .context-section #approfondisci-box {
    width: 100%;
    max-width: none;
    margin: 0;
    line-height: 27px;
  }

  .context-section #testo-approfondire {
    min-height: 81px;
  }

  .context-section #approfondisci-box .btn-wrapper {
    margin-top: 34.2px;
  }

  .context-section .context-button {
    min-width: 166px;
    min-height: 42px;
    height: 42px;
    padding: 12px 24px;
    line-height: 18px;
  }

  .carousel-section {
    height: 826px;
    padding: 0;
    margin-top: 1px;
    margin-bottom: 114px;
  }

  .carousel-section .carousel-section__head {
    width: min(calc(100% - 228px), 1197px);
    height: 250px;
    margin: 0 auto;
    padding-top: 85px;
  }

  .carousel-section .section-kicker {
    height: 19px;
    margin: 0;
    color: #1c1c1c;
    font-size: 19px;
    line-height: 19px;
  }

  .carousel-section .section-rule {
    width: 72px;
    margin: 16px 0 6px;
  }

  .carousel-section .section-lead {
    width: 527px;
    max-width: 527px;
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 27px;
  }

  .carousel-shell--solutions,
  .carousel-shell--solutions .horizontal-track {
    height: 576px;
  }

  .carousel-shell--solutions .horizontal-track {
    gap: 92.2625px;
    padding: 66px 0 10px 230px;
    scroll-padding-inline: 230px;
  }

  .solution-card {
    flex: 0 0 529.925px;
    width: 529.925px;
    min-height: 500px;
    height: 500px;
    padding: 102.425px 0 0 42.15px;
    align-items: flex-start;
    border-radius: 30px;
  }

  .solution-card__summary {
    width: 414.6px;
  }

  .solution-card__content {
    width: 295.825px;
    max-width: 295.825px;
    flex: 0 1 295.825px;
  }

  .solution-card__number,
  .solution-card p {
    display: none;
  }

  .solution-card h3 {
    margin: 0;
    font-size: 28px;
    line-height: 42px;
  }

  .solution-card__open {
    flex-basis: 47px;
    width: 47px;
    height: 47px;
  }

  .solution-card__open::before {
    display: none;
  }

  .solution-card__open::after {
    display: none;
  }

  .home .carousel-controls {
    display: none;
  }

  .domains-section {
    height: 1075px;
    padding: 0 0 10px;
    margin-bottom: 100px;
  }

  .domains-section__head {
    width: min(calc(100% - 375px), 1050px);
    height: 155px;
    margin: 0 auto 26px;
    padding-top: 10px;
  }

  .domains-section .selcom-iw {
    min-height: 884px;
  }

  .products-section {
    height: 772px;
    padding: 10px 0 0;
    margin-bottom: 100px;
  }

  .products-section .carousel-section__head {
    width: min(calc(100% - 96px), 1320px);
    height: 164px;
    margin: 0 auto 20px;
    padding: 0;
    text-align: center;
  }

  .products-section .section-title {
    font-size: 32px;
    line-height: 32px;
  }

  .products-section .section-rule {
    width: 170px;
    margin: 40px auto 22px;
  }

  .products-section .section-lead {
    width: min(100%, 1068px);
    max-width: 1068px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 27px;
  }

  .carousel-shell--products,
  .carousel-shell--products .horizontal-track {
    height: 568px;
  }

  .carousel-shell--products .horizontal-track {
    gap: 20px;
    padding: 0 0 0 110px;
    scroll-padding-inline: 110px;
  }

  .product-card {
    flex: 0 0 344px;
    width: 344px;
    min-height: 568px;
    height: 568px;
    border-radius: 20px;
  }

  .product-card__media {
    height: 265px;
    aspect-ratio: auto;
  }

  .product-card__content {
    padding: 48px 20px 38px;
  }

  .product-card h3 {
    margin-bottom: 30px;
    font-size: 32px;
    line-height: 32px;
  }

  .product-card p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 27px;
  }

  .product-card .button {
    width: 122px;
    min-width: 122px;
    min-height: 35px;
    height: 35px;
    padding: 8px 20px;
    line-height: 18px;
  }

  .statement-banner {
    height: 213px;
    min-height: 213px;
  }

  .statement-banner h2 {
    max-width: 1140px;
    font-size: 28px;
    font-weight: 600;
    line-height: 45px;
    white-space: nowrap;
  }

  .values-section {
    height: 715px;
    padding: 85px 0 86px;
    margin-bottom: 113px;
  }

  .values-section .selcom-container {
    width: min(calc(100% - 171px), 1254px);
  }

  .values-section__head {
    width: 100%;
    max-width: none;
    height: 224px;
    margin: 0;
    text-align: center;
  }

  .values-section__head .section-kicker {
    height: 19px;
    margin: 0;
    color: #fff;
    font-size: 19px;
    line-height: 19px;
  }

  .values-section__head .section-rule {
    width: 72px;
    margin: 10px auto 0;
  }

  .values-section__head .section-lead {
    max-width: 930px;
    margin: 80px auto 0;
    font-size: 18px;
    line-height: 27px;
    text-align: center;
  }

  .values-track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
  }

  .value-card {
    display: flex;
    min-height: 320px;
    height: 320px;
    padding: 23px 19px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    text-align: center;
  }

  .value-card__mark {
    display: none;
  }

  .value-card h3 {
    margin-bottom: 26px;
    font-size: 20px;
    line-height: 20px;
  }

  .value-card p {
    font-size: 16px;
    line-height: 24px;
  }

  .value-card h3,
  .value-card p {
    transform: translateY(-8px);
  }

  .convergence-section {
    height: 318px;
    padding: 0;
    margin-bottom: 72px;
  }

  .convergence-grid {
    display: block;
    width: min(calc(100% - 370px), 1055px);
    height: 318px;
    margin: 0 auto;
    text-align: center;
  }

  .convergence-section .section-kicker {
    height: 27px;
    margin: 0;
    color: #1c1c1c;
    font-size: 24px;
    line-height: 27px;
  }

  .convergence-section .section-rule {
    width: 72px;
    margin: 30px auto 24px;
  }

  .convergence-section .section-title {
    font-size: 32px;
    line-height: 36px;
  }

  .convergence-copy p {
    max-width: 900px;
    margin: 20px auto 0;
    font-size: 18px;
    line-height: 27px;
  }

  .convergence-copy .button {
    min-height: 35px;
    height: 35px;
    margin-top: 36px;
    padding: 8px 24px;
    line-height: 18px;
  }

  .portfolio-section {
    height: 1248px;
    padding: 43px 0 86px;
  }

  .portfolio-section .selcom-container {
    width: min(calc(100% - 228px), 1197px);
  }

  .portfolio-section__intro {
    display: block;
    height: 258px;
    margin: 0;
  }

  .portfolio-section__intro .section-kicker {
    height: 19px;
    margin: 0;
    color: #fff;
    font-size: 19px;
    line-height: 19px;
  }

  .portfolio-section__intro .section-rule {
    width: 72px;
    margin: 10px 0 24px;
  }

  .portfolio-section__intro .section-title {
    font-size: 35px;
    line-height: 35px;
  }

  .portfolio-section__intro .section-lead {
    width: 814px;
    max-width: 814px;
    margin-top: 72px;
    font-size: 18px;
    line-height: 27px;
  }

  .portfolio-grid {
    height: 861px;
    padding-top: 71px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 350px);
    gap: 90px 20px;
  }

  .portfolio-card {
    min-height: 350px;
    height: 350px;
    border-radius: 30px;
  }

  .portfolio-card h3 {
    top: 72px;
    right: 92px;
    bottom: auto;
    left: 47px;
    font-size: 28px;
    line-height: 42px;
  }

  /* Il cerchio decorativo e' ora dentro l'icona del pulsante: qui sarebbe doppio. */
  .portfolio-card::before {
    display: none;
  }

  /* Centro del pulsante allineato al centro della prima riga del titolo. */
  .portfolio-card__open {
    top: 70px;
    right: 47px;
    bottom: auto;
    width: 47px;
    height: 47px;
  }

  .stats-section,
  .stats-grid {
    height: 164px;
  }

  .stats-grid {
    width: min(calc(100% - 171px), 1254px);
    gap: 24px;
    padding: 34px 0 32px;
  }

  .company-spacer {
    height: 80px;
    background: #1b1b1b;
  }

  .company-section {
    height: 906px;
    padding: 86px 0 85px;
  }

  .company-section .selcom-container {
    width: min(calc(100% - 171px), 1254px);
  }

  .company-section__head {
    width: 100%;
    max-width: none;
    height: 198px;
    margin: 0 0 51px;
    text-align: center;
  }

  .company-section__head .section-kicker {
    height: 19px;
    margin: 0;
    color: #fff;
    font-size: 19px;
    line-height: 19px;
  }

  .company-section__head .section-rule {
    width: 72px;
    margin: 10px auto 26px;
  }

  .company-section__head .section-title {
    font-size: 35px;
    line-height: 35px;
  }

  .company-section__head .section-lead {
    max-width: 1254px;
    margin: 38px auto 0;
    font-size: 18px;
    line-height: 27px;
    text-align: center;
  }

  .company-section .selcom-company-hub,
  .company-section .selcom-company-hub__cards,
  .company-section .selcom-company-card {
    height: 486px;
  }

  .company-section .selcom-company-hub__cards {
    gap: 18px;
  }

  .company-section:has(.selcom-company-card.is-expanded) {
    height: auto;
    min-height: 906px;
  }

  .company-section .selcom-company-hub:has(.selcom-company-card.is-expanded),
  .company-section .selcom-company-hub__cards:has(.selcom-company-card.is-expanded),
  .company-section .selcom-company-card.is-expanded {
    height: auto;
  }

  .service-model-section {
    height: 1264px;
    padding: 29px 0 85px;
  }

  .service-model-section .selcom-pentagon {
    height: 1150px;
  }

  .service-model-section .selcom-pentagon__topline {
    display: grid !important;
    gap: 12px !important;
  }

  .service-model-section .selcom-pentagon__grid {
    min-height: 838px !important;
  }
}

/* Elementor's default desktop range starts above 1440px. */
@media (min-width: 1441px) and (max-width: 1999px) {
  .home #main-content {
    margin-top: -1px;
  }

  .home .site-header {
    height: auto;
  }

  .home .site-header__inner {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding: 3% 7% 2%;
    align-items: flex-start;
    gap: 20px;
  }

  .home .site-logo {
    width: 22%;
    height: 3.917vw;
    flex: 0 0 22%;
  }

  .home .site-logo img {
    width: 60%;
    height: auto;
    flex-basis: auto;
  }

  .home .desktop-navigation {
    height: 3.917vw;
    margin-left: 0;
    padding-right: 0;
    align-items: flex-start;
    gap: 0;
    font-size: 18px;
    line-height: 27px;
  }

  .home .desktop-navigation > a,
  .home .desktop-menu-item > a {
    width: auto;
    height: 44.5px;
    /* In questa fascia lo spazio fra le voci lo da il padding, non il gap. */
    padding: 8px 26px;
  }

  .home .desktop-menu-item {
    height: auto;
    align-items: flex-start;
  }

  .home .desktop-navigation > a::after,
  .home .desktop-menu-item > a::after {
    bottom: 0;
  }

  .home .mega-menu {
    top: 100%;
  }

  .home .mega-menu__inner,
  .home .selcom-container {
    width: 84%;
    max-width: none;
  }

  .home-hero {
    height: 85vh;
    min-height: 85vh;
  }

  .home-hero__content {
    top: 376px;
    left: 8%;
    width: 84%;
    transform: none;
  }

  .home-hero h1 {
    font-size: 32px;
    line-height: 45px;
  }

  .home-hero__actions {
    margin-top: calc(3% + 20px);
  }

  .home-hero__actions .button:first-child {
    width: 9%;
  }

  .home-hero__actions .button:nth-child(2) {
    width: 12%;
  }

  .hero-down {
    bottom: calc(3.36vw + 10px);
    left: 8%;
  }

  .home-tagline {
    height: auto;
    min-height: 0;
    padding: 3% 0;
  }

  .home-tagline h2 {
    max-width: 1140px;
    font-size: 30px;
    font-weight: 400;
    line-height: 44px;
  }

  .context-section {
    height: 417.875px;
    padding: 3% 0;
  }

  .context-section .selcom-container {
    width: 1140px;
    max-width: 1140px;
  }

  .carousel-section {
    height: 847.675px;
    margin-bottom: 152.39px;
  }

  .carousel-section .carousel-section__head {
    width: 84%;
    max-width: none;
    height: 252.2875px;
    padding-top: 114.2875px;
  }

  .carousel-section .section-lead {
    width: 704px;
    max-width: 704px;
  }

  .carousel-shell--solutions,
  .carousel-shell--solutions .horizontal-track {
    height: 595.3875px;
  }

  .carousel-shell--solutions .horizontal-track {
    gap: 111.4625px;
    padding: 86.175px 0 9.2125px 249.98px;
    scroll-padding-inline: 249.98px;
  }

  .solution-card {
    width: 670.65px;
    flex-basis: 670.65px;
    padding: 79.25px 0 0 60.9625px;
  }

  .solution-card__summary {
    width: 457.2625px;
  }

  .domains-section {
    height: 1082.17px;
    margin-bottom: 133.344px;
  }

  .domains-section__head {
    width: 72%;
    max-width: none;
    height: 181.39px;
  }

  .products-section {
    height: 805.625px;
    margin-bottom: 133.344px;
  }

  .products-section .carousel-section__head {
    width: 84%;
    max-width: none;
  }

  .products-section .section-lead {
    width: 1432.6px;
    max-width: 1432.6px;
  }

  .carousel-shell--products,
  .carousel-shell--products .horizontal-track {
    height: 601.234px;
  }

  .carousel-shell--products .horizontal-track {
    padding-left: 95px;
    scroll-padding-inline: 95px;
  }

  .product-card {
    width: 463.75px;
    height: 601.234px;
    min-height: 601.234px;
    flex-basis: 463.75px;
  }

  .product-card__media {
    height: 268px;
  }

  .product-card__content {
    padding: 68px 20px 38px;
  }

  .product-card h3 {
    font-size: 35px;
    line-height: 35px;
  }

  .values-section {
    height: 801.875px;
    margin-bottom: 152.39px;
    padding: 6% 0;
  }

  .values-section .selcom-container {
    width: 88%;
  }

  .values-section__head {
    height: 256px;
  }

  .convergence-section {
    height: 291.39px;
    margin-bottom: 95.25px;
  }

  .convergence-grid {
    width: 72%;
    max-width: none;
    height: 291.39px;
  }

  .portfolio-section {
    height: 864px;
    padding: 3% 0 6%;
  }

  .portfolio-section .selcom-container {
    width: 84%;
  }

  .portfolio-section__intro {
    height: 264px;
  }

  .portfolio-section__intro .section-lead {
    width: 68%;
    max-width: 1088px;
    margin-top: 72px;
  }

  .portfolio-grid {
    height: 396.2px;
    padding-top: 46.2px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 350px;
    gap: 20px;
  }

  .portfolio-card {
    width: auto;
    height: 350px;
    min-height: 350px;
  }

  .portfolio-card h3 {
    top: 51px;
    right: 72px;
    left: 30.8px;
    font-size: 20px;
    line-height: 30px;
  }

  .portfolio-card__open {
    top: 46.2px;
    right: 30.8px;
    bottom: auto;
    width: 40px;
    height: 40px;
  }

  .stats-section,
  .stats-grid {
    height: 183.675px;
  }

  .stats-grid {
    width: 90%;
    padding: 2% 0;
  }

  .company-section {
    height: 928.4px;
    padding: 6% 0;
  }

  .company-section .selcom-container {
    width: 88%;
  }

  .company-section__head {
    height: 198px;
    margin-bottom: 62.2px;
  }

  .company-section .selcom-company-hub,
  .company-section .selcom-company-hub__cards,
  .company-section .selcom-company-card {
    height: 440px;
  }

  .company-section:has(.selcom-company-card.is-expanded) {
    min-height: 928.4px;
  }

  .service-model-section {
    height: 1339.3px;
    padding: 2% 0 6%;
  }

  .service-model-section .selcom-pentagon {
    height: 1186.9px;
  }
}

@media (min-width: 1101px) and (max-width: 1366px) {
  .carousel-shell--solutions .horizontal-track {
    gap: calc(4vw + 10.592px);
    padding-top: 58.6625px;
  }

  .solution-card {
    width: calc(29.333333vw - 68.992px);
    flex-basis: calc(29.333333vw - 68.992px);
    padding: 59.25px 0 0 calc(2.333333vw - 5.488px);
  }

  .solution-card__summary {
    width: calc(100% - 4.05vw + 9.526px);
  }
}
