.footer {
  background: var(--header-bg);
  color: var(--text-secondary);
  padding: 3rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Línea decorativa superior */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #b1cc74 20%,
    #b1cc74 80%,
    transparent 100%
  );
  opacity: 0.3;
}

/* ============================================================
   CONTENEDOR INTERNO
   ============================================================ */

.footer-inner {
  margin: 0 auto;

  position: relative;
  z-index: 1;
}

/* ============================================================
   COLUMNAS DEL FOOTER
   ============================================================ */

.footer-columns {
  justify-content: space-between;
  align-items: flex-start;

  padding-bottom: 1.8rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 5rem;

 
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ============================================================
   COLUMNA 1 - LOGO
   ============================================================ */

.footer-column--logo {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column--logo .logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-column--logo .logo-img img {
  width: 100%;
  display: block;
}

.footer-column--logo .logo-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.5px;
  max-width: 280px;
  line-height: 1.5;
  text-align: center;
  margin: 1rem;
}

/* ============================================================
   COLUMNAS DE ENLACES
   ============================================================ */

.footer-column h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-column ul li {
  line-height: 1.4;
}

.footer-column ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-column ul li a::before {
  content: "›";
  color: var(--text-secondary);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.footer-column ul li a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

.footer-column ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   COLUMNA DE CONTACTO
   ============================================================ */

.footer-column--contacto address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-column--contacto address p {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-column--contacto address p .icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  margin-top: 0.1rem;
}

.footer-column--contacto .contact-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column--contacto .contact-link:hover {
  color: var(--text-primary);
}

/* ============================================================
   REDES SOCIALES
   ============================================================ */
.footer-social {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(132, 160, 96, 0.08);
  border: 1px solid rgba(132, 160, 96, 0.25);
  border-radius: 50%;

  transition: 0.3s ease;
}

.footer-social svg {
  width: 30px;
  height: 30px;
  fill: #8fa96d;
}

.footer-social a:hover {
  background: #8fa96d;
  transform: translateY(-3px);
}

.footer-social a:hover svg {
  fill: #101810;
}

/* ============================================================
   COPYRIGHT
   ============================================================ */

.footer-copyright {
 
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
 
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablets */
@media (max-width: 1024px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-column--logo {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }

  .footer-column--logo .logo-subtitle {
    max-width: 100%;
  }

  .footer-column h3::after {
    left: 0;
  }

  .footer-column ul li a {
    font-size: 0.85rem;
  }
}

/* Móviles */
@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 0 1rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-column--logo {
    text-align: center;
    align-items: center;
  }

  .footer-column--logo .logo-text {
    font-size: 1.8rem;
    justify-content: center;
  }

  .footer-column--logo .logo-subtitle {
    font-size: 0.85rem;
    max-width: 100%;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
  }

  .footer-column ul {
    align-items: center;
  }

  .footer-column ul li a {
    font-size: 0.85rem;
  }

  .footer-column ul li a::before {
    display: none;
  }

  .footer-column ul li a:hover {
    transform: none;
  }

  .footer-column--contacto address {
    align-items: center;
  }

  .footer-column--contacto address p {
    justify-content: center;
  }

  .footer-social {
    gap: 1rem;
    padding: 1rem 0;
    justify-content: center;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .footer-copyright {
    font-size: 0.7rem;
    line-height: 1.6;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .footer {
    padding: 2rem 0 0.8rem;
  }

  .footer-inner {
    padding: 0 1rem;
  }

  .footer-columns {
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer-column--logo .logo-text {
    font-size: 1.5rem;
    gap: 0.4rem;
    flex-direction: column;
  }

  .footer-column--logo .logo-text span {
    font-size: 0.65rem;
  }

  .footer-column--logo .logo-subtitle {
    font-size: 0.75rem;
  }

  .footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
  }

  .footer-column ul {
    gap: 0.4rem;
  }

  .footer-column ul li a {
    font-size: 0.8rem;
  }

  .footer-column--contacto address p {
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .footer-column--contacto address p .icon {
    width: 16px;
    font-size: 0.85rem;
  }

  .footer-social {
    gap: 0.8rem;
    padding: 0.8rem 0;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .footer-copyright {
    font-size: 0.6rem;
  }
}
