/* 3. High-Impact, Plain-Language Hero */
.mabe-hero-eyebrow {
  align-items: center;
  color: #ffffff;
  display: flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0.16em;
  margin: 0 0 1.1rem;
  text-transform: uppercase;
}

.mabe-hero-eyebrow::before {
  background: var(--mabe-accent);
  content: '';
  flex: 0 0 36px;
  height: 3px;
}

.mabe-hero-title {
  color: #ffffff;
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
  max-width: 22em;
  text-transform: none;
}

.mabe-hero .mabe-hero-lead {
  color: #f1f5f9;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 1.9rem;
  max-width: 600px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.mabe-hero .mabe-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 0;
}

.mabe-hero-sub-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.mabe-hero .mabe-hero-sub-actions .btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff !important;
}

.mabe-hero .mabe-hero-sub-actions .btn-outline-light:hover,
.mabe-hero .mabe-hero-sub-actions .btn-outline-light:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
  color: #0f172a !important;
}

.mabe-hero-category-rail {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 2rem;
}

.mabe-hero {
  padding-bottom: 3rem;
}

@media (max-width: 991.98px) {
  .mabe-hero-category-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mabe-hero-category-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: #ffffff !important;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 10px;
  line-height: 1.25;
  padding: 6px 10px 6px 6px;
  text-decoration: none !important;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.mabe-hero-category-chip img {
  border-radius: 6px;
  flex: 0 0 auto;
  height: 44px;
  object-fit: cover;
  width: 44px;
}

.mabe-hero-category-chip:not(:has(img)) {
  padding-left: 16px;
}

.mabe-hero-category-chip:hover,
.mabe-hero-category-chip:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  outline: none;
}

/* 4. Section Headings & Intros */
.mabe-section-heading {
  color: #0f172a;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  text-transform: none;
}

.mabe-section-subheading {
  color: #475569;
  font-size: 1.15rem;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}

.mabe-section-promise {
  color: var(--mabe-accent-dark);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 2.2rem;
  text-transform: uppercase;
}

/* 5. "What do you need?" Grid & Cards */
.mabe-needs-section {
  background: #f8fafc;
  padding: 80px 0 60px;
}

