/* ==========================================================================
   Rodolfo Auto Import — componentes.css
   Botones, tarjetas, formularios, acordeón, testimonios, contadores.
   ========================================================================== */

/* ============================================================= botones == */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .88rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-title);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease),
              box-shadow .28s var(--ease);
}

.btn i { font-size: 1.25em; }

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--grad-red);
  color: #fff;
  box-shadow: 0 10px 26px -10px var(--red-glow);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--red-600) 0%, #8d030a 100%);
  box-shadow: 0 16px 34px -10px var(--red-glow);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--txt);
}

.btn--ghost:hover {
  border-color: var(--red);
  background: rgba(202, 6, 13, .1);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--txt);
  color: var(--bg-900);
}

.btn--light:hover { background: #fff; transform: translateY(-2px); }

.btn--wa {
  background: #25d366;
  color: #06301a;
}

.btn--wa:hover { background: #2ae274; transform: translateY(-2px); }

.btn--sm { padding: .62rem 1.05rem; font-size: .95rem; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.15rem; }
.btn--block { width: 100%; }

/* En pantallas estrechas el texto largo debe poder partirse en vez de
   forzar el ancho de la página */
@media (max-width: 430px) {
  .btn {
    white-space: normal;
    text-align: center;
    padding-inline: 1.1rem;
  }
  .btn--lg { font-size: 1.05rem; padding: .95rem 1.25rem; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }
}

/* Enlace con flecha */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--red-hi);
  transition: gap .28s var(--ease);
}

.link-arrow:hover { gap: .9rem; }

/* ============================================================== badges == */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .68rem;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.5;
}

.badge--red { background: var(--grad-red); color: #fff; }
.badge--dark { background: rgba(11, 10, 12, .82); color: var(--txt); backdrop-filter: blur(6px); border: 1px solid var(--line-2); }
.badge--outline { border: 1px solid var(--line-2); color: var(--txt-2); }
.badge--green { background: rgba(47, 208, 106, .16); color: #4ee489; border: 1px solid rgba(47, 208, 106, .3); }

/* ===================================================== tarjeta vehículo == */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.8rem);
}

@media (max-width: 400px) {
  .car-grid { grid-template-columns: 1fr; }
}

.car-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.car-card:hover {
  transform: translateY(-6px);
  border-color: rgba(202, 6, 13, .55);
  box-shadow: var(--shadow-md);
}

.car-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-600);
}

.car-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Las tomas del cliente son verticales: el encuadre alto centra el vehículo */
  object-position: center 45%;
  transition: transform .7s var(--ease);
}

.car-card:hover .car-card__media img { transform: scale(1.07); }

.car-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 10, 12, .85));
  pointer-events: none;
}

.car-card__tags {
  position: absolute;
  top: .8rem;
  left: .8rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  /* deja libre la esquina donde va el año */
  max-width: calc(100% - 5.4rem);
}

.car-card__year {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 2;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  padding: .12rem .6rem;
  background: rgba(11, 10, 12, .78);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

.car-card__gallery-count {
  position: absolute;
  bottom: .8rem;
  right: .85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: var(--txt-2);
}

.car-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.25rem 1.25rem;
}

.car-card__brand {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-hi);
  margin-bottom: .3rem;
}

/* Reserva dos líneas: así las specs y el precio quedan alineados entre
   todas las tarjetas de una misma fila, tenga el modelo el nombre que tenga */
.car-card__title {
  font-size: 1.42rem;
  margin-bottom: .9rem;
  line-height: 1.1;
  min-height: 2.2em;
}

.car-card__title a { transition: color .25s var(--ease); }
.car-card__title a:hover { color: var(--red-hi); }

.car-card__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  padding: .75rem 0;
  margin-bottom: 1rem;
  border-block: 1px solid var(--line);
}

.car-card__spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .18rem;
  text-align: center;
  font-size: .78rem;
  color: var(--txt-2);
}

.car-card__spec i { font-size: 1.15rem; color: var(--txt-3); }

.car-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .8rem;
  margin-top: auto;
}

.car-card__price-label {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--txt-3);
}

.car-card__price {
  font-family: var(--font-title);
  font-size: 1.62rem;
  font-weight: 700;
  color: var(--txt);
  line-height: 1.15;
}

.car-card__price small {
  font-size: .62em;
  color: var(--txt-2);
  font-weight: 600;
  margin-right: .15rem;
}

/* Vista de lista en el inventario */
.car-grid.is-list { grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .car-grid.is-list .car-card { flex-direction: row; }
  .car-grid.is-list .car-card__media {
    width: 300px;
    flex: none;
    aspect-ratio: auto;
  }
  .car-grid.is-list .car-card__body { padding: 1.4rem 1.6rem; }
  .car-grid.is-list .car-card__specs { grid-template-columns: repeat(4, 1fr); }
  .car-grid.is-list .car-card__title { font-size: 1.7rem; }
}

/* Estado vacío del listado */
.empty-state {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: .8rem;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  text-align: center;
  background: var(--bg-800);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}

