/* =========================================================
   MaintMan — Home page sections
   ========================================================= */

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 0 38px 76px;
  background-image: linear-gradient(
      180deg,
      rgba(18, 13, 11, 0.3) 0%,
      rgba(18, 13, 11, 0.62) 52%,
      rgba(18, 13, 11, 0.92) 100%
    ),
    url("../images/pic1.avif");
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  animation: mm-rise 0.8s ease both;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-bottom: 26px;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(207, 32, 39, 0.3);
}

.hero-pill .label {
  color: #f3eee9;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  color: #fff;
  font-size: 74px;
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  max-width: 16ch;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--bright-red);
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  color: rgba(245, 240, 235, 0.82);
  font-size: 19px;
  line-height: 1.6;
  max-width: 50ch;
  margin: 0 0 34px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-rating .fa-google {
  color: #fff;
  font-size: 17px;
}

.hero-rating .score {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.hero-rating .stars {
  color: var(--star-gold);
  font-size: 13px;
  letter-spacing: 1px;
}

.hero-trust .trust-item {
  color: rgba(245, 240, 235, 0.5);
  font-weight: 600;
  font-size: 14px;
}

/* ----- Services ----- */
.services {
  background: var(--page);
}

.services-head {
  max-width: 680px;
  margin-bottom: 54px;
}

.services-head .lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.svc-card {
  background: #fff;
  border: 1px solid rgba(22, 17, 15, 0.07);
  border-radius: 16px;
  padding: 28px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(22, 17, 15, 0.1);
}

.svc-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--red-tint-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.svc-icon i {
  color: var(--brand-red);
  font-size: 20px;
}

.svc-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--ink);
}

.svc-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* ----- Recent work (dark) ----- */
.work {
  background: var(--ink);
}

.work-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.work-head .text {
  max-width: 620px;
}

.work-head .mm-h2 {
  margin: 0;
}

.work-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.2s ease;
}

.work-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.work-link i {
  font-size: 12px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-tile {
  position: relative;
  display: block;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: var(--dark-surface-alt);
}

.work-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-tile:hover img {
  transform: scale(1.06);
}

.work-tile .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 13, 11, 0) 40%,
    rgba(18, 13, 11, 0.82) 100%
  );
}

.work-tile .caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}

/* ----- Why choose us (about) ----- */
.about {
  background: var(--page);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.about-text h2 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 22px;
}

.about-text p {
  color: #5f574e;
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 18px;
}

.about-text p.last {
  margin-bottom: 30px;
}

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

.area-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(22, 17, 15, 0.09);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
}

.area-pill i {
  color: var(--brand-red);
  font-size: 12px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  border-radius: 18px;
  padding: 30px 26px;
}

.stat-card.dark {
  background: var(--ink);
  color: #fff;
}

.stat-card.light {
  background: #fff;
  border: 1px solid rgba(22, 17, 15, 0.08);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 500;
  line-height: 1;
}

.stat-card.dark .stat-num {
  color: var(--bright-red);
}

.stat-card.light .stat-num {
  color: var(--brand-red);
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
}

.stat-card.dark .stat-label {
  color: rgba(255, 255, 255, 0.62);
}

.stat-card.light .stat-label {
  color: var(--muted);
}

/* ----- Testimonials ----- */
.reviews {
  background: var(--reviews-bg);
}

.reviews-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 54px;
}

.reviews-cols {
  column-count: 3;
  column-gap: 16px;
}

.review-card {
  break-inside: avoid;
  background: #fff;
  border: 1px solid rgba(22, 17, 15, 0.07);
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 16px;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-id {
  display: flex;
  align-items: center;
  gap: 11px;
}

.review-chip {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1ece6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-chip i {
  font-size: 16px;
  color: var(--brand-red);
}

.review-name {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
}

.review-stars {
  color: var(--star-gold);
  font-size: 12px;
  letter-spacing: 1px;
}

.review-text {
  color: #4f4840;
  font-size: 14.5px;
  line-height: 1.62;
  margin: 0;
}

/* ----- Contact (dark) ----- */
.contact {
  background: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-text h2 {
  font-size: 50px;
  line-height: 1.05;
  margin: 0 0 18px;
}

.contact-text p {
  color: rgba(245, 240, 235, 0.7);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 30px;
  max-width: 46ch;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 24px;
  transition: border-color 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-card .chip {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--red-tint-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.contact-card .chip i {
  color: var(--bright-red);
  font-size: 18px;
}

.contact-card .label {
  display: block;
  color: rgba(245, 240, 235, 0.5);
  font-size: 13px;
  font-weight: 600;
}

.contact-card .value {
  display: block;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  margin-top: 3px;
}

/* =========================================================
   Responsive — Home
   ========================================================= */
@media (max-width: 880px) {
  .hero {
    padding: 128px 22px 72px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-cols {
    column-count: 1;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 35px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .svc-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }
}
