:root {
  --hg-bg: #f6fbff;
  --hg-hero: #ffffff;
  --hg-text: #153553;
  --hg-muted: #496581;
  --hg-accent: #0f7a86;
  --hg-header-height: 72px;
  --hg-footer-height: 46px;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  min-height: 100vh;
  height: 100dvh;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) var(--hg-footer-height);
  background: var(--hg-bg);
  color: var(--hg-text);
}

.hg-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  min-height: var(--hg-header-height);
  background: transparent;
  box-shadow: none;
  border: 0;
  transition:
    background-color 240ms ease,
    box-shadow 240ms ease;
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  backdrop-filter: saturate(150%) blur(8px);
}

.hg-content-scroll {
  grid-row: 1;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-timeline-name: --hg-page-scroll;
  scroll-timeline-axis: block;
}

.hg-content-scroll [id] {
  scroll-margin-top: calc(var(--hg-header-height) + 0.9rem);
}

.hg-nav-wrap {
  min-height: var(--hg-header-height);
  padding: 0.8rem 0;
  transition: padding 240ms ease;
}

.hg-brand {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0b0b0b;
}

.hg-brand:hover,
.hg-brand:focus {
  color: #0b0b0b;
}

.hg-nav-toggle {
  border: 0;
  padding: 0.35rem 0.4rem;
}

.hg-nav-toggle:focus {
  box-shadow: none;
}

.hg-nav-list {
  gap: clamp(0.2rem, 1.2vw, 0.75rem);
}

