
/* ─── VARIABLES INTERNAS (evita repetir los fallbacks en cada propiedad) ─── */
:root {
  --svf-gap: 24px;
}

/* ══════════════════════════════════════════════
   BASE — mobile-first (< 576px)
══════════════════════════════════════════════ */

.svf-cards-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 40px;
gap: var(--size-space-24, 24px);
  overflow: hidden;
}

/* ── Cabecera ── */
.header_cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  align-self: stretch;
}

.svf-title,
.svf-subtitle {
  align-self: stretch;
  color: var(--Color-Content-General-1, #2C2C2C);
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ── Carrusel / track ── */
.svf-track {
  width: 100%;
  cursor: grab;
  user-select: none;
}
.svf-track:active { cursor: grabbing; }

.svf-carousel {
  display: flex;
  align-items: flex-start;
  gap: var(--svf-gap);
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  will-change: transform;
  user-select: none;
}

/* ── Tarjeta ── */
.svf-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 304px;
  height: 620px;
  border-radius: var(--border-radius-l, 16px);
  border: var(--border-width-l, 2px) solid var(--Color-Border-General-1, #C8D9D0);
  background: var(--Color-Surface-General-1, #FFF);
  flex-shrink: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.svf-card__media {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  position: relative;
}

.svf-card__img {
  width: 304px;
  height: 200px;
  align-self: stretch;
  object-fit: cover;
}

.svf-card__ribbon {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #007ACB;
  color: #fff;
  overflow: hidden;
}
.svf-card__ribbon img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.svf-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px;
  align-self: stretch;
  flex: 1;
}

.svf-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  box-sizing: border-box;
}

.svf-card__title {
  align-self: stretch;
  color: var(--Color-Content-General-1, #2C2C2C);
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

.svf-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.svf-card__list-item {
  display: flex;
  align-items: center;
}

.svf-card__text {
  align-self: stretch;
  color: var(--Typography-Black, #2C2C2C);
  text-align: center;
  margin: 0;
}

.svf-card__btn {
  display: flex;
  width: 304px;
  height: 60px;
  padding: 4px 16px 50px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  align-self: stretch;
  box-sizing: border-box;
  white-space: nowrap;
}

/* ── Lista de beneficios ── */
.benefits_list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  margin: 0;
  padding: 0;
}

/* Aplica a todos los li del componente */
li.benefits_item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
li.benefits_item::before {
   content: ""; 
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url("/documents/20122/13182040/check-verdecito.svg") no-repeat center / contain;
  margin-top: 2px;
}

/* ── Sección botón ── */
.button-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  max-width: 412px;
  align-self: stretch;
  margin-top: auto;
}

/* ── Botón CTA ── */
.card-btn,
.card-btn:link,
.card-btn:visited,
.card-btn:hover,
.card-btn:focus,
.card-btn:active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 56px;
  max-width: 412px;
  padding: 0 40px;
  align-self: stretch;
  border-radius: var(--border-radius-xxl, 100px);
  background: var(--Color-Button-Background-Active-1, #2F6852) !important;
  color: #FFFAF6 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: none !important;
}
.card-btn .button-text,
.card-btn:hover .button-text,
.card-btn:focus .button-text,
.card-btn:active .button-text {
  color: #FFFAF6 !important;
  text-decoration: none !important;
}

/* ── Navegación ── */
.svf-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.svf-nav__btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius-xxl, 100px);
  border: 1px solid var(--Color-Button-Border-Active, #2F6852);
  background: var(--Color-Surface-General-1, #FFF);
}
.svf-nav__btn-wrap:has(.svf-nav__btn:disabled) {
  border-color: var(--Color-Button-Border-Disabled, #BFBFBF);
}

.svf-nav__btn {
  width: 20px;
  height: 20px;
  border: none;
  background: transparent no-repeat center / cover;
  cursor: pointer;
  padding: 0;
}
.svf-nav__btn--prev { background-image: url("/documents/20122/21755674/Left.svg"); }
.svf-nav__btn--next { background-image: url("/documents/20122/31786666/icono_flecha_derecha_verde.webp"); }
.svf-nav__btn:disabled { opacity: 0.3; cursor: not-allowed; }

.svf-nav__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 32px;
  padding: 4px;
  margin: 0 16px;
  border-radius: var(--border-radius-xxl, 100px);
  border: 1px solid var(--Color-Button-Border-Active, #2F6852);
  background: var(--Color-Surface-General-1, #FFF);
}

.svf-nav__bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.svf-nav__bullet::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #2F6852;
  background: #fff;
}
.svf-nav__bullet.active::after,
.svf-nav__bullet:hover::after {
  border-color: #007F33;
  background: #007F33;
}

/* ── Utilidades ── */
.no-select { user-select: none; cursor: default; }
.svf-other-rates-link { margin-top: 24px; }


/* ══════════════════════════════════════════════
   ≥ 576px
══════════════════════════════════════════════ */
@media (min-width: 576px) {
  .svf-cards-container { 
padding: var(--size-space-20, 20px) var(--576-767-page-margin, 42px) var(--size-space-40, 40px) var(--576-767-page-margin, 42px);
gap: var(--size-space-32, 32px);
  }
 
  .svf-card             { height: 620px; }
  /* svf-card__btn ya tiene padding-top:4px / padding-bottom:50px en base */
}

/* ══════════════════════════════════════════════
   ≥ 768px
══════════════════════════════════════════════ */
@media (min-width: 768px) {

  .svf-cards-container { 
padding: var(--size-space-20, 20px) var(--768-991-page-margin, 48px) var(--size-space-40, 40px) var(--768-991-page-margin, 48px);
  }
 
  .svf-card  {width: 304px;height: 620px;max-width: 304px;max-height: 620px;}
}

/* ══════════════════════════════════════════════
   ≥ 992px
══════════════════════════════════════════════ */
@media (min-width: 992px) {
.svf-cards-container { 
padding: var(--size-space-20, 20px) var(--992-1199-page-margin, 82px) var(--size-space-40, 40px) var(--992-1199-page-margin, 82px);

}
  
 
  
  .svf-card     {
    height: 620px;
    justify-content: flex-start;
    }
  .svf-card__btn{ margin-top: 24px; }

  html[lang="eu-ES"] .svf-card { height: 520px; }

}

/* ══════════════════════════════════════════════
   ≥ 1200px — sin carrusel, cards en fila
══════════════════════════════════════════════ */
@media (min-width: 1200px) {
  .svf-cards-container { width: 100%; padding: 40px 102px; }

  .svf-carousel {
    flex-wrap: wrap;
    justify-content: center;
    transform: none !important;
  }

  .svf-card {
    margin: 0 !important;
    width: 316px;
    max-width: 316px;
        height: 620px;
  }

  .svf-card__img   { width: 316px; height: 200px; }
  .svf-card__title { width: 284px; }
  .svf-card__text  { width: 284px; }
  .svf-card__btn   { width: 316px; }
  .svf-nav         { display: none; }
}

/* ══════════════════════════════════════════════
   ≥ 1920px
══════════════════════════════════════════════ */
@media (min-width: 1920px) {
  .svf-cards-container {
    padding: 40px var(--14001920-page-margin, 324px);
  }


  .svf-carousel { overflow: hidden; }

  .svf-card {
    width: 408px;
    max-width: 408px;
    height: 576px;
  }

  .svf-card__img {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius-l, 16px) var(--border-radius-l, 16px) 0 0;
  }

  .svf-card__title { width: 376px; }
  .svf-card__text  { width: 376px; height: 66px; }
  .svf-card__btn   { width: 408px; height: 60px; }
}
