/* Direzione visiva: fotografia ampia, bianco, antracite e accenti azzurri. */
:root {
  --navy: #19232d;
  --deep: #101a24;
  --blue: #009ec9;
  --ink: #17232d;
  --muted: #4b5964;
  --paper: #f5f7f8;
  --section-title-size: clamp(34px, 3.6vw, 52px);
}

.text-blue { color: #147f9d; }
.small-rule { background: #009ec9; }
.eyebrow.light { color: #a4ddea; }
.button-blue:hover { background: #5ac9e5; }
.button-dark:hover { background: #304654; }
.text-link span, .nav-contact span { color: #147f9d; }

/* Pulsanti morbidi, icona separata e comandi fotografici circolari. */
.button {
  border-radius: 999px;
  min-height: 56px;
  padding: 8px 9px 8px 24px;
  gap: 26px;
}
.button > span {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff2e;
  font-size: 21px;
  line-height: 1;
}
.button:hover, .button:focus-visible { box-shadow: 0 8px 24px #0715221a; }
.slider-control {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff12;
  border-color: #ffffff45;
}
.image-arrow { border-radius: 50%; }
.gallery-dialog button { border-radius: 999px; }
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color 350ms ease, color 350ms ease, box-shadow 350ms ease; }
  .button > span { transition: background-color 350ms ease, transform 350ms ease; }
  .button:hover > span { background: #ffffff47; transform: translate(1px, -1px); }
}

/* Le pagine interne conservano la propria struttura e la stessa palette. */
.inner-hero::after {
  background: linear-gradient(90deg, #101a24e6, #101a2499 50%, #101a2414), linear-gradient(0deg, #101a2459, transparent 65%);
}

.home-page main h2 {
  font-size: var(--section-title-size);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -.025em;
}

.home-page .hero {
  min-height: 740px;
  background: #101a24;
}

.home-page .hero-navigation { bottom: 80px; }
.hero-angle {
  position: absolute;
  inset: auto 0 -1px;
  height: 66px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
  z-index: 2;
}

.home-page .expertise-strip { background: #fff; border: 0; }
.home-page .expertise-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-block: 60px 70px;
  text-align: center;
}
.home-page .expertise-inner h2 { color: #147f9d; }
.home-page .expertise-inner strong { font-weight: 300; color: var(--ink); }
.home-page .expertise-inner p {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #3e505d;
}

.home-page .company-section { padding-top: 30px; padding-bottom: 90px; }
.home-page .company-copy h2 { font-size: var(--section-title-size); }
.home-page .image-note { background: #fff; }

.certifications-section {
  padding-block: 45px 90px;
  text-align: center;
  background: #f4f7f8;
}
.certifications-heading .eyebrow { justify-content: center; margin-bottom: 16px; }
.certifications-heading h2 { color: #147f9d; }
.certifications-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 45px;
  max-width: 880px;
  margin: 45px auto 28px;
}
.certifications-logos figure { margin: 0; }
.certifications-logos img {
  mix-blend-mode: multiply;
  width: min(100%, 190px);
  height: 190px;
  object-fit: contain;
  margin-inline: auto;
}
.certifications-logos figcaption {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-page .services-section {
  background: #19232d;
  padding-block: 130px 150px;
  clip-path: polygon(0 45px, 100% 0, 100% calc(100% - 45px), 0 100%);
}
.home-page .services-section .section-heading,
.home-page .projects-section .section-heading {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.home-page .section-heading .eyebrow { justify-content: center; }
.home-page .services-section h2 { color: #5cc8e3; }
.home-page .services-section .section-intro { color: #d5dfe5; }
.home-page .service-title { border-color: #ffffff2b; }
.home-page .service-title h3 { font-weight: 400; }
.home-page .service-title a span { color: #5cc8e3; }
.home-page .service > p { color: #d5dfe5; }
.home-page .projects-section { padding-top: 75px; }
.home-page .contact-section { background: #edf6f8; }
.home-page .contact-section h2 span { color: #147f9d; }

/* Titoli affiancati ai contenuti, senza introduzioni centrali separate. */
.home-page .company-grid { align-items: center; }
.company-intro { margin-bottom: 24px; text-align: left; }
.company-intro h2 { color: #147f9d; margin-bottom: 20px; }
.company-intro h2 strong { color: var(--ink); font-weight: 300; }
.company-intro > p { font-size: 16px; color: var(--muted); margin-bottom: 18px; }
.company-intro .expertise-tags { justify-content: flex-start; gap: 8px 16px; font-size: 10px; }
.home-page .certifications-section > .container {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.8fr);
  gap: 24px 48px;
  align-items: center;
  text-align: left;
}
.home-page .certifications-heading { grid-column: 1; align-self: end; }
.home-page .certifications-heading .eyebrow { justify-content: flex-start; }
.home-page .certifications-logos { grid-column: 2; grid-row: 1 / 3; margin: 0; max-width: none; gap: 24px; text-align: center; }
.home-page .certifications-section > .container > .text-link { grid-column: 1; width: fit-content; align-self: start; gap: 20px; }
.home-page .services-section > .container,
.home-page .projects-section > .container {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.8fr);
  gap: 48px;
  align-items: center;
}
.home-page .services-section .section-heading,
.home-page .projects-section .section-heading {
  display: block;
  text-align: left;
  margin-bottom: 0;
}
.home-page .section-heading .eyebrow { justify-content: flex-start; }
.home-page .services-section .section-intro { margin-top: 24px; }
.home-page .services-grid { gap: 22px; }
.home-page .projects-section .section-heading > .text-link { margin-top: 24px; }
.home-page .projects-section .work-carousel { width: 100%; max-width: none; margin: 0; }

@media (max-width: 1000px) {
  .home-page .certifications-section > .container,
  .home-page .services-section > .container,
  .home-page .projects-section > .container { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .home-page .certifications-heading,
  .home-page .certifications-logos,
  .home-page .certifications-section > .container > .text-link { grid-column: 1; grid-row: auto; }
  .home-page .certifications-logos { gap: 18px; }
  .home-page .services-section .section-intro { margin-top: 16px; }
  .home-page .projects-section .section-heading > .text-link { margin-top: 14px; }
}

@media (max-width: 760px) {
  .home-page .hero { min-height: 710px; }
  .home-page .hero-inner,
  .has-menu-js .home-page .hero-inner {
    padding-top: calc(var(--header-height) + 65px);
    padding-bottom: 210px;
  }
  .home-page .hero-navigation { bottom: 66px; }
  .hero-angle { height: 38px; }
  .home-page .expertise-inner { padding-block: 38px 48px; }
  .home-page .expertise-inner p { font-size: 16px; }
  .expertise-tags { gap: 10px 18px; font-size: 10px; }
  .home-page .company-section { padding-top: 15px; padding-bottom: 55px; }
  .certifications-section { padding-block: 25px 55px; }
  .certifications-heading .eyebrow { font-size: 10px; }
  .certifications-logos { gap: 12px; margin-block: 28px 22px; }
  .certifications-logos img { width: 100%; height: auto; aspect-ratio: 1; }
  .certifications-logos figcaption { font-size: 9px; letter-spacing: .03em; margin-top: 10px; }
  .certifications-section .text-link { font-size: 12px; gap: 16px; }
  .home-page .services-section { padding-block: 90px 100px; clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%); }
  .home-page .projects-section { padding-top: 45px; }
}