.hg-nav-link {
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.45rem 0.7rem !important;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.hg-nav-link:hover,
.hg-nav-link:focus,
.hg-nav-link.active {
  color: #0b0b0b;
  background: rgba(11, 11, 11, 0.06);
}

.hg-nav-cta {
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  padding: 0.62rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: #0b0b0b;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.hg-nav-cta:hover,
.hg-nav-cta:focus {
  color: #ffffff;
  background: #242424;
  transform: translateY(-1px);
}

@keyframes hg-header-solidify {
  from {
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
  }

  to {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 22px rgba(11, 11, 11, 0.1);
  }
}

@keyframes hg-nav-condense {
  from {
    padding: 0.8rem 0;
  }

  to {
    padding: 0.5rem 0;
  }
}

@supports (animation-timeline: --hg-page-scroll) {
  .hg-header {
    animation: hg-header-solidify linear both;
    animation-timeline: --hg-page-scroll;
    animation-range: 0 120px;
  }

  .hg-nav-wrap {
    animation: hg-nav-condense linear both;
    animation-timeline: --hg-page-scroll;
    animation-range: 0 120px;
  }
}

.hg-brand-icon {
  width: 2rem;
  height: 2rem;
  display: block;
  border-radius: 999px;
  object-fit: cover;
  background: #000000;
}

@media (min-width: 992px) {
  .hg-brand-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.hg-shell {
  height: 100%;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.hg-footer {
  position: relative;
  grid-row: 2;
  z-index: 20;
  height: var(--hg-footer-height);
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-top: 1px solid #d1d5db;
}

.hg-footer-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  color: #4b5563;
  font-size: 0.83rem;
  line-height: 1;
}

.hg-footer-left {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hg-footer-right {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
  overflow: hidden;
  white-space: nowrap;
}

.hg-footer-sep {
  color: #6b7280;
}

.hg-footer-right a {
  color: #374151;
  text-decoration: none;
  max-width: 4.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hg-footer-right a:hover,
.hg-footer-right a:focus {
  color: #111827;
}

.hg-back-to-top {
  position: fixed;
  right: 20px;
  bottom: calc(20px + var(--hg-footer-height));
  width: 42px;
  height: 42px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #0b0b0b;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  z-index: 1040;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.hg-back-to-top span {
  line-height: 1;
  font-size: 1.1rem;
}

.hg-back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hg-back-to-top:hover,
.hg-back-to-top:focus-visible {
  color: #0b0b0b;
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(11, 11, 11, 0.16);
}

.hg-back-to-top:focus-visible {
  outline: 2px solid #0b0b0b;
  outline-offset: 2px;
}

.hg-privacy-modal .modal-content {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  max-height: 80vh;
}

.hg-privacy-modal .modal-header,
.hg-privacy-modal .modal-footer {
  border-color: #e5e7eb;
}

.hg-privacy-modal .modal-dialog {
  max-width: 760px;
}

.hg-privacy-modal .modal-header {
  padding: 1.5rem 1.5rem 1rem;
}

.hg-privacy-modal .modal-title {
  color: #111827;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hg-privacy-modal .modal-body {
  padding: 1.25rem 1.5rem 1.5rem;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.7;
}

.hg-privacy-intro {
  color: #1f2937;
  margin-bottom: 1.35rem;
}

.hg-privacy-section {
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f7;
}

.hg-privacy-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.hg-privacy-section h3 {
  margin: 0 0 0.55rem;
  color: #111827;
  font-size: 1.02rem;
  font-weight: 700;
}

.hg-privacy-section p {
  margin: 0;
}

.hg-privacy-section ul {
  margin: 0;
  padding-left: 1.1rem;
}

.hg-privacy-section li + li {
  margin-top: 0.35rem;
}

.hg-privacy-modal .modal-body a {
  color: #1d4ed8;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.hg-privacy-content {
  max-width: 68ch;
}

.hg-privacy-note {
  color: #6b7280;
  font-size: 0.86rem;
  margin-top: 1.2rem;
}

.hg-privacy-modal .modal-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: #ffffff;
  padding: 0.95rem 1.5rem 1.1rem;
  justify-content: flex-end;
}

@media (max-width: 767.98px) {
  .hg-privacy-modal .modal-dialog {
    max-width: 100%;
    margin: 0.6rem;
  }

  .hg-privacy-modal .modal-header {
    padding: 1.1rem 1rem 0.85rem;
  }

  .hg-privacy-modal .modal-body {
    padding: 1rem;
    font-size: 0.93rem;
  }

  .hg-privacy-modal .modal-footer {
    padding: 0.8rem 1rem 1rem;
  }
}

.hg-hero-parallax {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  margin-top: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
  background-color: #3f464f;
  background-image: url("/assets/hero_background.webp?v=20260328-visible");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 8, 11, 0.64) 0%,
    rgba(6, 8, 11, 0.5) 46%,
    rgba(6, 8, 11, 0.72) 100%
  );
}

.hg-hero-content {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 6rem) clamp(1.2rem, 4vw, 3rem);
  color: #ffffff;
}

.hg-hero-title {
  max-width: 15ch;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: balance;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

.hg-hero-subtitle {
  max-width: 36ch;
  font-size: clamp(1.05rem, 1.9vw, 1.95rem);
  font-weight: 400;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.hg-hero-address {
  font-size: clamp(0.98rem, 1.45vw, 1.4rem);
  font-weight: 400;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.hg-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hg-hero-actions .btn {
  min-height: 3rem;
  border-radius: 999px;
  padding: 0.72rem 1.4rem;
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  font-weight: 600;
  border: 1px solid transparent;
}

.hg-hero-btn-primary {
  background: #ffffff;
  color: #0b0b0b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.hg-hero-btn-primary:hover,
.hg-hero-btn-primary:focus {
  background: #f2f3f4;
  color: #0b0b0b;
}

.hg-hero-btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
}

.hg-hero-btn-secondary:hover,
.hg-hero-btn-secondary:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

.hg-hero-content > * {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hg-hero-content p {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.hg-welcome {
  background: #ffffff;
  color: #0b0b0b;
  padding: clamp(100px, 11vw, 140px) clamp(1rem, 4vw, 4rem);
}

.hg-welcome-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: center;
}

.hg-welcome-copy {
  max-width: 34rem;
}

.hg-welcome-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.hg-welcome-title {
  font-size: clamp(2rem, 4.2vw, 3.9rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hg-welcome-text {
  max-width: 34ch;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.72;
  color: #6b7280;
}

.hg-welcome-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hg-welcome-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0b0b0b;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.74rem 1.35rem;
  border: 0;
}

.hg-welcome-cta:hover,
.hg-welcome-cta:focus {
  background: #242424;
  color: #ffffff;
}

.hg-welcome-link {
  color: #0b0b0b;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
}

.hg-welcome-link:hover,
.hg-welcome-link:focus {
  color: #0b0b0b;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hg-welcome-media {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.hg-welcome-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
}

.hg-ambiente {
  background: #f8f9fa;
  color: #0b0b0b;
  padding: clamp(100px, 11vw, 140px) clamp(1rem, 4vw, 3.4rem);
}

.hg-ambiente-inner {
  max-width: 1260px;
  margin: 0 auto;
}

.hg-ambiente-head {
  text-align: center;
  margin-bottom: clamp(2.4rem, 4.5vw, 4rem);
}

.hg-ambiente-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.hg-ambiente-title {
  font-size: clamp(2rem, 3.9vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hg-ambiente-subtitle {
  max-width: 600px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.72;
  color: #6b7280;
}

.hg-ambiente-gallery {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: clamp(1.05rem, 2vw, 1.45rem);
}

.hg-ambiente-card {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #e9ecef;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.hg-ambiente-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 11, 0.08);
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.hg-ambiente-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 5 / 4;
  transition: transform 320ms ease;
}

.hg-ambiente-card:hover img,
.hg-ambiente-card:focus-within img {
  transform: scale(1.04);
}

.hg-ambiente-card:hover::after,
.hg-ambiente-card:focus-within::after {
  opacity: 1;
}

.hg-trattamenti {
  background: #f8f9fa;
  color: #0b0b0b;
  padding: clamp(100px, 11vw, 140px) clamp(1rem, 4vw, 3.4rem);
}

.hg-trattamenti-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.hg-trattamenti-head {
  text-align: center;
  margin-bottom: clamp(2.2rem, 4.8vw, 4rem);
}

.hg-trattamenti-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.hg-trattamenti-title {
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hg-trattamenti-description {
  max-width: 600px;
  margin: 0 auto;
  color: #6b7280;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
}

.hg-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.2vw, 1.6rem);
}

.hg-services-groups {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.hg-services-group-title {
  margin: 0 0 clamp(1rem, 2vw, 1.4rem);
  color: #0b0b0b;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hg-service-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  display: grid;
  gap: 1rem;
  align-content: start;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.hg-service-card:hover,
.hg-service-card:focus-within {
  transform: translateY(-4px);
  border-color: #dbe1e8;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.hg-service-media {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
}

.hg-service-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

.hg-service-card:hover .hg-service-media img,
.hg-service-card:focus-within .hg-service-media img {
  transform: scale(1.04);
}

.hg-service-media--wide {
  aspect-ratio: 16 / 9;
}

.hg-service-media--soft {
  aspect-ratio: 5 / 4;
}

.hg-service-media--tall {
  aspect-ratio: 4 / 3;
}

.hg-service-body {
  display: grid;
  gap: 0.75rem;
}

.hg-service-title {
  color: #0b0b0b;
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
  font-weight: 700;
  line-height: 1.28;
}

.hg-service-text {
  color: #6b7280;
  font-size: 0.98rem;
  line-height: 1.55;
}

.hg-service-link {
  margin-top: 0.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #0b0b0b;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
}

.hg-service-link--disabled {
  color: #6b7280;
  cursor: not-allowed;
  opacity: 0.9;
}

.hg-service-link:hover,
.hg-service-link:focus {
  color: #0b0b0b;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hg-trattamenti-footer {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  justify-content: center;
}

.hg-trattamenti-cta {
  background: #0b0b0b;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.5rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.hg-trattamenti-cta:hover,
.hg-trattamenti-cta:focus {
  background: #242424;
  color: #ffffff;
}

.hg-tecnologie {
  background: #ffffff;
  color: #111111;
  padding: clamp(6.25rem, 10vw, 8rem) 0;
}

.hg-tecnologie-inner {
  max-width: 1280px;
}

.hg-tecnologie-media {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  aspect-ratio: 5 / 4;
}

.hg-tecnologie-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: auto;
}

.hg-tecnologie-panel {
  max-width: 36rem;
  margin-left: auto;
  color: #111111;
}

.hg-tecnologie-eyebrow {
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hg-tecnologie-title {
  font-size: clamp(2rem, 4.1vw, 3.55rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hg-tecnologie-intro {
  max-width: 33ch;
  font-size: clamp(1.03rem, 1.2vw, 1.2rem);
  line-height: 1.62;
  color: #6b7280;
}

.hg-tecnologie-list {
  display: grid;
  gap: 0.9rem;
  max-width: 36ch;
}

.hg-tecnologie-item {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  align-items: start;
  gap: 0.72rem;
  color: #374151;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.55;
}

.hg-tecnologie-check {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  display: inline-block;
  position: relative;
}

.hg-tecnologie-check::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.17rem;
  width: 0.32rem;
  height: 0.56rem;
  border-right: 2px solid #111111;
  border-bottom: 2px solid #111111;
  transform: rotate(38deg);
}

.hg-tecnologie-cta {
  border: 1px solid #111111;
  background: transparent;
  color: #111111;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 0.62rem 1.2rem;
}

.hg-tecnologie-cta:hover,
.hg-tecnologie-cta:focus {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.hg-contattaci {
  background: #ffffff;
  color: #111111;
  padding: clamp(6.25rem, 10vw, 8rem) 0;
}

.hg-contattaci-inner {
  max-width: 1280px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(340px, 1fr);
  gap: clamp(2.2rem, 4vw, 4.2rem);
  align-items: center;
}

.hg-contattaci-copy {
  max-width: 39rem;
}

.hg-contattaci-eyebrow {
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hg-contattaci-title {
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hg-contattaci-description {
  max-width: 40ch;
  color: #6b7280;
  font-size: clamp(1.04rem, 1.2vw, 1.16rem);
  line-height: 1.6;
}

.hg-contattaci-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hg-contattaci-cta-primary,
.hg-contattaci-cta-secondary {
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.66rem 1.2rem;
  letter-spacing: 0.01em;
}

.hg-contattaci-cta-primary {
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff;
}

.hg-contattaci-cta-primary:hover,
.hg-contattaci-cta-primary:focus {
  background: #27272a;
  border-color: #27272a;
  color: #ffffff;
}

.hg-contattaci-cta-secondary {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111111;
}

.hg-contattaci-cta-secondary:hover,
.hg-contattaci-cta-secondary:focus {
  border-color: #111111;
  background: #f9fafb;
  color: #111111;
}

.hg-contattaci-list {
  display: grid;
  gap: 0.9rem;
}

.hg-contattaci-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  padding: clamp(0.95rem, 1.4vw, 1.2rem);
}

.hg-contattaci-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hg-contattaci-label h3 {
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  font-weight: 600;
  color: #4b5563;
  line-height: 1.2;
}

.hg-contattaci-icon {
  width: 1.3rem;
  height: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111111;
}

.hg-contattaci-icon svg {
  width: 100%;
  height: 100%;
}

.hg-contattaci-value {
  margin-left: 1.9rem;
  color: #111111;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.4;
  word-break: break-word;
}

.hg-contattaci-link {
  color: inherit;
  text-decoration: none;
}

.hg-contattaci-link:hover,
.hg-contattaci-link:focus {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.hg-contattaci-value--phone {
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hg-contattaci-map-wrap {
  margin-top: clamp(0.6rem, 1.6vw, 1.1rem);
}

.hg-contattaci-map {
  width: 100%;
  height: clamp(260px, 30vw, 360px);
  border: 0;
  display: block;
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.09);
}

.hg-chisiamo {
  background: #f8f9fa;
  color: #111111;
  padding: clamp(6.25rem, 10vw, 8rem) 0;
}

.hg-chisiamo-inner {
  max-width: 1280px;
  display: grid;
  grid-template-columns: minmax(340px, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.hg-chisiamo-content {
  max-width: 44rem;
}

.hg-chisiamo-eyebrow {
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hg-chisiamo-title {
  max-width: 20ch;
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hg-chisiamo-text {
  max-width: 58ch;
  color: #6b7280;
  font-size: clamp(1.03rem, 1.2vw, 1.16rem);
  line-height: 1.64;
}

.hg-chisiamo-points {
  display: grid;
  gap: 0.72rem;
  max-width: 40ch;
}

.hg-chisiamo-point {
  display: grid;
  grid-template-columns: 1.3rem 1fr;
  align-items: start;
  gap: 0.68rem;
  color: #374151;
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  line-height: 1.52;
}

.hg-chisiamo-check {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  display: inline-block;
  position: relative;
}

.hg-chisiamo-check::after {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0.16rem;
  width: 0.3rem;
  height: 0.55rem;
  border-right: 2px solid #111111;
  border-bottom: 2px solid #111111;
  transform: rotate(38deg);
}

.hg-chisiamo-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: clamp(1.2rem, 2vw, 1.7rem);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.hg-chisiamo-card-title {
  color: #111111;
  font-size: clamp(1.22rem, 1.65vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
}

.hg-chisiamo-card-address {
  color: #6b7280;
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  line-height: 1.55;
}

.hg-chisiamo-contact-list {
  display: grid;
  gap: 0.95rem;
}

.hg-chisiamo-contact-item {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.68rem;
  align-items: start;
  padding-top: 0.25rem;
}

.hg-chisiamo-contact-icon {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  color: #111111;
}

.hg-chisiamo-contact-icon svg {
  width: 100%;
  height: 100%;
}

.hg-chisiamo-contact-label {
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hg-chisiamo-contact-value {
  color: #111111;
  text-decoration: none;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.45;
}

.hg-chisiamo-contact-value:hover,
.hg-chisiamo-contact-value:focus {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.hg-chisiamo-contact-value--phone {
  font-size: clamp(1.22rem, 1.9vw, 1.52rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (min-width: 992px) {
  .hg-welcome-grid {
    grid-template-columns: minmax(340px, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(3rem, 5vw, 5rem);
  }

  .hg-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.2rem, 2vw, 1.8rem);
  }

  .hg-ambiente-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 118px;
    gap: clamp(1.2rem, 2vw, 1.8rem);
  }

  .hg-ambiente-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .hg-ambiente-card--large {
    grid-row: span 3;
  }

  .hg-ambiente-card--medium {
    grid-row: span 2;
  }

  .hg-ambiente-card--small {
    grid-row: span 2;
  }

}

@media (min-width: 768px) and (max-width: 991.98px) {
  .hg-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .hg-ambiente-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 120px;
    gap: 1.25rem;
  }

  .hg-ambiente-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .hg-ambiente-card--large {
    grid-row: span 3;
  }

  .hg-ambiente-card--medium {
    grid-row: span 2;
  }

  .hg-ambiente-card--small {
    grid-row: span 2;
  }

}

@media (max-width: 1199.98px) {
  .hg-tecnologie-inner {
    max-width: 1080px;
  }

  .hg-contattaci-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
  }

  .hg-contattaci-copy {
    max-width: none;
  }

  .hg-contattaci-map {
    height: clamp(250px, 50vw, 340px);
  }

  .hg-chisiamo-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    --hg-header-height: 64px;
  }

  .hg-ambiente-gallery {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .hg-ambiente-card--large,
  .hg-ambiente-card--medium,
  .hg-ambiente-card--small {
    grid-row: auto;
  }

  .hg-ambiente-card img {
    height: auto;
    aspect-ratio: 5 / 4;
  }

  .hg-tecnologie {
    padding-top: clamp(5rem, 12vw, 6.2rem);
    padding-bottom: clamp(5rem, 12vw, 6.2rem);
  }

  .hg-tecnologie-panel {
    margin-left: 0;
    max-width: none;
  }

  .hg-tecnologie-media {
    aspect-ratio: auto;
  }

  .hg-tecnologie-list,
  .hg-tecnologie-intro {
    max-width: none;
  }

  .hg-contattaci {
    padding-top: clamp(5rem, 12vw, 6.1rem);
    padding-bottom: clamp(4.5rem, 11vw, 5.6rem);
  }

  .hg-contattaci-inner {
    gap: 1.4rem;
  }

  .hg-contattaci-copy {
    display: grid;
  }

  .hg-contattaci-cta-wrap {
    order: 1;
  }

  .hg-contattaci-list {
    order: 2;
    gap: 0.75rem;
  }

  .hg-contattaci-map-wrap {
    order: 3;
    margin-top: 0.2rem;
  }

  .hg-contattaci-cta-primary,
  .hg-contattaci-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .hg-contattaci-value {
    margin-left: 1.9rem;
  }

  .hg-chisiamo {
    padding-top: clamp(5rem, 12vw, 6.1rem);
    padding-bottom: clamp(4.5rem, 11vw, 5.6rem);
  }

  .hg-chisiamo-inner {
    gap: 1.35rem;
  }

  .hg-chisiamo-title,
  .hg-chisiamo-text,
  .hg-chisiamo-points {
    max-width: none;
  }

  .hg-chisiamo-card {
    padding: 1rem;
  }

  .hg-nav-toggle {
    margin-right: 0.45rem;
  }

  .hg-brand {
    margin-left: 0.6rem;
  }

  .hg-nav-wrap {
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
    padding-left: calc((var(--bs-gutter-x, 1.5rem) * 0.5) + 0.35rem);
    padding-right: calc((var(--bs-gutter-x, 1.5rem) * 0.5) + 0.35rem);
  }

  .hg-brand-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .hg-footer-inner {
    padding-left: 0.72rem;
    padding-right: 0.72rem;
    font-size: 0.79rem;
    gap: 0.5rem;
  }

  .hg-footer-right {
    gap: 0.3rem;
  }

  .hg-footer-right a {
    max-width: 3.7rem;
  }

  .hg-header .navbar-collapse {
    margin-top: 0.5rem;
    padding: 0.38rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(11, 11, 11, 0.08);
    transition:
      background-color 180ms ease,
      box-shadow 180ms ease;
  }

  .hg-nav-list {
    gap: 0.14rem;
    margin-bottom: 0.45rem;
  }

  .hg-nav-link {
    display: block;
    padding: 0.56rem 0.62rem !important;
    border-radius: 0.62rem;
  }

  .hg-nav-cta {
    width: 100%;
    padding-top: 0.66rem;
    padding-bottom: 0.66rem;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .hg-footer-inner {
    font-size: 0.74rem;
    gap: 0.4rem;
  }

  .hg-footer-sep {
    display: none;
  }

  .hg-footer-right a {
    max-width: 3.2rem;
  }
}
