/* =====================================================================
   Martec — Componentes añadidos
   Redes sociales del footer, banner y enlaces del Libro de Reclamaciones
   y conversación por WhatsApp.
   ===================================================================== */

/* =====================================================================
   ENLACES DE CONTACTO
   ===================================================================== */
.third-content__link,
.footer__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.third-content__link:hover,
.third-content__link:focus-visible,
.footer__link:hover,
.footer__link:focus-visible {
  color: var(--green-deep);
  border-bottom-color: var(--green-deep);
}

/* =====================================================================
   REDES SOCIALES (FOOTER)
   ===================================================================== */
.footer__social {
  display: flex;
  align-items: center;
  column-gap: 0.6rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.18s ease, border-color 0.18s ease,
    background 0.18s ease;
}

.footer__social-link img {
  width: 22px;
  height: 22px;
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
  background: var(--green-tint);
  border-color: var(--green);
  transform: translateY(-2px);
}

/* =====================================================================
   LIBRO DE RECLAMACIONES — ENLACE DEL FOOTER
   ===================================================================== */
.footer__black-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 10px;
}

.footer__black-link {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  font-size: 14px;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer__black-link img {
  width: 20px;
  height: 20px;
}

.footer__black-link:hover,
.footer__black-link:focus-visible {
  border-bottom-color: var(--green);
}

/* =====================================================================
   LIBRO DE RECLAMACIONES — BANNER
   ===================================================================== */
.reclamos-band {
  background: var(--green-tint);
  padding: 0 24px 80px;
}

.reclamos-band__inner {
  width: 70%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
  padding: 26px 32px;
  background: var(--white);
  border: 1px solid var(--green);
  border-radius: var(--radius-card);
}

.reclamos-band__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.reclamos-band__text {
  flex: 1 1 auto;
}

.reclamos-band__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 6px;
}

.reclamos-band__text p {
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}

.reclamos-band__button {
  flex: 0 0 auto;
  background: #000;
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 18px;
  padding: 14px 34px;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}

.reclamos-band__button:hover,
.reclamos-band__button:focus-visible {
  background: var(--green-deep);
  transform: translateY(-2px);
}

/* =====================================================================
   WHATSAPP — BOTÓN FLOTANTE Y PANEL DE CONVERSACIÓN
   ===================================================================== */
.wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: 14px;
}

.wa__panel {
  width: min(340px, calc(100vw - 48px));
  max-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transform: translateY(14px);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.wa__panel[hidden] {
  display: none;
}

.wa.is-open .wa__panel {
  transform: none;
  opacity: 1;
}

.wa__head {
  display: flex;
  align-items: center;
  column-gap: 0.65rem;
  padding: 14px 16px;
  background: var(--green);
}

.wa__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink);
}

.wa__avatar img {
  width: 20px;
  height: 20px;
}

.wa__head-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  line-height: 1.15;
  min-width: 0;
}

.wa__head-text strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.wa__head-text span {
  font-size: 12px;
  color: #fff;
}

.wa__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease;
}

.wa__close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.wa__close svg {
  width: 15px;
  height: 15px;
  fill: var(--ink);
}

.wa__body {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  padding: 16px;
  overflow-y: auto;
}

.wa__bubble {
  background: var(--gray);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
}

.wa__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.wa__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wa__topics button {
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.wa__topics button:hover {
  background: var(--green-tint);
}

.wa__topics button.is-active {
  background: var(--green);
}

.wa__input {
  width: 100%;
  border: 1px solid #000;
  border-radius: 8px;
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  padding: 10px 12px;
  resize: none;
}

.wa__input::placeholder {
  color: #666;
}

.wa__input:focus {
  outline: none;
  border-color: var(--green-deep);
  box-shadow: 0 0 0 2px rgba(72, 213, 151, 0.3);
}

.wa__error {
  font-size: 12px;
  color: #d64545;
  min-height: 15px;
  margin: 0;
}

.wa__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  background: #000;
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 18px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.wa__cta img {
  width: 20px;
  height: 20px;
}

.wa__cta:hover,
.wa__cta:focus-visible {
  background: var(--green-deep);
  transform: translateY(-1px);
}

.wa__legal {
  font-size: 11px;
  line-height: 1.45;
  color: #6b6b6b;
}

.wa__fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, background 0.18s ease;
}

.wa__fab:hover,
.wa__fab:focus-visible {
  background: var(--green-deep);
  transform: translateY(-2px);
}

.wa__fab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa__fab-icon img {
  width: 30px;
  height: 30px;
}

.wa__fab-close {
  display: none;
  align-items: center;
  justify-content: center;
}

.wa__fab-close svg {
  width: 24px;
  height: 24px;
  fill: var(--green);
}

.wa.is-open .wa__fab-icon {
  display: none;
}

