.contact-hero {
    padding: clamp(3rem, 10vw, 7.5rem) 0;
    margin: 0 0 60px 20px;
}

/* Hide Contact Button in contact.html header */
.contact-btn-header {
    display: none !important;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(2rem, 5vw, 2.5rem);
    padding-top: clamp(2rem, 5vw, 3.75rem);
    border-top: 1.5px solid currentColor;
}

@media (max-width: 768px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.form-group {
    border-bottom: 1px solid currentColor;
    padding: clamp(1.5rem, 4vw, 2rem) 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: flex-start;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-group {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.5rem 0;
    }
}

.form-label {
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.2;
    outline: none;
    color: currentColor;
    letter-spacing: -0.02em;
}

textarea.form-input {
    resize: none;
    min-height: 8rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 480px) {
    .radio-group {
        gap: 0.75rem;
    }
}

.radio-pill {
    border: 1.5px solid currentColor;
    border-radius: 999px;
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(0.75rem, 3vw, 1rem);
    cursor: pointer;
    font-size: clamp(12px, 2vw, 14px);
    transition: all 0.2s;
    white-space: nowrap;
}

.radio-pill:hover,
.radio-pill.selected {
    background-color: var(--color-accent);
    color: #000000;
    border-color: var(--color-accent);
}

input[type="radio"] {
    display: none;
}

.heading-3 {
    line-height: 1.2;
    margin-top: 1.5rem;
}

/* --- CONTACT PAGE INLINE STYLES REFACTORED --- */

/* Form Section */
.form-submit-wrapper {
    margin-top: 60px;
    text-align: right;
}

.form-submit-button {
    padding: 16px 48px;
    font-size: 18px;
}

/* Team Section Header */
.team-section-header {
    gap: 40px;
    border-bottom: 1.5px solid var(--color-border);
    padding-bottom: 24px;
    margin-bottom: 60px;
    justify-content: space-between;
    align-items: flex-end;
}

.team-section-header a {
    text-decoration: underline;
}

/* Team Grid */
.team-layout {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.team-layout .caption {
    display: block;
    margin-bottom: 24px;
}

.team-layout .heading-3 {
    margin-bottom: 40px;
}

/* Team Member List */
.team-steps-list {
    list-style: decimal inside;
    font-size: 20px;
    line-height: 2;
}

/* Team Member Cards */
.team-member-image {
    background: var(--color-surface);
    border-radius: 12px;
    height: 300px;
    margin-bottom: 16px;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-name {
    font-size: 20px;
}

/* Offices Section */
.offices-header {
    margin-bottom: 60px;
}

.offices-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.office-image-container {
    height: 400px;
    background: var(--color-surface);
    margin-bottom: 24px;
}

.office-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-section {
    padding-bottom: 120px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .team-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .offices-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-steps-list {
        font-size: 16px;
        line-height: 1.8;
    }
}

/* --- STEPS ACTION CARDS --- */
.steps-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 100px);
    gap: 2rem;
    align-content: start;
}

.step-card {
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    border: 1.5px solid var(--text-primary);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.step-card:hover {
    background-color: var(--color-accent);
    color: #000000;
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(246, 192, 47, 0.2);
}

.step-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.step-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.step-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: currentColor;
    margin: 0;
}

/* Tablet: Center cards and adjust to 2 columns */
@media (max-width: 1024px) {
    .steps-cards-container {
        grid-template-columns: repeat(2, 100px);
        justify-self: center;
        justify-items: center;
        gap: 1.5rem;
    }
}

/* Mobile: 2 columns for smaller screens */
@media (max-width: 768px) {
    .steps-cards-container {
        grid-template-columns: repeat(2, 100px);
        justify-items: center;
        gap: 1.5rem;
    }
}