.elementor-461 .elementor-element.elementor-element-5b7d160{--display:flex;--min-height:100vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--overflow:hidden;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-461 .elementor-element.elementor-element-d2a2189{margin:-20px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-461 .elementor-element.elementor-element-d2a2189.elementor-element{--align-self:stretch;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-0f64c7c */:root {
  --mp-black: #050505;
  --mp-white: #ffffff;
  --mp-dark: #111111;
  --mp-muted: #777777;
  --mp-line: rgba(0, 0, 0, 0.16);
  --mp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.mp-tax-page,
.mp-tax-page * {
  box-sizing: border-box;
}

.mp-tax-page {
  width: 100%;
  overflow: hidden;
  font-family: inherit;
  background: #fff;
  color: #000;
}

.mp-container {
  width: min(100%, 1520px);
  margin: 0 auto;
  padding-left: clamp(22px, 5vw, 86px);
  padding-right: clamp(22px, 5vw, 86px);
}


/* HERO */

.mp-tax-hero {
  position: relative;
  width: 100%;
  min-height: 100vh !important;
  min-height: 100svh !important;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #111;
  color: #fff;
}

.mp-tax-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("https://millepiani.com/wp-content/uploads/2026/05/agevolazioni-fiscali.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.mp-tax-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.58) 48%, rgba(0,0,0,0.32) 100%),
    rgba(0,0,0,0.22);
}

.mp-tax-hero-content {
  position: relative;
  z-index: 3;
  width: min(92%, 980px);
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px 90px;
  overflow: hidden;
}

.mp-kicker {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: clamp(10px, 0.75vw, 13px);
  line-height: 1.5;
  font-weight: 400;
}

.mp-tax-hero h1 {
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 800;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.mp-tax-hero-content > p:not(.mp-kicker) {
  width: min(100%, 760px);
  margin: 28px auto 0;
  color: rgba(255,255,255,0.84);
  font-size: clamp(13px, 1.5vw, 20px);
  line-height: 1.75;
  font-weight: 300;
  text-align: center;
}

.mp-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 52px;
  margin-top: 34px;
  padding: 0 28px;
  border: 1px solid rgba(255,255,255,0.75);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  line-height: 1;
  transition:
    background 400ms var(--mp-ease),
    color 400ms var(--mp-ease),
    border-color 400ms var(--mp-ease),
    transform 400ms var(--mp-ease);
}

.mp-outline-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-4px);
}

.mp-scroll-text {
  display: block;
  margin-top: 18px;
  color: rgba(255,255,255,0.62);
  font-size: 12px;
}

.mp-scroll-arrow {
  position: absolute;
  left: clamp(22px, 5vw, 86px);
  bottom: 0;
  z-index: 5;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  background: #050505;
  text-decoration: none;
}

.mp-scroll-arrow span {
  width: 14px;
  height: 14px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg) translateY(-4px);
  animation: mpArrowDown 1.5s infinite;
}

@keyframes mpArrowDown {
  0%, 100% {
    transform: rotate(45deg) translateY(-5px);
    opacity: 0.45;
  }

  50% {
    transform: rotate(45deg) translateY(4px);
    opacity: 1;
  }
}


/* INTRO */

.mp-tax-intro {
  padding: clamp(56px, 7vw, 100px) 0 clamp(58px, 7vw, 110px);
  background: #fff;
}

.mp-section-heading p {
  margin: 0 0 8px;
  text-transform: uppercase;
  color: #777;
  letter-spacing: 0.22em;
  font-size: 12px;
  line-height: 1.3;
}

.mp-section-heading h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.mp-intro-text {
  margin-top: 26px;
  max-width: 1240px;
}

.mp-intro-text p {
  margin: 0;
  color: #555;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.8;
}

.mp-features-grid {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 34px);
}

.mp-feature-card {
  min-height: 240px;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  transition:
    transform 420ms var(--mp-ease),
    box-shadow 420ms var(--mp-ease),
    border-color 420ms var(--mp-ease);
}

.mp-feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,0,0,0.28);
  box-shadow: 0 26px 70px rgba(0,0,0,0.08);
}

.mp-feature-icon {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 34px;
}

.mp-feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #000;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-feature-card h3 {
  margin: 0 0 18px;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  font-weight: 800;
}

.mp-feature-card p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.7;
}

.mp-tax-note {
  margin-top: clamp(34px, 4vw, 58px);
  max-width: 1400px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(0,0,0,0.12);
  background: #f7f7f7;
}

