/* =========================================================================
   Carpeta Estructural Semántica: footer_
   ========================================================================= */

.section_footer {
  background: var(--c-card-dark);
  border-top: 1px solid var(--c-hairline);
}

.footer_inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;             /* 40px */
}

/* ─── Brand block ─── */
.footer_brand {
  max-width: 22.5rem;      /* 360px */
}

.footer_wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;            /* 12px */
}

.footer_logo-img {
  height: 8rem;            /* 128px — doubled */
  width: auto;
  display: block;
}

.footer_diamond {
  display: inline-block;
  width: 1.125rem;         /* 18px */
  height: 1.125rem;
  border-radius: 2px;
  background: var(--c-celeste);
  transform: rotate(45deg);
  flex: none;
}

.footer_wordmark-text {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.25rem;      /* 20px */
  letter-spacing: 0.06em;
  color: var(--c-ghost);
}

.footer_wordmark-accent {
  color: var(--c-celeste);
}

.footer_tagline {
  font-family: var(--font-primary);
  font-size: 0.9375rem;    /* 15px */
  line-height: 1.65;
  color: var(--c-atlantic-sky);
  margin: 1.125rem 0 0;
}

.footer_location {
  display: flex;
  align-items: center;
  gap: 0.5rem;             /* 8px */
  font-family: var(--font-mono);
  font-size: 0.8125rem;    /* 13px */
  letter-spacing: 0.08em;
  color: var(--c-atlantic-sky);
  margin-top: 1.125rem;
}

.footer_location-icon {
  width: 1rem;             /* 16px */
  height: 1rem;
  flex: none;
  fill: none;
  stroke: var(--c-celeste);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer_subline {
  font-family: var(--font-mono);
  font-size: 0.75rem;      /* Excepción matemática Client-First */
  letter-spacing: 0.14em;
  color: var(--c-shadow-grey);
  margin-top: 1.125rem;
}

/* ─── Social row ─── */
.footer_social {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;               /* 16px */
  margin-top: 1.125rem;
}

.footer_social-link {
  display: inline-flex;
  color: var(--c-white);
  transition: opacity 0.25s ease;
  opacity: 0.85;
}

.footer_social-link svg {
  width: 1.05rem;          /* ~17px */
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer_social-link:hover { opacity: 1; }

.footer_social-link:focus-visible {
  outline: 2px solid var(--c-celeste);
  outline-offset: 3px;
}

/* ─── Link columns ─── */
.footer_cols {
  display: flex;
  gap: 4rem;               /* 64px */
  flex-wrap: wrap;
}

.footer_col {
  min-width: 6.25rem;      /* 100px */
}

.footer_col-head {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--c-atlantic-sky);
}

.footer_col-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1rem;
}

.footer_col-link,
.footer_col-btn {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--c-ghost-grey);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: color 0.2s ease;
}

.footer_col-link:hover,
.footer_col-btn:hover {
  color: var(--c-ghost);
}

/* ─── Bottom bar — sits inside container-large, aligned to content ─── */
.footer_bottom-bar {
  border-top: 1px solid rgba(216,216,211,0.06);
  margin-top: 3rem;        /* 48px */
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

/* Remove double-padding: padding-section-medium supplies top only for footer */
.section_footer > .padding-global.padding-section-medium {
  padding-bottom: 0;
}

.footer_bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer_bottom-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;      /* Excepción matemática Client-First */
  letter-spacing: 0.14em;
  color: var(--c-shadow-grey);
}

@media (max-width: 900px) {
  .footer_cols {
    gap: 2.5rem;
  }
  .footer_bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}
