/* =========================
   HOME - SERVICES
========================= */

.home-services-preview {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 74px 0 96px;
  color: var(--color-text);
  background:
    radial-gradient(circle at 12% 10%, rgba(79, 107, 255, 0.08), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(210, 112, 255, 0.11), transparent 28%),
    radial-gradient(circle at 50% 94%, rgba(122, 91, 255, 0.07), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8f6ff 52%, #ffffff 100%);
}

.home-services-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.38;
  background:
    radial-gradient(circle at 18% 24%, rgba(100, 124, 255, 0.055) 1px, transparent 1.8px),
    radial-gradient(circle at 78% 34%, rgba(196, 122, 255, 0.055) 1px, transparent 1.8px),
    radial-gradient(circle at 52% 74%, rgba(124, 96, 255, 0.045) 1px, transparent 1.8px);
  background-size: 54px 54px, 62px 62px, 70px 70px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.home-services-preview::after {
  content: "";
  position: absolute;
  right: -240px;
  top: 80px;
  z-index: 0;
  width: 640px;
  height: 640px;
  border-radius: 999px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(191, 95, 255, 0.11), transparent 62%),
    radial-gradient(circle, rgba(79, 107, 255, 0.08), transparent 74%);
  filter: blur(28px);
}

.home-services-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.services-glow,
.services-orb {
  position: absolute;
  display: block;
  pointer-events: none;
}

.services-glow {
  border-radius: 999px;
  filter: blur(32px);
  opacity: 0.62;
}

.services-glow-one {
  left: -120px;
  top: 90px;
  width: 330px;
  height: 330px;
  background: rgba(85, 214, 255, 0.12);
}

.services-glow-two {
  left: 38%;
  top: -130px;
  width: 430px;
  height: 430px;
  background: rgba(255, 160, 232, 0.15);
}

.services-glow-three {
  right: -140px;
  bottom: 30px;
  width: 430px;
  height: 430px;
  background: rgba(139, 103, 255, 0.15);
}

.services-orb {
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.14) 46%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.40);
  box-shadow:
    0 18px 38px rgba(108, 111, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.services-orb-one {
  left: 34px;
  bottom: 66px;
  width: 58px;
  height: 58px;
}

.services-orb-two {
  right: 28px;
  top: 70px;
  width: 48px;
  height: 48px;
}

.home-services-preview .container,
.home-services-preview .home-services-container {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1360px);
  max-width: 1360px;
  margin: 0 auto;
}

/* =========================
   HEADING
========================= */

.home-services-heading {
  max-width: 790px;
  margin: 0 auto 42px;
  text-align: center;
}

.home-services-heading .section-label {
  margin-bottom: 16px;
}

.home-services-heading h2,
.home-section-heading.home-services-heading h2 {
  margin: 0;
  color: #091338;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.04;
  letter-spacing: -1.45px;
  font-weight: 800;
  text-wrap: balance;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32),
    0 10px 26px rgba(116, 92, 255, 0.07);
}

.home-services-title-emphasis,
.home-services-heading h2 span {
  color: transparent;
  background: linear-gradient(
    135deg,
    #5a6fff 0%,
    #6b63ff 28%,
    #8d5cff 58%,
    #b566ff 82%,
    #cf8dff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 800;
  text-shadow: none;
  filter: saturate(0.95);
}

.home-services-heading p,
.home-section-heading.home-services-heading p {
  max-width: 690px;
  margin: 16px auto 0;
  color: rgba(25, 33, 72, 0.72);
  font-size: 16px;
  line-height: 1.68;
}

/* =========================
   GRID
========================= */

.home-services-grid,
.home-cards-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

/* =========================
   CARD BASE
========================= */

.home-service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 0;
  border-radius: 30px;
  text-align: left;
  background:
    radial-gradient(circle at 18% 0%, rgba(79, 107, 255, 0.08), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(216, 108, 255, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.91));
  border: 1px solid rgba(97, 99, 255, 0.11);
  box-shadow:
    0 22px 54px rgba(82, 88, 170, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease,
    border-color 0.26s ease;
}

.home-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(79, 107, 255, 0.10), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(216, 108, 255, 0.12), transparent 30%);
  transition: opacity 0.26s ease;
}

.home-service-card::after {
  content: "";
  position: absolute;
  top: -92%;
  left: -52%;
  z-index: 5;
  width: 34%;
  height: 285%;
  pointer-events: none;
  opacity: 0;
  transform: rotate(18deg);
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(255, 255, 255, 0.34) 50%,
    rgba(255, 255, 255, 0.05) 70%,
    transparent 100%
  );
  transition:
    left 0.82s ease,
    opacity 0.34s ease 0.36s;
}

