/* Morini Illuminazione v2.0 */

/* Eredita tutto dal tema */
.morini-wrap, .morini-wrap *,
.morini-wrap input, .morini-wrap select,
.morini-wrap textarea, .morini-wrap button {
    font-family: inherit;
    box-sizing: border-box;
}

/* Wrapper */
.morini-wrap {
    background: #0E0E0E;
    padding: 48px;
    border-radius: 6px;
    max-width: 780px;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
}

/* Titolo e sottotitolo */
.morini-title {
    font-size: 36px;
    font-weight: 300;
    color: #ffffff !important;
    line-height: 1.15;
    margin: 0 0 12px !important;
}
.morini-subtitle {
    font-size: 15px;
    color: #aaaaaa !important;
    line-height: 1.8;
    margin: 0 0 36px !important;
}

/* CF7 reset */
.morini-wrap .wpcf7 { margin: 0; }
.morini-wrap .wpcf7-response-output {
    border-radius: 4px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    margin: 16px 0 0 !important;
    border: none !important;
}
.morini-wrap .wpcf7-mail-sent-ok {
    background: rgba(40,167,69,.12) !important;
    color: #5cb85c !important;
    border: 1px solid rgba(40,167,69,.25) !important;
}
.morini-wrap .wpcf7-validation-errors,
.morini-wrap .wpcf7-mail-sent-ng,
.morini-wrap .wpcf7-aborted {
    background: rgba(220,53,69,.12) !important;
    color: #e06060 !important;
    border: 1px solid rgba(220,53,69,.25) !important;
}
.morini-wrap .wpcf7-not-valid-tip {
    color: #e06060 !important;
    font-size: 12px !important;
    margin-top: 4px;
    display: block;
}

/* Grid 2 colonne */
.morini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

/* Campi singoli */
.morini-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}
.morini-grid .morini-field { margin-bottom: 0; }

/* Label — BIANCHE */
.morini-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffffff !important;
}

/* Input, select, textarea */
.morini-wrap input[type="text"],
.morini-wrap input[type="email"],
.morini-wrap input[type="tel"],
.morini-wrap input[type="number"],
.morini-wrap select,
.morini-wrap textarea {
    width: 100%;
    background: #111111;
    border: 1px solid #2A2A2A;
    border-radius: 3px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 300;
    padding: 13px 15px;
    outline: none;
    transition: border-color .2s;
    -webkit-appearance: none;
    appearance: none;
}
.morini-wrap input::placeholder,
.morini-wrap textarea::placeholder { color: #3A3A3A !important; }
.morini-wrap input:focus,
.morini-wrap select:focus,
.morini-wrap textarea:focus { border-color: #C9A84C !important; }

.morini-wrap select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
    color: #aaaaaa !important;
}
.morini-wrap select option { background: #1A1A1A; color: #fff; }
.morini-wrap textarea { height: 100px; resize: vertical; }

/* Upload zone */
.morini-upload-zone {
    border: 1px dashed #333;
    border-radius: 3px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: border-color .2s;
}
.morini-upload-zone:hover { border-color: #C9A84C; }
.morini-upload-zone .wpcf7-form-control-wrap { position: static; }
.morini-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    border: none;
    background: transparent;
    padding: 0;
}
.morini-upload-icon { font-size: 24px; color: #C9A84C; display: block; margin-bottom: 8px; }
.morini-upload-title { font-size: 14px; color: #ffffff !important; margin: 0 0 4px; font-weight: 500; }
.morini-upload-sub { font-size: 12px; color: #666 !important; margin: 0; }
.morini-upload-preview { font-size: 13px; color: #C9A84C !important; margin: 6px 0 0; min-height: 18px; }

/* Hint */
.morini-hint {
    background: rgba(201,168,76,.06);
    border: 1px solid rgba(201,168,76,.18);
    border-radius: 3px;
    padding: 12px 16px;
    font-size: 13px;
    color: #906820 !important;
    line-height: 1.6;
    margin-bottom: 18px;
}
.morini-hint strong { color: #C9A84C !important; }

/* Divisore */
.morini-hr { border: none; border-top: 1px solid #1E1E1E; margin: 22px 0; }

/* Checklist */
.morini-checklist { margin-bottom: 22px; }
.morini-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #aaaaaa !important;
    margin-bottom: 9px;
}
.morini-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #C9A84C;
    flex-shrink: 0;
}

/* Acceptance / privacy CF7 */
.morini-wrap .wpcf7-acceptance { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.morini-wrap .wpcf7-acceptance input[type="checkbox"] {
    width: 15px; height: 15px;
    margin-top: 2px;
    accent-color: #C9A84C;
    flex-shrink: 0;
    padding: 0;
    background: #111;
    border: 1px solid #2A2A2A;
}
.morini-wrap .wpcf7-list-item { margin: 0 !important; }
.morini-wrap .wpcf7-list-item-label {
    font-size: 13px !important;
    color: #aaaaaa !important;
    line-height: 1.6;
}
.morini-wrap .wpcf7-list-item-label a { color: #C9A84C !important; text-decoration: none; }

/* Submit */
.morini-wrap input[type="submit"],
.morini-wrap .wpcf7-submit {
    width: 100%;
    padding: 16px;
    background: #C9A84C !important;
    color: #0E0E0E !important;
    border: none !important;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .2s, transform .15s;
}
.morini-wrap input[type="submit"]:hover,
.morini-wrap .wpcf7-submit:hover {
    background: #E8D08A !important;
    transform: translateY(-1px);
}

/* Note a piè */
.morini-footer-note {
    text-align: center;
    font-size: 11px;
    color: #444 !important;
    margin-top: 12px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 640px) {
    .morini-wrap { padding: 28px 18px; }
    .morini-grid { grid-template-columns: 1fr; gap: 14px; }
    .morini-title { font-size: 26px !important; }
}
