/*------------------------------------------------------*/
/*
/*   FOOTER
/*
/*------------------------------------------------------*/

  /* ========================================
     CTA SECTION
  ======================================== */
  .cta-section {
    position: relative;
    padding: 160px 24px;
    background-color: var(--color-dark);
    overflow: hidden;
    text-align: center;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--color-brand));
  }

  .cta-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .cta-eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-brand-light);
    margin-bottom: 40px;
    font-weight: 500;
  }

  .cta-title {
    font-family: var(--font-titles);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.05;
    color: #f5f1e8;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
  }

  .cta-title .highlight {
    font-style: italic;
    color: var(--color-brand-light);
    font-weight: 400;
  }

  .cta-description {
    font-size: 1.05rem;
    color: #a8a29a;
    max-width: 620px;
    margin: 0 auto 56px;
    font-weight: 300;
    line-height: 1.7;
  }

  .cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 42px;
  background-color: transparent;
  color: #f5f1e8;
  border: 1px solid var(--color-brand-light);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-main);
  cursor: pointer;
  overflow: hidden; /* ← Clave: contiene el pseudo-elemento */
  z-index: 1;
  transition: color 0.4s ease 0.1s; /* El color cambia un poco después */
}

/* El "rectángulo" que sube desde abajo */
.cta-button::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background-color: var(--color-brand-light);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1; /* Detrás del texto */
}

/* Al hacer hover: el rectángulo "sube" */
.cta-button:hover::before {
  transform: scaleY(1);
}

/* Al hacer hover: el texto cambia de color */
.cta-button:hover {
  color: #0a0a0a;
}

/* Aseguramos que el contenido quede por encima del pseudo-elemento */
.cta-button > * {
  position: relative;
  z-index: 1;
}

/* Animación de la flecha */
.cta-button .arrow {
  display: inline-flex;
  transition: transform 0.4s ease;
}

.cta-button:hover .arrow {
  transform: translateX(6px);
}

/* Accesibilidad */
.cta-button:focus-visible {
  outline: 2px solid var(--color-brand-light);
  outline-offset: 4px;
}


/*------------------------------------------------------*/
/*
/*   FOOTER
/*
/*------------------------------------------------------*/

.footer {
  background-color: #050505;
  border-top: 1px solid #1a1a1a;
  width: 100%;
}

.footer-container {
  padding: 5rem clamp(1rem, 5vw, 4rem);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* ========================================
   FOOTER TOP - FLEXBOX
======================================== */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid #1a1a1a;
}

/* Primera columna: izquierda */
.footer-brand {
  flex: 2;
  text-align: left;
  min-width: 0;
}

/* Wrapper que agrupa las dos columnas de la derecha */
.footer-columns-wrapper {
  display: flex;
  gap: 60px;
  flex: 1;
  justify-content: flex-end;
}

.footer-column {
  text-align: right;
  min-width: 0;
}

.footer-column .footer-links,
.footer-column .footer-col {
  align-items: flex-end;
}

/* ========================================
   ELEMENTOS DEL FOOTER
======================================== */
.footer-brand-name {
  font-family: var(--font-titles);
  font-size: 1.75rem;
  font-weight: 400;
  color: #f5f1e8;
  margin: 0 0 20px 0;
  letter-spacing: 0.02em;
}

.footer-brand-description {
  font-size: 0.9rem;
  color: #a09b93;
  max-width: 340px;
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
}

.footer-column-title {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-brand-light);
   margin-bottom: 16px;
  font-weight: 500;
}

.footer-links,
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 4px; /* Reducir de 14px a 4px - label y link más juntos */
  margin-bottom: 20px; /* Añadir espacio entre bloques */
}
/* Quitar margin-bottom del último bloque */
.footer-col:last-child {
  margin-bottom: 0;
}

.footer-label {
  font-size: 0.75rem;
  color: #a09b93;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  display: block;
}

/* Ajustar el link */
.footer-links a,
.footer-col a {
  color: #a09b93;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 300;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #f5f1e8;
  transform: translateX(-4px);
}

/* ========================================
   FOOTER BOTTOM
======================================== */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #a09b93;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin: 0;
}

.footer-signature {
  font-size: 0.75rem;
  color: #a09b93;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
}


/* ========================================
   RESPONSIVE - MÓVILES (≤ 640px)
======================================== */
@media (max-width: 640px) {

  
  .footer-container {
    padding: 3rem 1.25rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
    padding-bottom: 40px;
  }

  .footer-columns-wrapper {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .footer-column {
    text-align: center;
    width: 100%;
  }

  .footer-column .footer-links,
  .footer-column .footer-col {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding-top: 30px;
  }

    .footer-brand {
    flex: 1 1 100%;
    text-align: center;
    margin: 0 auto;
    max-width: 500px;
  }

  .footer-brand-description {
    margin: 0 auto;
  }
}