/* ============================================================
   Variedades Dianery — Zona inferior
   Cierre de campaña · Footer · Contacto · Legal · Chat flotante
   ============================================================ */

/* ---------- Cierre de campaña ---------- */
.closing {
  text-align: center;
  padding: 90px 24px 96px;
  background:
    radial-gradient(120% 140% at 50% 0%, var(--cream-2), var(--cream) 70%);
  border-top: 1px solid var(--line);
}
.closing .kicker { display: block; margin-bottom: 18px; }
.closing h2 {
  font-family: var(--font-serif);
  font-weight: 600; font-style: italic;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.12; margin: 0 auto; max-width: 16ch;
  letter-spacing: 0.005em;
}
.closing .hashtag {
  display: inline-block; margin-top: 26px;
  font-family: var(--font-sans); font-weight: 700;
  text-transform: none; letter-spacing: 0.02em;
  font-size: clamp(20px, 2.6vw, 30px);
  color: var(--accent);
}
.closing .rule {
  width: 56px; height: 3px; background: var(--accent);
  border-radius: 3px; margin: 30px auto 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--footer-bg), var(--footer-bg-2));
  color: var(--footer-ink);
  font-family: var(--font-sans);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding: 72px 0 56px;
}
.footer-brand .logo-name {
  font-family: var(--font-serif); font-size: 28px; font-weight: 600;
}
.footer-brand .logo-sub {
  text-transform: uppercase; letter-spacing: 0.32em;
  font-size: 9px; color: var(--footer-ink-soft); margin-top: 7px;
}
.footer-brand p {
  margin: 20px 0 0; max-width: 30ch;
  font-size: 14px; line-height: 1.6; color: var(--footer-ink-soft);
}
.footer-col h4 {
  margin: 0 0 18px; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--footer-ink);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-col a {
  font-size: 14px; color: var(--footer-ink-soft);
  transition: color 0.18s ease; position: relative;
}
.footer-col a:hover { color: var(--footer-ink); }

/* ---------- Contacto + redes ---------- */
.footer-mid {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  padding: 36px 0; border-top: 1px solid var(--footer-line);
}
.contact-block h4 {
  margin: 0 0 16px; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
}
.contact-list { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.contact-item {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 14.5px; color: var(--footer-ink);
}
.contact-item svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.contact-item .lbl { color: var(--footer-ink-soft); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; display: block; }
.contact-item .val { font-size: 14.5px; }

.social-row { display: flex; gap: 12px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid var(--footer-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--footer-ink); transition: all 0.2s ease;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---------- Barra legal ---------- */
.footer-legal {
  border-top: 1px solid var(--footer-line);
  padding: 26px 0 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px 28px; flex-wrap: wrap;
}
.legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.legal-links a {
  font-size: 12.5px; color: var(--footer-ink-soft);
  transition: color 0.18s ease;
}
.legal-links a:hover { color: var(--footer-ink); }
.legal-meta { font-size: 12.5px; color: var(--footer-ink-soft); text-align: right; }
.legal-meta strong { color: var(--footer-ink); font-weight: 600; }

/* ---------- Chat flotante ---------- */
.float-chat {
  position: fixed; right: 26px; bottom: 26px; z-index: 60;
  display: inline-flex; align-items: center; gap: 0;
  background: var(--accent); color: #fff;
  border: none; cursor: pointer;
  border-radius: 999px; padding: 0;
  height: 60px;
  box-shadow: 0 14px 34px -10px rgba(138,95,69,0.7);
  transition: gap 0.25s ease, padding 0.25s ease, transform 0.2s ease;
  overflow: hidden;
}
.float-chat:hover { transform: translateY(-2px); }
.float-chat .fc-icon {
  width: 60px; height: 60px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.float-chat .fc-icon svg { width: 26px; height: 26px; }
.float-chat .fc-label {
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  white-space: nowrap; max-width: 0; opacity: 0;
  transition: max-width 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  letter-spacing: 0.01em;
}
.float-chat:hover .fc-label { max-width: 200px; opacity: 1; padding-right: 22px; }

@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .legal-meta { text-align: left; }
  .float-chat { right: 16px; bottom: 16px; }
}
