/* ─── Hero form card ─── */

.hero-form-card {
    background: var(--ocf-bg);
    border: var(--card-border-width) solid var(--card-border-color-subtle);
    border-radius: var(--card-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--card-shadow-hover);
}

@media (min-width: 640px) {
    .hero-form-card { padding: 2rem; }
}

.hero-form-card .hero-form-title {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--ocf-heading);
    margin-bottom: 0.125rem;
    letter-spacing: -0.01em;
}

.hero-form-card > p {
    font-size: var(--text-sm);
    color: var(--ocf-body);
    margin-bottom: 1.25rem;
    opacity: 0.7;
}

.hero-form-card .hero-form-fields {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.hero-form-card input,
.hero-form-card textarea,
.hero-form-card select {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-base);
    color: var(--ocf-heading);
    background: var(--ocf-bg-alt);
    border: 1px solid var(--ocf-border-light);
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
}

.hero-form-card input:focus,
.hero-form-card textarea:focus,
.hero-form-card select:focus {
    border-color: var(--ocf-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ocf-accent) 10%, transparent);
}

.hero-form-card input::placeholder,
.hero-form-card textarea::placeholder {
    color: var(--ocf-body);
}

.hero-form-card textarea {
    min-height: 80px;
    resize: vertical;
}

.hero-form-card .form-submit-btn {
    display: block;
    width: 100%;
    padding: 0.875rem 2rem;
    background: var(--ocf-accent);
    color: var(--ocf-heading-alt);
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: var(--button-text-transform);
    letter-spacing: var(--button-letter-spacing);
    border: var(--button-border-width) solid var(--button-border-color);
    border-radius: var(--button-radius);
    box-shadow: var(--button-shadow);
    cursor: pointer;
    transition: all var(--duration) ease;
}

.hero-form-card .form-submit-btn:hover {
    background: var(--ocf-accent-hover);
    box-shadow: var(--button-shadow-hover);
    transform: var(--button-transform-hover);
}


/* ─── Hero service on-ramp ─── */

.hero-svc-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--ocf-border-light) transparent;
}

.hero-svc-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: var(--ocf-bg);
    border: 1.5px solid var(--ocf-border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    font-family: inherit;
}

.hero-svc-row:hover {
    border-color: var(--ocf-border);
}

.hero-svc-row.is-selected {
    border-color: var(--ocf-accent);
    background: color-mix(in srgb, var(--ocf-accent) 4%, var(--ocf-bg));
}

.hero-svc-check {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--ocf-border);
    border-radius: 3px;
    flex-shrink: 0;
    transition: all 0.15s ease;
    color: transparent;
}

.hero-svc-row.is-selected .hero-svc-check {
    background: var(--ocf-accent);
    border-color: var(--ocf-accent);
    color: #fff;
}

.hero-svc-check svg {
    width: 0.75rem;
    height: 0.75rem;
}

.hero-svc-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ocf-heading);
}
