@import url("./base.css");

.section-shell {
    margin-top: clamp(2rem, 4vw, 4rem);
    background: rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

label {
    font-weight: 600;
    letter-spacing: 0.03rem;
}

input, select, textarea {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(127, 66, 167, 0.12);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1.25rem;
}

.button-primary {
    background: #000;
    color: #fff;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    letter-spacing: 0.06rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.note {
    color: var(--muted);
    font-size: 0.95rem;
}

.card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.service-card {
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.service-card h3 {
    margin-bottom: 0.35rem;
}

.service-card p {
    color: var(--muted);
    line-height: 1.5;
}

.chip-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.chip {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.06);
    font-weight: 600;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: #fff;
    width: min(520px, calc(100% - 2rem));
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.modal header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.modal header h2 {
    margin: 0;
}

.modal .close-btn {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(0, 150, 0, 0.08);
    color: #0a6112;
    border: 1px solid rgba(0,150,0,0.25);
    margin-top: 0.75rem;
}

.alert.error {
    background: rgba(200, 0, 0, 0.08);
    color: #7a0000;
    border-color: rgba(200,0,0,0.25);
}
