/* Mezzo Home Consultation CTA - global stylesheet */
html body .mezzo-home-cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-warm-section-bg, linear-gradient(135deg, #fff 0%, var(--cream-color, #FFF8F1) 48%, var(--white-color, #ffffff) 100%));
  padding: clamp(6.4rem, 8vw, 11rem) 0;
}

html body .mezzo-home-cta-section::before,
html body .mezzo-home-cta-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(0.2rem);
  opacity: 0.75;
  transform: translate3d(0, 0, 0);
}

html body .mezzo-home-cta-section::before {
  width: clamp(18rem, 26vw, 34rem);
  height: clamp(18rem, 26vw, 34rem);
  left: -7rem;
  bottom: 8%;
  background: rgba(160, 82, 45, 0.11);
  animation: mezzoCtaFloatOne 8s ease-in-out infinite alternate;
}

html body .mezzo-home-cta-section::after {
  width: clamp(14rem, 22vw, 28rem);
  height: clamp(14rem, 22vw, 28rem);
  right: -6rem;
  top: 10%;
  background: rgba(216, 161, 58, 0.14);
  animation: mezzoCtaFloatTwo 9s ease-in-out infinite alternate;
}

@keyframes mezzoCtaFloatOne {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2.4rem, -1.6rem, 0) scale(1.08); }
}

@keyframes mezzoCtaFloatTwo {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2rem, 2rem, 0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  html body .mezzo-home-cta-section::before,
  html body .mezzo-home-cta-section::after {
    animation: none;
  }
}

html body .mezzo-home-cta-grid {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3.2rem, 5vw, 6.4rem);
  align-items: center;
  padding: clamp(2.4rem, 4vw, 5.2rem);
  border: 1px solid rgba(160, 82, 45, 0.18);
  border-radius: clamp(2rem, 2.4vw, 3.2rem);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 2rem 6rem rgba(96, 48, 20, 0.08);
  backdrop-filter: blur(1.2rem);
}

html body .mezzo-home-cta-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 24%, rgba(255, 255, 255, 0.56) 38%, transparent 52% 100%),
    linear-gradient(135deg, rgba(255,248,241,0.88), rgba(255,255,255,0.92));
  background-size: 220% 100%, 100% 100%;
  animation: mezzoCtaShine 7s ease-in-out infinite alternate;
}

html body .mezzo-home-cta-grid > * {
  position: relative;
  z-index: 1;
}

