/* ============================================================
   MEYRA — Footer: redes sociales, footer, modal de idioma
   ============================================================ */

.social-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0 48px;
}
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 36px 28px;
  border: 1px solid rgba(74, 46, 31, 0.1);
  border-radius: 8px;
  background: var(--c-cream-100);
  color: var(--c-coffee-700);
}
.social-card:first-child { background: #F5DCC4; }
.social-card:last-child  { background: #D3E3EB; }
.social-card svg { color: var(--c-coffee-600); }
.social-card__handle {
  font-family: var(--f-serif);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 600;
  margin: 0;
  color: var(--c-coffee-800);
  line-height: 1.3;
}
.social-card__desc {
  font-size: 16px;
  color: var(--c-coffee-600);
  margin: 0;
  line-height: 1.65;
  max-width: 28ch;
}
.social-card .btn { margin-top: 0; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.ig-grid li {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}
.ig-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.ig-grid li:hover img { transform: scale(1.05); }
.ig-grid .gallery__caption {
  opacity: 0;
  font-size: 12px;
  padding: 8px;
  background: linear-gradient(180deg, transparent 50%, rgba(26,15,7,0.48) 100%);
}
.ig-grid li:hover .gallery__caption { opacity: 1; }

.site-footer {
  background: var(--c-coffee-950);
  color: var(--c-cream-200);
  padding: 48px 0 28px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.site-footer__brand {
  font-family: var(--f-serif);
  font-size: 28px;
  letter-spacing: 0.22em;
  color: var(--c-cream-50);
  margin-bottom: 14px;
}
.site-footer__tag {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.7;
}
.site-footer__h {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-cream-50);
  margin-bottom: 14px;
  font-weight: 600;
}
.site-footer__grid a,
.site-footer__grid p {
  display: block;
  font-size: 13px;
  line-height: 1.9;
  opacity: 0.75;
  color: inherit;
  transition: opacity .15s;
}
.site-footer__grid a:hover { opacity: 1; }
.site-footer__grid .muted { opacity: 0.72; }
.site-footer__legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,236,216,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.72;
}
.site-footer__legal .heart { color: var(--c-coral); }

/* ── Modal de idioma ── */
.lang-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,8,4,0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: fadeIn .3s ease-out;
}
.lang-modal[hidden] { display: none; }
.lang-modal__card {
  background: var(--c-paper);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  max-width: 380px;
  width: 88%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: scaleIn .3s cubic-bezier(.2,.7,.3,1);
}
.lang-modal__logo {
  width: 140px;
  margin: 0 auto 20px;
}
.lang-modal__eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-coffee-600);
  margin-bottom: 8px;
}
.lang-modal__title {
  font-family: var(--f-serif);
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--c-coffee-900);
  line-height: 1.3;
}
.lang-modal__sub {
  display: block;
  font-size: 16px;
  color: var(--c-coffee-600);
  font-style: italic;
  margin-top: 4px;
}
.lang-modal__buttons {
  display: flex;
  gap: 12px;
}
.lang-modal__buttons .btn { flex: 1; justify-content: center; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
