.td-hero-wrapper { 
  margin: 0;
  width: 100%;       /* que ocupe todo el ancho */
  padding: 0;
}

.td-hero-slide {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 6.5rem;
  padding: 6rem 12%;   /* más aire y centrado en desktop */
}

.td-hero-title {
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0 0 4.25rem;
  font-weight: 700;
}

.td-hero-pricebox { 
  display: grid; 
  gap: .35rem; 
  margin-bottom: 1rem; 
}

.td-hero-price-main { 
  display: flex; 
  align-items: baseline; 
  gap: .65rem; 
}

.td-hero-price-number {
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: -1px;
}

.td-hero-price-desde { 
  font-size: 1rem; 
  text-transform: lowercase; 
  opacity: .7; 
}

.td-hero-iva { 
  font-size: .95rem; 
  font-weight: 600; 
}

.td-hero-cta {
  display: inline-block;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background .3s;
}
.td-hero-cta:hover { background: #444; }

/* Imagen circular */
.td-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.td-hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 50%;        /* recorte circular */
  object-fit: cover;         /* que rellene bien el círculo */
  background: #f5f5f5;       /* color de fondo detrás */
  box-shadow: 0 0 20px rgba(0,0,0,.1);
}

@media (max-width: 991px) {
  .td-hero-slide { 
    grid-template-columns: 1fr; 
    text-align: center; 
    padding: 3rem 1.5rem; 
  }
  .td-hero-image { 
    order: -1; 
    margin-bottom: 2rem; 
  }
  .td-hero-title {
    font-size: clamp(1rem, 2vw, 2.4rem);
  }
  .td-hero-cta {
    padding: 0.5rem;
    font-size: 11px;
  }
  .td-hero-price-number {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0px;
  }
  .td-hero-iva {
    font-size: 0.7rem;
  }
}

/* --- Modo fondo a ancho completo con texto a la izquierda --- */
.td-hero-slide.is-bg{
  position: relative;
  width: 100%;
  height: 500px;                 /* ajusta a tu gusto */
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* texto a la izquierda */
  padding: 0 12%;
  background-size: cover;        /* que cubra todo */
  background-position: center;   /* centra el motivo */
  background-repeat: no-repeat;
}

/* Contenedor del texto (puedes quitar el fondo si no lo quieres) */
.td-hero-copy{
  max-width: 500px;
  /* background: rgba(255,255,255,.88);  opcional, mejora legibilidad */
  padding: 1rem 0.8rem;
  border-radius: 16px;
}

/* Ya no usamos el <img> del slide */
.td-hero-image{ display:none; }

/* Mantén tus tamaños/espaciados existentes */
.td-hero-title{ margin: 0 0 3.5rem; }

/* Responsive */
@media (max-width: 991px){
  .td-hero-slide.is-bg{
    height: 320px;
    padding: 4rem 3.5rem;
    justify-content: center;
    background-size: cover;        /* que cubra todo */
    background-position: right center;   /* centra el motivo */
    background-repeat: no-repeat;
  }
  .td-hero-copy{
    max-width: 100%;
    background: rgba(255,255,255,.92);
  }
  .td-hero-title{ margin: 0 0 1.5rem; }
}


/* --- Fallback correcto: sólo aplica si NO está montado --- */
.splide.td-hero { visibility: visible; }

/* Antes lo poníamos siempre; ahora sólo en fallback */
.splide.td-hero:not(.is-mounted) .splide__list { display: block; margin: 0; padding: 0; }
.splide.td-hero:not(.is-mounted) .splide__slide { display: none; list-style: none; }
.splide.td-hero:not(.is-mounted) .splide__slide:first-child { display: block; }

/* Cuando sí monta, deja que Splide use su propio layout (flex + overflow) */
.splide.td-hero.is-mounted .splide__track { overflow: hidden; }

@media screen and (min-width: 1800px) {
  .td-hero-title {
    font-size: 4.5rem;
  }
  .td-hero-price-number {
    font-size: 5rem;
  }
  .td-hero-price-desde {
    font-size: 2rem;
  }
  .td-hero-iva {
    font-size: 1.4rem;
  }
}