.home-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 111, 255, 0.22);
  box-shadow:
    0 30px 74px rgba(82, 88, 170, 0.17),
    0 0 34px rgba(140, 108, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.home-service-card:hover::before {
  opacity: 1;
}

.home-service-card:hover::after {
  left: 124%;
  opacity: 0.76;
  transition:
    left 0.82s ease,
    opacity 0.18s ease;
}

.home-service-body::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 5px;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
  opacity: 0;
  transform: scaleX(0.45);
  transform-origin: center;
  background: linear-gradient(90deg, #5a6fff, #8d5cff, #cf8dff);
  transition:
    opacity 0.26s ease,
    transform 0.26s ease;
}

.home-service-card:hover .home-service-body::after {
  opacity: 1;
  transform: scaleX(1);
}

/* =========================
   CARD DESTACADA
========================= */

.home-service-card-featured {
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 12%, rgba(61, 114, 255, 0.62), transparent 32%),
    radial-gradient(circle at 88% 16%, rgba(190, 78, 255, 0.54), transparent 34%),
    radial-gradient(circle at 78% 92%, rgba(139, 73, 255, 0.48), transparent 38%),
    radial-gradient(circle at 28% 86%, rgba(50, 92, 255, 0.34), transparent 34%),
    linear-gradient(
      135deg,
      #06123f 0%,
      #0b2576 32%,
      #2035b7 56%,
      #5630c9 78%,
      #8c37e6 100%
    );
  border-color: rgba(196, 179, 255, 0.28);
  box-shadow:
    0 26px 64px rgba(21, 38, 150, 0.30),
    0 12px 30px rgba(108, 48, 210, 0.20),
    0 0 42px rgba(76, 108, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.home-service-card-featured::before {
  opacity: 0.92;
  background:
    radial-gradient(circle at 16% 8%, rgba(116, 175, 255, 0.22), transparent 28%),
    radial-gradient(circle at 88% 86%, rgba(225, 107, 255, 0.20), transparent 32%),
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 32%,
      rgba(255, 255, 255, 0.15) 48%,
      rgba(255, 255, 255, 0.035) 62%,
      transparent 100%
    );
}

.home-service-card-featured:hover {
  border-color: rgba(217, 197, 255, 0.48);
  box-shadow:
    0 34px 78px rgba(21, 38, 150, 0.38),
    0 0 48px rgba(84, 116, 255, 0.20),
    0 0 38px rgba(190, 87, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.31),
    inset 0 -1px 0 rgba(255, 255, 255, 0.10);
}

.home-service-card-featured .home-service-body::after {
  background: linear-gradient(90deg, #71d4ff, #8e8cff, #d985ff);
}

.home-service-card-monthly {
  background:
    radial-gradient(circle at 18% 0%, rgba(79, 107, 255, 0.09), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(216, 108, 255, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 255, 0.94));
}

/* =========================
   CARD CON IMAGEN
========================= */

.home-service-card-has-image {
  min-height: 500px;
}

.home-service-media {
  position: relative;
  z-index: 2;
  height: 188px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(88, 128, 255, 0.34), transparent 32%),
    radial-gradient(circle at 86% 20%, rgba(217, 107, 255, 0.30), transparent 34%),
    linear-gradient(135deg, #07193f 0%, #173b97 38%, #435dff 68%, #c35fff 100%);
  border-bottom: 1px solid rgba(104, 88, 230, 0.13);
}

.home-service-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 19, 56, 0.02) 0%, rgba(8, 19, 56, 0.08) 100%),
    linear-gradient(135deg, rgba(20, 48, 140, 0.08), rgba(199, 92, 255, 0.08));
}

.home-service-media::after {
  content: "";
  position: absolute;
  top: -72%;
  left: -42%;
  z-index: 3;
  width: 34%;
  height: 250%;
  pointer-events: none;
  opacity: 0;
  transform: rotate(18deg);
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 30%,
    rgba(255, 255, 255, 0.26) 50%,
    rgba(255, 255, 255, 0.04) 70%,
    transparent 100%
  );
  transition:
    left 0.78s ease,
    opacity 0.34s ease 0.32s;
}

.home-service-card:hover .home-service-media::after {
  left: 120%;
  opacity: 0.58;
  transition:
    left 0.78s ease,
    opacity 0.18s ease;
}

.home-service-media img,
.home-service-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter:
    saturate(1.08)
    contrast(1.04)
    brightness(1.02);
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.home-service-card:hover .home-service-media img,
.home-service-card:hover .home-service-image {
  transform: scale(1.045);
  filter:
    saturate(1.16)
    contrast(1.06)
    brightness(1.03);
}

