* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #e12802;
    --primary-red-500: #d4403a;
    --primary-red-700: #780008;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f8f8;
    --text-dark: #2a2a2a;
    --text-light: #666;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: white;
}

.contact-page {
    padding: 8rem 5% 5rem;
}

.contact-title {
    font-family: 'Montserrat', 'Work Sans', sans-serif;
    color: var(--primary-red);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: 3rem;
    max-width: 1180px;
    margin: 0 auto;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-field {
    margin-bottom: 1rem;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-field label,
.checkbox-group legend {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="file"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid #d2d2d2;
    border-radius: 4px;
    color: var(--text-dark);
    font: inherit;
    outline: none;
    background: white;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field input[type="file"] {
    cursor: pointer;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(225, 40, 2, 0.12);
}

.checkbox-group {
    border: 0;
    padding: 0;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1rem;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 400;
    margin: 0;
}

.checkbox-grid input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary-red);
}

.submit-button {
    align-self: flex-start;
    border: 0;
    background: var(--primary-red);
    color: white;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0.9rem 1.5rem;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.submit-button:hover,
.submit-button:focus {
    background: var(--primary-red-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(120, 0, 8, 0.22);
}

.contact-info {
    color: var(--text-dark);
}

.map-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: var(--light-bg);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-detail {
    border-left: 4px solid var(--primary-red);
    padding: 0.15rem 0 0.15rem 1rem;
    margin-bottom: 1rem;
}

.contact-detail span {
    display: block;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.contact-detail p {
    color: var(--text-light);
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .contact-page {
        padding: 7rem 5% 4rem;
    }

    .contact-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .submit-button {
        width: 100%;
    }
}
