@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --ink:   #241d4f;
    --teal:  #1f7a72;
    --mint:  #d9efe9;
    --mint2: #bfe3da;
    --lime:  #c6d92e;
    --wa:    #25D366;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(36,29,79,.10);
}

/* ── Wrapper ── */
.sfsc-wrap {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    font-family: 'DM Sans', sans-serif;
}

/* ── Header ── */
.sfsc-header {
    text-align: center;
    margin-bottom: 28px;
    padding: 32px 20px;
    background: linear-gradient(135deg, var(--ink) 0%, #1f7a72 100%);
    border-radius: 20px;
    color: var(--white);
}

.sfsc-badge {
    display: inline-block;
    background: var(--lime);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.sfsc-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    margin: 0 0 8px;
    line-height: 1.25;
}

.sfsc-subtitle {
    color: var(--mint2);
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* ── Section label ── */
.sfsc-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal);
    margin: 26px 2px 10px;
}

/* ── Cards ── */
.sfsc-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-left: 4px solid var(--teal);
}

.sfsc-card--ink { border-left-color: var(--ink); }
.sfsc-card--wa  { border-left-color: var(--wa); }

.sfsc-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--mint);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sfsc-card-icon--ink { background: #eeedf7; color: var(--ink); }
.sfsc-card-icon--wa  { background: #e6f9ed; color: var(--wa); }

.sfsc-card-body h2 {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 4px;
}

.sfsc-card-body p {
    font-size: 13px;
    color: #5a5678;
    margin: 0 0 10px;
    line-height: 1.45;
}

/* ── Buttons ── */
.sfsc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 9px 16px;
    border-radius: 8px;
    transition: transform .1s, opacity .15s;
    font-family: 'DM Sans', sans-serif;
}

.sfsc-btn:active { transform: scale(.97); }

.sfsc-btn--map {
    background: var(--mint);
    color: var(--teal);
}
.sfsc-btn--map:hover { background: var(--mint2); color: var(--teal); text-decoration: none; }

.sfsc-btn--ink {
    background: var(--ink);
    color: var(--white);
    display: flex;
    justify-content: center;
    width: 100%;
}
.sfsc-btn--ink:hover { opacity: .9; color: var(--white); text-decoration: none; }

.sfsc-btn--wa {
    background: var(--wa);
    color: var(--white);
    display: flex;
    justify-content: center;
    width: 100%;
}
.sfsc-btn--wa:hover { opacity: .9; color: var(--white); text-decoration: none; }

/* ── Form card ── */
.sfsc-form-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 22px 20px;
    border-top: 4px solid var(--lime);
    margin-bottom: 12px;
}

.sfsc-form-card h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
}

.sfsc-form-hint {
    font-size: 13px;
    color: #5a5678;
    margin: 0 0 18px;
    line-height: 1.5;
}

/* ── Fields ── */
.sfsc-field {
    margin-bottom: 16px;
}

.sfsc-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: .02em;
}

.sfsc-field input[type="text"],
.sfsc-field input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #cfd8d4;
    border-radius: 10px;
    font-size: 15px;
    background: #fbfdfc;
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.sfsc-field input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(31,122,114,.12);
    background: #fff;
}

/* ── File upload ── */
.sfsc-file-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sfsc-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--mint);
    color: var(--teal);
    border: 1.5px dashed var(--teal);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background .15s;
    white-space: nowrap;
}

.sfsc-file-btn:hover { background: var(--mint2); }

.sfsc-file-name {
    font-size: 12px;
    color: #5a5678;
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}

.sfsc-doc-note {
    font-size: 11px;
    color: #8a9a96;
    margin-top: 5px;
}

/* ── Alerts ── */
.sfsc-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 14px;
}
.sfsc-alert--error   { background: #fff0f0; border-left: 3px solid #e53935; color: #c62828; }
.sfsc-alert--success { background: #e8f5ee; border-left: 3px solid var(--teal); color: var(--teal); }

/* ── Submit button ── */
.sfsc-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--ink);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity .15s, transform .1s;
    margin-top: 8px;
}
.sfsc-submit-btn:hover  { opacity: .9; }
.sfsc-submit-btn:active { transform: scale(.98); }

/* ── Footer ── */
.sfsc-footer {
    text-align: center;
    font-size: 12px;
    color: #7a7698;
    margin-top: 28px;
    line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .sfsc-wrap { padding: 16px 12px 40px; }
    .sfsc-title { font-size: 19px; }
    .sfsc-card { flex-direction: column; gap: 10px; }
}

/* v1.1 — Post-submit WhatsApp send buttons */
.sfsc-wa-send {
    margin-top: 18px;
    padding: 16px;
    background: #f0faf7;
    border: 1px dashed var(--teal, #1f7a72);
    border-radius: 10px;
}
.sfsc-wa-send-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--teal, #1f7a72);
    margin-bottom: 10px;
}
.sfsc-wa-send-btn {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 8px;
    text-align: center;
}
.sfsc-wa-send-btn:last-child { margin-bottom: 0; }

/* v1.2 — Two-column desktop layout */
.sfsc-columns { display: block; }
@media (min-width: 900px) {
    .sfsc-wrap { max-width: 1040px; }
    .sfsc-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 32px;
        align-items: start;
    }
    .sfsc-col--right { position: sticky; top: 24px; }
    .sfsc-header { text-align: center; }
}