.empty-state i { font-size: 3.2rem; color: var(--txt-3); }
.empty-state p { color: var(--txt-2); max-width: 42ch; }

/* ======================================================= tarjeta simple == */
.feature-card {
  position: relative;
  padding: 1.9rem 1.6rem;
  background: var(--bg-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-deep));
  transition: width .45s var(--ease);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  background: var(--bg-600);
}

.feature-card:hover::before { width: 100%; }

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.15rem;
  border-radius: 12px;
  background: rgba(202, 6, 13, .12);
  border: 1px solid rgba(202, 6, 13, .28);
  color: var(--red-hi);
  font-size: 1.75rem;
  transition: background .35s var(--ease), color .35s var(--ease);
}

.feature-card:hover .feature-card__icon {
  background: var(--grad-red);
  border-color: transparent;
  color: #fff;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: .6rem;
}

.feature-card p {
  color: var(--txt-2);
  font-size: .95rem;
}

.feature-card__num {
  position: absolute;
  top: .6rem;
  right: 1rem;
  font-family: var(--font-title);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  pointer-events: none;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

/* ========================================================== contadores == */
.counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.counter {
  padding: clamp(1.6rem, 3vw, 2.4rem) 1.2rem;
  background: var(--bg-800);
  text-align: center;
  transition: background .35s var(--ease);
}

.counter:hover { background: var(--bg-700); }

.counter__num {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--txt);
  margin-bottom: .35rem;
}

.counter__num span { color: var(--red-hi); }

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .counter__num span {
    background-image: var(--grad-red-hi);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.counter__label {
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--txt-2);
}

/* ======================================================== testimonios == */
.testimonial {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.9rem 1.7rem;
  background: var(--bg-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.testimonial__quote {
  position: absolute;
  top: 1rem;
  right: 1.3rem;
  font-size: 3rem;
  color: var(--red);
  opacity: .18;
  line-height: 1;
}

.testimonial { position: relative; }

.testimonial__stars {
  display: flex;
  gap: .18rem;
  color: #f5b301;
  font-size: 1.05rem;
}

.testimonial__text {
  color: var(--txt-2);
  font-size: .98rem;
  flex: 1;
}

.testimonial__person {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 2px solid var(--line-2);
}

.testimonial__name {
  display: block;
  font-weight: 600;
  font-size: .96rem;
  line-height: 1.3;
}

.testimonial__meta {
  display: block;
  font-size: .82rem;
  color: var(--txt-3);
}

/* ============================================================ acordeón == */
.accordion {
  display: grid;
  gap: .75rem;
}

.acc-item {
  background: var(--bg-700);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.acc-item.is-open {
  border-color: rgba(202, 6, 13, .45);
  background: var(--bg-600);
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  text-align: left;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--txt);
  transition: color .25s var(--ease);
}

.acc-trigger:hover { color: var(--red-hi); }

.acc-trigger i {
  flex: none;
  font-size: 1.4rem;
  color: var(--red-hi);
  transition: transform .35s var(--ease);
}

.acc-item.is-open .acc-trigger i { transform: rotate(45deg); }

.acc-panel {
  height: 0;
  overflow: hidden;
}

.acc-panel__inner {
  padding: 0 1.3rem 1.25rem;
  color: var(--txt-2);
  font-size: .97rem;
  max-width: 72ch;
}

/* =========================================================== formularios == */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--txt-2);
}

.field label span { color: var(--red-hi); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--bg-800);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--txt);
  font-size: .96rem;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  appearance: none;
}

.field textarea { min-height: 130px; resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: var(--txt-3); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--bg-700);
  box-shadow: 0 0 0 3px rgba(202, 6, 13, .16);
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a1a8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 17px;
  padding-right: 2.6rem;
  cursor: pointer;
}

.field select option { background: var(--bg-800); color: var(--txt); }

.field--error input,
.field--error select,
.field--error textarea { border-color: var(--red); }

.field__error {
  display: none;
  font-size: .8rem;
  color: var(--red-hi);
}

.field--error .field__error { display: block; }

.form-note {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--txt-3);
  line-height: 1.5;
  min-width: 0;
  /* la nota incluye la dirección de correo: sin esto no se parte y
     ensancha el formulario en móvil */
  overflow-wrap: anywhere;
}

.form-note i { color: var(--red-hi); font-size: 1.1rem; flex: none; margin-top: .1rem; }

.form-alert {
  display: none;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(47, 208, 106, .12);
  border: 1px solid rgba(47, 208, 106, .32);
  color: #7bf0ab;
  font-size: .93rem;
}

.form-alert.is-visible { display: flex; }
.form-alert i { font-size: 1.35rem; flex: none; }

/* Checkbox / radio pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

/* width:0 es necesario: sin él hereda el ancho de .field input y desborda */
.pill input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.pill span {
  display: inline-block;
  padding: .5rem .95rem;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  font-size: .88rem;
  color: var(--txt-2);
  cursor: pointer;
  transition: all .25s var(--ease);
}

