/* Phase 3A: main conversion pages only */

.hero.ez-home-hero {
  min-height: auto;
  overflow-x: clip;
  background:
    linear-gradient(115deg, rgba(249, 248, 246, 0.98) 0%, rgba(255, 255, 255, 0.98) 54%, rgba(244, 241, 236, 0.86) 100%);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  border-bottom: 1px solid var(--ez-border);
}

.hero.ez-home-hero .hero-left {
  padding-top: 88px;
  padding-bottom: 88px;
}

.hero.ez-home-hero .hero-badge {
  margin-bottom: 22px;
}

.hero.ez-home-hero h1 {
  max-width: 680px;
  font-size: clamp(3rem, 5vw, 5.05rem) !important;
}

.hero.ez-home-hero .hero-sub {
  font-family: 'DM Sans', system-ui, sans-serif !important;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-style: normal;
  color: var(--ez-ink);
  max-width: 560px;
  margin-bottom: 14px;
}

.hero.ez-home-hero .hero-desc {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--ez-muted);
}

.hero.ez-home-hero .hero-btns {
  margin-bottom: 18px;
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 18px 0 24px;
}

.hero-proof {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--ez-border);
  border-radius: var(--ez-radius-md);
  padding: 11px 13px;
  box-shadow: var(--ez-shadow-sm);
}

.hero-proof strong {
  display: block;
  color: var(--ez-navy);
  font-size: 0.88rem;
  line-height: 1.2;
}

.hero-proof span {
  display: block;
  color: var(--ez-muted);
  font-size: 0.74rem;
  line-height: 1.45;
  margin-top: 3px;
}

.hero-media-frame {
  position: relative;
  width: min(92%, 760px);
  height: min(76vh, 680px);
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(15, 28, 46, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.hero-media-frame img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.vehicle-trust-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--ez-radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(232, 228, 220, 0.9);
  box-shadow: var(--ez-shadow-md);
  backdrop-filter: blur(14px);
}

.vehicle-trust-caption strong {
  color: var(--ez-navy);
  font-size: 0.9rem;
}

.vehicle-trust-caption span {
  color: var(--ez-muted);
  display: block;
  font-size: 0.76rem;
  line-height: 1.45;
}

.hero.ez-home-hero .float-card-1 {
  left: 18px;
  bottom: 108px;
}

.hero.ez-home-hero .float-card-2 {
  right: 20px;
  top: 28px;
}

.ez-services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
  max-width: 1200px;
  margin: 0 auto 18px;
  padding: 48px 80px 0;
}

.service-fast-facts {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--ez-radius-lg);
  background: var(--ez-white);
  border: 1px solid var(--ez-border);
  box-shadow: var(--ez-shadow-sm);
}

.service-fast-facts span {
  color: var(--ez-muted);
  font-size: 0.83rem;
}

.services-section.ez-services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  padding-top: 28px;
}

.services-section.ez-services-list .service-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
}

.services-section.ez-services-list .service-card::after {
  content: attr(data-service-type);
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid var(--ez-border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ez-muted);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.services-section.ez-services-list .service-card.featured-card::after {
  border-color: var(--ez-red-border);
  color: var(--ez-red);
  background: var(--ez-red-soft);
}

.services-section.ez-services-list .service-header {
  padding-right: 92px;
}

.services-section.ez-services-list .service-includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
}

.services-section.ez-services-list .service-best {
  margin-top: auto;
}

.services-section.ez-services-list .service-cta {
  padding-top: 4px;
}

.addons-section.ez-addons-section {
  background: linear-gradient(180deg, var(--ez-white), var(--ez-soft));
}

.ez-booking-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.ez-booking-step {
  background: var(--ez-white);
  border: 1px solid var(--ez-border);
  border-radius: var(--ez-radius-lg);
  padding: 18px;
  box-shadow: var(--ez-shadow-sm);
}

.ez-booking-step-num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ez-red);
  color: var(--ez-white);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.ez-booking-step h3 {
  color: var(--ez-navy);
  font-size: 0.93rem;
  margin-bottom: 6px;
}

