.nutricare-wrapper {
    max-width: 820px;
    margin: 40px auto;
    background: #fff;
    padding: 36px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-top: 6px solid #b5121b;
    box-sizing: border-box;
    width: 100%;
}

.nutricare-header {
    text-align: center;
    margin-bottom: 24px;
}

.nutricare-header h2 {
    color: #b5121b;
    font-size: clamp(22px, 5.5vw, 28px);
    margin-bottom: 8px;
    line-height: 1.25;
    font-weight: 700;
}

.nutricare-header p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* ── Step Progress Indicator ── */
.nutricare-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
    padding: 10px 0;
    position: relative;
}

.nutricare-progress .step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    min-width: 90px;
    text-align: center;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.nutricare-progress .step::before {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #888;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.nutricare-progress .step:first-child::before {
    content: '1';
}

.nutricare-progress .step:last-child::before {
    content: '2';
}

.nutricare-progress .step:first-child::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: calc(100% + 4px);
    width: 50px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 1;
}

.nutricare-progress .step:last-child {
    margin-left: 60px;
}

.nutricare-progress .step.active {
    color: #b5121b;
    font-weight: 700;
}

.nutricare-progress .step.active::before {
    background: #b5121b;
    color: #fff;
    box-shadow: 0 3px 10px rgba(181, 18, 27, 0.3);
}

.form-step {
    display: none;
    animation: nutriFadeIn 0.3s ease-in-out;
}

.form-step.active-step {
    display: block;
}

@keyframes nutriFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.nutri-step-header {
    text-align: center;
    margin-bottom: 18px;
}

.nutri-step-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.nutri-step-sub {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.nutricareLeadForm .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

@media (max-width: 600px) {
    .nutricareLeadForm .grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }
}

.nutricareLeadForm input[type="text"],
.nutricareLeadForm input[type="tel"],
.nutricareLeadForm input[type="email"],
.nutricareLeadForm input[type="number"],
.nutricareLeadForm select,
.nutricareLeadForm textarea {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    font-family: inherit;
    color: #2b2b2b;
    background: #fdfdfd;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    outline: none;
}

/* Minimum 16px font-size on mobile prevents iOS safari auto-zoom */
@media (max-width: 768px) {
    .nutricareLeadForm input[type="text"],
    .nutricareLeadForm input[type="tel"],
    .nutricareLeadForm input[type="email"],
    .nutricareLeadForm input[type="number"],
    .nutricareLeadForm select,
    .nutricareLeadForm textarea {
        font-size: 16px;
    }
}

.nutricareLeadForm input:focus,
.nutricareLeadForm select:focus,
.nutricareLeadForm textarea:focus {
    border-color: #b5121b;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(181, 18, 27, 0.15);
}

.nutricareLeadForm input.nutri-field-error,
.nutricareLeadForm select.nutri-field-error,
.nutricareLeadForm textarea.nutri-field-error {
    border-color: #e53e3e !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.18) !important;
}

.nutri-inline-error {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    display: none;
    text-align: center;
    animation: nutriFadeIn 0.25s ease;
}

.nutricareLeadForm textarea {
    height: 85px;
    resize: vertical;
}

.nutricareLeadForm .consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.45;
    margin: 8px 0 18px 0;
    cursor: pointer;
}

.nutricareLeadForm .consent input[type="checkbox"] {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    accent-color: #b5121b;
    flex-shrink: 0;
    cursor: pointer;
}

.btn-next-step,
.nutricareLeadForm button[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #c50909, #a00707);
    color: #fff;
    border: none;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(197, 9, 9, 0.28);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-next-step:hover,
.nutricareLeadForm button[type="submit"]:hover {
    background: linear-gradient(135deg, #a00707, #7a0404);
    box-shadow: 0 6px 20px rgba(197, 9, 9, 0.38);
    transform: translateY(-1px);
}

.btn-next-step:disabled,
.nutricareLeadForm button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Privacy Badge */
.nutri-privacy-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    color: #64748b;
    margin-top: 10px;
    text-align: center;
}

.nutri-privacy-badge i {
    color: #22c55e;
    font-size: 12px;
}

/* WhatsApp Alternate Link */
.nutri-wa-alt {
    text-align: center;
    margin-top: 14px;
    font-size: 13.5px;
    color: #666;
}

.nutri-wa-alt a {
    color: #25d366;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 4px;
    transition: color 0.2s ease;
}

.nutri-wa-alt a:hover {
    color: #128c7e;
    text-decoration: underline;
}

/* Honeypot hidden field - 100% invisible */
.nutri-hp-field {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

/* Response message & Success Card */
.nutricareResponse {
    margin-top: 18px;
}

.nutricare-success-card {
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    animation: nutriFadeIn 0.35s ease;
}

.nutricare-success-card .success-icon {
    width: 48px;
    height: 48px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 12px;
}

.nutricare-success-card h3 {
    color: #15803d;
    font-size: 19px;
    margin-bottom: 8px;
    font-weight: 700;
}

.nutricare-success-card p {
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.nutricare-wa-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14.5px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
}

.nutricare-wa-cta:hover {
    background: #1eb956;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.clinic-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
    font-size: 12.5px;
    color: #777;
    line-height: 1.5;
}
