:root { --ofc-accent: #e6007e; }

.ofc-block { margin: 28px 0 0; background: #f7f7f7; border: 1px solid #e8e8e8; padding: 24px 26px; }
.ofc-kicker { margin: 0 0 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ofc-accent); }
.ofc-title { margin: 0 0 10px; font-size: 20px; font-weight: 600; line-height: 1.3; text-transform: uppercase; }
.ofc-text { margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: #6b6b6b; }
.ofc-secondary { display: flex; gap: 12px; margin-top: 12px; }
.ofc-secondary .ofc-btn { flex: 1; height: 48px; padding: 0 14px; font-size: 11px; }

.ofc-credit { margin: 14px 0 0; font-size: 11px; line-height: 1.5; letter-spacing: .02em; color: #a8a8a8; }
.ofc-credit a { color: #a8a8a8; text-decoration: underline; }
.ofc-credit a:hover { color: #6b6b6b; }

.ofc-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 0; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ofc-btn--full { width: 100%; }
.ofc-btn--accent { background: var(--ofc-accent); border-color: var(--ofc-accent); color: #fff; }
.ofc-btn--accent:hover { filter: brightness(.9); color: #fff; }
.ofc-btn--dark { background: #2b2b2b; border-color: #2b2b2b; color: #fff; }
.ofc-btn--dark:hover { background: #fff; color: #2b2b2b; border-color: #2b2b2b; }
.ofc-btn--ghost { background: #fff; border-color: #e0e0e0; color: #6b6b6b; }
.ofc-btn--ghost:hover { border-color: #2b2b2b; color: #2b2b2b; }
.ofc-btn[disabled] { background: #f2f2f2; border-color: #e0e0e0; color: #b5b5b5; cursor: not-allowed; filter: none; }
.ofc-btn.is-loading { opacity: .7; pointer-events: none; }
.ofc-link { border: 0; background: transparent; color: #9b9b9b; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; padding: 12px 0; }
.ofc-link:hover { color: #2b2b2b; }

/* Ventana */
.ofc-modal { position: fixed; inset: 0; z-index: 999999; background: rgba(35,35,35,.62); display: flex; align-items: center; justify-content: center; padding: 24px; }
.ofc-modal[hidden] { display: none; }
.ofc-modal__panel { width: 100%; max-width: 560px; max-height: 100%; overflow-y: auto; background: #fff; animation: ofc-fade .3s ease both; }
@keyframes ofc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ofc-modal__bar { display: flex; align-items: center; gap: 16px; padding: 14px 26px; border-bottom: 1px solid #e8e8e8; position: sticky; top: 0; background: #fff; }
.ofc-modal__label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #9b9b9b; }
.ofc-modal__close { margin-left: auto; width: 38px; height: 38px; border: 1px solid #e0e0e0; background: #fff; color: #6b6b6b; font-size: 20px; line-height: 1; cursor: pointer; }
.ofc-modal__close:hover { border-color: #2b2b2b; color: #2b2b2b; }
.ofc-modal__body { padding: 30px 26px 32px; }
.ofc-modal__body section[hidden] { display: none; }

.ofc-h3 { margin: 0 0 8px; font-size: 21px; font-weight: 600; line-height: 1.3; text-transform: uppercase; }
.ofc-p { margin: 0 0 22px; font-size: 14px; line-height: 1.7; color: #6b6b6b; }
.ofc-small { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: #8f8f8f; }
.ofc-error { margin: 14px 0 0; font-size: 13px; color: #c0392b; }
.ofc-label { margin: 24px 0 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9b9b9b; }

.ofc-field { display: grid; gap: 6px; margin-bottom: 16px; }
.ofc-field > span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9b9b9b; }
.ofc-field input, .ofc-field select, .ofc-field textarea { width: 100%; border: 1px solid #e0e0e0; background: #f7f7f7; padding: 0 14px; height: 48px; font-size: 15px; font-family: inherit; color: #2b2b2b; }
.ofc-field textarea { height: auto; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.ofc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ofc-actions { display: flex; gap: 12px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.ofc-stack { display: flex; flex-direction: column; gap: 10px; }

.ofc-row-link { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 20px; border: 1px solid #e0e0e0; background: #fff; color: #2b2b2b; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; font-family: inherit; }
.ofc-row-link:hover { border-color: #2b2b2b; }
.ofc-row-link--accent { background: var(--ofc-accent); border-color: var(--ofc-accent); color: #fff; }
.ofc-row-link--accent:hover { filter: brightness(.9); color: #fff; }

.ofc-copyrow { display: flex; gap: 10px; }
.ofc-copyrow > span { flex: 1; min-width: 0; height: 48px; display: flex; align-items: center; padding: 0 14px; border: 1px solid #e0e0e0; background: #f7f7f7; font-size: 13px; color: #7a7a7a; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ofc-copyrow .ofc-btn { height: 48px; padding: 0 20px; font-size: 11px; }

@media (max-width: 640px) {
	.ofc-block { padding: 20px; }
	.ofc-secondary { flex-direction: column; }
	.ofc-row { grid-template-columns: 1fr; }
	.ofc-modal { padding: 0; }
	.ofc-modal__panel { max-width: none; height: 100%; }
	.ofc-actions .ofc-btn { width: 100%; }
}