.wa.is-open .wa__fab-close {
  display: flex;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1440px) {
  .reclamos-band__inner {
    width: 90%;
  }
}

@media (max-width: 1322px) {
  .reclamos-band__inner {
    width: 95%;
  }
}

@media (max-width: 981px) {
  .reclamos-band__inner {
    flex-wrap: wrap;
    row-gap: 1rem;
    justify-content: center;
    text-align: center;
  }

  .reclamos-band__text {
    order: 2;
    flex: 1 1 100%;
  }

  .reclamos-band__button {
    order: 3;
  }
}

@media (max-width: 665px) {
  .reclamos-band {
    padding: 0 20px 64px;
  }

  .reclamos-band__inner {
    width: 100%;
    padding: 22px 20px;
  }

  .reclamos-band__icon {
    width: 40px;
    height: 40px;
  }

  .reclamos-band__button {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  .footer__black {
    padding-bottom: 96px;
  }

  .wa {
    right: 16px;
    bottom: 16px;
  }

  .wa__fab {
    width: 54px;
    height: 54px;
  }

  .wa__fab-icon img {
    width: 27px;
    height: 27px;
  }
}
/* =====================================================================
   TOPBAR Y FOOTER COMPARTIDOS
   Usados por las páginas internas (Libro de Reclamaciones y
   Trabaja con nosotros).
   ===================================================================== */
.page-topbar {
  background: var(--white);
  box-shadow: var(--shadow-nav);
  position: sticky;
  top: 0;
  z-index: 40;
}

.page-topbar__inner {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
}

.page-topbar__brand img {
  height: 44px;
  width: auto;
}

.page-topbar__nav {
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
}

.page-topbar__nav a {
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-topbar__nav a:hover,
.page-topbar__nav a:focus-visible {
  color: var(--green-deep);
  border-bottom-color: var(--green-deep);
}

.page-topbar__nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
}

.page-topbar__nav-cta:hover,
.page-topbar__nav-cta:focus-visible {
  background: var(--green-deep);
  border-bottom-color: transparent;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--gray);
}

.site-footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 0;
}

.site-footer__logo {
  height: 46px;
  width: auto;
}

.site-footer__data {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  font-size: 15px;
}

.site-footer__black {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 20px 16px 24px;
}

.site-footer__black span {
  font-size: 14px;
}

@media (max-width: 1322px) {
  .page-topbar__inner,
  .site-footer__main {
    width: 92%;
  }
}

@media (max-width: 665px) {
  .page-topbar__inner {
    height: 74px;
  }

  .page-topbar__brand img {
    height: 34px;
  }

  .page-topbar__nav {
    column-gap: 1rem;
  }

  .page-topbar__nav a {
    font-size: 14px;
  }

  .page-topbar__nav a:not(.page-topbar__nav-cta) {
    display: none;
  }

  .site-footer__main {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__data {
    flex-direction: column;
  }

  .site-footer__black {
    padding-bottom: 96px;
  }
}
/* =====================================================================
   TRABAJA CON NOSOTROS — BANNER DEL INDEX
   ===================================================================== */
.empleo-band {
  background: var(--gray);
  padding: 0 24px 80px;
}

.empleo-band__inner {
  width: 70%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
  padding: 28px 32px;
  background: var(--ink);
  border-radius: var(--radius-card);
}

.empleo-band__icon {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
}

.empleo-band__text {
  flex: 1 1 auto;
}

.empleo-band__title {
  color: var(--white);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 8px;
}

.empleo-band__text p {
  font-size: 15px;
  line-height: 1.5;
  color: #cfcfcf;
}

.empleo-band__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.empleo-band__tag {
  background: var(--green);
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
}

.empleo-band__button {
  flex: 0 0 auto;
  background: var(--green);
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: 600;
  padding: 14px 34px;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}

.empleo-band__button:hover,
.empleo-band__button:focus-visible {
  background: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 1440px) {
  .empleo-band__inner {
    width: 90%;
  }
}

@media (max-width: 1322px) {
  .empleo-band__inner {
    width: 95%;
  }
}

@media (max-width: 981px) {
  .empleo-band__inner {
    flex-wrap: wrap;
    row-gap: 1rem;
    justify-content: center;
    text-align: center;
  }

  .empleo-band__icon {
    order: 1;
  }

  .empleo-band__text {
    order: 2;
    flex: 1 1 100%;
  }

  .empleo-band__tags {
    justify-content: center;
  }

  .empleo-band__button {
    order: 3;
  }
}

@media (max-width: 665px) {
  .empleo-band {
    padding: 0 20px 64px;
  }

  .empleo-band__inner {
    width: 100%;
    padding: 24px 20px;
  }

  .empleo-band__icon {
    width: 42px;
    height: 42px;
  }

  .empleo-band__button {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
}