.mabe-choice-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.mabe-choice-card:not(.mabe-not-sure-card) {
  transition:
    border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mabe-choice-card:hover {
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.mabe-choice-card:not(.mabe-not-sure-card):hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
}

.mabe-choice-card-link {
  color: inherit;
  cursor: pointer;
  text-decoration: none !important;
}

.mabe-choice-card-link:hover,
.mabe-choice-card-link:focus-visible {
  color: inherit;
  text-decoration: none !important;
}

.mabe-choice-card-link:focus-visible {
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  outline: 3px solid var(--mabe-accent-dark);
  outline-offset: 3px;
  transform: translateY(-4px);
}

.mabe-choice-img-wrap {
  height: 210px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.mabe-choice-img-wrap img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.mabe-choice-card:hover .mabe-choice-img-wrap img {
  transform: scale(1.04);
}

.mabe-choice-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.mabe-choice-content h3 {
  color: #0f172a;
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  text-transform: none;
}

.mabe-choice-content p {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 18px;
}

.btn-choice-action {
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cd0005;
  border-radius: 8px;
  color: #cd0005 !important;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: space-between;
  margin-top: auto;
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  text-decoration: none !important;
  transition:
    background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.btn-choice-action i {
  color: inherit;
  transition: transform 0.2s ease;
}

.btn-choice-action:hover,
.mabe-choice-card-link:focus-visible .btn-choice-action {
  background: #cd0005;
  border-color: #cd0005;
  box-shadow: 0 4px 14px rgba(205, 0, 5, 0.3);
  color: #ffffff !important;
}

.btn-choice-action:hover i,
.mabe-choice-card-link:focus-visible .btn-choice-action i {
  transform: translateX(4px);
}

/* "Not sure what you need?" Card */
.mabe-not-sure-card {
  background: linear-gradient(150deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 2px dashed #10b981;
  justify-content: center;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.mabe-not-sure-card:hover {
  border-color: #059669;
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.18);
  transform: translateY(-5px);
}

.mabe-not-sure-badge {
  align-items: center;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
  color: #25d366;
  display: flex;
  font-size: 2.8rem;
  height: 80px;
  justify-content: center;
  margin: 28px auto 0;
  width: 80px;
}

/* 6. Facts Section (4 Concrete Trust Facts) */
.mabe-facts-section {
  background: #ffffff;
  padding: 80px 0 60px;
}

.mabe-fact-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  border-top: 4px solid var(--mabe-accent);
  height: 100%;
  padding: 30px 22px;
  text-align: center;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.mabe-fact-card:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.mabe-fact-icon {
  align-items: center;
  background: rgba(205, 0, 5, 0.12);
  border-radius: 50%;
  color: var(--mabe-accent);
  display: flex;
  font-size: 1.65rem;
  height: 64px;
  justify-content: center;
  margin: 0 auto 16px;
  width: 64px;
}

.mabe-fact-card h3 {
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: none;
}

.mabe-fact-card p {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* 7. How It Works (4 Simple Steps in 5 Seconds) */
.mabe-process-section {
  background: #0f172a;
  color: #ffffff;
  padding: 85px 0 75px;
}

.mabe-process-section .mabe-section-heading {
  color: #ffffff;
}

.mabe-process-section .mabe-section-subheading {
  color: #cbd5e1;
}

.mabe-step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  height: 100%;
  padding: 30px 22px;
  text-align: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.mabe-step-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-3px);
}

.mabe-step-num {
  align-items: center;
  background: var(--mabe-primary);
  border-radius: 50%;
  color: var(--mabe-white);
  display: inline-flex;
  font-size: 1.35rem;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  margin-bottom: 16px;
  width: 48px;
}

.mabe-step-card h3 {
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  text-transform: none;
}

.mabe-step-card p {
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* 8. Recent Projects (3 Curated Proof Projects) */
.mabe-proof-section {
  background: #f8fafc;
  padding: 80px 0 60px;
}

.mabe-project-featured-card {
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  height: 430px;
  overflow: hidden;
  position: relative;
  text-decoration: none !important;
}

.mabe-project-featured-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}

.mabe-project-featured-card:hover img {
  transform: scale(1.03);
}

.mabe-project-featured-info {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(15, 23, 42, 0.88) 100%
  );
  bottom: 0;
  left: 0;
  padding: 30px 28px;
  position: absolute;
  right: 0;
}

.mabe-project-featured-info h3 {
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0;
  text-transform: none;
}

.mabe-project-side-card {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  height: 205px;
  overflow: hidden;
  position: relative;
  text-decoration: none !important;
}

.mabe-project-side-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}

.mabe-project-side-card:hover img {
  transform: scale(1.03);
}

.mabe-project-side-info {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(15, 23, 42, 0.88) 100%
  );
  bottom: 0;
  left: 0;
  padding: 16px 20px;
  position: absolute;
  right: 0;
}

.mabe-project-side-info h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0;
  text-transform: none;
}

.mabe-project-badge {
  background: var(--mabe-accent);
  border-radius: 4px;
  color: var(--mabe-white);
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  padding: 3px 8px;
  text-transform: uppercase;
}

/* 9. Compressed About Section */
.mabe-about-compressed {
  background: #ffffff;
  padding: 80px 0 60px;
}

.mabe-about-img-box {
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  position: relative;
}

.mabe-about-img-box img {
  display: block;
  height: 380px;
  object-fit: cover;
  width: 100%;
}

.mabe-about-experience-tag {
  background: var(--mabe-accent);
  bottom: 0;
  color: var(--mabe-white);
  font-size: 0.95rem;
  left: 0;
  padding: 14px 20px;
  position: absolute;
  right: 0;
}

.mabe-about-experience-tag strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
}

.mabe-about-lead {
  color: #1e293b;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.mabe-about-location-note {
  color: #475569;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.mabe-about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mabe-about-pills span {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 6px 16px;
}

/* 10. "Need a price?" Contact CTA Section */
.mabe-price-cta {
  background: #0f172a;
  color: #ffffff;
  padding: 85px 0;
}

.mabe-price-heading {
  color: #ffffff;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-transform: none;
}

.mabe-price-subheading {
  color: #e2e8f0;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.2rem;
}

