@font-face {
  font-display: swap;
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/lato-400.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Lato";
  font-style: normal;
  font-weight: 700 900;
  src: url("../fonts/lato-700.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700 900;
  src: url("../fonts/montserrat-700.woff2") format("woff2");
}

:root {
  --mec-blue: #6fa6d4;
  --mec-blue-dark: #2f668f;
  --mec-dark: #1f2933;
  --mec-muted: #64748b;
  --mec-soft: #f2f7fb;
  --mec-accent: #febe85;
  --mec-font-body: "Lato", Arial, sans-serif;
  --mec-font-heading: "Montserrat", Arial, sans-serif;
}

body {
  color: var(--mec-dark);
  font-family: var(--mec-font-body);
  line-height: 1.65;
}

button,
input,
select,
textarea {
  font-family: var(--mec-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-slide-title,
.cookie-banner__copy strong,
.cookie-panel__head strong,
.cookie-option strong {
  font-family: var(--mec-font-heading);
}

a {
  color: var(--mec-blue-dark);
  text-decoration: none;
}

a:hover {
  color: #174463;
}

.btn {
  font-weight: 700;
  letter-spacing: 0;
}

.btn-primary {
  --bs-btn-bg: var(--mec-blue);
  --bs-btn-border-color: var(--mec-blue);
  --bs-btn-hover-bg: var(--mec-blue-dark);
  --bs-btn-hover-border-color: var(--mec-blue-dark);
}

.btn-secondary {
  --bs-btn-bg: var(--mec-accent);
  --bs-btn-border-color: var(--mec-accent);
  --bs-btn-color: #26313d;
  --bs-btn-hover-bg: #f5a766;
  --bs-btn-hover-border-color: #f5a766;
  --bs-btn-hover-color: #26313d;
}

.btn-outline-primary {
  --bs-btn-color: var(--mec-blue-dark);
  --bs-btn-border-color: var(--mec-blue);
  --bs-btn-hover-bg: var(--mec-blue);
  --bs-btn-hover-border-color: var(--mec-blue);
}

.site-header {
  box-shadow: 0 8px 30px rgba(15, 23, 42, .04);
}

.brand-logo {
  width: 168px;
  max-height: 58px;
  object-fit: contain;
}

.brand-text {
  font-weight: 800;
  letter-spacing: .06em;
}

.navbar {
  min-height: 76px;
}

.navbar-nav .nav-link {
  color: #1f2933;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--mec-blue-dark);
}

.dropdown-menu {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
  padding: .6rem;
}

.dropdown-item {
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 700;
  padding: .65rem .8rem;
}

.skip-link {
  background: #fff;
  color: var(--mec-dark);
  left: 1rem;
  padding: .75rem 1rem;
  position: fixed;
  top: 1rem;
  z-index: 1100;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-slide {
  min-height: calc(100vh - 76px);
}

.hero-slide {
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

.min-vh-hero {
  min-height: calc(100vh - 76px);
  padding: 6rem 0;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1,
.hero-slide-title,
.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  font-weight: 800;
  line-height: .98;
  margin-bottom: 1.35rem;
}

.hero-slide-title {
  margin-bottom: 1.35rem;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  opacity: .78;
  width: 7%;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  opacity: 1;
}

.hero-carousel .carousel-indicators {
  bottom: 1.4rem;
  margin-bottom: 0;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  border: 2px solid #fff;
  border-radius: 50%;
  height: 10px;
  margin: 0 5px;
  opacity: .65;
  width: 10px;
}

.hero-carousel .carousel-indicators .active {
  background-color: #fff;
  opacity: 1;
}

.hero-copy .lead,
.page-hero .lead {
  max-width: 690px;
}

.eyebrow {
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  margin-bottom: .75rem;
  text-transform: uppercase;
}

.section-pad {
  padding: 5.5rem 0;
}

.bg-soft {
  background: var(--mec-soft);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.06;
}

.process-card,
.feature-card,
.post-card,
.service-card,
.contact-panel,
.contact-form,
.catalog-card {
  background: #fff;
  border: 1px solid rgba(100, 116, 139, .16);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.process-card {
  padding: 2.3rem;
}

.process-card h2,
.feature-card h3,
.service-card h3,
.post-body h2,
.post-body h3,
.catalog-body h2 {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.process-card p,
.feature-card p,
.service-card p,
.post-body p {
  color: var(--mec-muted);
  margin-bottom: 0;
}

.feature-card {
  padding: 2rem 1.4rem;
}

.feature-icon {
  height: 74px;
  margin-bottom: 1.25rem;
  object-fit: contain;
  width: 74px;
}

.image-band {
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.image-band-media {
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
}

.image-band-media::after {
  background: linear-gradient(90deg, rgba(31, 41, 51, .72), rgba(31, 41, 51, .18));
  content: "";
  inset: 0;
  position: absolute;
}

.image-band .container {
  min-height: 560px;
  position: relative;
}

.image-band-panel {
  color: #fff;
  max-width: 560px;
  padding-top: 9rem;
}

.image-band-panel h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.02;
}

.service-card,
.post-card,
.catalog-card {
  overflow: hidden;
}

.service-image,
.post-image {
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.service-body,
.post-body,
.catalog-body {
  padding: 1.35rem;
}

.client-section {
  background: #fff;
}

.client-title {
  color: #505050;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 3rem;
}

.client-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 3rem;
}

.client-logo {
  align-items: center;
  display: flex;
  flex: 0 0 25%;
  justify-content: center;
  min-height: 170px;
  padding: 1rem 2rem;
}

.client-logo img {
  display: block;
  height: 150px;
  max-width: 210px;
  object-fit: contain;
  width: 100%;
}

.post-body time,
.article-hero time {
  color: var(--mec-blue-dark);
  display: inline-block;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: .65rem;
  text-transform: uppercase;
}

.post-body h2 a,
.post-body h3 a {
  color: var(--mec-dark);
}

.read-more,
.back-link {
  display: inline-block;
  font-weight: 800;
  margin-top: .75rem;
}

.page-hero {
  background: linear-gradient(135deg, #edf7ff, #fff 72%);
  padding: 6rem 0;
}

.page-hero.compact {
  padding: 5rem 0;
}

.article-cover {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
  object-fit: cover;
  width: 100%;
}

.page-hero-image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
  object-fit: cover;
  width: 100%;
}

.page-hero-image-abbigliamento-promozionale {
  object-position: 30% center;
}

.article-content {
  font-size: 1.08rem;
  margin: 0 auto;
  max-width: 820px;
}

.article-content img {
  border-radius: 8px;
  height: auto;
  margin: 1.5rem 0;
  max-width: 100%;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  font-weight: 800;
  line-height: 1.18;
  margin-top: 2rem;
}

.content-page-body > h2 {
  color: var(--mec-blue-dark);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  margin-top: 3rem;
}

.content-page-body > h2:first-child,
.content-page-body > p:first-child {
  margin-top: 0;
}

.content-page-body ul,
.content-page-body ol {
  padding-left: 1.25rem;
}

.content-page-body a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-page-cta {
  background: var(--mec-soft);
  border-left: 4px solid var(--mec-blue);
  margin: 4rem auto 0;
  max-width: 820px;
  padding: 2rem;
}

.content-page-cta h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.catalog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.catalog-card img {
  aspect-ratio: 3 / 4;
  background: var(--mec-soft);
  object-fit: cover;
  width: 100%;
}

.contact-panel,
.contact-form {
  padding: 2rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.contact-list strong,
.contact-list a {
  display: block;
}

.contact-list strong {
  color: var(--mec-muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.form-control {
  border-radius: 8px;
  padding: .85rem 1rem;
}

.site-footer {
  background: var(--mec-blue);
  color: #fff;
}

.footer-cta {
  padding-top: 4rem;
}

.footer-cta .container {
  transform: translateY(-1.5rem);
}

.footer-cta-box {
  color: var(--mec-dark);
  padding: 2.3rem;
}

.footer-icon {
  height: 60px;
  object-fit: contain;
  width: 60px;
}

.footer-bottom {
  padding: 0 0 2.2rem;
}

.footer-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.footer-links {
  gap: .55rem 1rem;
}

.footer-social {
  align-items: center;
  justify-content: flex-end;
}

.footer-social a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  display: inline-flex;
  font-size: 1.15rem;
  height: 36px;
  justify-content: center;
  transition: background-color .2s ease, color .2s ease;
  width: 36px;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: #fff;
  color: var(--mec-blue);
}

.footer-bottom a {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  .brand-logo {
    width: 138px;
  }

  .section-pad {
    padding: 4rem 0;
  }

  .client-logo {
    flex-basis: 33.333%;
  }

  .footer-social,
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .hero-copy h1,
  .hero-slide-title,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .min-vh-hero {
    min-height: 660px;
  }

  .process-card,
  .contact-panel,
  .contact-form {
    padding: 1.5rem;
  }

  .client-title {
    font-size: 1.55rem;
    margin-bottom: 2rem;
  }

  .client-grid {
    row-gap: 1.5rem;
  }

  .client-logo {
    flex-basis: 50%;
    min-height: 130px;
    padding: .75rem 1rem;
  }

  .client-logo img {
    height: 120px;
    max-width: 150px;
  }
}
