/* File: /public/assets/css/pages/footer-informacion-garantias.css */

html,
body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.footer-informacion-garantias-main {
  flex: 1 0 auto;
  min-height: calc(100vh - 220px);
}

.site-footer {
  margin-top: auto;
}

.footer-informacion-garantias-section {
  padding: 4rem 0 6rem;
}

.footer-informacion-garantias-card {
  padding: 2.6rem;
  background-color: var(--color-tarjeta);
  border: 1px solid var(--color-borde-1);
  border-radius: var(--border-radius-12);
  box-shadow: var(--sombra-base);
}

.footer-informacion-garantias-priority {
  margin: 0 0 2.2rem 0;
  padding: 1rem 1.3rem;
  background-color: #fffbeb;
  border: 1px solid #f4e7b5;
  border-left: 4px solid var(--color-advertencia);
  border-radius: var(--border-radius-10);
  font-family: var(--fuente-principal);
  font-size: var(--texto-12);
  font-weight: 800;
  line-height: 1.5;
  color: #7c5a03;
  text-transform: uppercase;
}

.footer-informacion-garantias-header {
  padding-bottom: 2.4rem;
  margin-bottom: 2.4rem;
  border-bottom: 1px solid var(--color-borde-1);
}

.footer-informacion-garantias-title {
  margin: 0 0 1.6rem 0;
  font-family: var(--fuente-secundaria);
  font-size: var(--texto-32);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-texto-principal);
}

.footer-informacion-garantias-intro {
  max-width: 980px;
}

.footer-informacion-garantias-intro p,
.footer-informacion-garantias-block p {
  margin: 0;
  font-family: var(--fuente-principal);
  font-size: var(--texto-16);
  line-height: 1.7;
  color: var(--color-texto-secundario);
}

.footer-informacion-garantias-intro p + p,
.footer-informacion-garantias-block p + p {
  margin-top: 1.2rem;
}

.footer-informacion-garantias-block {
  padding-bottom: 2.4rem;
  margin-bottom: 2.4rem;
  border-bottom: 1px solid var(--color-borde-1);
}

.footer-informacion-garantias-block:last-of-type {
  margin-bottom: 0;
  border-bottom: none;
}

.footer-informacion-garantias-subtitle {
  margin: 0 0 1.2rem 0;
  font-family: var(--fuente-secundaria);
  font-size: var(--texto-24);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-acento);
}

.footer-informacion-garantias-list {
  margin: 1.2rem 0;
  padding-left: 2rem;
}

.footer-informacion-garantias-list li {
  margin-bottom: 0.7rem;
  font-family: var(--fuente-principal);
  font-size: var(--texto-16);
  line-height: 1.6;
  color: var(--color-texto-secundario);
}

.footer-informacion-garantias-list li:last-child {
  margin-bottom: 0;
}

.footer-informacion-garantias-list li::marker {
  color: var(--color-acento);
}

.footer-informacion-garantias-contact {
  margin-top: 1.4rem;
  padding: 1.6rem 1.8rem;
  background-color: #f4f7f6;
  border-left: 4px solid var(--color-acento);
  border-radius: var(--border-radius-10);
}

.footer-informacion-garantias-contact p {
  margin: 0;
  color: var(--color-texto-principal);
}

.footer-informacion-garantias-contact a {
  color: var(--color-acento);
  text-decoration: none;
  font-weight: 600;
}

.footer-informacion-garantias-contact a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-informacion-garantias-section {
    padding: 3rem 0 4rem;
  }

  .footer-informacion-garantias-card {
    padding: 1.6rem;
  }

  .footer-informacion-garantias-title {
    font-size: var(--texto-24);
  }

  .footer-informacion-garantias-subtitle {
    font-size: var(--texto-20);
  }

  .footer-informacion-garantias-priority,
  .footer-informacion-garantias-intro p,
  .footer-informacion-garantias-block p,
  .footer-informacion-garantias-list li {
    font-size: var(--texto-14);
  }
}

@media (max-width: 480px) {
  .footer-informacion-garantias-card {
    padding: 1.3rem;
  }

  .footer-informacion-garantias-header,
  .footer-informacion-garantias-block {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }

  .footer-informacion-garantias-list {
    padding-left: 1.8rem;
  }

  .footer-informacion-garantias-contact {
    padding: 1.3rem;
  }
}

.footer-informacion-garantias-heading {
  margin: 1.8rem 0 0.7rem;
  font-family: var(--fuente-secundaria);
  font-size: var(--texto-18);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-texto-principal);
}

.footer-informacion-garantias-table {
  width: 100%;
  margin: 1.4rem 0 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--color-borde-1);
  border-radius: var(--border-radius-10);
  font-family: var(--fuente-principal);
  font-size: var(--texto-14);
}

.footer-informacion-garantias-table th,
.footer-informacion-garantias-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--color-borde-1);
  vertical-align: top;
  line-height: 1.6;
}

.footer-informacion-garantias-table th {
  background-color: var(--color-acento);
  color: #fff;
  font-weight: 800;
  text-align: left;
}

.footer-informacion-garantias-table td {
  color: var(--color-texto-secundario);
}

.footer-informacion-garantias-table tr:last-child td {
  border-bottom: none;
}

.footer-informacion-garantias-table td:first-child {
  width: 24rem;
  background-color: #f4f7f6;
  color: var(--color-texto-principal);
  font-weight: 700;
}

.footer-informacion-garantias-table a {
  color: var(--color-acento);
  text-decoration: none;
  font-weight: 600;
  word-break: break-word;
}

.footer-informacion-garantias-table a:hover {
  text-decoration: underline;
}

.footer-informacion-garantias-list--ordered {
  list-style-type: decimal;
}

.footer-informacion-garantias-contact p + p {
  margin-top: 1.1rem;
}

@media (max-width: 768px) {
  .footer-informacion-garantias-heading {
    font-size: var(--texto-16);
  }

  .footer-informacion-garantias-table,
  .footer-informacion-garantias-table tbody,
  .footer-informacion-garantias-table tr,
  .footer-informacion-garantias-table th,
  .footer-informacion-garantias-table td {
    display: block;
    width: 100%;
  }

  .footer-informacion-garantias-table tr:first-child {
    display: none;
  }

  .footer-informacion-garantias-table tr {
    border-bottom: 1px solid var(--color-borde-1);
  }

  .footer-informacion-garantias-table tr:last-child {
    border-bottom: none;
  }

  .footer-informacion-garantias-table td {
    border-bottom: none;
  }

  .footer-informacion-garantias-table td:first-child {
    width: 100%;
    padding-bottom: 0.35rem;
  }

  .footer-informacion-garantias-table td:last-child {
    padding-top: 0.35rem;
  }
}