.mabe-price-subheading strong {
  color: var(--mabe-accent);
}

.mabe-price-actions-grid {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mabe-price-actions-grid .btn {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  gap: 0.65rem;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  width: 100%;
}

.mabe-price-actions-grid .btn i {
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
}

.mabe-price-actions-grid .btn-secondary {
  background: #111820;
  border-color: #111820;
  color: #ffffff;
}

.mabe-price-actions-grid .btn-secondary:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff;
}

.mabe-price-actions-grid .btn-outline-light {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #ffffff !important;
  font-weight: 600;
}

.mabe-price-actions-grid .btn-outline-light:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #0f172a !important;
  transform: translateY(-2px);
}

.mabe-price-actions-grid .btn-primary {
  box-shadow: 0 6px 18px rgba(205, 0, 5, 0.28);
}

@media (max-width: 767.98px) {
  .mabe-price-actions-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact, app-like mobile homepage */
@media (max-width: 767.98px) {
  .mabe-hero {
    min-height: auto;
    padding: 3.25rem 0 2.25rem;
  }

  .mabe-hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
  }

  .mabe-hero .mabe-hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
    line-height: 1.15;
    margin-bottom: 0.85rem;
  }

  .mabe-hero .mabe-hero-lead {
    font-size: 0.98rem;
    line-height: 1.45;
    margin-bottom: 1.25rem;
  }

  .mabe-hero .mabe-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
    width: 100%;
  }

  .mabe-hero .mabe-hero-cta-main {
    font-size: 1.02rem;
    min-height: 48px;
    padding: 0.78rem 1rem;
    width: 100%;
  }

  .mabe-hero-sub-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .mabe-hero .mabe-hero-sub-actions .btn {
    align-items: center;
    display: inline-flex;
    font-size: 0.86rem;
    justify-content: center;
    min-height: 44px;
    padding: 0.68rem 0.45rem;
    white-space: nowrap;
    width: 100%;
  }

  .mabe-hero-category-rail {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 1rem -15px 0;
    overflow-x: auto;
    padding: 2px 15px 8px;
    scroll-padding-inline: 15px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mabe-hero-category-rail::-webkit-scrollbar {
    display: none;
  }

  .mabe-hero-category-chip {
    background: rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    flex: 0 0 auto;
    font-size: 0.78rem;
    line-height: 1;
    padding: 0.66rem 0.85rem;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .mabe-hero-category-chip img {
    display: none;
  }

  .mabe-hero-category-chip:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
  }
}

@media (max-width: 575.98px) {
  .mabe-needs-section {
    padding: 48px 0 36px;
  }

  .mabe-needs-grid {
    margin-left: -6px;
    margin-right: -6px;
  }

  .mabe-needs-grid-item {
    flex: 0 0 50%;
    margin-bottom: 12px !important;
    max-width: 50%;
    padding-left: 6px;
    padding-right: 6px;
  }

  .mabe-needs-help-item {
    flex: 0 0 100%;
    margin-bottom: 12px !important;
    max-width: 100%;
    padding-left: 6px;
    padding-right: 6px;
  }

  .mabe-needs-grid .mabe-choice-img-wrap {
    height: 126px;
  }

  .mabe-needs-grid .mabe-choice-content {
    padding: 14px 12px 12px;
  }

  .mabe-needs-grid-item .mabe-choice-content h3 {
    display: -webkit-box;
    font-size: 0.94rem;
    line-height: 1.25;
    margin-bottom: 10px;
    min-height: 3.5em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .mabe-needs-grid-item .mabe-choice-content p {
    display: none;
  }

  .mabe-needs-grid-item .btn-choice-action {
    font-size: 0.78rem;
    min-height: 38px;
    padding: 0.45rem 0.55rem;
  }

  .mabe-needs-grid-item .btn-choice-action i {
    margin-left: 0.35rem;
  }

  .mabe-needs-help-item .mabe-not-sure-badge {
    font-size: 2rem;
    height: 56px;
    margin-top: 18px;
    width: 56px;
  }

  .mabe-needs-help-item .mabe-choice-content h3 {
    font-size: 1.1rem;
  }

  .mabe-needs-help-item .mabe-choice-content p {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
}
