:root {
  --aab-red: #7c1427;
  --aab-red-dark: #9d1f2d;
  --aab-blue: rgba(2, 19, 43, 0.9);
  --aab-text: #1f2937;
  --aab-muted: rgb(139, 139, 139);
  --aab-bg: #f4f5f7;
  --aab-border: #dde1e8;
  --aab-yellow: #f2c94c;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter";
  font-size: 16px;
  color: var(--aab-text);
  background: #ffffff;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-spacing {
  padding: 1.7rem 0;
}

.section-copy {
  color: var(--aab-muted);
  margin: 1.3rem 0 2rem;
  font-size: 1rem;
}

.top-strip {
  position: relative;
  margin-top: 0.8rem;
  background: #ffffff;
  border-bottom: 15px solid var(--aab-red);
}

.top-strip__inner {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 0.2rem;
  padding-top: 0.5rem;
  padding-bottom: 0.7rem;
}

.top-strip__inner img {
  height: 54px;
  width: auto;
  display: block;
}

.top-strip__reviews {
  margin: 0;
  font-size: 1rem;
  color: var(--aab-muted);
}

.top-strip__reviews span {
  color: var(--aab-yellow);
  letter-spacing: 0.05em;
  margin-right: 0.3rem;
  font-size: 1.3rem;
}

.top-strip__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.top-strip__phone {
  font-size: 0.8rem;
  color: var(--aab-muted) !important;
  text-decoration: none;
  margin-top: 0.275rem;
}

.top-strip__phone:hover {
  color: var(--aab-red) !important;
}

.top-header-phone {
  position: absolute;
  top: 20px;
  right: 100px;

  display: inline-block;
  padding: 0.6rem 1.2rem;

  color: var(--aab-muted);
  background: #ffffff;
  border: 2px solid var(--aab-yellow);

  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;

  transition: 0.2s ease;
}

.top-header-phone:hover {
  background: var(--aab-yellow) !important;
  color: #ffffff !important;
}

@media (max-width: 798px) {
  .top-header-phone {
    position: static;
    margin-top: 0.7rem;
    margin-bottom: 0.3rem;
    font-size: 0.84rem;
  }

  .top-strip__inner {
    align-items: center;
  }
}

.hero {
  position: relative;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    url("../assets/images/hero-background.webp") center/cover no-repeat;
  border-bottom: 15px solid var(--aab-yellow);
}

.hero-content {
  text-align: center;
  color: #ffffff;
  padding-top: 0;
  max-width: 760px;
}

.hero-custom-steel-highlight {
  display: inline-block;
  width: fit-content;
  background: transparent !important;
  color: var(--aab-yellow);
  padding: 0.5rem 0.6rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: 2px solid var(--aab-yellow);
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1rem, 2.75vw, 2.3rem);
  line-height: 1.15;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--aab-muted)
}

.yellow-letter {
  color: var(--aab-yellow);
}

.hero p {
  margin: 2rem 0 2rem;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 300;
  color: var(--aab-muted)
}

.hero-note {
  display: block;
  margin-top: 2rem;
  color: var(--aab-muted);
  font-size: 0.9rem;
}

