/*
 * Calzados Sonia: footer refinado (actualización sobre el proyecto 23).
 * Fuente única para el pie principal y los créditos de «Quiénes somos».
 * Mantiene la identidad marino / rosa y la firma TecMaker celeste neón.
 */

/* Distribución del footer principal. */
#contacto {
  background: #0c1b37;
  color: #fff;
}
#contacto .footer-main {
  box-sizing: border-box;
  width: 100%;
  max-width: 1220px;
  min-height: 0;
  margin: 0 auto;
  padding: 38px 28px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, .67fr) minmax(0, 1.19fr) minmax(0, 1.07fr);
  align-items: start;
  column-gap: clamp(18px, 2.4vw, 35px);
  row-gap: 20px;
}
#contacto .footer-brand { min-width: 0; }
#contacto .footer-brand > a { display: inline-flex; border-radius: 4px; }
#contacto .footer-brand img {
  width: min(100%, 256px);
  height: auto;
  margin: 0;
  object-fit: contain;
}
#contacto .footer-brand .tagline {
  width: min(100%, 256px);
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}
#contacto .footer-brand .brand-description {
  max-width: 31ch;
  margin-top: 13px;
  color: #d7deea;
  font-size: 13px;
  line-height: 1.55;
}
#contacto .footer-column,
#contacto .footer-column.categories,
#contacto .footer-column.information,
#contacto .footer-column.footer-contact {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
#contacto .footer-column h2 {
  position: relative;
  margin: 4px 0 17px;
  padding: 0 0 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .01em;
}
#contacto .footer-column h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: #f38ab5;
}
#contacto .footer-column ul { display: grid; gap: 9px; }
#contacto .footer-column li {
  min-width: 0;
  font-size: 13px;
  line-height: 1.4;
}
#contacto .footer-column a,
#contacto .footer-column button { color: #e1e7f1; line-height: 1.4; }
#contacto .footer-column button { cursor: pointer; }
#contacto .footer-column a:hover,
#contacto .footer-column button:hover { color: #ffadd0; }
#contacto .footer-column a:focus-visible,
#contacto .footer-column button:focus-visible,
#contacto .footer-brand a:focus-visible {
  outline: 2px solid #f8a9ca;
  outline-offset: 4px;
  border-radius: 3px;
}
#contacto .footer-coming-soon {
  display: flex;
  align-items: center;
  gap: 5px 7px;
  flex-wrap: wrap;
}
#contacto .footer-coming-soon > span { color: #e1e7f1; }
#contacto .footer-coming-soon small {
  padding: 2px 6px;
  border-color: #ad6483;
  color: #f3b4d0;
  font-size: 9px;
  font-weight: 600;
}
/* Contacto: rescate de la versión 19, limpio, blanco y en columna.
   Los enlaces llevan a su acción específica dentro de «Encuéntranos». */
#contacto .footer-contact address {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
  margin: 0;
  font-style: normal;
}
#contacto .footer-contact address > a.footer-contact-item,
#contacto .footer-contact address > a.footer-contact-item:visited {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 9px;
  min-height: 30px;
  width: 100%;
  margin: 0;
  padding: 1px 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
  text-decoration: none;
  white-space: normal;
}
#contacto .footer-contact address > a.footer-contact-item .icon,
#contacto .footer-contact address > a.footer-contact-item .icon * {
  color: currentColor;
}
#contacto .footer-contact address > a.footer-contact-item .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
}
#contacto .footer-contact address > a.footer-contact-item span {
  min-width: 0;
  overflow-wrap: break-word;
}
#contacto .footer-contact address > a.footer-contact-item:hover {
  color: #ffd1e4 !important;
}
#contacto .footer-contact address > a.footer-contact-item:focus-visible {
  outline: 2px solid #ffc1d9;
  outline-offset: 4px;
  border-radius: 3px;
}
/* Los destinos quedan completos a la vista después del desplazamiento suave. */
#sonia-whatsapp,
#sonia-instagram,
#sonia-ubicacion {
  scroll-margin-top: 34px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Cierre común a ambas páginas: sin tarjeta, solo una línea tranquila de separación. */