.home-service-card-featured .home-service-media {
  background:
    radial-gradient(circle at 16% 18%, rgba(61, 114, 255, 0.48), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(190, 78, 255, 0.46), transparent 36%),
    linear-gradient(135deg, #06123f 0%, #1733b8 48%, #7d35e8 100%);
  border-bottom-color: rgba(146, 119, 255, 0.38);
}

.home-service-card-featured .home-service-media::before {
  background:
    linear-gradient(180deg, rgba(6, 18, 63, 0.00) 0%, rgba(6, 18, 63, 0.06) 100%),
    linear-gradient(135deg, rgba(34, 77, 255, 0.06), rgba(190, 78, 255, 0.06));
}

.home-service-card-featured .home-service-media img {
  filter:
    saturate(1.25)
    contrast(1.08)
    brightness(1.03);
}

.home-service-card-featured:hover .home-service-media img {
  filter:
    saturate(1.34)
    contrast(1.10)
    brightness(1.04);
}

/* =========================
   BODY
========================= */

.home-service-body {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 26px;
}

/* =========================
   BADGES
========================= */

.home-service-badge {
  position: absolute;
  top: -168px;
  right: 24px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  margin: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.2px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.30), transparent 32%),
    linear-gradient(135deg, #745cff, #b957e8 58%, #e66fcf);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    0 14px 32px rgba(165, 82, 225, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-service-media .home-service-badge {
  top: 18px;
  right: 18px;
}