.hero-trust-grid {
  margin-top: 3.4rem;
  margin-left: 13%;
  margin-right: 0;
  margin-bottom: 1rem;
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 2rem;
  text-align: left;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-trust-item > i {
  color: var(--aab-yellow);
  font-size: 1.9rem;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.hero-trust-item strong {
  display: block;
  margin: 0;
  color: var(--aab-yellow);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.05;
  font-weight: 700;
}

.hero-trust-item span {
  display: block;
  color: var(--aab-muted);
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  line-height: 1.1;
}

.hero-phone {
  max-width: 200px;
  display: block;
  margin: 2.1rem auto 1rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  border: #ffffff solid 2px;
  padding: 1rem 0;
}

.btn {
  border: 0;
  border-radius: 0px;
  padding: 1.3rem 1.45rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary {
  color: #ffffff;
  background: var(--aab-red);
}

.btn-primary:hover {
  background: var(--aab-red-dark);
}

/* .hero .cta-to-form {
  position: relative;
  background: #ffffff;
  color: var(--aab-muted);
  border: 0;
  box-shadow:
    0 0 0 1px rgba(124, 20, 39, 0.08),
    0 0 18px 2px rgba(124, 20, 39, 0.22),
    0 0 34px 8px rgba(124, 20, 39, 0.14);
}

.hero .cta-to-form:hover {
  background: var(--aab-red-dark);
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(124, 20, 39, 0.12),
    0 0 22px 4px rgba(124, 20, 39, 0.28),
    0 0 40px 10px rgba(124, 20, 39, 0.18);
} */

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.popular h2 {
  margin: 0.7rem 0 0;
  font-weight: 800;
  font-size: clamp(1rem, 1.85vw, 1.4rem);
  text-transform: uppercase;
}

.made h2,
.quote h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1rem, 1.85vw, 1.4rem);
}

.cards-grid {
  background: white;
  margin-top: 0.78rem;
}

.popular-highlight {
  margin-top: 1.5rem;
  display: inline-block;
  width: fit-content;
  background: var(--aab-red);
  color: #ffffff;
  padding: 0.5rem 0.6rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 400;
}

.cards-grid:not(.is-swiper-active) .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.7rem;
}

.cards-grid:not(.is-swiper-active) .swiper-slide {
  width: 100% !important;
}

.building-card {
  border: 0;
  background: transparent;
  position: relative;
  padding: 0.44rem;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.building-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.badge {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  background: var(--aab-red);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
  padding: 2px 4px;
  border-radius: 2px;
}

.building-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.building-card h3 {
  margin: 1rem 0 0.2rem;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.building-card p {
  margin: 1rem 0 0;
  color: #6b6b6b;
  font-size: 0.8rem;
}

.building-card a {
  color: var(--aab-red);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-block;
  margin-top: 1rem;
}

.centered-cta {
  margin-top: 2.05rem;
  text-align: center;
}

.section-dark-bg {
  background:
    url("../assets/images/hero-background.webp") center/cover no-repeat;
}

.features {
  color: #ffffff;
  padding-top: 3rem;
  padding-bottom: 2.2rem;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.46rem;
  align-items: start;
}

.feature-left small {
  color: #fff;
  background: var(--aab-red);
  display: inline-block;
  padding: 0.35rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 400;
}

.feature-left h2 {
  margin: 2.2rem 0 2rem;
  font-size: clamp(1rem, 1.85vw, 1.4rem);
  line-height: 1.2;
}

.feature-left p {
  margin: 0.45rem 0;
  color: #e6e9ef;
  font-size: 0.96rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.feature-item span {
  width: 30px;
  height: 30px;
  margin-top: 0.06rem;
  border-radius: 2px;
  background: var(--aab-red);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
}

.feature-item h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.feature-item p {
  margin: 0.7rem 0 0;
  color: #d9dfeb;
  font-size: 0.95rem;
}

.made {
  background: url("../assets/images/building.png") left top / cover no-repeat;
}

.made-content {
  max-width: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.made-copy {
  background: transparent !important;
  padding: 4rem 2.6rem;
  padding-right: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.made p {
  color: #3f3f3f;
  font-size: 0.96rem;
  line-height: 1.45;
  padding-top: 0.6rem;
}

.quote-wrap {
  max-width: 860px;
  text-align: center;
}

.form-title {
  margin: 1.02rem 0 0.52rem;
  text-align: left;
  font-weight: 700;
  color: #2d3748;
  font-size: 1.25rem;
}

.form-grid {
  display: grid;
  gap: 0.56rem;
  margin-bottom: 0.58rem;
}

.form-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.one-col {
  grid-template-columns: 1fr;
}

.field {
  text-align: left;
}

.field label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  color: #374151;
  font-weight: 600;
}

.field label span {
  color: var(--aab-red);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d3d8e2;
  background: #ffffff;
  border-radius: 2px;
  padding: 0.66rem 0.68rem;
  font: inherit;
  font-size: 0.95rem;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.radio-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.1rem;
}

.radio-options label {
  margin: 0;
}

.finance-option {
  border-radius: 2px;
  display: block;
}

.finance-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.finance-option span {
  border: 1px solid #d3d8e2;
  border-radius: 2px;
  padding: 0.34rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  font-size: 0.95rem;
  margin: 0;
  text-transform: uppercase;
  color: #7c7c7c !important;
  background: #ffffff;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.finance-option input:checked + span {
  background: var(--aab-blue);
  border-color: var(--aab-blue);
  color: #ffffff !important;
}

.radio-options input {
  width: auto;
  margin: 0;
}

.captcha-row {
  margin-top: 0.4rem;
  display: flex;
  justify-content: center;
}

.special {
  padding: 1.3rem 5rem  !important;
}

.form-submit-status {
  margin: 0.8rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
}

.form-submit-status[data-type="success"] {
  color: #166534;
}

.form-submit-status[data-type="error"] {
  color: #b91c1c;
}

.pre-footer {
  background: #ffffff;
  text-align: center;
  padding: 1.35rem 1rem 1.2rem;
}

.footer-kicker {
  margin: 0;
  color: #000000;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.pre-footer__phone {
  display: inline-block;
  color: var(--aab-red);
  text-decoration: none;
  margin: 0.4rem 0 0;
  font-size: clamp(2rem, 2.7vw, 4.8rem);
  font-weight: 800;
  letter-spacing: 0.2em;
}

.site-footer {
  background: var(--aab-blue);
  color: #ffffff;
  padding: 3.4rem 0 3.4rem;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
}

.footer-logo-link {
  display: inline-flex;
  margin: 0;
}

.footer-logo {
  width: min(176px, 42vw);
  height: auto;
  display: block;
}

.site-footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-footer nav a {
  color: #c8d4e8;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.site-footer__copy {
  margin: 0.7rem 0 0;
  text-align: center;
  color: #c8d4e8;
  font-size: 0.78rem;
}

#popular-swiper .swiper-pagination {
  display: none;
}

.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.success-modal.is-open {
  display: flex;
}

.success-modal__content {
  background: #fff;
  border-radius: 10px;
  width: min(420px, 100%);
  padding: 1.2rem;
  text-align: center;
}

.success-modal__content h3 {
  margin: 0 0 0.45rem;
}

.success-modal__content p {
  margin: 0 0 0.8rem;
  color: #4b5563;
}

@media (max-width: 1024px) {
  #popular-swiper .swiper-pagination {
    display: block;
    position: static;
    margin-top: 0.8rem;
  }

  #popular-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #b6bcc8;
    opacity: 1;
  }

  #popular-swiper .swiper-pagination-bullet-active {
    background: var(--aab-red);
  }

  .feature-layout {
    grid-template-columns: 1fr;
  }

  .made-content {
    grid-template-columns: 1fr;
  }

  .made-flag {
    min-height: 200px;
  }

  .made-copy {
    padding: 1.5rem;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 510px;
  }
}

