/* DeseadoOnline - rediseño de portada */

.hero .hero-copy h1 {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  color: #ffffff;
  margin: 0 0 18px;
  text-shadow: 0 3px 12px rgba(0, 30, 65, .55);
}

.hero .hero-copy h1 em {
  display: block;
  width: fit-content;
  font-family: "Caveat", cursive;
  font-style: normal;
  font-weight: 700;
  font-size: .95em;
  line-height: 1;
  letter-spacing: -1px;
  color: #ffcf00;
  transform: rotate(-2deg);
  text-shadow: 0 3px 8px rgba(0, 35, 75, .45);
  position: relative;
}

.hero .hero-copy h1 em::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 2%;
  width: 95%;
  height: 5px;
  background: #ffcf00;
  border-radius: 100%;
  transform: rotate(-1deg);
}

@media (max-width: 700px) {
  .hero .hero-copy h1 {
    font-size: clamp(24px, 6vw, 35px);
    line-height: 1.12;
    letter-spacing: -.7px;
  }

  .hero .hero-copy h1 em {
    font-size: 1.05em;
  }

  .hero .hero-copy h1 em::after {
    height: 3px;
    bottom: -3px;
  }
}

/* Tarjetas principales a todo el ancho */

.home-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: -42px;
  margin-bottom: 40px;
  position: relative;
  z-index: 4;
  align-items: stretch;
}

.home-shortcuts .shortcut {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 158px;
  padding: 24px 20px;
  gap: 17px;
  overflow: hidden;
  border-radius: 22px;
  color: white;
  box-shadow: 0 12px 25px rgba(20, 40, 90, .13);
  transition: transform .25s, box-shadow .25s;
}

.home-shortcuts .shortcut:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 30px rgba(20, 40, 90, .19);
}

