/**
 * Hispadrive ID — home (tras Nuestros clientes), ancho alineado al contenedor 1120px.
 */
body#index.hispadrive-home #content.page-home > #hispadrive-id-section.hispadrive-id {
  box-sizing: border-box;
  position: static !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  float: none !important;
  width: 100% !important;
  max-width: var(--container) !important;
  margin: 96px auto !important;
  padding: 0;
  background: #1c1e4a;
  color: #fff;
  border-radius: 32px;
  overflow: hidden;
}

body#index.hispadrive-home #hispadrive-id-section.block,
body#index.hispadrive-home #hispadrive-id-section.hispadrive-id.block {
  margin-top: 96px !important;
  margin-bottom: 96px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body#index.hispadrive-home #hispadrive-id-section .block {
  margin: 0 !important;
}

.hispadrive-id__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 640px;
}

.hispadrive-id__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 96px 48px 96px 40px;
}

.hispadrive-id__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #f8b793;
}

.hispadrive-id__title {
  margin: 0;
  max-width: 520px;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -1.6px;
  color: #fff;
}

.hispadrive-id__lead {
  margin: 0;
  max-width: 460px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  color: #d6d7ea;
}

.hispadrive-id__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 520px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hispadrive-id__feature {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hispadrive-id__feature:nth-child(odd) {
  padding-right: 20px;
}

.hispadrive-id__feature:nth-child(even) {
  padding-left: 4px;
  padding-right: 0;
}

.hispadrive-id__feature-head {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.hispadrive-id__feature-num {
  color: #f8b793;
  font-size: 12px;
  font-weight: 600;
  margin-right: 6px;
}

.hispadrive-id__feature-desc {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
  color: #c9cadb;
}

.hispadrive-id__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.hispadrive-id__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-cta);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.hispadrive-id__cta:hover {
  opacity: 0.92;
  color: var(--color-cta);
}

.hispadrive-id__price {
  margin: 0;
  font-size: 13px;
  color: #c9cadb;
}

.hispadrive-id__media {
  position: relative;
  min-height: 640px;
  background-color: #2a2d55;
  background-image: linear-gradient(160deg, #6c7396 0%, #3d4268 60%, #2a2d55 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hispadrive-id__media--has-photo {
  background-color: #2a2d55;
}

.hispadrive-id__media-fade {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 28%;
  max-width: 220px;
  background: linear-gradient(90deg, #1c1e4a 0%, rgba(28, 30, 74, 0) 22%);
  pointer-events: none;
}

.hispadrive-id__float {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: calc(100% - 64px);
  padding: 16px 18px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.hispadrive-id__float-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-soft);
  color: var(--color-cta);
  border-radius: 12px;
}

.hispadrive-id__float-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.3;
}

.hispadrive-id__float-desc {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Espaciado con secciones vecinas */
body#index.hispadrive-home #content.page-home #easycontent_20 .clientes {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body#index.hispadrive-home #hispadrive-id-section + .brands_slider_container.block.products_container {
  margin-top: 0 !important;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .hispadrive-id__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hispadrive-id__copy {
    order: 2;
    padding: 56px 40px;
  }

  .hispadrive-id__media {
    order: 1;
    min-height: 360px;
    height: 360px;
  }

  .hispadrive-id__title {
    max-width: none;
    font-size: 40px;
    letter-spacing: -1.2px;
  }

  .hispadrive-id__features {
    max-width: none;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  body#index.hispadrive-home #content.page-home > #hispadrive-id-section.hispadrive-id {
    width: 100% !important;
    max-width: var(--container) !important;
    margin-top: 64px !important;
    margin-bottom: 64px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 24px;
  }

  .hispadrive-id__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hispadrive-id__copy {
    order: 2;
    padding: 40px 20px 48px;
  }

  .hispadrive-id__media {
    order: 1;
    min-height: 280px;
    height: 280px;
  }

  .hispadrive-id__media-fade {
    display: none;
  }

  .hispadrive-id__title {
    max-width: none;
    font-size: 32px;
    letter-spacing: -0.8px;
  }

  .hispadrive-id__features {
    max-width: none;
    grid-template-columns: 1fr;
  }

  .hispadrive-id__feature:nth-child(odd),
  .hispadrive-id__feature:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
  }

  .hispadrive-id__cta {
    width: 100%;
  }

  .hispadrive-id__float {
    left: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
  }
}