@media (max-width: 700px) {
  .hero-trust-grid {
    margin-left: 8%;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 560px;
  }

  .form-grid.two-col,
  .radio-options {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .top-strip__inner {
    min-height: 70px;
  }

  .top-strip__inner img {
    height: 30px;
  }

  .top-strip__reviews {
    font-size: 0.72rem;
  }

  .top-strip__meta {
    gap: 0.2rem;
  }

  .top-strip__phone {
    font-size: 0.84rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* .hero-trust-grid {
    margin-left: 0.8rem;
  } */

  /* .hero-trust-grid {
    margin-top: 1rem;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-trust-item > i {
    font-size: 1.35rem;
    width: 24px;
  }

  .hero-trust-item strong {
    font-size: 1.15rem;
  }

  .hero-trust-item span {
    font-size: 0.98rem;
  } */

  .site-footer__inner {
    flex-direction: column;
    justify-content: center;
  }

  .site-footer nav {
    justify-content: center;
    gap: 0.8rem;
    line-height: 1.9;
  }

  .footer-logo {
    width: min(170px, 60vw);
  }

  .pre-footer__phone {
    font-size: 2.6rem;
  }

  .site-footer__copy {
    line-height: 1.8;
    margin-top: 1rem;
    padding: 0 1rem;
  }

  .site-footer nav a {
    line-height: 1.9;
    padding: 0.08rem 0;
  }
}
