/* =========================================
   REYES CLUB — TEXTOS LEGALES
   privacidad, condiciones, cambios y
   arrepentimiento. Mismo estilo que
   Nuestra Esencia (styles.css), sin foto.
========================================= */

.legal-section {
    grid-template-columns: minmax(0, 1fr);
}

.legal-content {
    max-width: 720px;
}

/* Navegación entre las cuatro páginas */

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0 0 26px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd5c5;
    font-family: "Work Sans", sans-serif;
    font-size: 12px;
}

.legal-nav a {
    color: #6f6a5f;
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
}

.legal-nav a[aria-current="page"] {
    color: #171715;
    font-weight: 600;
    border-color: #171715;
}

@media (hover: hover) and (pointer: fine) {
    .legal-nav a:hover {
        color: #01939c;
    }
}

/* Texto */

.legal-content .legal-heading {
    margin: 18px 0 8px;
    font-family: "Work Sans", sans-serif;
    font-size: 13px;
}

.legal-list {
    margin: 0 0 13px;
    padding-left: 18px;
    color: #44413b;
    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

.legal-list li {
    margin-bottom: 4px;
}

.legal-content p a,
.legal-list a {
    color: #01939c;
    font-weight: 500;
}

.legal-content strong {
    color: #171715;
    font-weight: 600;
}

/* Formulario del Botón de arrepentimiento */

.legal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 460px;
    margin-top: 10px;
}

.legal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: "Work Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #44413b;
}

.legal-field input,
.legal-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #d9cfbd;
    border-radius: 2px;
    background: #fbf8f1;
    color: #171715;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.legal-field textarea {
    resize: vertical;
}

.legal-field input:focus,
.legal-field textarea:focus {
    outline: 2px solid #01939c;
    outline-offset: -1px;
}

.legal-msg {
    margin: 0;
    color: #a2493f !important;
}

.legal-send {
    align-self: flex-start;
    height: 44px;
    padding: 0 24px;
    border: 0;
    border-radius: 2px;
    background: #171715;
    color: #f7f2e6;
    font-family: "Work Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    cursor: pointer;
}

.legal-send:disabled {
    opacity: 0.6;
    cursor: progress;
}

.legal-done {
    margin-top: 10px;
}

.legal-code strong {
    white-space: nowrap;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .legal-nav {
        gap: 8px 16px;
        font-size: 11px;
    }

    .legal-list {
        font-size: 11px;
        line-height: 1.45;
    }

    .legal-content .legal-heading {
        font-size: 12px;
    }
}
