/*
ACE Landing Pages Shared Stylesheet
Version: 1.0
Canonical URL:
https://acemfginc.com/uploads/acestyles/ace-landing-pages.css

Scope:
Shared presentation layer for ACE product-family landing pages using the
.ace-marketing-* and .ace-product-* class structure.
*/

.ace-marketing-card {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 38px 28px 46px;
  box-sizing: border-box;
  background: #ffffff;
  color: #202124;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.ace-marketing-card *,
.ace-marketing-card *::before,
.ace-marketing-card *::after {
  box-sizing: border-box;
}

.ace-marketing-hero {
  margin: 0 0 28px;
  padding: 42px 40px;
  background: #303236;
  color: #ffffff;
  border-left: 8px solid #b51f29;
}

.ace-marketing-kicker {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.ace-marketing-hero h1 {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  color: #ffffff;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.8px;
}

.ace-marketing-lead {
  max-width: 880px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 400;
}

.ace-hero-button,
.ace-product-button,
.ace-builder-button,
.ace-marketing-cta-button {
  display: inline-block;
  padding: 12px 19px;
  font-weight: 700;
  text-decoration: none !important;
}

.ace-hero-button,
.ace-builder-button,
.ace-product-button {
  background: #b51f29;
  color: #ffffff !important;
  border: 2px solid #b51f29;
}

.ace-marketing-intro {
  max-width: 860px;
  margin: 0 auto 30px;
  text-align: center;
}

.ace-marketing-intro h2,
.ace-marketing-options-heading h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: #202124;
  font-size: 29px;
  line-height: 1.18;
}

.ace-marketing-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}

.ace-marketing-benefits {
  display: flex;
  gap: 16px;
  margin: 0 0 34px;
}

.ace-marketing-benefit {
  flex: 1 1 0;
  min-width: 0;
  padding: 20px 18px;
  background: #f3f3f3;
  border-top: 4px solid #b51f29;
}

.ace-marketing-benefit strong {
  display: block;
  margin-bottom: 5px;
  color: #202124;
  font-size: 17px;
}

.ace-marketing-benefit span {
  display: block;
  color: #4e5054;
  font-size: 15px;
  line-height: 1.45;
}

.ace-marketing-options-heading {
  margin: 0 0 18px;
  text-align: center;
}

.ace-marketing-options-heading p {
  margin: 0;
  color: #55585d;
  font-size: 17px;
}

.ace-marketing-options {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: stretch;
  margin: 0 0 34px;
}

.ace-product-card {
  display: flex;
  flex: 1 1 calc(50% - 11px);
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.ace-product-card-top {
  min-height: 126px;
  padding: 25px 24px;
  background: #3a3c40;
  color: #ffffff;
}

.ace-product-card-top.ace-product-card-red {
  background: #b51f29;
}

.ace-product-card-label {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.ace-product-card-top h3 {
  margin: 0;
  padding: 0;
  border: 0;
  color: #ffffff;
  font-size: 27px;
  line-height: 1.15;
}

.ace-product-render {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  padding: 8px;
  overflow: hidden;
  background: #f4f4f4;
  border-bottom: 1px solid #dddddd;
}

.ace-product-render a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.ace-product-render img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.ace-product-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 23px 24px 25px;
}

.ace-product-card-body p {
  margin: 0 0 15px;
  color: #34363a;
  font-size: 16px;
  line-height: 1.55;
}

.ace-product-card-body ul {
  margin: 0 0 22px;
  padding-left: 21px;
}

.ace-product-card-body li {
  margin-bottom: 7px;
  font-size: 15px;
  line-height: 1.45;
}

.ace-product-card-action {
  margin-top: auto;
}

.ace-product-button {
  font-size: 15px;
  line-height: 1.2;
}

.ace-product-button-secondary {
  background: #34363a;
  border-color: #34363a;
}

.ace-marketing-features {
  margin: 0 0 34px;
  padding: 27px 29px;
  background: #f3f3f3;
}

.ace-marketing-features h2 {
  margin: 0 0 17px;
  padding: 0;
  border: 0;
  color: #202124;
  font-size: 25px;
}

.ace-marketing-feature-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ace-marketing-feature-list li {
  position: relative;
  width: 50%;
  margin: 0;
  padding: 8px 24px 8px 27px;
  font-size: 16px;
  line-height: 1.4;
}

.ace-marketing-feature-list li::before {
  content: "✓";
  position: absolute;
  top: 7px;
  left: 0;
  color: #b51f29;
  font-size: 18px;
  font-weight: 700;
}

.ace-builder-panel {
  margin: 0 0 34px;
  padding: 30px;
  background: #303236;
  color: #ffffff;
  text-align: center;
}

.ace-builder-panel h2 {
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.2;
}

.ace-builder-panel p {
  max-width: 760px;
  margin: 0 auto 18px;
  color: #ffffff;
  font-size: 17px;
}

.ace-marketing-cta {
  padding: 29px 30px;
  background: #b51f29;
  color: #ffffff;
  text-align: center;
}

.ace-marketing-cta h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.2;
}

.ace-marketing-cta p {
  max-width: 760px;
  margin: 0 auto 18px;
  color: #ffffff;
  font-size: 17px;
}

.ace-marketing-cta-button {
  margin: 4px 5px;
  background: #ffffff;
  color: #9e1922 !important;
  border: 2px solid #ffffff;
}

.ace-marketing-cta-button-dark {
  background: #34363a;
  color: #ffffff !important;
  border-color: #34363a;
}

@media screen and (max-width: 760px) {
  .ace-marketing-card {
    padding: 22px 14px 32px;
  }

  .ace-marketing-hero {
    padding: 31px 24px;
  }

  .ace-marketing-hero h1 {
    font-size: 34px;
  }

  .ace-marketing-lead {
    font-size: 19px;
  }

  .ace-marketing-benefits,
  .ace-marketing-options {
    display: block;
  }

  .ace-marketing-benefit,
  .ace-product-card {
    margin-bottom: 17px;
  }

  .ace-product-render {
    height: 320px;
  }

  .ace-marketing-feature-list li {
    width: 100%;
    padding-right: 0;
  }
}

@media screen and (max-width: 460px) {
  .ace-marketing-hero h1 {
    font-size: 29px;
  }

  .ace-marketing-intro h2,
  .ace-marketing-options-heading h2 {
    font-size: 25px;
  }

  .ace-product-render {
    height: 255px;
    padding: 6px;
  }

  .ace-product-button,
  .ace-hero-button,
  .ace-builder-button,
  .ace-marketing-cta-button {
    display: block;
    width: 100%;
    margin: 8px 0;
    text-align: center;
  }
}