@keyframes mezzoCtaShine {
  from { background-position: 120% 0, 0 0; }
  to { background-position: -40% 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html body .mezzo-home-cta-grid::before {
    animation: none;
  }
}

html body .mezzo-home-cta-copy h2 {
  max-width: 58rem;
  margin: 0 0 1.8rem;
  color: var(--text-heading-dark, var(--heading-color, #241815));
  font-family: var(--font-heading, "Cormorant Garamond", serif);
  font-size: clamp(3.6rem, 4.8vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

html body .mezzo-home-cta-copy p {
  max-width: 56rem;
  margin: 0;
  color: var(--text-body, var(--muted-color, #5b514d));
  font-size: clamp(1.55rem, 1.2vw, 1.85rem);
  line-height: 1.75;
}

html body .mezzo-home-cta-points {
  display: grid;
  gap: 1rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

html body .mezzo-home-cta-points li {
  position: relative;
  padding-left: 2.4rem;
  color: var(--text-body, var(--muted-color, #5b514d));
  font-size: 1.45rem;
  line-height: 1.55;
}

html body .mezzo-home-cta-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--c-primary, var(--primary-color, #A0522D));
}

html body .mezzo-home-cta-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  padding: clamp(1.8rem, 2.4vw, 2.8rem);
  border: 1px solid rgba(160, 82, 45, 0.18);
  border-radius: 2rem;
  background: #fff;
}

html body .mezzo-home-field {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
}

html body .mezzo-home-field-full,
html body .mezzo-home-cta-submit {
  grid-column: 1 / -1;
}

html body .mezzo-home-field label {
  color: var(--c-primary-dk, var(--primary-dark-color, #6F341B));
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html body .mezzo-home-field input,
html body .mezzo-home-field select {
  width: 100%;
  min-height: 5.4rem;
  padding: 0 1.5rem;
  border: 1px solid rgba(160, 82, 45, 0.2);
  border-radius: 1.2rem;
  background: #fff;
  color: var(--text-heading-dark, var(--heading-color, #241815));
  font-family: var(--font-body, Raleway, sans-serif);
  font-size: 1.5rem;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
}

html body .mezzo-home-field input:focus,
html body .mezzo-home-field select:focus {
  border-color: var(--c-primary, var(--primary-color, #A0522D));
  box-shadow: 0 0 0 0.35rem rgba(160, 82, 45, 0.10);
}

html body .mezzo-home-cta-submit {
  width: 100%;
  min-height: 5.6rem;
  border: 0;
  cursor: pointer;
}

@media (max-width: 1024px) {
  html body .mezzo-home-cta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  html body .mezzo-home-cta-section {
    padding: 5.6rem 0;
  }

  html body .mezzo-home-cta-grid {
    padding: 2rem;
    border-radius: 2rem;
  }

  html body .mezzo-home-cta-copy h2 {
    font-size: clamp(3.2rem, 12vw, 4.8rem);
  }

  html body .mezzo-home-cta-form {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  html body .mezzo-home-field-full,
  html body .mezzo-home-cta-submit {
    grid-column: auto;
  }
}

/* CTA WhatsApp submit button colour control */
html body .mezzo-home-cta-form .mezzo-home-cta-submit,
html body .mezzo-home-cta-form .mezzo-home-cta-submit:active {
  background: var(--c-whatsapp, var(--c-wa, #25D366)) !important;
  color: var(--c-on-primary, var(--white-color, #ffffff)) !important;
  border-color: var(--c-whatsapp, var(--c-wa, #25D366)) !important;
}

html body .mezzo-home-cta-form .mezzo-home-cta-submit:hover,
html body .mezzo-home-cta-form .mezzo-home-cta-submit:focus-visible {
  background: var(--c-primary, var(--primary-color, #A0522D)) !important;
  color: var(--c-on-primary, var(--white-color, #ffffff)) !important;
  border-color: var(--c-primary, var(--primary-color, #A0522D)) !important;
}

/* Final CTA uses global primary gradient variables. */
/* Final CTA full primary gradient background */
html body .mezzo-home-cta-grid {
  background:
    var(--c-primary-glow, radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.18), transparent 30%)),
    var(--c-primary-gradient, linear-gradient(135deg, var(--c-primary, var(--primary-color, #A0522D)) 0%, var(--c-primary-dk, var(--primary-dark-color, #6F341B)) 100%)) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

html body .mezzo-home-cta-grid::before {
  background:
    linear-gradient(120deg, transparent 0 26%, rgba(255, 255, 255, 0.18) 38%, transparent 52% 100%) !important;
}

html body .mezzo-home-cta-grid::after {
  display: none !important;
}

html body .mezzo-home-cta-copy .section-kicker,
html body .mezzo-home-cta-copy h2,
html body .mezzo-home-cta-copy p,
html body .mezzo-home-cta-points li {
  color: var(--c-on-primary, var(--white-color, #ffffff)) !important;
}

html body .mezzo-home-cta-points li::before {
  background: var(--c-on-primary, var(--white-color, #ffffff)) !important;
}

html body .mezzo-home-cta-form {
  background: var(--c-card-glass-bg, rgba(255, 255, 255, 0.96)) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
}

@media (max-width: 767px) {
  html body .mezzo-home-cta-grid {
    background:
      var(--c-primary-glow, radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.16), transparent 34%)),
      var(--c-primary-gradient-mobile, linear-gradient(180deg, var(--c-primary, var(--primary-color, #A0522D)) 0%, var(--c-primary-dk, var(--primary-dark-color, #6F341B)) 100%)) !important;
  }
}
