/* ==========================================================================\n   GIAFFATTO · Pagina gruppo soluzioni\n   Layout dedicato ricostruito dal PDF.\n\n   Questo file deve essere caricato DOPO:\n   - assets/css/style.css\n   - assets/css/responsive.css\n   - assets/css/newsletter-form.css\n\n   Tutti i selettori sono confinati alla pagina per non alterare header/footer.\n   ========================================================================== */

.gia-sector-page {
  --sector-ink: #0d2930;
  --sector-ink-soft: #21373c;
  --sector-copy: #314548;
  --sector-muted: #667476;
  --sector-green: var(--prime-six, #1a963a);
  --sector-green-dark: #0c7d2a;
  --sector-mint: #F0F9F2;
  --sector-line: #d9dfdc;
  --sector-yellow: #f8bd22;
  --sector-white: #fff;

  overflow: hidden;
  background: var(--sector-white);
  color: var(--sector-ink);
  font-family: 'gordita', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.gia-sector-page,
.gia-sector-page * {
  box-sizing: border-box;
}

.gia-sector-page img {
  display: block;
  max-width: 100%;
}

.gia-sector-page a:not([class*="btn"]):not(.sector-btn) {
  color: inherit;
}

.solution-group {
  margin-bottom: 60px;
  scroll-margin-top: 120px;
}

.solution-group.is-selected {
  padding: 28px;
  border: 1px solid rgba(29, 43, 64, .12);
  border-radius: 18px;
  background: #f8fafc;
}

.solution-group h3 {
  font-size: 24px;
  margin-bottom: 24px;
  font-weight: 700;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.solution-card {
  display: block;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 12px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
  transition: all .25s ease-in-out;
}

.solution-card:hover {
  color: var(--prime-six);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
}

.sector-container {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

.sector-container--wide-copy {
  width: min(1500px, calc(100% - 144px));
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */

.sector-breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  /* padding-top: 145px; */
  color: #172b30;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.sector-breadcrumb a {
  text-decoration: none;
}

.sector-breadcrumb a:hover {
  color: var(--sector-green);
}

.sector-breadcrumb__separator {
  opacity: 0.68;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.sector-hero {
  padding: 66px 0 122px;
  position: relative;
  z-index: 0;
}

.sector-hero__grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 84px;
  align-items: center;
}

.sector-hero__visual {
  display: flex;
  min-height: 510px;
  align-items: center;
  justify-content: center;
}

.sector-hero__visual img {
  width: min(610px, 100%);
  max-height: 520px;
  object-fit: contain;
  transform: translate(-6px, 6px);
}

.sector-hero__content {
  max-width: 590px;
}

.sector-eyebrow {
  margin-bottom: 20px;
  color: #67787a;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.sector-eyebrow--hero {
  display: inline-flex;
  align-items: center;
  gap: 0;

  width: fit-content;
  min-width: 0;

  margin-bottom: 30px;
  padding: 5px 10px 5px 15px;

  border-radius: 20px;
  background: #f0f9f2;

  color: #0c252b;
  text-transform: none;
  letter-spacing: -0.02em;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

a.sector-eyebrow--hero:hover,
a.sector-eyebrow--hero:focus {
  color: #0c252b;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(12, 37, 43, 0.1);
}

.sector-eyebrow--hero .sector-eyebrow__label {
  display: block;

  margin: 0;
  padding: 0;

  color: #0c252b;

  font-family: 'gordita', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: initial;
  /* letter-spacing: -0.025em; */

  white-space: nowrap;
}

.sector-eyebrow--hero .sector-eyebrow__label span {
  font-weight: normal;
}

.sector-eyebrow--hero .sector-eyebrow__dot {
    position: static;
    display: inline-block;
    flex: 0 0 auto;
    width: 30px;
    height: auto;
    margin-left: 16px;
    border-radius: 20px;
    background: #000;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    line-height: 22px;
    text-align: center;
    vertical-align: 2px;
    transition: all 0.3s ease-in-out;
}

a.sector-eyebrow--hero:hover .sector-eyebrow__dot,
a.sector-eyebrow--hero:focus .sector-eyebrow__dot {
    background: var(--prime-six);
    color: #fff;
}

.sector-eyebrow--hero .sector-eyebrow__dot::before {
  content: '›';
  display: inline-block;
  color: currentColor;
  transform: translateY(-1px);
}

.sector-eyebrow--center {
  text-align: center;
}

.sector-hero h1,
.sector-section-title,
.sector-editorial-title-block h2 {
  position: relative;
  z-index: 0;
  margin: 0;
  color: var(--sector-ink);
  font-weight: 700;
  letter-spacing: -0.046em;
}

.sector-hero h1 {
  /* font-size: clamp(52px, 4.08vw, 68px); */
  /* line-height: 0.98; */
  font-size: 59px;
  line-height: 1.15em;
}

.sector-marker {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.sector-marker::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 58%;
  right: -7%;
  left: -4%;
  height: 52%;
  border: 4px solid var(--sector-yellow);
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(-4deg);
}

.sector-marker--hero::after {
  top: 48%;
  right: -5%;
  left: -3%;
  height: 45%;
  border-width: 5px;
}

.sector-hero__content>p {
  max-width: 525px;
  margin: 34px 0 36px;
  color: #22373a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.87em;
  letter-spacing: -0.015em;
}

/* --------------------------------------------------------------------------
   Pulsanti e link
   -------------------------------------------------------------------------- */

.sector-btn {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 12px 24px;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sector-btn--primary {
  background: var(--sector-green);
  box-shadow: 3px 3px 0 #102a30;
  color: #fff !important;
}

.sector-btn--primary:hover {
  background: var(--sector-green-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.sector-btn--compact {
  min-height: 38px;
  padding-inline: 20px;
  font-size: 10px;
}

.sector-btn--plain {
  min-width: 146px;
  box-shadow: none;
}

.sector-text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid #1c3438;
  padding-bottom: 5px;
  color: var(--sector-ink) !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 600;
}

.sector-text-link:hover {
  color: var(--sector-green) !important;
}

/* --------------------------------------------------------------------------
   Pannello introduttivo
   -------------------------------------------------------------------------- */

.sector-wide-panel {
  width: calc(100% - 56px);
  max-width: 1744px;
  margin-inline: auto;
  background: var(--sector-mint);
}

.sector-intro {
  padding: 108px 0 98px;
}

.sector-section-title {
  font-size: 59px;
  line-height: 1.15em;
}

.sector-section-title--center {
  text-align: center;
}

.sector-intro__title {
  max-width: 1120px;
  margin-inline: auto;
}

.sector-section-lead {
  color: var(--sector-copy);
  font-size: 16px;
  line-height: 1.87em;
  letter-spacing: -0.016em;
}

.sector-section-lead--center {
  margin-inline: auto;
  text-align: center;
}

.sector-intro__lead {
  max-width: 1400px;
  margin-top: 45px;
}

.sector-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 70px;
  margin-top: 71px;
}

.sector-benefit-card {
  position: relative;
  z-index: 0;
  text-align: center;
}

.sector-round-icon {
  display: grid;
  width: 65px;
  height: 65px;
  margin: 0 auto 22px;
  place-items: center;
  position: relative;
  border: 3px solid #000;
  border-radius: 50%;
}

.sector-round-icon:before {
  content: '';
  position: absolute;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  top: -3px;
  left: 5px;
  border-radius: 50%;
  background: var(--prime-six);
  z-index: -1;
}

.sector-round-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.sector-benefit-card h3,
.sector-process-item h3 {
  margin: 0;
  color: #102a30;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.sector-benefit-card p {
  /* max-width: 360px; */
  margin: 18px auto 0;
  color: #5a696b;
  font-size: 16px;
  line-height: 1.87em;
}

/* --------------------------------------------------------------------------
   Editoriale a due colonne
   -------------------------------------------------------------------------- */

.sector-editorial-section {
  padding: 170px 0 174px;
}

.sector-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 128px;
  row-gap: 156px;
  align-items: start;
}

.sector-editorial-pair {
  display: contents;
}

.sector-editorial-title-block h2 {
  max-width: 590px;
  font-size: 59px;
  line-height: 1.15em;
}

.sector-editorial-copy-block {
  max-width: 500px;
  padding-top: 17px;
  color: #263a3e;
  font-size: 16px;
  line-height: 1.87em;
  /* letter-spacing: -0.012em; */
}

.sector-editorial-copy-block:nth-child(4n + 3) {
  padding-top: 6px;
}

.sector-editorial-copy-block p {
  margin: 0 0 34px;
}

/* --------------------------------------------------------------------------
   Risultati / processo
   -------------------------------------------------------------------------- */

.sector-results-section {
  padding: 8px 0 171px;
}

.sector-results-title {
  max-width: 1120px;
  margin-inline: auto;
}

.sector-marker--results::after {
  top: 40%;
  right: -13%;
  left: -9%;
  height: 70%;
  border-width: 4px;
  transform: rotate(-5deg);
}

.sector-results-lead {
  max-width: 1090px;
  margin-top: 47px;
}

.sector-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 60px;
  margin-top: 65px;
}

.sector-process-item {
  position: relative;
  z-index: 0;
  text-align: center;
}

.sector-round-icon--small {
  width: 51px;
  height: 51px;
  margin-bottom: 18px;
}

.sector-round-icon--small img {
  width: 22px;
  height: 22px;
}

.sector-process-item p {
  /* max-width: 260px; */
  margin: 17px auto 0;
  color: var(--sector-muted);
  font-size: 16px;
  line-height: 1.87em;
}

/* --------------------------------------------------------------------------
   Soluzioni correlate
   -------------------------------------------------------------------------- */

.sector-solutions-panel {
  padding: 85px 0 78px;
}

.sector-solutions-panel__title {
  font-size: 59px;
}

.sector-solutions-panel__lead {
  max-width: 1050px;
  margin-top: 23px;
}

.sector-solutions-grid {
  /* display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px 21px;
  margin-top: 57px; */
  margin-top: 57px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px 21px;
}

.sector-solutions-grid>a {
  display: flex;
  min-width: 0;
  height: 33px;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  background: #fff;
  padding: 0 8px 0 17px;
  color: #1a3337 !important;
  box-shadow: 0 1px 0 rgba(11, 41, 48, 0.04);
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-width: 290px;
}

.sector-solutions-grid>a:hover {
  box-shadow: 0 5px 16px rgba(13, 41, 48, 0.08);
  transform: translateY(-1px);
}

.sector-solutions-grid>a>span:first-child {
  min-width: 0;
  /* overflow: hidden; */
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sector-solutions-grid__arrow {
  display: grid;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #e7f7eb;
  color: var(--sector-green);
  font-size: 12px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.sector-faq-section {
  padding: 177px 0 169px;
}

.sector-faq-container {
  max-width: 1120px;
}

.sector-faq-title {
  font-size: 59px;
  line-height: 1.15em;
}

.sector-faq-list {
  margin-top: 110px;
}

.sector-faq-list details {
  border-top: 1px solid var(--sector-line);
}

.sector-faq-list details:last-child {
  border-bottom: 1px solid var(--sector-line);
}

.sector-faq-list summary {
  position: relative;
  display: block;
  cursor: pointer;
  list-style: none;
  padding: 25px 44px 25px 0;
  color: #122c31;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.022em;
}

.sector-faq-list summary::-webkit-details-marker {
  display: none;
}

.sector-faq-list summary::after {
  content: '⌄';
  position: absolute;
  top: 50%;
  right: 2px;
  color: #0E252B;
  font-size: 30px;
  transform: translateY(-55%);
  transition: transform 0.2s ease;
}

.sector-faq-list details[open] summary::after {
  transform: translateY(-25%) rotate(180deg);
}

.sector-faq-answer {
  overflow: hidden;
}

.sector-faq-answer p {
  /* max-width: 850px; */
  margin: -5px 0 25px;
  /* color: #5a6b6d; */
  font-size: 18px;
  line-height: 34px;
}

/* --------------------------------------------------------------------------
   CTA prima del footer
   -------------------------------------------------------------------------- */

.sector-faq-cta {
  position: relative;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .sector-container {
    width: min(1120px, calc(100% - 64px));
  }

  .sector-container--wide-copy {
    width: min(1260px, calc(100% - 96px));
  }

  .sector-hero__grid {
    gap: 48px;
  }

  .sector-editorial-grid {
    column-gap: 80px;
  }

  .sector-solutions-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {

  .sector-container,
  .sector-container--wide-copy {
    width: calc(100% - 40px);
  }

  .sector-wide-panel {
    width: calc(100% - 24px);
  }

  .sector-breadcrumb {
    padding-top: 120px;
  }

  .sector-hero {
    padding: 44px 0 84px;
  }

  .sector-hero__grid {
    grid-template-columns: 1fr;
  }

  .sector-hero__content {
    order: 1;
    max-width: 680px;
    min-width: 0;
  }

  .sector-eyebrow--hero {
    max-width: 100%;
  }

  .sector-eyebrow--hero .sector-eyebrow__label {
    min-width: 0;
    white-space: normal;
  }

  .sector-hero__visual {
    order: 2;
    min-height: auto;
    margin-top: 20px;
  }

  .sector-hero__visual img {
    width: min(600px, 92%);
    margin-inline: auto;
    transform: none;
  }

  .sector-intro {
    padding: 78px 0 72px;
  }

  .sector-benefits-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .sector-benefit-card p {
    max-width: 440px;
  }

  .sector-editorial-section {
    padding: 100px 0;
  }

  .sector-editorial-grid {
    grid-template-columns: 1fr;
    row-gap: 42px;
  }

  .sector-editorial-pair {
    display: grid;
    gap: 42px;
  }

  .sector-editorial-pair--reversed .sector-editorial-title-block {
    order: 1;
  }

  .sector-editorial-pair--reversed .sector-editorial-copy-block {
    order: 2;
  }

  .sector-editorial-copy-block {
    max-width: 650px;
    padding-top: 0;
  }

  .sector-editorial-pair--reversed {
    margin-top: 54px;
  }

  .sector-editorial-copy-block:nth-child(4n + 3) {
    padding-top: 0;
  }

  .sector-results-section {
    padding-bottom: 110px;
  }

  .sector-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 52px;
  }

  .sector-solutions-panel {
    padding: 72px 0;
  }

  .sector-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sector-faq-section {
    padding: 110px 0;
  }

  .sector-faq-list {
    margin-top: 70px;
  }
}

@media (max-width: 560px) {

  .sector-eyebrow--hero {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    padding: 5px 10px 5px 15px;
    text-align: center;
  }

  .sector-eyebrow--hero .sector-eyebrow__label {
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
  }

  .sector-eyebrow--hero .sector-eyebrow__dot {
    flex-shrink: 0;
    flex-basis: auto;
    width: 25px;
    height: auto;
    margin-left: 5px;
    line-height: 20px;
    font-size: 16px;
  }

  .sector-container,
  .sector-container--wide-copy {
    width: calc(100% - 28px);
  }

  .sector-wide-panel {
    width: calc(100% - 16px);
  }

  .sector-breadcrumb {
    padding-top: 105px;
    font-size: 11px;
  }

  .sector-hero h1 {
    overflow-wrap: anywhere;
    font-size: clamp(34px, 10.4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .sector-section-title,
  .sector-editorial-title-block h2 {
    font-size: 39px;
  }

  .sector-hero__content>p {
    font-size: 14px;
    line-height: 1.7;
  }

  .sector-hero__visual img {
    width: 100%;
  }

  .sector-intro__lead {
    margin-top: 30px;
  }

  .sector-benefits-grid {
    margin-top: 54px;
  }

  .sector-editorial-section {
    padding: 84px 0;
  }

  .sector-process-grid,
  .sector-solutions-grid {
    grid-template-columns: 1fr;
  }

  .sector-faq-list summary {
    font-size: 15px;
  }
}