.mp-tax-note p {
  margin: 0;
  color: #555;
  font-size: 13px;
  line-height: 1.75;
}


/* FORM */

.mp-quote-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #050505;
  color: #fff;
  isolation: isolate;
}

@media (min-width: 1025px) {
  .mp-quote-section {
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
  }
}

.mp-quote-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2400&q=90");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.mp-quote-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.63) 43%, rgba(0,0,0,0.32) 100%),
    rgba(0,0,0,0.24);
  pointer-events: none;
}

.mp-quote-inner {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100svh;
  width: min(100%, 1680px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(480px, 0.95fr);
  align-items: center;
  gap: clamp(54px, 8vw, 150px);
  padding: clamp(90px, 10vh, 130px) clamp(34px, 7vw, 118px);
}

.mp-quote-info {
  max-width: 560px;
}

.mp-quote-kicker {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.44em;
  font-size: clamp(11px, 0.85vw, 14px);
  line-height: 1.4;
  font-weight: 400;
}

.mp-quote-title {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(46px, 4.3vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.mp-quote-description {
  margin: 28px 0 0;
  max-width: 460px;
  color: rgba(255,255,255,0.84);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.75;
  font-weight: 300;
}

.mp-quote-contacts {
  margin-top: clamp(54px, 8vh, 94px);
  display: grid;
  gap: 34px;
}

.mp-quote-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  text-decoration: none;
  width: fit-content;
}

.mp-quote-contact-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-grid;
  place-items: center;
}

.mp-quote-contact-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-quote-contact span:last-child {
  display: grid;
  gap: 4px;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  line-height: 1.35;
}

.mp-quote-contact strong {
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1;
  font-weight: 800;
}

.mp-quote-form-card {
  background: #fff;
  color: #000;
  width: 100%;
  max-width: 760px;
  justify-self: end;
  padding: clamp(46px, 5vw, 70px) clamp(42px, 5vw, 70px);
  box-shadow: 0 34px 80px rgba(0,0,0,0.32);
}

.mp-quote-form {
  position: relative;
  width: 100%;
}

.mp-form-status {
  display: none;
  margin-bottom: 24px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.45;
  border: 1px solid #000;
}

.mp-form-status.is-visible {
  display: block;
}

.mp-form-status.is-error {
  color: #9a1717;
  border-color: rgba(154, 23, 23, 0.35);
  background: rgba(154, 23, 23, 0.05);
}

.mp-form-status.is-success {
  color: #0f5f32;
  border-color: rgba(15, 95, 50, 0.35);
  background: rgba(15, 95, 50, 0.06);
}

.mp-product-group p {
  margin: 0 0 28px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.mp-product-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.mp-product-options label {
  cursor: pointer;
}

.mp-product-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mp-product-options span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(0,0,0,0.22);
  color: #9a9a9a;
  background: #fff;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1;
  transition:
    color 320ms var(--mp-ease),
    background 320ms var(--mp-ease),
    border-color 320ms var(--mp-ease);
}

.mp-product-options input:checked + span {
  background: #000;
  border-color: #000;
  color: #fff;
}

.mp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  column-gap: 22px;
  row-gap: 28px;
}

.mp-field {
  position: relative;
  min-height: 42px;
}

.mp-field input,
.mp-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--mp-line);
  border-radius: 0;
  background: transparent;
  padding: 18px 0 10px;
  color: #000;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
}

.mp-field textarea {
  resize: vertical;
  min-height: 54px;
}

.mp-field label {
  position: absolute;
  left: 0;
  top: 0;
  color: #000;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1;
  pointer-events: none;
  transform-origin: left top;
  transition:
    transform 320ms var(--mp-ease),
    opacity 320ms var(--mp-ease);
}

.mp-field input:focus + label,
.mp-field input:not(:placeholder-shown) + label,
.mp-field textarea:focus + label,
.mp-field textarea:not(:placeholder-shown) + label,
.mp-field.is-filled label {
  transform: translateY(-18px) scale(0.82);
  opacity: 0.62;
}

.mp-field-full {
  margin-top: 28px;
}

.mp-upload-note {
  margin-top: 20px;
  color: #aaa;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.mp-upload-box {
  margin-top: 10px;
  min-height: 70px;
  border: 1px dashed rgba(0,0,0,0.2);
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 16px;
  cursor: pointer;
  color: #9d9d9d;
  text-align: center;
  transition:
    border-color 320ms var(--mp-ease),
    color 320ms var(--mp-ease),
    background 320ms var(--mp-ease);
}

