:root {
  --hp-ink: #071425;
  --hp-navy: #0c2039;
  --hp-slate: #2e425d;
  --hp-muted: #617087;
  --hp-line: #dbe3ec;
  --hp-soft: #f4f7fa;
  --hp-white: #ffffff;
  --hp-teal: #00b7a5;
  --hp-teal-dark: #008e80;
  --hp-gold: #e9b84d;
  --hp-shadow: 0 18px 48px rgba(8, 28, 52, 0.13);
}

html {
  scroll-behavior: smooth;
}

body.home-proposal {
  margin: 0;
  color: var(--hp-ink);
  background: var(--hp-white);
  font-family: "Work Sans", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.55;
}

.home-proposal *,
.home-proposal *::before,
.home-proposal *::after {
  box-sizing: border-box;
}

.home-proposal a {
  color: inherit;
}

.home-proposal img {
  display: block;
  max-width: 100%;
}

.hp-skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--hp-ink);
  background: var(--hp-white);
  border-radius: 8px;
  transform: translateY(-160%);
}

.hp-skip-link:focus {
  transform: translateY(0);
}

.hp-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hp-site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(7, 20, 37, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.hp-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hp-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.hp-brand img {
  width: 136px;
  height: auto;
}

.hp-main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: #e9eef5;
  font-size: 0.91rem;
  font-weight: 600;
}

.hp-main-nav a {
  text-decoration: none;
}

.hp-main-nav a:not(.hp-nav-cta):hover,
.hp-main-nav a:not(.hp-nav-cta):focus-visible {
  color: #76e8dc;
}

.hp-nav-cta {
  padding: 10px 15px;
  color: var(--hp-white);
  background: var(--hp-teal-dark);
  border: 1px solid var(--hp-teal);
  border-radius: 7px;
}

.hp-nav-cta:hover,
.hp-nav-cta:focus-visible {
  color: var(--hp-ink);
  background: #58e7d7;
}

.hp-language {
  color: #a9b7c9;
}

.hp-language strong {
  color: var(--hp-white);
}

.hp-hero {
  overflow: hidden;
  color: var(--hp-white);
  background:
    radial-gradient(circle at 80% 18%, rgba(0, 183, 165, 0.2), transparent 24rem),
    linear-gradient(122deg, #071425 0%, #0c2039 55%, #102b4a 100%);
}

/* The clock-led proposal makes the product, rather than a generic scene, the hero. */
.hp-hero-clock {
  background:
    radial-gradient(circle at 76% 48%, rgba(255, 37, 87, 0.32), transparent 20rem),
    radial-gradient(circle at 88% 6%, rgba(78, 146, 225, 0.21), transparent 26rem),
    linear-gradient(122deg, #050d18 0%, #0a1b31 53%, #0d2541 100%);
}

.hp-hero-clock .hp-hero-visual::before {
  top: 20%;
  right: 2%;
  width: 78%;
  background: radial-gradient(circle, rgba(255, 45, 97, 0.35), rgba(255, 45, 97, 0));
  filter: blur(8px);
}

.hp-hero-clock .hp-hero-image-frame {
  top: 50%;
  right: -13%;
  bottom: auto;
  left: -10%;
  height: auto;
  aspect-ratio: 3.684 / 1;
  padding: 11px;
  background: #05070c;
  border-color: rgba(255, 121, 151, 0.68);
  box-shadow: 0 0 0 1px rgba(255, 88, 126, 0.18), 22px 28px 0 rgba(0, 0, 0, 0.18), 0 0 60px rgba(255, 25, 80, 0.28), 0 30px 70px rgba(0, 0, 0, 0.38);
  transform: translateY(-50%) rotate(-2deg);
}

.hp-hero-clock .hp-hero-image-frame::after {
  background: linear-gradient(180deg, transparent 58%, rgba(4, 8, 15, 0.24));
}

.hp-hero-clock .hp-hero-image-frame img {
  object-fit: cover;
  object-position: center;
}

.hp-hero-clock .hp-hero-note {
  right: -7px;
  bottom: 25px;
  border-color: rgba(255, 117, 151, 0.54);
}

.hp-hero-clock .hp-note-dot {
  background: #ff577c;
  box-shadow: 0 0 0 5px rgba(255, 87, 124, 0.15), 0 0 15px rgba(255, 63, 110, 0.65);
}

.hp-hero-grid {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  padding: 76px 0 62px;
}

.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: #91efe6;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hp-eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--hp-teal);
}

.hp-hero h1 {
  max-width: 690px;
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(2.38rem, 4.5vw, 4.45rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hp-hero-copy {
  max-width: 610px;
  margin: 23px 0 0;
  color: #d2ddea;
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  line-height: 1.65;
}

.hp-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 31px;
}

.hp-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.89rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hp-button:hover,
.hp-button:focus-visible {
  transform: translateY(-2px);
}

.hp-button-primary {
  color: #03211e;
  background: #56e3d5;
  border-color: #56e3d5;
}

.hp-button-primary:hover,
.hp-button-primary:focus-visible {
  color: #03211e;
  background: #89f0e5;
}

.hp-button-secondary {
  color: var(--hp-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.hp-button-secondary:hover,
.hp-button-secondary:focus-visible {
  color: var(--hp-white);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--hp-white);
}

.hp-button-dark {
  color: var(--hp-white);
  background: var(--hp-navy);
  border-color: var(--hp-navy);
}

.hp-button-dark:hover,
.hp-button-dark:focus-visible {
  color: var(--hp-white);
  background: #173a62;
}

.hp-hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 390px;
}

.hp-hero-visual::before {
  position: absolute;
  z-index: 0;
  top: 11%;
  right: -7%;
  width: 68%;
  aspect-ratio: 1;
  content: "";
  background: linear-gradient(145deg, rgba(0, 183, 165, 0.36), rgba(15, 68, 110, 0.09));
  border-radius: 50%;
  filter: blur(2px);
}

.hp-hero-image-frame {
  position: absolute;
  z-index: 1;
  inset: 2% 0 0 4%;
  overflow: hidden;
  border: 1px solid rgba(189, 228, 237, 0.32);
  border-radius: 18px;
  box-shadow: 20px 25px 0 rgba(0, 0, 0, 0.13), 0 26px 60px rgba(0, 0, 0, 0.32);
}

.hp-hero-image-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(6, 21, 38, 0.55));
}