.home-service-badge-soft {
  min-height: 32px;
  padding: 0 13px;
  color: #554be0;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.76), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66));
  border: 1px solid rgba(95, 89, 255, 0.14);
  box-shadow:
    0 12px 26px rgba(91, 90, 180, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

/* =========================
   TOP
========================= */

.home-service-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.home-service-number,
.home-service-icon span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 18px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.2px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.50), transparent 32%),
    linear-gradient(135deg, #4558e6 0%, #a657e8 100%);
  box-shadow:
    0 16px 34px rgba(88, 73, 215, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.home-service-card-featured .home-service-number {
  color: #101840;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 18px 38px rgba(7, 15, 60, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.home-service-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  max-width: 74%;
  padding: 0 13px;
  border-radius: 999px;
  color: #554be0;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(85, 75, 224, 0.18);
  box-shadow:
    0 14px 30px rgba(91, 90, 180, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.home-service-card-featured .home-service-category {
  color: rgba(255, 255, 255, 0.96);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.07));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 10px 24px rgba(7, 11, 34, 0.16);
}

/* =========================
   CONTENT
========================= */

.home-service-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.home-service-content h3,
.home-service-card h3 {
  max-width: 330px;
  margin: 0 0 15px;
  color: #091338;
  font-size: clamp(24px, 1.8vw, 31px);
  line-height: 1.05;
  letter-spacing: -0.8px;
  font-weight: 850;
  text-wrap: balance;
}

.home-service-content p,
.home-service-card p {
  max-width: 365px;
  margin: 0;
  color: rgba(25, 33, 72, 0.68);
  font-size: 14.5px;
  line-height: 1.66;
}

.home-service-card-featured .home-service-content h3,
.home-service-card-featured h3 {
  color: #ffffff;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(2, 8, 32, 0.18);
}

.home-service-card-featured .home-service-content p,
.home-service-card-featured p {
  color: rgba(255, 255, 255, 0.88);
}

/* =========================
   FOOTER / PRECIO / BOTÓN
========================= */

.home-service-footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 18px;
  align-items: end;
  margin-top: 26px;
}

.home-service-card-monthly .home-service-footer {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.home-service-price {
  min-width: 0;
}

.home-service-price small {
  display: block;
  margin-bottom: 7px;
  color: #554be0;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.75px;
}

.home-service-price strong {
  display: block;
  color: #3431c8;
  font-size: clamp(25px, 2vw, 34px);
  line-height: 0.98;
  letter-spacing: -1px;
  font-weight: 950;
  white-space: normal;
  overflow-wrap: anywhere;
}

.home-service-card-featured .home-service-price small,
.home-service-card-featured .home-service-price strong {
  color: #ffffff;
}

.home-service-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  color: #101840;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid rgba(72, 56, 205, 0.18);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.80), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.64));
  box-shadow:
    0 12px 28px rgba(88, 95, 173, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.home-service-link::before {
  content: "";
  position: absolute;
  top: -92%;
  left: -48%;
  z-index: -1;
  width: 34%;
  height: 270%;
  pointer-events: none;
  opacity: 0;
  transform: rotate(18deg);
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 30%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0.06) 70%,
    transparent 100%
  );
  transition:
    left 0.72s ease,
    opacity 0.34s ease 0.28s;
}

.home-service-link:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 111, 255, 0.26);
  background: #ffffff;
  box-shadow:
    0 18px 36px rgba(88, 95, 173, 0.13),
    0 0 18px rgba(177, 117, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.home-service-link:hover::before {
  left: 124%;
  opacity: 0.82;
  transition:
    left 0.72s ease,
    opacity 0.18s ease;
}

.home-service-link span,
.home-service-link-arrow {
  font-size: 16px;
  line-height: 1;
}

.home-service-card-featured .home-service-link {
  color: #16215a;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 14px 34px rgba(9, 14, 58, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.home-service-card-featured .home-service-link:hover {
  background: #ffffff;
  box-shadow:
    0 18px 40px rgba(8, 14, 56, 0.24),
    0 0 20px rgba(255, 255, 255, 0.10);
}

.home-service-card-monthly .home-service-link {
  justify-self: stretch;
  width: 100%;
}

/* =========================
   NOTE
========================= */

.home-services-note {
  width: min(680px, 100%);
  margin: 36px auto 0;
  padding: 17px 24px;
  text-align: center;
  color: rgba(25, 33, 72, 0.68);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.78), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(104, 88, 230, 0.16);
  box-shadow:
    0 18px 42px rgba(88, 95, 173, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.home-services-note p {
  margin: 0;
}

/* Compatibilidad */
.home-service-icon {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 22px;
}

/* =========================
   PANTALLAS GRANDES
========================= */

@media (min-width: 1500px) {
  .home-services-preview .container,
  .home-services-preview .home-services-container {
    width: min(100% - 64px, 1440px);
    max-width: 1440px;
  }

  .home-services-grid,
  .home-cards-grid {
    gap: 24px;
  }

  .home-service-card-has-image {
    min-height: 510px;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
  .home-services-preview {
    padding: 68px 0 88px;
  }

  .home-services-grid,
  .home-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .home-service-card {
    border-radius: 28px;
  }

  .home-service-card-has-image {
    min-height: 480px;
  }
}

@media (max-width: 900px) {
  .home-services-preview {
    padding: 62px 0 78px;
  }

  .home-services-heading {
    max-width: 680px;
    margin-bottom: 36px;
  }

  .home-services-grid,
  .home-cards-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
  }

  .home-service-card,
  .home-service-card-has-image {
    min-height: auto;
  }

  .home-service-content h3,
  .home-service-card h3 {
    max-width: 440px;
  }

  .home-service-content p,
  .home-service-card p {
    max-width: 500px;
  }

  .home-service-footer,
  .home-service-card-monthly .home-service-footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .home-service-link,
  .home-service-card-monthly .home-service-link {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .home-services-preview {
    padding: 56px 0 72px;
  }

  .home-services-preview .container,
  .home-services-preview .home-services-container {
    width: min(100% - 34px, 100%);
  }

  .home-services-heading {
    margin-bottom: 32px;
  }

  .home-services-heading h2,
  .home-section-heading.home-services-heading h2 {
    font-size: clamp(32px, 9.4vw, 43px);
    line-height: 1.06;
    letter-spacing: -1.15px;
  }

  .home-services-heading p,
  .home-section-heading.home-services-heading p {
    max-width: 350px;
    font-size: 15px;
    line-height: 1.66;
  }

  .home-services-grid,
  .home-cards-grid {
    gap: 16px;
  }

  .home-service-card {
    border-radius: 24px;
  }

  .home-service-body {
    padding: 22px;
  }

  .home-service-body::after {
    left: 22px;
    right: 22px;
  }

  .home-service-media {
    height: 190px;
  }

  .home-service-badge {
    top: -170px;
    right: 20px;
  }

  .home-service-media .home-service-badge {
    top: 16px;
    right: 16px;
  }

  .home-service-top {
    gap: 12px;
    margin-bottom: 24px;
  }

  .home-service-number,
  .home-service-icon span {
    width: 50px;
    height: 50px;
    border-radius: 17px;
    font-size: 16px;
  }

  .home-service-category {
    min-height: 31px;
    max-width: 72%;
    padding: 0 11px;
    font-size: 9.5px;
  }

  .home-service-content h3,
  .home-service-card h3 {
    font-size: clamp(27px, 8.2vw, 36px);
    letter-spacing: -0.72px;
  }

  .home-service-content p,
  .home-service-card p {
    font-size: 14.2px;
  }

  .home-service-footer {
    gap: 18px;
    margin-top: 26px;
  }

  .home-service-link {
    width: 100%;
    min-height: 50px;
    justify-self: stretch;
  }

  .home-service-price strong {
    white-space: normal;
  }

  .home-services-note {
    border-radius: 26px;
    padding: 16px 18px;
  }
}
