/* ============================================================
   NMEP Frontend Styles — v1.1 (Batch B)
   Builds on top of the Astra child theme's CSS variables
   ============================================================ */

/* Coming Soon boxes (still used for Batch C/D/E pages) */
.nmep-coming-soon {
    max-width: 720px;
    margin: 60px auto;
    padding: 48px 32px;
    text-align: center;
    background: #FAF7F0;
    border: 2px dashed #D4A843;
    border-radius: 16px;
}

.nmep-coming-soon h2 { color: #0F2419; margin-bottom: 16px; }
.nmep-coming-soon p { color: #6B7280; font-size: 1.05rem; }

/* ============================================================
   FORMS — labels, inputs, textareas, selects
   ============================================================ */

.nme-card label {
    display: block;
    font-weight: 600;
    color: var(--nme-forest, #0F2419);
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.nme-card input[type="text"],
.nme-card input[type="email"],
.nme-card input[type="url"],
.nme-card input[type="number"],
.nme-card input[type="password"],
.nme-card input[type="tel"],
.nme-card textarea,
.nme-card select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--nme-border, #E5E7EB);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    background: #fff;
    box-sizing: border-box;
}

.nme-card input:focus,
.nme-card textarea:focus,
.nme-card select:focus {
    outline: none;
    border-color: var(--nme-emerald, #10B981);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.nme-card small {
    display: block;
    margin-top: 4px;
    color: var(--nme-text-light, #6B7280);
    font-size: 0.85rem;
}

.nme-card p { margin-bottom: 16px; }

/* ============================================================
   SERVICE CARD HOVER
   ============================================================ */
.nme-card[href] { transition: all 0.2s ease; }

.nme-card[href]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 36, 25, 0.12);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
    .nmep-service-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 640px) {
    .nme-grid.nme-grid-3,
    .nme-grid.nme-grid-4 { grid-template-columns: 1fr !important; }
}

/* Form button width */
.nme-card form button[type="submit"] {
    cursor: pointer;
}

/* Details/summary styling */
details summary {
    cursor: pointer;
    color: var(--nme-emerald, #10B981);
    font-weight: 500;
    padding: 8px 0;
}