.hp-hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 65%;
}

.hp-hero-note {
  position: absolute;
  z-index: 2;
  right: -26px;
  bottom: 24px;
  display: flex;
  max-width: 250px;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 17px;
  color: #dcecf4;
  background: rgba(8, 28, 52, 0.94);
  border: 1px solid rgba(128, 226, 216, 0.42);
  border-radius: 10px;
  box-shadow: var(--hp-shadow);
  font-size: 0.84rem;
  line-height: 1.4;
}

.hp-hero-note b {
  display: block;
  margin-bottom: 2px;
  color: var(--hp-white);
}

.hp-note-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 5px;
  background: #5de5d7;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(93, 229, 215, 0.13);
}

.hp-proof-bar {
  color: #dce8ef;
  background: #0b1d32;
}

.hp-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 104px;
}

.hp-proof-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hp-proof-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hp-proof-number {
  color: #77eadf;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.hp-proof-label {
  font-size: 0.84rem;
  line-height: 1.28;
}

.hp-section {
  padding: 96px 0;
}

.hp-section-soft {
  background: var(--hp-soft);
}

.hp-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 39px;
}

.hp-kicker {
  margin: 0 0 11px;
  color: var(--hp-teal-dark);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hp-section h2 {
  max-width: 760px;
  margin: 0;
  color: var(--hp-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.hp-section-intro {
  max-width: 470px;
  margin: 0;
  color: var(--hp-muted);
  font-size: 1rem;
}

.hp-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hp-product-card {
  display: flex;
  min-height: 508px;
  flex-direction: column;
  padding: 18px;
  color: var(--hp-ink);
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(12, 32, 57, 0.04);
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.hp-product-card:hover,
.hp-product-card:focus-visible {
  color: var(--hp-ink);
  border-color: #8edbd2;
  box-shadow: var(--hp-shadow);
  transform: translateY(-6px);
}

.hp-product-image {
  display: flex;
  height: 185px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 23px;
  background: linear-gradient(145deg, #edf5f8, #dfeaf0);
  border-radius: 9px;
}

.hp-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 260ms ease;
}

.hp-product-card:hover .hp-product-image img {
  transform: scale(1.045);
}

.hp-product-image-clock {
  background: #07111e;
}

.hp-product-image-clock img {
  object-fit: cover;
}

.hp-product-image-inserter img {
  width: 90%;
  object-fit: contain;
}

.hp-product-image-ptp img {
  object-position: center 70%;
}

.hp-product-type {
  margin: 0 0 8px;
  color: var(--hp-teal-dark);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hp-product-card h3 {
  margin: 0;
  color: var(--hp-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
}

.hp-product-card p:not(.hp-product-type) {
  margin: 12px 0 19px;
  color: var(--hp-muted);
  font-size: 0.91rem;
  line-height: 1.48;
}

.hp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--hp-teal-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.hp-card-link::after {
  content: "→";
  font-size: 1.08rem;
}

.hp-all-products {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 38px 0 0;
  color: var(--hp-muted);
  font-size: 1rem;
  text-align: center;
}

.hp-all-products .hp-button {
  color: var(--hp-navy);
  background: transparent;
  border-color: #bdcad5;
}

.hp-all-products .hp-button:hover,
.hp-all-products .hp-button:focus-visible {
  background: #eaf2f4;
  border-color: #9bb1bf;
}

.hp-benefit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(35px, 8vw, 108px);
}

.hp-benefit-image {
  position: relative;
  min-height: 465px;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--hp-shadow);
}

.hp-benefit-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 22, 39, 0.03) 30%, rgba(5, 22, 39, 0.56));
}

.hp-benefit-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hp-benefit-caption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 20px;
  left: 24px;
  color: var(--hp-white);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

.hp-benefit-content > p:not(.hp-kicker) {
  max-width: 600px;
  margin: 21px 0 0;
  color: var(--hp-muted);
  font-size: 1.04rem;
}

.hp-benefit-list {
  display: grid;
  gap: 18px;
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
}

.hp-benefit-list li {
  position: relative;
  padding: 0 0 0 31px;
  color: #40526a;
}

.hp-benefit-list li::before {
  position: absolute;
  top: 5px;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #0d655f;
  content: "✓";
  background: #c9f2ec;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.hp-benefit-list strong {
  display: block;
  color: var(--hp-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.94rem;
}

.hp-benefit-list span {
  font-size: 0.89rem;
}

.hp-engineering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.hp-engineering-card {
  padding: 29px 28px;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: 10px;
}

.hp-engineering-index {
  color: var(--hp-teal-dark);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hp-engineering-card h3 {
  margin: 15px 0 10px;
  color: var(--hp-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.hp-engineering-card p {
  margin: 0;
  color: var(--hp-muted);
  font-size: 0.91rem;
}

.hp-faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(35px, 8vw, 105px);
}

.hp-faq-copy p:not(.hp-kicker) {
  max-width: 390px;
  margin: 20px 0 0;
  color: var(--hp-muted);
}

.hp-faq-list {
  display: grid;
  gap: 10px;
}

.hp-faq-list details {
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: 8px;
}

.hp-faq-list summary {
  position: relative;
  padding: 18px 51px 18px 20px;
  color: var(--hp-navy);
  cursor: pointer;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  list-style: none;
}

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

.hp-faq-list summary::after {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 24px;
  height: 24px;
  color: var(--hp-teal-dark);
  content: "+";
  border: 1px solid #b8d8d4;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 21px;
  text-align: center;
}

.hp-faq-list details[open] summary::after {
  content: "–";
}

.hp-faq-list details p {
  margin: 0;
  padding: 0 20px 19px;
  color: var(--hp-muted);
  font-size: 0.91rem;
}

.hp-contact-band {
  overflow: hidden;
  color: var(--hp-white);
  background:
    radial-gradient(circle at 77% 35%, rgba(0, 183, 165, 0.25), transparent 24rem),
    var(--hp-navy);
}

.hp-contact-inner {
  display: flex;
  min-height: 340px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 60px 0;
}

.hp-contact-band h2 {
  max-width: 760px;
  margin: 0;
  color: var(--hp-white);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hp-contact-band p:not(.hp-kicker) {
  max-width: 640px;
  margin: 18px 0 0;
  color: #cfdae5;
}

.hp-contact-band .hp-kicker {
  color: #70e7dc;
}

.hp-site-footer {
  color: #c4d0dc;
  background: #06111f;
}

.hp-footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding: 52px 0 25px;
}

.hp-footer-brand img {
  width: 132px;
  margin-bottom: 15px;
}

.hp-footer-inner p,
.hp-footer-inner address {
  margin: 0;
  color: #9baaba;
  font-size: 0.87rem;
  font-style: normal;
  line-height: 1.65;
}

.hp-footer-title {
  margin: 0 0 13px;
  color: var(--hp-white);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-footer-links {
  display: grid;
  gap: 7px;
}

.hp-footer-links a {
  color: #9baaba;
  font-size: 0.87rem;
  text-decoration: none;
}

.hp-footer-links a:hover,
.hp-footer-links a:focus-visible {
  color: #74e9df;
}

.hp-footer-bottom {
  padding: 19px 0 22px;
  color: #718296;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

@media (max-width: 1000px) {
  .hp-main-nav {
    gap: 15px;
    font-size: 0.84rem;
  }

  .hp-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    gap: 40px;
  }

  .hp-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-proof-item {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 780px) {
  .hp-container {
    width: min(100% - 32px, 600px);
  }

  .hp-header-inner {
    min-height: 68px;
  }

  .hp-brand img {
    width: 115px;
  }

  .hp-nav-cta {
    padding: 10px 14px;
  }

  .hp-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 58px 0 52px;
  }

  .hp-hero-visual {
    min-height: 400px;
  }

  .hp-hero-image-frame {
    inset: 0 13px 0 0;
  }

  .hp-hero-clock .hp-hero-visual {
    min-height: 310px;
    margin-left: 0;
  }

  .hp-hero-clock .hp-hero-image-frame {
    top: 46%;
    right: -2%;
    left: -5%;
    width: 107%;
    padding: 7px;
    transform: translateY(-50%) rotate(-1.2deg);
  }

  .hp-hero-note {
    right: 0;
    bottom: -12px;
  }

  .hp-proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-proof-item,
  .hp-proof-item:first-child {
    border: 0;
  }

  .hp-proof-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hp-proof-item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hp-section {
    padding: 68px 0;
  }

  .hp-section-heading,
  .hp-contact-inner {
    display: block;
  }

  .hp-section-intro {
    margin-top: 17px;
  }

  .hp-benefit-grid,
  .hp-faq-layout {
    grid-template-columns: 1fr;
  }

  .hp-benefit-image {
    min-height: 360px;
  }

  .hp-engineering-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hp-contact-inner {
    padding: 65px 0;
  }

  .hp-contact-inner .hp-button-row {
    margin-top: 26px;
  }

  .hp-footer-inner {
    grid-template-columns: 1fr;
    gap: 27px;
  }
}

@media (max-width: 530px) {
  .hp-hero h1 {
    font-size: 2.28rem;
  }

  .hp-button-row,
  .hp-button-row .hp-button {
    width: 100%;
  }

  .hp-product-grid,
  .hp-proof-grid {
    grid-template-columns: 1fr;
  }

  .hp-proof-item,
  .hp-proof-item:nth-child(odd),
  .hp-proof-item:nth-child(n + 3) {
    min-height: 75px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hp-proof-item:last-child {
    border-bottom: 0;
  }

  .hp-hero-visual {
    min-height: 337px;
  }

  .hp-hero-clock .hp-hero-visual {
    min-height: 270px;
  }

  .hp-hero-note {
    right: -4px;
    max-width: 225px;
    padding: 12px 13px;
    font-size: 0.77rem;
  }

  .hp-product-card {
    min-height: 400px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   MENU MOBILE (hamburger)
   Su desktop le voci "extra" restano nel DOM ma nascoste: sono comunque
   raggiungibili dal footer, che le espone tutte in chiaro.
   ═══════════════════════════════════════════════════════════════════════ */
.hp-nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  flex-direction: column;
  justify-content: space-between;
  padding: 11px 9px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  cursor: pointer;
}

.hp-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #e9eef5;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 150ms ease;
}

.hp-nav-toggle:focus-visible {
  outline: 2px solid var(--hp-teal);
  outline-offset: 2px;
}

.hp-nav-extra {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   SPECIFICHE NELLE CARD PRODOTTO
   ═══════════════════════════════════════════════════════════════════════ */
.hp-product-card p:not(.hp-product-type) {
  margin: 12px 0 15px;
}

.hp-product-specs {
  margin: 0 0 18px;
  padding: 13px 0 0;
  border-top: 1px solid var(--hp-line);
  list-style: none;
}

.hp-product-specs li {
  position: relative;
  padding: 0 0 6px 15px;
  color: var(--hp-slate);
  font-size: 0.81rem;
  line-height: 1.42;
}

.hp-product-specs li::before {
  position: absolute;
  top: -1px;
  left: 0;
  color: var(--hp-teal-dark);
  content: "\203A";
  font-size: 1rem;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════
   VARIANTI BOTTONE E LINK INLINE
   ═══════════════════════════════════════════════════════════════════════ */
.hp-button-secondary-dark {
  color: var(--hp-navy);
  background: transparent;
  border-color: #bdcad5;
}

.hp-button-secondary-dark:hover,
.hp-button-secondary-dark:focus-visible {
  color: var(--hp-navy);
  background: #eaf2f4;
  border-color: #9bb1bf;
}

.hp-faq-copy p a,
.hp-faq-list details p a {
  color: var(--hp-teal-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hp-footer-legal {
  margin-top: 15px;
}

.hp-footer-inner address a {
  text-decoration: none;
}

.hp-footer-inner address a:hover,
.hp-footer-inner address a:focus-visible {
  color: #74e9df;
}

/* ═══════════════════════════════════════════════════════════════════════
   BREAKPOINT MENU MOBILE
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hp-nav-toggle {
    display: flex;
  }

  .hp-main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 76px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    padding: 6px 24px 26px;
    /* Fondo pieno, non translucido: il backdrop-filter non e' affidabile
       ovunque e un menu a tutta pagina non guadagna nulla dalla trasparenza. */
    background: #071425;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    font-size: 1rem;
  }

  body.hp-nav-open {
    overflow: hidden;
  }

  body.hp-nav-open .hp-main-nav {
    display: flex;
  }

  .hp-main-nav a {
    padding: 15px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .hp-nav-extra {
    display: block;
  }

  .hp-language {
    border-bottom: 0;
  }

  .hp-nav-cta {
    margin-top: 18px;
    padding: 15px 18px;
    border-bottom: 0;
    text-align: center;
  }

  .hp-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hp-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .hp-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 780px) {
  .hp-main-nav {
    max-height: calc(100vh - 68px);
  }

  .hp-all-products {
    flex-direction: column;
    gap: 14px;
  }

  .hp-all-products .hp-button {
    width: 100%;
  }
}

/* I valori tipo "<1 µs" non devono spezzarsi su due righe */
.hp-proof-number {
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════
   DARK MODE
   NB: --hp-white e --hp-navy NON vengono ribaltati: servono anche come
   colore di testo sopra le fasce scure (hero, contact band, footer).
   Le superfici chiare vengono quindi scurite una per una.
   ═══════════════════════════════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {
  :root {
    --hp-ink: #e7eef6;
    --hp-slate: #b9c7d6;
    --hp-muted: #94a4b7;
    --hp-line: #24364b;
    --hp-teal-dark: #38dfcb;
    --hp-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  }

  body.home-proposal {
    background: #0a1522;
  }

  .hp-skip-link,
  .hp-product-card,
  .hp-engineering-card,
  .hp-faq-list details {
    background: #101f31;
  }

  .hp-section-soft {
    background: #0d1a29;
  }

  .hp-product-image {
    background: linear-gradient(145deg, #17293d, #101f2f);
  }

  /* Testi che in chiaro usano --hp-navy su fondo bianco */
  .hp-section h2,
  .hp-product-card h3,
  .hp-engineering-card h3,
  .hp-faq-list summary,
  .hp-benefit-list strong {
    color: #eaf2fa;
  }

  .hp-product-card:hover,
  .hp-product-card:focus-visible {
    color: var(--hp-ink);
    border-color: #2f7f77;
  }

  .hp-faq-list summary::after {
    border-color: #2c5a55;
  }

  /* #40526a hardcoded: 2.20:1 sul fondo scuro, sotto la soglia WCAG AA */
  .hp-benefit-list li {
    color: var(--hp-slate);
  }

  .hp-all-products .hp-button,
  .hp-button-secondary-dark {
    color: #eaf2fa;
    border-color: #35495f;
  }

  .hp-all-products .hp-button:hover,
  .hp-all-products .hp-button:focus-visible,
  .hp-button-secondary-dark:hover,
  .hp-button-secondary-dark:focus-visible {
    color: #eaf2fa;
    background: #17293d;
    border-color: #4b637e;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   ACCESSIBILITÀ: rispetta prefers-reduced-motion
   ═══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-proposal *,
  .home-proposal *::before,
  .home-proposal *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO SU MOBILE — niente sovrapposizione
   Fino a 780px il riquadro dell'orologio e la card della didascalia erano
   entrambi in position:absolute dentro un contenitore alto ~310px, quindi
   la card finiva sopra le cifre. Qui escono dal posizionamento assoluto e
   si impilano in flusso normale: immagine, poi didascalia sotto.
   Va in fondo al file per vincere sulle regole dei breakpoint precedenti.
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 780px) {
  .hp-hero-visual,
  .hp-hero-clock .hp-hero-visual {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 14px;
    margin-left: 0;
  }

  .hp-hero-image-frame,
  .hp-hero-clock .hp-hero-image-frame {
    position: static;
    width: 100%;
    padding: 8px;
    /* niente inclinazione da stacked: a questa dimensione leggerebbe
       come disallineamento, non come scelta grafica */
    transform: none;
  }

  .hp-hero-note,
  .hp-hero-clock .hp-hero-note {
    position: static;
    max-width: none;
    padding: 14px 15px;
    font-size: 0.83rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   PAGINE PRODOTTO
   Componenti che la home non usava. Alcune classi hanno nomi imposti
   dall'esterno (.specs-row, .specs-label, .feature, .image-description,
   .text-start): sono gli agganci che generateDataSheetPDF() in
   script.min.js cerca nel DOM per costruire la scheda tecnica PDF.
   Rinominarle romperebbe il bottone "Scheda Tecnica".
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Menu a tendina "Prodotti" nella barra di navigazione ────────────── */
.hp-has-dropdown {
  position: relative;
}

.hp-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.hp-dropdown-toggle::after {
  content: "\25BE";
  font-size: 0.7em;
  transition: transform 180ms ease;
}

.hp-dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.hp-dropdown {
  position: absolute;
  z-index: 60;
  top: calc(100% + 14px);
  left: -18px;
  display: none;
  min-width: 268px;
  flex-direction: column;
  padding: 8px;
  background: #0b1c31;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42);
}

.hp-has-dropdown[data-open="true"] .hp-dropdown {
  display: flex;
}

.hp-dropdown a {
  padding: 10px 13px;
  border-radius: 7px;
  font-weight: 500;
  white-space: nowrap;
}

.hp-dropdown a:hover,
.hp-dropdown a:focus-visible {
  color: #76e8dc;
  background: rgba(255, 255, 255, 0.06);
}

.hp-dropdown a[aria-current="page"] {
  color: #76e8dc;
  background: rgba(0, 183, 165, 0.13);
}

/* ── Briciole di pane ────────────────────────────────────────────────── */
.hp-breadcrumb {
  padding: 18px 0 0;
  font-size: 0.83rem;
}

.hp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #93a7bd;
  list-style: none;
}

.hp-breadcrumb li + li::before {
  margin-right: 8px;
  content: "/";
  opacity: 0.5;
}

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

.hp-breadcrumb a:hover,
.hp-breadcrumb a:focus-visible {
  color: #76e8dc;
}

.hp-breadcrumb [aria-current="page"] {
  color: #dbe6f2;
}

/* ── Testata di prodotto ─────────────────────────────────────────────── */
.hp-page-hero {
  overflow: hidden;
  color: var(--hp-white);
  background:
    radial-gradient(circle at 78% 40%, rgba(0, 183, 165, 0.18), transparent 22rem),
    linear-gradient(122deg, #061321 0%, #0b1e35 55%, #0e2744 100%);
}

.hp-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(38px, 6vw, 84px);
  padding: 46px 0 62px;
}

.hp-page-hero h1 {
  max-width: 15ch;
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hp-page-hero .hp-lead {
  max-width: 54ch;
  margin: 22px 0 0;
  color: #c6d4e4;
  font-size: 1.03rem;
}

.hp-page-hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(189, 228, 237, 0.22);
  border-radius: 16px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
}

.hp-page-hero-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.image-description {
  margin: 12px 0 0;
  color: #9db0c4;
  font-size: 0.82rem;
  text-align: center;
}

/* ── Elenco caratteristiche chiave ───────────────────────────────────── */
.hp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hp-feature-grid .feature {
  position: relative;
  padding: 0 0 0 27px;
  color: var(--hp-slate);
  font-size: 0.89rem;
  line-height: 1.45;
}

.hp-feature-grid .feature::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: #0d655f;
  content: "\2713";
  background: #c9f2ec;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 800;
}

/* ── Tabella specifiche ──────────────────────────────────────────────── */
.hp-spec-table {
  display: grid;
  margin: 34px 0 0;
  border-top: 1px solid var(--hp-line);
}

.hp-spec-table .specs-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--hp-line);
}

.hp-spec-table .specs-label h3,
.hp-spec-table .specs-label h4 {
  margin: 0;
  color: var(--hp-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 700;
}

.hp-spec-table .specs-row ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-spec-table .specs-row li {
  position: relative;
  padding-left: 15px;
  color: var(--hp-slate);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hp-spec-table .specs-row li::before {
  position: absolute;
  top: -1px;
  left: 0;
  color: var(--hp-teal-dark);
  content: "\203A";
  font-weight: 700;
}

/* ── Testo lungo ─────────────────────────────────────────────────────── */
.hp-prose {
  max-width: 68ch;
  color: var(--hp-slate);
  font-size: 1.01rem;
}

.hp-prose p {
  margin: 0 0 17px;
}

.hp-prose h3 {
  margin: 30px 0 12px;
  color: var(--hp-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.hp-prose ul {
  display: grid;
  gap: 8px;
  margin: 0 0 17px;
  padding: 0;
  list-style: none;
}

.hp-prose li {
  position: relative;
  padding-left: 16px;
}

.hp-prose li::before {
  position: absolute;
  left: 0;
  color: var(--hp-teal-dark);
  content: "\203A";
  font-weight: 700;
}

.hp-prose strong {
  color: var(--hp-navy);
}

/* ── Galleria ────────────────────────────────────────────────────────── */
.hp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 34px 0 0;
}

.hp-gallery figure {
  margin: 0;
  overflow: hidden;
  padding: 16px;
  background: var(--hp-soft);
  border: 1px solid var(--hp-line);
  border-radius: 12px;
}

.hp-gallery img {
  width: 100%;
  height: auto;
  border-radius: 7px;
}

/* ── Prodotti correlati ──────────────────────────────────────────────── */
.hp-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 30px 0 0;
}

@media (max-width: 900px) {
  .hp-dropdown {
    position: static;
    display: flex;
    min-width: 0;
    padding: 4px 0 8px 14px;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .hp-has-dropdown {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .hp-dropdown-toggle {
    width: 100%;
    padding: 15px 2px;
    justify-content: space-between;
  }

  .hp-dropdown a {
    padding: 11px 8px;
    font-size: 0.95rem;
  }
}

@media (max-width: 780px) {
  .hp-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 30px 0 48px;
  }

  .hp-feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hp-spec-table .specs-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 2px;
  }
}

@media (prefers-color-scheme: dark) {
  .hp-spec-table .specs-label h3,
  .hp-spec-table .specs-label h4,
  .hp-prose h3,
  .hp-prose strong {
    color: #eaf2fa;
  }

  .hp-gallery figure {
    background: #101f31;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   CONTRASTO DEI BOTTONI — correzione di specificita'
   `.home-proposal a { color: inherit }` vale (0,1,1) e batteva
   `.hp-button-primary` che vale (0,1,0). Dentro le fasce scure (hero,
   testata prodotto, banda contatti) il testo del bottone ereditava quindi
   il bianco del contenitore invece del proprio colore scuro: bianco su
   menta = 1.57:1, contro il minimo di 4.5:1 richiesto da WCAG AA.
   Con `.home-proposal` davanti si arriva a (0,2,0) e il colore torna quello voluto.
   ═══════════════════════════════════════════════════════════════════════ */
.home-proposal .hp-button-primary,
.home-proposal .hp-button-primary:hover,
.home-proposal .hp-button-primary:focus-visible {
  color: #03211e;
}

.home-proposal .hp-button-secondary,
.home-proposal .hp-button-secondary:hover,
.home-proposal .hp-button-secondary:focus-visible {
  color: var(--hp-white);
}

.home-proposal .hp-button-secondary-dark,
.home-proposal .hp-button-secondary-dark:hover,
.home-proposal .hp-button-secondary-dark:focus-visible {
  color: var(--hp-navy);
}

/* L'intestazione e' scura in entrambi i temi, quindi il CTA del menu non
   deve seguire lo scambio dei token: in dark mode --hp-teal-dark schiarisce
   (serve come colore di TESTO su fondo scuro) e qui e' invece uno SFONDO.
   Seguendolo si otteneva bianco su menta chiara, 1.67:1. Valori fissi. */
.home-proposal .hp-nav-cta {
  color: #ffffff;
  background: #00786c;
  border-color: #00b7a5;
}

.home-proposal .hp-nav-cta:hover,
.home-proposal .hp-nav-cta:focus-visible {
  color: #03211e;
  background: #58e7d7;
  border-color: #58e7d7;
}

@media (prefers-color-scheme: dark) {
  .home-proposal .hp-button-secondary-dark,
  .home-proposal .hp-all-products .hp-button {
    color: #eaf2fa;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   COMPONENTI AGGIUNTIVI PAGINE PRODOTTO (introdotti per TVI/OSD)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Riga di etichette sotto il titolo ───────────────────────────────── */
.hp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hp-badges li {
  padding: 7px 13px;
  color: #bfeee7;
  background: rgba(0, 183, 165, 0.12);
  border: 1px solid rgba(120, 226, 214, 0.34);
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 600;
}

/* ── Dimostrazioni video ─────────────────────────────────────────────── */
.hp-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 34px 0 0;
}

.hp-video-grid figure {
  margin: 0;
}

.hp-video-grid video {
  display: block;
  width: 100%;
  height: auto;
  background: #05101c;
  border: 1px solid var(--hp-line);
  border-radius: 12px;
}

.hp-video-grid figcaption {
  margin: 14px 0 0;
}

.hp-video-grid figcaption h3 {
  margin: 0 0 7px;
  color: var(--hp-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.hp-video-grid figcaption p {
  margin: 0;
  color: var(--hp-muted);
  font-size: 0.9rem;
}

/* ── Specifiche in forma "etichetta + testo" ─────────────────────────
   La tabella nasce per liste puntate; TVI descrive ogni voce con una
   frase singola. Stessa riga, stessa griglia, nessun elenco. */
.hp-spec-table .specs-row > div > p {
  margin: 0;
  color: var(--hp-slate);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ── Griglia applicazioni (card brevi, senza numerazione) ────────────── */
.hp-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 30px 0 0;
}

.hp-app-card {
  padding: 24px 22px;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: 10px;
}

.hp-app-card h3 {
  margin: 0 0 9px;
  color: var(--hp-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.hp-app-card p {
  margin: 0;
  color: var(--hp-muted);
  font-size: 0.89rem;
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .hp-app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .hp-app-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  .hp-app-card {
    background: #101f31;
  }

  .hp-app-card h3,
  .hp-video-grid figcaption h3 {
    color: #eaf2fa;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   FIGURA "A INQUADRATURA INTERA"
   .hp-benefit-image usa object-fit: cover, giusto per una fotografia
   ambientata ma sbagliato quando l'immagine E' l'informazione: un fotogramma
   video con l'overlay in un angolo, o uno screenshot di interfaccia.
   Con cover, in un riquadro ~1.09:1, un 16:9 perde il 29% della larghezza
   (e con essa l'orologio nell'angolo) e uno screenshot verticale il 45%
   dell'altezza. Qui l'immagine viene mostrata intera su fondo scuro.
   ═══════════════════════════════════════════════════════════════════════ */
.hp-benefit-image.hp-frame-full {
  background: #05101c;
}

.hp-benefit-image.hp-frame-full img {
  object-fit: contain;
}

/* ═══════════════════════════════════════════════════════════════════════
   TABELLA COMPARATIVA (pagine editoriali)
   Scorre in orizzontale nel proprio contenitore: una tabella a 4 colonne
   non entra su un telefono, e senza questo il corpo pagina scorrerebbe
   lateralmente trascinandosi dietro tutto il layout.
   ═══════════════════════════════════════════════════════════════════════ */
.hp-table-wrap {
  overflow-x: auto;
  margin: 30px 0 0;
  border: 1px solid var(--hp-line);
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}

.hp-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.hp-table th,
.hp-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--hp-line);
  text-align: left;
  vertical-align: top;
}

.hp-table thead th {
  color: var(--hp-white);
  background: var(--hp-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  white-space: nowrap;
}

.hp-table tbody th {
  color: var(--hp-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
}

.hp-table td {
  color: var(--hp-slate);
}

.hp-table tbody tr:last-child th,
.hp-table tbody tr:last-child td {
  border-bottom: 0;
}

.hp-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

/* ── Citazione in evidenza ───────────────────────────────────────────── */
.hp-quote {
  margin: 30px 0;
  padding: 22px 26px;
  color: var(--hp-navy);
  background: var(--hp-soft);
  border-left: 3px solid var(--hp-teal);
  border-radius: 0 10px 10px 0;
  font-size: 1.03rem;
  font-style: italic;
}

@media (prefers-color-scheme: dark) {
  .hp-table thead th {
    color: #eaf2fa;
    background: #16283c;
  }

  .hp-table tbody th {
    color: #eaf2fa;
  }

  .hp-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
  }

  .hp-quote {
    color: #eaf2fa;
    background: #101f31;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   MODULO DI CONTATTO
   ═══════════════════════════════════════════════════════════════════════ */
.hp-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(34px, 6vw, 70px);
}

.hp-form {
  padding: clamp(24px, 4vw, 36px);
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  box-shadow: var(--hp-shadow);
}

.hp-field {
  margin: 0 0 17px;
}

.hp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.hp-field label,
.hp-fieldset > legend {
  display: block;
  margin: 0 0 7px;
  padding: 0;
  color: var(--hp-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
}

.hp-field input,
.hp-field select,
.hp-field textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--hp-ink);
  background: var(--hp-white);
  border: 1px solid #c3cfdc;
  border-radius: 8px;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 0.95rem;
}

.hp-field textarea {
  min-height: 116px;
  resize: vertical;
}

.hp-field input:focus,
.hp-field select:focus,
.hp-field textarea:focus {
  border-color: var(--hp-teal-dark);
  outline: 2px solid rgba(0, 183, 165, 0.25);
  outline-offset: 1px;
}

.hp-field input::placeholder,
.hp-field textarea::placeholder {
  color: #9aa9ba;
}

.hp-required {
  color: #c0392b;
}

.hp-fieldset {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.hp-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 18px;
  margin-top: 4px;
}

.hp-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
}

.hp-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: #008e80;
}

.hp-check label {
  margin: 0;
  color: var(--hp-slate);
  cursor: pointer;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
}

.hp-form .hp-button {
  width: 100%;
  margin-top: 6px;
}

.hp-form-note {
  margin: 14px 0 0;
  color: var(--hp-muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .hp-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hp-field-row,
  .hp-check-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  .hp-form {
    background: #101f31;
  }

  .hp-field label,
  .hp-fieldset > legend {
    color: #eaf2fa;
  }

  .hp-field input,
  .hp-field select,
  .hp-field textarea {
    color: var(--hp-ink);
    background: #0a1522;
    border-color: #33475e;
  }

  .hp-required {
    color: #ff8e80;
  }
}

/* Variante a 3 colonne della griglia applicazioni.
   Come classe e non come stile inline: uno style="" batte qualsiasi media
   query, e la griglia restava a 3 colonne anche su telefono (157px di
   sfondamento orizzontale su whoare). */
.hp-app-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1000px) {
  .hp-app-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .hp-app-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* La testata prodotto e' pensata per foto orizzontali. Un ritratto
   (la foto del fondatore) riempirebbe tutta la colonna e dominerebbe la
   pagina: qui l'altezza viene limitata e l'immagine resta centrata. */
.hp-page-hero-media.hp-media-portrait {
  max-width: 380px;
  margin: 0 auto;
}

.hp-page-hero-media.hp-media-portrait img {
  max-height: 430px;
  object-fit: contain;
}

@media (max-width: 780px) {
  .hp-page-hero-media.hp-media-portrait {
    max-width: 300px;
  }

  .hp-page-hero-media.hp-media-portrait img {
    max-height: 340px;
  }
}

/* ── Schede applicazione (pagina "Le nostre App") ─────────────────────── */
.hp-app-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  margin: 32px 0 0;
}

.hp-app-detail {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: 12px;
}

.hp-app-detail h3 {
  margin: 0 0 10px;
  color: var(--hp-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.hp-app-detail > p {
  margin: 0 0 14px;
  color: var(--hp-muted);
  font-size: 0.91rem;
  line-height: 1.5;
}

.hp-app-feat-title {
  margin: 4px 0 8px !important;
  color: var(--hp-navy) !important;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
}

.hp-app-detail .hp-prose {
  max-width: none;
  font-size: 0.89rem;
}

.hp-app-detail .hp-badges {
  margin-top: auto;
  padding-top: 14px;
}

.hp-app-detail .hp-badges li {
  color: var(--hp-teal-dark);
  background: rgba(0, 183, 165, 0.09);
  border-color: rgba(0, 142, 128, 0.28);
  font-size: 0.74rem;
}

.hp-app-detail .hp-button {
  width: 100%;
  margin-top: 14px;
}

@media (prefers-color-scheme: dark) {
  .hp-app-detail {
    background: #101f31;
  }

  .hp-app-detail h3,
  .hp-app-feat-title {
    color: #eaf2fa !important;
  }
}

/* ── Elenco notizie ───────────────────────────────────────────────────── */
.hp-news-list {
  display: grid;
  gap: 22px;
  margin: 32px 0 0;
}

.hp-news-item {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 22px;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: 12px;
}

.hp-news-media img,
.hp-news-media video {
  display: block;
  width: 100%;
  height: auto;
  background: #05101c;
  border-radius: 9px;
}

.hp-news-item h3 {
  margin: 0 0 10px;
  color: var(--hp-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  line-height: 1.28;
}

.hp-news-item p {
  margin: 0 0 12px;
  color: var(--hp-slate);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hp-news-date {
  display: block;
  margin: 0 0 10px !important;
  color: var(--hp-muted) !important;
  font-size: 0.79rem !important;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@media (max-width: 780px) {
  .hp-news-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  .hp-news-item {
    background: #101f31;
  }

  .hp-news-item h3 {
    color: #eaf2fa;
  }
}
