/* Fase 10 — Contacto + Pie de página */

.contact-copy h2,
.contact-copy > p,
.footer-brand p,
.footer-list a,
.footer-list li,
.footer-cta h2 {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-brand-logo {
    object-fit: contain;
}

.editor-phase10-section {
    margin-top: 22px;
    padding: 20px;
    display: grid;
    gap: 18px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: var(--color-surface-2);
}

.editor-phase10-section-title {
    display: grid;
    gap: 3px;
}

.editor-phase10-section-title small {
    color: var(--color-muted);
}

.editor-phase10-section-title h4 {
    margin: 0;
    color: var(--color-text);
    font-size: 1.08rem;
}

.editor-phase10-fixed {
    min-width: 0;
    padding: 15px 16px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    background: var(--color-surface-2);
}

.editor-phase10-fixed > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--color-primary-strong);
    background: var(--color-primary-soft);
}

.editor-phase10-fixed svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.editor-phase10-fixed small,
.editor-phase10-fixed strong,
.editor-phase10-fixed p {
    display: block;
}

.editor-phase10-fixed small {
    color: var(--color-muted);
    font-size: 0.72rem;
}

.editor-phase10-fixed strong {
    margin-top: 2px;
    color: var(--color-text);
}

.editor-phase10-fixed p {
    margin: 3px 0 0;
    color: var(--color-muted);
    font-size: 0.78rem;
}

.editor-phase10-logo-grid {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.editor-phase10-logo-box {
    width: 100%;
    min-height: 132px;
    padding: 18px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px dashed var(--color-line);
    border-radius: 18px;
    color: var(--color-muted);
    background: var(--color-surface);
    text-align: center;
    font-size: 0.78rem;
}

.editor-phase10-logo-box img {
    width: 100%;
    height: 96px;
    display: block;
    object-fit: contain;
}

.editor-phase10-logo-fields {
    min-width: 0;
    display: grid;
    gap: 14px;
}

.editor-phase10-remove-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
    font-size: 0.84rem;
    cursor: pointer;
}

.editor-phase10-remove-logo input {
    width: 18px;
    height: 18px;
}

.editor-phase10-socials {
    display: grid;
    gap: 12px;
}

.editor-phase10-social-row {
    padding: 12px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    background: var(--color-surface);
}

.editor-phase10-social-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--color-primary-strong);
    background: var(--color-primary-soft);
}

.editor-phase10-social-icon svg {
    width: 22px;
    height: 22px;
}

.editor-phase10-social-row .editor-field {
    min-width: 0;
}

.editor-phase10-actions {
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin-top: 22px;
    padding: 16px 0 4px;
    background: linear-gradient(
        to top,
        var(--color-surface) 72%,
        transparent
    );
}

@media (max-width: 760px) {
    .editor-phase10-logo-grid {
        grid-template-columns: 1fr;
    }

    .editor-phase10-logo-box {
        max-width: 280px;
    }
}
