/* Explain: Styling for common UI components like buttons, cards, and form elements. */
/* ===== Eyebrow label ===== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-family: var(--font-body);
}

.eyebrow::before {
    content: "";
    width: 2.25rem;
    height: 1px;
    background: var(--primary-color);
    display: inline-block;
}

.eyebrow-lg {
    font-size: 0.95rem;
    letter-spacing: 0.34em;
}

.eyebrow-lg::before {
    width: 3rem;
}

@media (min-width: 768px) {
    .eyebrow-lg {
        font-size: 1.1rem;
    }
}

/* ===== Buttons ===== */
.btn-vantex,
.btn-ghost-light,
.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.7rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 3px;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1.2;
    text-align: center;
}

.btn-vantex {
    background: var(--primary-color);
    color: var(--dark-color);
    border: 1px solid var(--primary-color);
}

.btn-vantex:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-vantex:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-ghost-light {
    background: transparent;
    color: var(--on-dark-color);
    border: 1px solid rgba(232, 237, 243, 0.35);
}

.btn-ghost-light:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-outline-dark:hover {
    border-color: var(--primary-color);
    color: var(--primary-hover);
}

/* ===== Cards ===== */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.35s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 24px 46px -26px rgba(10, 24, 40, 0.35);
    transform: translateY(-4px);
}

.service-card:hover::after {
    width: 100%;
}

/* ===== Media service card ===== */
.service-card-media {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card-media::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.35s ease;
    z-index: 2;
}

.service-card-media:hover {
    border-color: var(--primary-color);
    box-shadow: 0 24px 46px -26px rgba(10, 24, 40, 0.35);
    transform: translateY(-4px);
}

.service-card-media:hover::after {
    width: 100%;
}

.service-card-media__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-color);
}

.service-card-media__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-media:hover .service-card-media__frame img {
    transform: scale(1.04);
}

.service-card-media__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.75rem;
}

.service-card-media__body .icon-badge {
    width: 2.75rem;
    height: 2.75rem;
}

.icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 3px;
    background: rgba(200, 162, 74, 0.12);
    color: var(--primary-color);
    font-size: 1.15rem;
}

/* ===== Forms ===== */
.field-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-color);
}

.field-input,
.field-select,
.field-textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--text-color);
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input::placeholder,
.field-textarea::placeholder {
    color: #9aa3b0;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.18);
}

.field-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Numbered step ===== */
.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 600;
    color: var(--primary-color);
}