.home-shortcuts .products-shortcut {
  background: linear-gradient(120deg, #ff164c, #e90040);
}

.home-shortcuts .services-shortcut {
  background: linear-gradient(120deg, #0665ff, #0049e9);
}

.home-shortcuts .stores-shortcut {
  background: linear-gradient(120deg, #00b978, #00875a);
}

.home-shortcuts .classifieds-shortcut {
  background: linear-gradient(120deg, #9136ff, #6920e8);
}

.home-shortcuts .shortcut-icon {
  flex: 0 0 65px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(255,255,255,.20);
  display: grid;
  place-items: center;
}

.home-shortcuts .shortcut-icon svg {
  width: 32px;
  height: 32px;
}

.home-shortcuts .shortcut strong {
  display: block;
  font-size: clamp(21px, 1.8vw, 29px);
  font-weight: 400;
  letter-spacing: -.5px;
  margin-bottom: 10px;
}

.home-shortcuts .shortcut small {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

.home-shortcuts .shortcut > b {
  display: grid;
  place-items: center;
  position: absolute;
  right: 14px;
  bottom: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.24);
  color: white;
  font-size: 24px;
  font-weight: 400;
}

@media (max-width: 1050px) {
  .home-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-shortcuts {
    gap: 10px;
    margin-top: -18px;
    margin-bottom: 28px;
  }

  .home-shortcuts .shortcut {
    min-height: 112px;
    padding: 14px 12px;
    gap: 10px;
    border-radius: 16px;
  }

  .home-shortcuts .shortcut-icon {
    flex-basis: 37px;
    width: 37px;
    height: 37px;
  }

  .home-shortcuts .shortcut-icon svg {
    width: 23px;
    height: 23px;
  }

  .home-shortcuts .shortcut strong {
    font-size: 17px;
    margin-bottom: 5px;
  }

  .home-shortcuts .shortcut small {
    font-size: 10px;
  }

  .home-shortcuts .shortcut > b {
    width: 25px;
    height: 25px;
    font-size: 17px;
    right: 7px;
    bottom: 7px;
  }
}

/* Tarjetas compactas, con espacio para ilustraciones */
@media (min-width: 701px) {
  .home-shortcuts {
    grid-template-columns: repeat(4, minmax(0, 230px));
    justify-content: start;
    gap: 14px;
    margin-top: -44px;
    margin-bottom: 28px;
  }

  .home-shortcuts .shortcut {
    min-height: 110px;
    padding: 15px 12px;
    gap: 10px;
    border-radius: 17px;
  }

  .home-shortcuts .shortcut-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }

  .home-shortcuts .shortcut-icon svg {
    width: 23px;
    height: 23px;
  }

  .home-shortcuts .shortcut strong {
    font-size: 19px;
    margin-bottom: 6px;
  }

  .home-shortcuts .shortcut small {
    font-size: 11px;
  }

  .home-shortcuts .shortcut > b {
    width: 27px;
    height: 27px;
    font-size: 18px;
    right: 7px;
    bottom: 7px;
  }
}

@media (max-width: 700px) {
  .home-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* DESEADOONLINE - TARJETAS COMPACTAS ILUSTRADAS */
@media (min-width: 701px) {
  .home-shortcuts {
    grid-template-columns: repeat(4, minmax(0, 230px));
    justify-content: start;
    gap: 14px;
    margin-top: -44px;
    margin-bottom: 28px;
  }
  .home-shortcuts .shortcut {
    min-height: 112px;
    padding: 14px 11px;
    gap: 9px;
    border-radius: 17px;
  }
  .home-shortcuts .shortcut-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
  }
  .home-shortcuts .shortcut strong {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 6px;
  }
  .home-shortcuts .shortcut small {
    font-size: 10px;
    line-height: 1.45;
  }
}

.home-shortcuts .shortcut {
  isolation: isolate;
  background-size: cover;
  background-position: center;
}

.home-shortcuts .shortcut::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 44%;
  height: 100%;
  right: 0;
  top: 0;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .95;
}

.home-shortcuts .shortcut > span {
  position: relative;
  z-index: 1;
}

.home-shortcuts .shortcut > b {
  z-index: 2;
}

.home-shortcuts .products-shortcut {
  background: linear-gradient(100deg,#ff174b 0%,#f70842 65%,#ff5b70 100%);
}

.home-shortcuts .services-shortcut {
  background: linear-gradient(100deg,#0768ff 0%,#0755ee 65%,#319bff 100%);
}

.home-shortcuts .stores-shortcut {
  background: linear-gradient(100deg,#00b87c 0%,#009465 65%,#27c795 100%);
}

.home-shortcuts .classifieds-shortcut {
  background: linear-gradient(100deg,#9239ff 0%,#7624e9 65%,#ae6bff 100%);
}

/* Ilustraciones SVG incorporadas, sin archivos externos */

.home-shortcuts .products-shortcut::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 120'%3E%3Cdefs%3E%3ClinearGradient id='a' x2='1' y2='1'%3E%3Cstop stop-color='%23ff8191'/%3E%3Cstop offset='1' stop-color='%23ba002d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M27 38h52l7 70H20z' fill='url(%23a)'/%3E%3Cpath d='M38 40V27a15 15 0 0 1 30 0v13' fill='none' stroke='%23ffe4e5' stroke-width='5'/%3E%3Cpath d='M69 52h43l-6 57H65z' fill='%23ff4663'/%3E%3Cpath d='M79 54V41a11 11 0 0 1 22 0v13' fill='none' stroke='%23ffcfda' stroke-width='4'/%3E%3Cpath d='M31 42l13 62M76 55l-6 50' stroke='%23ffffff' stroke-opacity='.2' stroke-width='4'/%3E%3C/svg%3E");
}

.home-shortcuts .services-shortcut::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 120'%3E%3Ccircle cx='91' cy='48' r='30' fill='%236ac5ff' opacity='.35'/%3E%3Cpath d='M91 14a27 27 0 0 0-24 39L32 88a12 12 0 0 0 17 17l35-35a27 27 0 0 0 34-35L101 52 87 38 104 21A27 27 0 0 0 91 14z' fill='%23c9eaff' stroke='%23ffffff' stroke-width='3'/%3E%3Cpath d='M39 94l4 4' stroke='%230d5de8' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.home-shortcuts .stores-shortcut::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 120'%3E%3Crect x='24' y='46' width='90' height='65' rx='4' fill='%23ffe7b2'/%3E%3Crect x='33' y='63' width='38' height='48' fill='%232a9b80'/%3E%3Crect x='78' y='63' width='27' height='27' fill='%23ffbc55'/%3E%3Cpath d='M18 43l13-25h76l14 25z' fill='%23ffefdc'/%3E%3Cpath d='M31 18h15l-5 25H18zm30 0h15l5 25H56zm31 0h15l14 25H96z' fill='%23ff685e'/%3E%3Cpath d='M18 43q8 18 19 0 9 18 19 0 10 18 20 0 10 18 20 0 11 18 25 0' fill='none' stroke='%23ffffff' stroke-width='5'/%3E%3C/svg%3E");
}

.home-shortcuts .classifieds-shortcut::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 120'%3E%3Crect x='23' y='53' width='89' height='48' rx='12' fill='%23b58cff'/%3E%3Crect x='28' y='39' width='39' height='40' rx='9' fill='%23d3baff'/%3E%3Crect x='70' y='39' width='38' height='40' rx='9' fill='%23c6a4ff'/%3E%3Crect x='16' y='70' width='101' height='29' rx='10' fill='%238b53db'/%3E%3Cpath d='M27 97v13m77-13v13' stroke='%23502a8f' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M39 61h17m26 0h16' stroke='%23ffffff' stroke-opacity='.5' stroke-width='3'/%3E%3C/svg%3E");
}

@media (max-width: 700px) {
  .home-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-shortcuts .shortcut::after {
    width: 38%;
    opacity: .65;
  }
  .home-shortcuts .shortcut small {
    font-size: 10px;
  }
}