.mp-upload-box:hover {
  border-color: #000;
  color: #000;
  background: rgba(0,0,0,0.025);
}

.mp-upload-box input {
  display: none;
}

.mp-upload-icon {
  font-size: 22px;
  line-height: 1;
}

.mp-upload-text {
  font-size: 14px;
  line-height: 1;
}

.mp-upload-filename {
  display: block;
  max-width: 100%;
  color: #000;
  font-size: 11px;
  line-height: 1.3;
  word-break: break-word;
}

.mp-submit-btn {
  width: 100%;
  height: 66px;
  margin-top: 34px;
  border: 0;
  background: #000;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1;
  letter-spacing: 0.18em;
  transition:
    background 400ms var(--mp-ease),
    transform 400ms var(--mp-ease),
    opacity 400ms var(--mp-ease);
}

.mp-submit-btn:hover {
  background: #171717;
  transform: translateY(-4px);
}

.mp-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}


/* REVEAL */

.mp-reveal {
  opacity: 1;
  transform: none;
}

.mp-js-ready .mp-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 760ms var(--mp-ease),
    transform 760ms var(--mp-ease);
}

.mp-js-ready .mp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* RESPONSIVE */

@media (max-width: 1200px) {
  .mp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mp-quote-inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .mp-quote-form-card {
    justify-self: start;
    max-width: 820px;
  }
}

@media (max-width: 900px) {
  .mp-tax-hero {
    min-height: 100vh !important;
    min-height: 100svh !important;
  }

  .mp-tax-hero-content {
    width: 100%;
    max-width: 100%;
    padding: 76px 18px 96px;
    text-align: center;
  }

  .mp-tax-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(42px, 12vw, 72px);
    line-height: 0.92;
    letter-spacing: -0.045em;
    text-align: center;
  }

  .mp-tax-hero-content > p:not(.mp-kicker) {
    width: 100%;
    max-width: 92vw;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(13px, 3.5vw, 16px);
    line-height: 1.65;
    text-align: center;
  }

  .mp-scroll-arrow {
    width: 62px;
    height: 62px;
  }

  .mp-features-grid {
    grid-template-columns: 1fr;
  }

  .mp-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .mp-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mp-tax-hero {
    min-height: 100vh !important;
    min-height: 100svh !important;
  }

  .mp-tax-hero-content {
    width: 100%;
    max-width: 100%;
    padding: 70px 16px 96px;
    overflow: hidden;
  }

  .mp-kicker {
    letter-spacing: 0.32em;
    font-size: 10px;
  }

  .mp-tax-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(38px, 11.8vw, 58px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    text-align: center;
  }

  .mp-tax-hero-content > p:not(.mp-kicker) {
    width: 100%;
    max-width: 92vw;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
  }

  .mp-outline-btn {
    width: auto;
    max-width: calc(100vw - 40px);
    min-width: 0;
    min-height: 48px;
    padding-left: 22px;
    padding-right: 22px;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-align: center;
  }

  .mp-scroll-arrow {
    left: 0;
  }

  .mp-section-heading h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .mp-feature-card {
    min-height: auto;
    padding: 30px;
  }

  .mp-quote-section {
    min-height: auto;
  }

  .mp-quote-inner {
    min-height: auto;
    padding: 78px 20px;
  }

  .mp-quote-title {
    font-size: clamp(42px, 13vw, 62px);
  }

  .mp-quote-contacts {
    margin-top: 42px;
    gap: 26px;
  }

  .mp-quote-form-card {
    padding: 34px 24px;
  }

  .mp-product-options {
    margin-bottom: 38px;
  }

  .mp-form-grid {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .mp-submit-btn {
    height: 58px;
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .mp-kicker,
  .mp-quote-kicker {
    letter-spacing: 0.28em;
  }

  .mp-tax-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 0.98;
    letter-spacing: -0.025em;
  }

  .mp-tax-hero-content > p:not(.mp-kicker) {
    max-width: 88vw;
    font-size: 16px;
  }

  .mp-outline-btn {
    max-width: calc(100vw - 34px);
    padding-left: 18px;
    padding-right: 18px;
    letter-spacing: 0.14em;
  }

  .mp-product-options span {
    min-height: 32px;
    font-size: 10px;
    padding: 0 12px;
  }

  .mp-quote-form-card {
    padding: 30px 20px;
  }
}/* End custom CSS */