/* Documentos legales y formulario SMS de Stellium (legal.php, sms_terms.php, sms_opt_in.php) */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: #f7f3ec;
}

.legal-page,
.sms-opt-in-page {
    margin: 0;
    color: #0a1c45;
    background: #f7f3ec;
    font: 400 16px/1.65 'Jost', system-ui, sans-serif;
}
.sms-opt-in-page {
    min-height: 100vh;
    padding: 36px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sms-opt-in-shell {
    width: min(100%, 940px);
    padding: 34px 24px 0;
    background: #fff;
    border: 1px solid #ebe4d7;
}
.legal-header {
    padding: 24px 16px;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid #ebe4d7;
}
.legal-header img {
    display: inline-block;
    max-width: 190px;
    height: auto;
}
.legal-main {
    width: min(100%, 900px);
    margin: 0 auto;
    padding: 32px 20px 64px;
}
.legal-doc-title {
    margin: 0 0 20px;
    font: 500 1.6rem/1.3 'Cinzel', serif;
    text-wrap: balance;
}
.legal-doc-lead { font-weight: 600; }
.legal-doc-meta { color: #5f584d; }
.legal-doc-section,
.legal-doc-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}
.legal-doc-section {
    margin: 1.75rem 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 600;
}
.legal-doc-marker {
    flex: 0 0 auto;
    min-width: 1.85rem;
}
.legal-doc-item-text { flex: 1 1 auto; }
.legal-error-message {
    padding: 2rem 1rem;
    text-align: center;
}
.legal-page p,
.legal-page h3 { overflow-wrap: anywhere; }
.sms-sample {
    max-width: 540px;
    margin: 0 auto;
    padding: 24px;
    color: #0a1c45;
    border: 1px solid #ebe4d7;
    font-weight: 600;
    text-align: center;
}
.sms-sample p { margin: 0 0 16px; }
.sms-sample-heading {
    padding-bottom: 14px;
    border-bottom: 1px solid #b98c5b;
    font-size: 1.3rem;
    font-weight: 400;
}
.sms-sample-heading em { color: #8a6640; }
.sms-sample span {
    display: block;
    width: 200px;
    height: 22px;
    margin: 0 auto;
    border-bottom: 2px solid #b98c5b;
}

/* Formulario SMS */
.landing-sms-form {
    max-width: 865px;
    margin: 0 auto;
    color: #0a1c45;
    text-align: center;
    font-family: 'Jost', system-ui, sans-serif;
    font-weight: 700;
}
.landing-sms-heading {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.8rem;
    color: #0a1c45;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 0.32rem;
}
.landing-sms-heading strong {
    color: #b98c5b;
    font-family: 'Cinzel', serif;
    font-size: 1.9rem;
    font-weight: 400;
    letter-spacing: 0;
}
.landing-sms-divider {
    height: 1px;
    margin: 1.25rem auto 1.8rem;
    background: rgba(185, 140, 91, 0.55);
}
.landing-sms-title {
    margin: 0 0 1.8rem;
    color: #0a1c45;
    font-size: 1.05rem;
    font-family: 'Jost', system-ui, sans-serif;
    font-weight: 700;
}
.landing-sms-fields {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
}
.landing-sms-fields label {
    margin-top: 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
}
.landing-sms-fields input {
    width: min(100%, 432px);
    height: 45px;
    color: #0a1c45;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(185, 140, 91, 0.45);
    border-radius: 2px;
    outline: none;
}
.landing-sms-fields input:focus {
    border-color: #b98c5b;
    box-shadow: 0 0 0 0.15rem rgba(185, 140, 91, 0.18);
}
.landing-sms-consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 1rem;
    max-width: 432px;
    margin: 2rem auto 0;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.55;
}
.landing-sms-consent a,
.landing-sms-consent a:visited,
.landing-sms-consent a:hover,
.landing-sms-consent a:focus {
    color: inherit;
}
.landing-sms-terms-consent a,
.landing-sms-terms-consent a:visited,
.landing-sms-terms-consent a:hover,
.landing-sms-terms-consent a:focus {
    text-decoration: underline;
}
.landing-sms-consent input {
    width: 18px;
    height: 18px;
    margin-top: 0.1rem;
    accent-color: #b98c5b;
}
.landing-sms-terms-consent {
    margin-top: 1rem;
}
.landing-sms-list {
    margin: 1.55rem auto 1.7rem;
    padding: 0;
    list-style: none;
    color: #0a1c45;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.9;
}
.landing-sms-list li::before {
    content: "· ";
    color: #0a1c45;
}
.landing-sms-copy {
    font-size: 0.9rem;
    font-weight: 700;
}
.landing-sms-copy p {
    margin: 0.7rem 0;
}
.landing-sms-copy a {
    color: #0a1c45;
    text-decoration: underline;
}
.landing-sms-thankyou .landing-sms-copy {
    max-width: 540px;
    margin: 0 auto 1rem;
    line-height: 1.55;
}
.landing-sms-submit {
    width: min(100%, 432px);
    min-height: 55px;
    margin-top: 1rem;
    padding: 0.65rem 1.5rem;
    color: #fff;
    background: #0a1c45;
    border: 0;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 700;
}
.landing-sms-submit:disabled {
    opacity: 0.65;
}
.landing-sms-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.landing-sms-feedback {
    min-height: 1.5rem;
    margin-top: 0.75rem;
    font-weight: 700;
}
.landing-sms-website {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.landing-sms-divider-bottom {
    margin: 1.7rem auto 1.3rem;
}
.landing-sms-brand {
    margin-bottom: 4.8rem;
    color: #b98c5b;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.04rem;
}
.landing-sms-footer {
    margin: 0 -1.25rem;
    padding: 1.1rem 1rem;
    color: #fff;
    background: #0a1c45;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
}
.text-danger { color: #a32020; }
.text-success { color: #1f6b3a; }
.visually-hidden { position: absolute; left: -10000px; }

@media (max-width: 577px) {
    .sms-opt-in-page { padding: 0; }
    .sms-opt-in-shell {
        min-height: 100vh;
        padding: 28px 18px 0;
        border: 0;
    }
}
