/* ══════════════════════════════
   Estilos compartidos — Cierre + Footer
   Incluir en cualquier página que use js/componentes.js
══════════════════════════════ */

/* Elimina el padding inferior del body cuando existe el componente */
body:has(#cierre-cphdclm) {
    padding-bottom: 0 !important;
}

.frase-contacto-wrapper {
    background: #0d2b08;
    padding: 64px 48px;
    max-width: 960px;
    margin: 48px auto 64px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.frase-destacada {
    text-align: center;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}
.frase-destacada p {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
}

.contacto-texto {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 28px;
    width: 100%;
    max-width: 960px;
}
.contacto-texto a {
    color: #9ecf8a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.contacto-texto a:hover { color: #fff; }

.gracias-simple {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.4px;
    text-align: center;
}

/* ── Footer ── */
.footer {
    background: #061508;
    padding: 28px 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-interior {
    max-width: 960px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 16px;
}
.footer-nombre { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-cargo  { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 4px; }
.footer-linea  { width: 1px; height: 32px; background: rgba(255,255,255,0.15); flex-shrink: 0; }
.footer-copy   { font-size: 12px; color: rgba(255,255,255,0.35); text-align: right; }
