/* ── contact page (Product-Sans @font-face lives in common.css) ── */

/* Match index.css base so header/footer and chrome match the home page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: "Product-Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-hero {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-top: 72px;
    padding-bottom: 0;
    background: #000;
}

.contact-hero-frame {
    position: relative;
    width: 100%;
}

.contact-hero-media {
    position: relative;
    width: 100%;
    height: clamp(220px, 75vh, 1000px);
    overflow: hidden;
    line-height: 0;
    background: #000;
    padding-top: 1.2rem;
}

.contact-hero-img {
    /*width: 100%;*/
    height: 100%;
    max-width: none;
    margin: 0 auto;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.contact-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    padding-top: clamp(0.85rem, 2vw, 1.35rem);
    pointer-events: none;
}

.contact-hero-label {
    margin: 0;
    font-family: "Product-Sans", sans-serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    line-height: 1.6;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.contact-body {
    background: #ffffff;
    color: #111111;
    font-family: "Product-Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.contact-shell {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "info"
        "form"
        "social";
    gap: clamp(1.25rem, 3vw, 2rem);
    /* max-width / horizontal padding: .page-width (matches .navbar-inner) */
}

.contact-info {
    grid-area: info;
}

.contact-form-wrap {
    grid-area: form;
}

.contact-social {
    grid-area: social;
    margin-top: 30px;
}

@media (min-width: 900px) {
    .contact-shell {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "info form"
            "info social";
        align-items: start;
        /*column-gap: clamp(2rem, 4vw, 3.5rem);*/
        row-gap: clamp(2rem, 3vw, 2.75rem);
    }
}

.contact-section-title {
    font-family: "Product-Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.6vw, 1.7rem);
    line-height: 1.6;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
    color: #0a0a0a;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.contact-detail-text {
    font-family: "Product-Sans", sans-serif;
    font-size: 1.1rem;
    line-height: 1.45;
    color: #222;
}

a.contact-detail-text {
    transition: color 0.2s ease, opacity 0.2s ease;
}

a.contact-detail-text:hover {
    color: #c40000;
}

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

.contact-form-status {
    min-height: 1.25rem;
    font-family: "Product-Sans", sans-serif;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
}

.contact-form-status.is-error {
    color: #b00020;
}

.contact-form-status.is-success {
    color: #1b5e20;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: none;
    border-radius: 10px;
    background: #f0f0f0;
    color: #111;
    font-family: "Product-Sans", sans-serif;
    font-size: 1rem;
    line-height: 1;
    padding: 0.4rem 1.1rem;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #6a6a6a;
    font-family: "Product-Sans", sans-serif;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    background: #e8e8e8;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.contact-field textarea {
    resize: vertical;
    /*min-height: 140px;*/
}

.contact-captcha-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

.contact-captcha-input {
    display: block;
    flex: 0 0 clamp(7.5rem, 28vw, 10.5rem);
    width: clamp(7.5rem, 28vw, 10.5rem);
    max-width: 168px;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.contact-captcha-input input {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 0.65rem 0.85rem;
}

.contact-captcha-image {
    flex: 0 0 160px;
    display: block;
    width: 160px;
    max-width: 160px;
    min-width: 0;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fafafa;
    position: relative;
    z-index: 1;
}

.contact-captcha-refresh-btn {
    flex: 0 0 auto;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    margin: 0;
    padding: 0 0.25rem;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #1f1f1f;
    font-family: "Product-Sans", sans-serif;
    font-size: 0.95rem;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 0.14em;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact-captcha-refresh-btn:hover {
    color: #c40000;
}

.contact-captcha-refresh-btn:active {
    transform: scale(0.96);
}

.contact-captcha-refresh-icon {
    display: block;
}

.contact-submit {
    margin-top: 0.35rem;
    align-self: center;
    min-width: 180px;
    padding: 0.95rem 2.75rem;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
    font-family: "Product-Sans", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.contact-submit:hover:not(:disabled) {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.contact-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-social-label {
    font-family: "Product-Sans", sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.5rem);
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #111;
    text-align: center;
}

.contact-social-list {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: clamp(0.75rem, 4.5vw, 2.25rem);
}

.contact-social-list li {
    flex: 0 0 auto;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-social-link img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.contact-social-link:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.contact-map {
    margin-top: 25px;
}

@media (max-width: 768px) {
    .contact-hero {
        padding-top: 64px;
    }
}

@media (max-width: 540px) {
    .contact-hero {
        padding-top: 56px;
    }

    .contact-submit {
        width: 100%;
        max-width: 280px;
    }

    .contact-captcha-row {
        gap: 0.5rem;
    }

    .contact-captcha-input {
        flex: 0 0 clamp(6.5rem, 36vw, 9.5rem);
        width: clamp(6.5rem, 36vw, 9.5rem);
        max-width: 148px;
    }

    .contact-captcha-image {
        flex: 0 0 140px;
        width: 140px;
        max-width: 140px;
    }

    .contact-captcha-refresh-btn {
        min-height: 40px;
        font-size: 0.9rem;
    }

    .contact-hero-media {
        height: clamp(220px, 25vh, 1000px);
    }

    .contact-hero-img {
        width: 100%;
    }
}

@media (min-width: 1920px) {
    .contact-hero {
        padding-top: 80px;
    }
}
