.home-topbar .home-brand img {
  display: block;
  width: clamp(150px, 16vw, 220px);
  max-height: 64px;
  object-fit: contain;
}

.dpo-hero-photo {
  position: relative;
  min-height: min(680px, calc(100vh - 94px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #052f35;
}

.dpo-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/dpo/dpo-hero-servizi.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.dpo-hero-servizi::before {
  background-image: url('/assets/img/dpo/dpo-hero-servizi.png');
}

.dpo-hero-verifica::before {
  background-image: url('/assets/img/dpo/dpo-hero-verifica.png');
}

.dpo-hero-genera::before {
  background-image: url('/assets/img/dpo/dpo-hero-genera.png');
}

.dpo-hero-prezzi::before {
  background-image: url('/assets/img/dpo/dpo-hero-prezzi.png');
}

.dpo-hero-contatti::before {
  background-image: url('/assets/img/dpo/dpo-hero-contatti.png');
}

.dpo-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 34, 38, .94) 0%, rgba(3, 34, 38, .72) 42%, rgba(3, 34, 38, .26) 100%),
    linear-gradient(0deg, rgba(3, 34, 38, .42), rgba(3, 34, 38, .16));
}

.dpo-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

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

.dpo-hero-photo .home-kicker,
.dpo-hero-photo h1,
.dpo-hero-photo p {
  color: #fff;
}

.dpo-hero-photo .home-kicker {
  color: #f2c56e;
}

.dpo-hero-photo h1 {
  margin: 18px 0 22px;
  font-size: clamp(3.2rem, 6vw, 6.9rem);
  line-height: .92;
  letter-spacing: 0;
  text-wrap: balance;
}

.dpo-hero-photo p {
  max-width: 690px;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.55;
}

.dpo-hero-photo .home-btn {
  background: rgba(255, 255, 255, .96);
  color: #082f35;
  border-color: rgba(255, 255, 255, .82);
}

.dpo-hero-photo .home-btn.primary {
  background: #063f47;
  color: #fff;
  border-color: #063f47;
}

.dpo-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 38px;
}

.dpo-hero-stats span {
  display: block;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  backdrop-filter: blur(8px);
}

.dpo-hero-stats strong {
  display: block;
  margin-bottom: 6px;
  color: #f4d38c;
  font-size: 1.24rem;
}

.dpo-section-head {
  max-width: 860px;
  margin-bottom: 28px;
}

.dpo-section-head h2 {
  margin: 8px 0 10px;
  color: #0b2d33;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.dpo-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dpo-mini-grid article,
.dpo-price-card,
.dpo-addon-card,
.dpo-contact-card {
  border: 1px solid rgba(16, 35, 38, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  padding: 24px;
  box-shadow: 0 18px 48px rgba(16, 35, 38, .06);
}

.dpo-mini-grid article h3,
.dpo-contact-card h2 {
  margin-top: 0;
  color: #0b2d33;
}

.dpo-pricing-shell {
  padding-top: 76px;
}

.dpo-price-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.dpo-price-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
}

.dpo-price-card.featured {
  border-color: rgba(184, 133, 54, .75);
  box-shadow: 0 26px 70px rgba(16, 35, 38, .12);
}

.dpo-plan-tag {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f4ead2;
  color: #0b2d33;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.dpo-price-card strong {
  display: block;
  font-family: var(--praisi-public-head);
  font-size: 1.48rem;
  color: #0b2d33;
}

.dpo-price-card .price {
  display: block;
  margin: 20px 0 8px;
  font-family: var(--praisi-public-head);
  font-size: 2.18rem;
  color: #0b2d33;
}

.dpo-price-card .price small {
  font-family: inherit;
  font-size: .92rem;
  font-weight: 700;
}

.dpo-price-card p {
  color: #31484b;
}

.dpo-price-card ul,
.dpo-addon-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #31484b;
  line-height: 1.65;
}

.dpo-price-card li::marker,
.dpo-addon-card li::marker {
  color: #c69231;
}

.dpo-price-card .home-btn {
  margin-top: auto;
  align-self: flex-start;
}

.dpo-addon-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.dpo-addon-card {
  min-height: 178px;
  padding: 20px;
}

.dpo-addon-card strong {
  display: block;
  color: #0b2d33;
  font-family: var(--praisi-public-head);
  font-size: 1rem;
}

.dpo-addon-price {
  display: block;
  margin: 9px 0 8px;
  color: #9a6421;
  font-weight: 900;
}

.dpo-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 20px;
  align-items: stretch;
}

.dpo-contact-card a {
  color: #0b2d33;
  font-weight: 900;
}

.dpo-contact-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.dpo-contact-list span {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(16, 35, 38, .12);
  border-radius: 8px;
  background: #f7f3ec;
}

@media (max-width: 1100px) {
  .dpo-addon-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .dpo-mini-grid,
  .dpo-price-row,
  .dpo-contact-grid,
  .dpo-hero-stats {
    grid-template-columns: 1fr;
  }

  .dpo-hero-inner {
    width: min(100% - 28px, 1180px);
    padding: 74px 0;
  }

  .dpo-hero-photo h1 {
    font-size: clamp(2.65rem, 13vw, 4.8rem);
  }
}

@media (max-width: 680px) {
  .dpo-addon-row {
    grid-template-columns: 1fr;
  }
}