.pill span:hover { border-color: var(--red); color: var(--txt); }

.pill input:checked + span {
  background: var(--grad-red);
  border-color: transparent;
  color: #fff;
}

.pill input:focus-visible + span { outline: 2px solid var(--red-hi); outline-offset: 2px; }

/* ========================================================= calculadora == */
.calc {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
}

.calc__fields { display: grid; gap: 1.25rem; align-content: start; }

.calc__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .55rem;
}

.calc__row label {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--txt-2);
}

.calc__value {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--txt);
}

.calc__value small { font-size: .68em; color: var(--txt-2); }

/* Range nativo estilizado */
.calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: var(--bg-500);
  cursor: pointer;
}

.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--bg-800);
  box-shadow: 0 0 0 1px var(--red), 0 4px 12px rgba(0, 0, 0, .5);
  transition: transform .2s var(--ease);
}

.calc input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }

.calc input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--bg-800);
  box-shadow: 0 0 0 1px var(--red);
  cursor: pointer;
}

.calc__hint {
  display: flex;
  justify-content: space-between;
  font-size: .76rem;
  color: var(--txt-3);
  margin-top: .3rem;
}

.calc__result {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  border-radius: var(--radius);
  background:
    radial-gradient(130% 105% at 100% 0%, rgba(202, 6, 13, .34), rgba(117, 2, 8, .28) 42%, transparent 72%),
    var(--bg-700);
  border: 1px solid rgba(202, 6, 13, .28);
}

.calc__result-label {
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--txt-2);
}

.calc__amount {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--txt);
}

.calc__amount small {
  display: block;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-2);
  margin-top: .5rem;
}

.calc__breakdown {
  display: grid;
  gap: .55rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-2);
  font-size: .9rem;
}

.calc__breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--txt-2);
}

.calc__breakdown b { color: var(--txt); font-weight: 600; }

.calc__disclaimer {
  font-size: .78rem;
  color: var(--txt-3);
  line-height: 1.5;
}

/* ============================================================== pasos == */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 2.6rem;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red-hi);
  background-image: var(--grad-red-hi);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step::after {
  content: '';
  position: absolute;
  top: 1.35rem;
  left: 3.6rem;
  right: -1rem;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}

.step:last-child::after { display: none; }

@media (max-width: 700px) {
  .step::after { display: none; }
}

.step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.step p { color: var(--txt-2); font-size: .94rem; }

/* ============================================== bloque cta con imagen == */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  isolation: isolate;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,
    rgba(11, 10, 12, .96) 22%,
    rgba(11, 10, 12, .72) 52%,
    rgba(117, 2, 8, .55) 78%,
    rgba(202, 6, 13, .5) 100%);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2rem, 5vw, 3.6rem);
}

.cta-band__text { max-width: 54ch; }
.cta-band__text h2 { margin-bottom: .7rem; }
.cta-band__text p { color: var(--txt-2); }

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

/* ========================================================= data list == */
.spec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.1rem;
  background: var(--bg-700);
}

.spec i {
  font-size: 1.5rem;
  color: var(--red-hi);
  flex: none;
}

.spec__label {
  display: block;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--txt-3);
}

.spec__value {
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.3;
}

/* =========================================================== check list == */
.check-list { display: grid; gap: .75rem; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  color: var(--txt-2);
  font-size: .96rem;
}

.check-list i {
  color: var(--red-hi);
  font-size: 1.25rem;
  flex: none;
  margin-top: .05rem;
}

/* ================================================== swiper (overrides) == */
/* Por defecto el carrusel recorta: si no, el ancho de los slides se propaga
   como ancho mínimo del contenedor y desborda las rejillas. */
.swiper { overflow: hidden; }
.swiper-wrapper { align-items: stretch; }
.swiper-slide { height: auto; }

.slider-nav {
  display: flex;
  gap: .5rem;
}

.slider-btn {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--bg-700);
  color: var(--txt);
  font-size: 1.3rem;
  transition: all .28s var(--ease);
}

.slider-btn:hover:not(.swiper-button-disabled) {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.slider-btn.swiper-button-disabled {
  opacity: .35;
  cursor: not-allowed;
}

.swiper-pagination-bullet {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--line-2);
  opacity: 1;
  transition: background .3s var(--ease), width .3s var(--ease);
}

.swiper-pagination-bullet-active {
  background: var(--red);
  width: 34px;
}

/* Contenedor con recorte propio: dentro de él los slides pueden asomar
   (sombras, hover) porque quien recorta es la máscara, no el swiper. */
.slider-mask {
  overflow: hidden;
  padding-bottom: .4rem;
  margin-bottom: -.4rem;
}

.slider-mask .swiper { overflow: visible; }

/* Los hijos de una rejilla necesitan min-width:0 para poder encogerse;
   sin esto su ancho mínimo de contenido ensancha la columna. */
.calc > *,
.form-grid > * { min-width: 0; }
