.ace-photo-cta {
  padding: clamp(34px, 5vw, 72px) 0;
  background: #f8f6ed;
}
.ace-photo-cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 435px;
  border-radius: 14px 14px 68px 14px;
  color: #fff9ed;
  background: #123c30;
  box-shadow: 0 18px 45px rgb(18 60 48 / 9%);
}
.ace-photo-cta-media,
.ace-photo-cta-overlay,
.ace-photo-cta-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ace-photo-cta-media { z-index: -3; }
.ace-photo-cta-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}
.ace-photo-cta-overlay {
  z-index: -2;
  background: linear-gradient(90deg, rgb(7 39 28 / 96%) 0%, rgb(9 43 31 / 91%) 33%, rgb(9 43 31 / 63%) 58%, rgb(8 38 29 / 16%) 100%);
}
.ace-photo-cta-frame {
  z-index: -1;
  inset: 13px;
  border: 1px solid rgb(255 246 224 / 24%);
  border-radius: 5px 5px 53px 5px;
}
.ace-photo-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, .75fr);
  align-items: center;
  gap: 38px;
  padding: clamp(40px, 5.5vw, 74px);
}
.ace-photo-cta-copy { max-width: 650px; }
.ace-photo-cta .ace-photo-cta-kicker {
  margin: 0 0 15px;
  color: #ffc18e;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.5;
}
.ace-photo-cta h2 {
  max-width: 580px;
  margin: 0 0 20px;
  color: #fff9ed;
  font-size: clamp(2.25rem, 3.5vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
  text-wrap: balance;
}
.ace-photo-cta .ace-photo-cta-description {
  max-width: 550px;
  margin: 0 0 28px;
  color: #eef1e6;
  font-size: 1rem;
  line-height: 1.75;
}
.ace-photo-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}
.ace-photo-cta-actions .button {
  min-height: 54px;
  padding: 16px 23px;
  color: #133d2d;
  background: #ff9855;
  border-color: #ffad76;
  font-weight: 700;
}
.ace-photo-cta-actions .button:hover { background: #ffb07e; }
.ace-photo-cta .ace-photo-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: #fff9ed;
  text-decoration: none;
}
.ace-photo-cta-phone-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgb(255 228 193 / 29%);
  border-radius: 50%;
  color: #ffc18e;
}
.ace-photo-cta-phone-icon svg { width: 18px; height: 18px; }
.ace-photo-cta-phone small {
  display: block;
  margin-bottom: 3px;
  color: #d9e1d2;
  font-size: .54rem;
  font-weight: 600;
  letter-spacing: .085em;
  line-height: 1.5;
}
.ace-photo-cta-phone strong {
  display: block;
  color: inherit;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.ace-photo-cta .ace-photo-cta-note {
  margin: 21px 0 0;
  color: #dce5d5;
  font-size: .73rem;
  line-height: 1.5;
}
.ace-photo-cta-note span { padding: 0 9px; color: #ffad76; }
.ace-photo-cta-detail {
  justify-self: end;
  align-self: end;
  max-width: 265px;
  padding: 16px 20px;
  border: 1px solid rgb(255 246 224 / 39%);
  border-radius: 5px;
  color: #fff9ed;
  background: rgb(8 38 29 / 72%);
}
.ace-photo-cta-detail span {
  display: block;
  margin-bottom: 7px;
  color: #ffc18e;
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.5;
}
.ace-photo-cta-detail strong { font-size: 1.05rem; font-weight: 500; line-height: 1.45; }
.ace-photo-cta-guarantee .ace-photo-cta-card { min-height: 485px; }
.ace-photo-cta-guarantee .ace-photo-cta-overlay {
  background: linear-gradient(90deg, rgb(7 39 28 / 96%) 0%, rgb(9 43 31 / 89%) 36%, rgb(9 43 31 / 56%) 66%, rgb(8 38 29 / 36%) 100%);
}
.ace-photo-guarantee-wrap { justify-self: end; width: 255px; text-align: center; }
.ace-photo-guarantee-seal {
  position: relative;
  width: 222px;
  height: 222px;
  margin: auto;
  padding: 25px 18px 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #ffd6ad;
  border-radius: 50%;
  color: #133d2d;
  background: #f8ead1;
  box-shadow: 0 0 0 8px rgb(11 48 34 / 54%), 0 0 0 9px rgb(255 213 173 / 58%), 0 16px 35px rgb(2 20 12 / 18%);
  transform: rotate(5deg);
}
.ace-photo-guarantee-seal::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid #b79464;
  border-radius: 50%;
}
.ace-photo-seal-top { font-size: .52rem; font-weight: 700; letter-spacing: .13em; line-height: 1.5; }
.ace-photo-guarantee-seal svg { display: block; width: 63px; height: 69px; margin: 5px 0 0; color: #174a34; }
.ace-photo-guarantee-seal strong { font-family: Outfit, Arial, sans-serif; font-size: 2.2rem; font-weight: 600; letter-spacing: .14em; line-height: 1.05; padding-left: .14em; }
.ace-photo-seal-name { margin-top: 9px; font-size: .58rem; font-weight: 700; letter-spacing: .1em; line-height: 1.5; }
.ace-photo-cta .ace-photo-guarantee-wrap > p { margin: 24px 0 0; color: #fff9ed; font-size: .91rem; font-weight: 500; line-height: 1.5; text-shadow: 0 2px 12px rgb(0 0 0 / 35%); }
.ace-photo-cta :is(a, button):focus-visible { outline: 3px solid #fff9ed; outline-offset: 5px; }

/* The service banners span desktop screens while keeping their copy readable. */
.photo-banner .hero-actions > .banner-call {
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid rgb(255 245 223 / 42%);
  border-radius: 8px;
  color: #fff9ed;
  background: rgb(7 39 28 / 58%);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}
.photo-banner .hero-actions > .banner-call:hover {
  background: rgb(7 39 28 / 82%);
  border-color: #ffc18e;
  color: #fff9ed;
}
.photo-banner .hero-actions > .banner-call:focus-visible {
  outline-color: #fff9ed;
}
@media (min-width: 1081px) {
  .photo-banner-section,
  .ace-photo-cta:not(.ace-photo-cta-guarantee) {
    padding-block: 0;
  }
  .photo-banner-section > .container,
  .ace-photo-cta:not(.ace-photo-cta-guarantee) > .container {
    width: 100%;
    max-width: none;
  }
  .photo-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 185px;
    gap: 60px;
    min-height: 520px;
    padding: 78px max(48px, calc((100% - var(--container)) / 2));
    border-radius: 0;
  }
  .photo-banner-copy { padding: 0; }
  .photo-banner-copy > p { max-width: 650px; }
  .photo-banner .banner-stamp {
    justify-self: end;
    margin: 0 8px 0 0;
  }
  .ace-photo-cta:not(.ace-photo-cta-guarantee) .ace-photo-cta-card {
    min-height: 520px;
    border-radius: 0;
    box-shadow: none;
  }
  .ace-photo-cta:not(.ace-photo-cta-guarantee) .ace-photo-cta-layout {
    width: min(var(--container), calc(100% - 96px));
    min-height: 520px;
    margin-inline: auto;
    padding: 72px 0;
  }
  .ace-photo-cta:not(.ace-photo-cta-guarantee) .ace-photo-cta-frame {
    inset: 16px;
    border-radius: 0;
    border-color: rgb(255 246 224 / 20%);
  }
}
@media (max-width: 1000px) {
  .ace-photo-cta-layout { grid-template-columns: minmax(0, 1fr) 195px; gap: 25px; padding: 42px; }
  .ace-photo-guarantee-wrap { width: 185px; }
  .ace-photo-guarantee-seal { width: 176px; height: 176px; padding: 21px 13px; }
  .ace-photo-guarantee-seal svg { width: 47px; height: 52px; }
  .ace-photo-guarantee-seal strong { font-size: 1.8rem; }
  .ace-photo-seal-top { font-size: .41rem; }
  .ace-photo-seal-name { font-size: .45rem; margin-top: 7px; }
  .ace-photo-cta-detail { padding: 14px; }
}
@media (max-width: 720px) {
  .ace-photo-cta { padding: 30px 0; }
  .ace-photo-cta-card { min-height: 0; border-radius: 10px 10px 48px 10px; }
  .ace-photo-cta-layout { grid-template-columns: 1fr; gap: 32px; padding: 38px 29px 45px; }
  .ace-photo-cta-overlay { background: linear-gradient(90deg, rgb(7 39 28 / 93%), rgb(9 43 31 / 75%) 68%, rgb(8 38 29 / 55%)); }
  .ace-photo-cta-frame { inset: 9px; border-radius: 4px 4px 39px 4px; }
  .ace-photo-cta h2 { max-width: 490px; font-size: clamp(2.1rem, 6vw, 2.7rem); }
  .ace-photo-cta .ace-photo-cta-description { font-size: .94rem; }
  .ace-photo-cta-detail { display: none; }
  .ace-photo-cta-guarantee .ace-photo-cta-overlay { background: linear-gradient(180deg, rgb(7 39 28 / 94%) 0%, rgb(9 43 31 / 85%) 51%, rgb(9 43 31 / 33%) 100%); }
  .ace-photo-guarantee-wrap { justify-self: start; display: flex; align-items: center; gap: 25px; width: 100%; margin-top: 7px; }
  .ace-photo-guarantee-seal { width: 142px; height: 142px; flex: 0 0 142px; margin: 0; padding: 17px 10px; }
  .ace-photo-guarantee-seal::before { inset: 8px; }
  .ace-photo-guarantee-seal svg { width: 37px; height: 41px; margin-top: 3px; }
  .ace-photo-guarantee-seal strong { font-size: 1.45rem; }
  .ace-photo-seal-top { font-size: .35rem; letter-spacing: .07em; }
  .ace-photo-seal-name { font-size: .37rem; letter-spacing: .07em; margin-top: 6px; }
  .ace-photo-cta .ace-photo-guarantee-wrap > p { margin: 0; text-align: left; font-size: .82rem; }
}
@media (max-width: 420px) {
  .ace-photo-cta-layout { padding: 34px 24px 38px; }
  .ace-photo-cta-actions { gap: 19px; }
  .ace-photo-cta-actions .button { width: 100%; }
  .ace-photo-cta-phone strong { font-size: 1.14rem; }
  .ace-photo-guarantee-wrap { gap: 21px; }
  .ace-photo-cta .ace-photo-guarantee-wrap > p { font-size: .74rem; }
}
