/**
 * MISTER FAST — HOME SERVICES CLEANUP V1.0 CSS
 * Modern Corporate Logistics 3x2 Service Grid
 */

:root {
  --mf-srv-navy: #001f5c;
  --mf-srv-navy-dark: #001744;
  --mf-srv-blue: #003da5;
  --mf-srv-yellow: #ffc400;
  --mf-srv-yellow-hover: #e6b000;
  --mf-srv-text-muted: #64748b;
  --mf-srv-bg: #f8fafc;
  --mf-srv-border: rgba(0, 31, 92, 0.08);
}

.mf-services-v10-wrap {
  width: 100%;
  padding: 64px 0 72px;
  background: var(--mf-srv-bg);
}

.mf-services-v10-container {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
}

/* ==========================================================================
   Section Header
   ========================================================================== */
.mf-services-v10-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.mf-services-v10-title {
  margin: 0 0 10px;
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
}

.mf-services-v10-title .mf-text-navy {
  color: var(--mf-srv-navy);
}

.mf-services-v10-title .mf-text-yellow {
  color: var(--mf-srv-yellow);
}

.mf-services-v10-subtitle {
  margin: 0;
  color: var(--mf-srv-text-muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
}

.mf-services-v10-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mf-srv-blue);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 61, 165, 0.15);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 31, 92, 0.05);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mf-services-v10-all-btn:hover {
  background: var(--mf-srv-blue);
  color: #ffffff;
  border-color: var(--mf-srv-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 61, 165, 0.2);
}

.mf-services-v10-all-btn i {
  font-style: normal;
  transition: transform 0.2s ease;
}

.mf-services-v10-all-btn:hover i {
  transform: translateX(3px);
}

/* ==========================================================================
   6 Clean Service Cards (3 Columns x 2 Rows)
   ========================================================================== */
.mf-services-v10-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mf-services-v10-card {
  display: flex;
  flex-direction: column;
  background: var(--mf-srv-navy);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 31, 92, 0.12);
  border: 1px solid var(--mf-srv-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.mf-services-v10-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0, 31, 92, 0.24);
  border-color: rgba(255, 196, 0, 0.4);
}

/* Card Image Media */
.mf-services-v10-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 200px;
  background: #02112a;
  overflow: hidden;
}

.mf-services-v10-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.mf-services-v10-card:hover .mf-services-v10-card__media img {
  transform: scale(1.035);
}

/* Specific image alignment adjustments for perfect framing */
.mf-services-v10-card--delivery .mf-services-v10-card__media img { object-position: center 30%; }
.mf-services-v10-card--drop-point .mf-services-v10-card__media img { object-position: center 48%; }
.mf-services-v10-card--shopping .mf-services-v10-card__media img { object-position: center 40%; }

/* Card Footer Bar: Clean Title + Circular Arrow Button */
.mf-services-v10-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  min-height: 68px;
  background: var(--mf-srv-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mf-services-v10-card__title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.mf-services-v10-card__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mf-hero-yellow);
  color: var(--mf-srv-navy);
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 196, 0, 0.35);
}

.mf-services-v10-card:hover .mf-services-v10-card__arrow {
  background: var(--mf-hero-yellow-hover);
  transform: scale(1.1) translateX(2px);
  box-shadow: 0 6px 18px rgba(255, 196, 0, 0.5);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .mf-services-v10-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .mf-services-v10-wrap {
    padding: 44px 0 52px;
  }
  .mf-services-v10-container {
    width: min(100%, calc(100% - 32px));
  }
  .mf-services-v10-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }
  .mf-services-v10-title {
    font-size: 28px;
  }
  .mf-services-v10-subtitle {
    font-size: 14px;
  }
  .mf-services-v10-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .mf-services-v10-card {
    border-radius: 18px;
  }
  .mf-services-v10-card__media {
    min-height: 180px;
  }
  .mf-services-v10-card__footer {
    padding: 14px 18px;
    min-height: 60px;
  }
  .mf-services-v10-card__title {
    font-size: 19px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .mf-services-v10-card,
  .mf-services-v10-card__media img,
  .mf-services-v10-card__arrow,
  .mf-services-v10-all-btn {
    transition: none !important;
    transform: none !important;
  }
}