.ez-booking-step p {
  color: var(--ez-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.booking-container.ez-booking-container {
  border: 1px solid rgba(192, 57, 43, 0.16);
}

.ez-booking-container .iframe-wrap {
  min-height: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.ez-booking-container .booking-iframe {
  width: 100% !important;
  max-width: 100%;
  min-height: 800px;
  display: block;
  border: 0;
}

.booking-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.booking-trust-row span {
  border: 1px solid var(--ez-border);
  background: var(--ez-soft);
  color: var(--ez-muted);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.74rem;
  font-weight: 700;
}

.acuity-placeholder {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  border: 1.5px dashed rgba(192, 57, 43, 0.32);
  border-radius: var(--ez-radius-lg);
  background:
    linear-gradient(135deg, rgba(254, 242, 242, 0.9), rgba(255, 255, 255, 0.92)),
    var(--ez-soft);
}

.acuity-placeholder-inner {
  max-width: 560px;
  text-align: center;
}

.acuity-placeholder-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ez-red-soft);
  color: var(--ez-red);
  border: 1px solid var(--ez-red-border);
  padding: 7px 13px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.acuity-placeholder h3 {
  font-size: 1.45rem;
  color: var(--ez-navy);
  margin-bottom: 10px;
}

.acuity-placeholder p {
  color: var(--ez-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.acuity-placeholder-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .hero.ez-home-hero {
    grid-template-columns: 1fr;
  }

  .hero-media-frame {
    width: min(92%, 820px);
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 0;
    margin: 0 auto 56px;
  }

  .hero.ez-home-hero .hero-right {
    padding: 36px 0 0;
  }
}

@media (max-width: 900px) {
  .hero.ez-home-hero .hero-left {
    padding: 58px 22px 36px;
  }

  .hero.ez-home-hero h1 {
    font-size: clamp(2.35rem, 8.5vw, 3.4rem) !important;
  }

  .hero.ez-home-hero .hero-desc {
    margin-bottom: 22px;
  }

  .hero-proof-strip,
  .ez-booking-steps,
  .ez-services-intro,
  .services-section.ez-services-list {
    grid-template-columns: 1fr;
  }

  .ez-services-intro {
    padding: 40px 24px 0;
    margin-bottom: 14px;
  }

  .services-section.ez-services-list {
    padding-top: 20px;
  }

  .services-section.ez-services-list .service-includes {
    grid-template-columns: 1fr;
  }

  .services-section.ez-services-list .service-header {
    padding-right: 0;
  }

  .services-section.ez-services-list .service-card::after {
    position: static;
    width: fit-content;
    margin-bottom: 14px;
    order: -1;
  }
}

@media (max-width: 580px) {
  .cta-final {
    overflow-x: clip;
  }

  .hero.ez-home-hero .hero-left {
    padding-top: 46px;
  }

  .hero.ez-home-hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.85rem) !important;
  }

  .hero-media-frame {
    width: calc(100% - 32px);
    aspect-ratio: 16 / 11;
  }

  .vehicle-trust-caption {
    position: static;
    margin: 12px 16px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .vehicle-trust-caption .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .ez-services-intro {
    padding: 32px 18px 0;
    margin-bottom: 10px;
  }

  .services-section.ez-services-list {
    padding-top: 18px;
  }

  .services-section.ez-services-list .service-card {
    padding: 26px 20px;
  }

  .services-section.ez-services-list .service-card::after {
    margin-bottom: 10px;
  }

  .hero.ez-home-hero .float-card-1,
  .hero.ez-home-hero .float-card-2 {
    display: none;
  }

  .acuity-placeholder {
    min-height: 360px;
    padding: 24px 18px;
  }

  .booking-container.ez-booking-container {
    padding: 18px 12px;
  }

  .acuity-placeholder-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .acuity-placeholder-actions .btn-primary,
  .acuity-placeholder-actions .btn-secondary {
    width: 100%;
  }

  .ez-booking-container .booking-iframe {
    height: 1600px !important;
    min-height: 1600px;
  }
}