#contacto .footer-bottom,
.sonia-about-footer .footer-bottom {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(100% - 56px);
  max-width: 1164px;
  min-height: 0;
  gap: 5px;
  margin: 0 auto;
  padding: 17px 16px 25px;
  border: 0;
  border-top: 1px solid rgba(211, 219, 237, .23);
  border-radius: 0;
  background: transparent;
  color: #e1e7f1;
  text-align: center;
  font-family: inherit;
}
#contacto .footer-bottom .footer-bottom-season,
.sonia-about-footer .footer-bottom .footer-bottom-season {
  display: inline-flex;
  width: auto;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: #f5aacb;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1.5;
  white-space: nowrap;
}
#contacto .footer-season-flower {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}
.sonia-about-footer .footer-season-flower-text {
  color: #f4aacb;
  font-size: 20px;
  line-height: 1;
}
#contacto .footer-bottom-rule,
.sonia-about-footer .footer-bottom-rule {
  display: block;
  width: 70px;
  height: 1px;
  margin: 8px 0 6px;
  background: rgba(232, 239, 252, .24);
}
#contacto .footer-bottom .footer-copyright,
#contacto .footer-bottom .footer-credit,
.sonia-about-footer .footer-bottom .footer-copyright,
.sonia-about-footer .footer-bottom .footer-credit {
  width: auto;
  max-width: 100%;
  margin: 0;
  color: #cdd7e6;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: normal;
}
#contacto .footer-signature,
.sonia-about-footer .footer-signature {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin-top: 7px;
}
#contacto .footer-signature .footer-tecmaker-link,
.sonia-about-footer .footer-signature .footer-tecmaker-link {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 2px 6px;
  border-radius: 5px;
  color: #00e5ff;
  background: transparent;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  text-shadow: 0 0 9px rgba(0,229,255,.30);
  text-decoration: none;
  transition: color .18s, text-shadow .18s;
}
#contacto .footer-signature .footer-tecmaker-link:hover,
.sonia-about-footer .footer-signature .footer-tecmaker-link:hover {
  color: #8cf6ff;
  text-shadow: 0 0 12px rgba(0,229,255,.48);
}
#contacto .footer-signature .footer-tecmaker-link:focus-visible,
.sonia-about-footer .footer-signature .footer-tecmaker-link:focus-visible {
  outline: 2px solid #00e5ff;
  outline-offset: 3px;
}
#contacto .footer-signature .footer-tecmaker-caption,
.sonia-about-footer .footer-signature .footer-tecmaker-caption {
  margin: 0;
  color: #cdd7e6;
  font: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

/* «Quiénes somos» mantiene sus enlaces y utiliza el mismo cierre. */
.sonia-about-footer {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #0c1b37;
  color: #fff;
}
.sonia-about-footer .sonia-about-footer-top {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: calc(100% - 56px);
  max-width: 1164px;
  margin: 0 auto;
  padding: 30px 0 24px;
}
.sonia-about-footer .sonia-about-footer-top img { display: block; width: 235px; height: auto; }
.sonia-about-footer .sonia-about-footer-links { display: flex; align-items: center; gap: 25px; }
.sonia-about-footer .sonia-about-footer-links a { color: #e1e7f1; font-size: 13px; text-decoration: none; }
.sonia-about-footer .sonia-about-footer-links a:hover { color: #ffadd0; }
.sonia-about-footer .sonia-about-footer-links a:focus-visible,
.sonia-about-footer .sonia-about-footer-top > a:focus-visible { outline: 2px solid #f8a9ca; outline-offset: 4px; }

@media (max-width: 1000px) {
  #contacto .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 27px 33px;
    max-width: 840px;
    padding: 34px 30px 30px;
  }
  #contacto .footer-brand { grid-column: 1 / -1; }
  #contacto .footer-brand .brand-description { max-width: 60ch; }
  #contacto .footer-main > .footer-column.footer-contact {
    grid-column: auto;
    border-top: 0 !important;
    padding-top: 0 !important;
  }
}
@media (max-width: 700px) {
  #contacto .footer-main {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.55fr);
    column-gap: 14px;
    row-gap: 0;
    padding: 27px 20px 24px;
  }
  #contacto .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 23px;
    border-bottom: 1px solid rgba(218, 226, 242, .19);
    text-align: center;
  }
  #contacto .footer-brand > a { justify-content: center; }
  #contacto .footer-brand img { width: min(100%, 254px); }
  #contacto .footer-brand .tagline { margin: 0 auto; }
  #contacto .footer-brand .brand-description {
    max-width: 40ch;
    margin: 9px auto 0;
    font-size: 12px;
    line-height: 1.5;
  }
  #contacto .footer-column.categories,
  #contacto .footer-column.information {
    grid-column: auto;
    border: 0 !important;
    padding: 20px 0 22px !important;
    margin: 0 !important;
  }
  #contacto .footer-column h2 { margin: 0 0 15px; padding-bottom: 10px; font-size: 14px; }
  #contacto .footer-column ul { gap: 11px; }
  #contacto .footer-column li { font-size: 12.5px; line-height: 1.35; }
  #contacto .footer-main > .footer-column.footer-contact {
    grid-column: 1 / -1;
    border: 0 !important;
    border-top: 1px solid rgba(218, 226, 242, .19) !important;
    padding: 19px 0 0 !important;
    margin: 0 !important;
  }
  /* En celulares siguen apilados, con tipografía legible y blanca. */
  #contacto .footer-contact address { gap: 11px; }
  #contacto .footer-contact address > a.footer-contact-item { min-height: 34px; font-size: 13px; }
  #contacto .footer-bottom,
  .sonia-about-footer .footer-bottom {
    width: calc(100% - 40px);
    padding: 18px 8px 23px;
    gap: 5px;
  }
  #contacto .footer-bottom .footer-bottom-season,
  .sonia-about-footer .footer-bottom .footer-bottom-season { font-size: 13px; }
  #contacto .footer-bottom .footer-copyright,
  #contacto .footer-bottom .footer-credit,
  .sonia-about-footer .footer-bottom .footer-copyright,
  .sonia-about-footer .footer-bottom .footer-credit { font-size: 11.5px; }
  .sonia-about-footer .sonia-about-footer-top {
    width: calc(100% - 40px);
    flex-direction: column;
    gap: 17px;
    padding: 26px 0 22px;
  }
  .sonia-about-footer .sonia-about-footer-top img { width: 238px; }
  .sonia-about-footer .sonia-about-footer-links { gap: 23px; justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 360px) {
  #contacto .footer-main { padding-inline: 15px; column-gap: 10px; }
  #contacto .footer-column li { font-size: 12px; }
  #contacto .footer-coming-soon small { font-size: 8.5px; }
  #contacto .footer-bottom,
  .sonia-about-footer .footer-bottom { width: calc(100% - 30px); }
  #contacto .footer-bottom .footer-copyright,
  #contacto .footer-bottom .footer-credit,
  .sonia-about-footer .footer-bottom .footer-copyright,
  .sonia-about-footer .footer-bottom .footer-credit { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  #contacto .footer-signature .footer-tecmaker-link,
  .sonia-about-footer .footer-signature .footer-tecmaker-link { transition: none; }
}
