/* =====================================================================
   CONTACT PAGE — contact.php
   ===================================================================== */

.contact-hero { padding-block: clamp(40px, 5vw, 80px); background: linear-gradient(90deg, var(--paper) 0 45%, var(--white) 45%); }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-info h1 { max-width: 12ch; }
.contact-info .lead { margin-bottom: 30px; }

.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding: 16px 24px 16px 16px;
    background: var(--ink);
    border-radius: var(--radius-sm);
    color: var(--white);
    text-decoration: none;
    transition: background 0.25s;
}
.contact-phone:hover { background: var(--navy); color: var(--white); }
.contact-phone__icon { display: grid; place-items: center; width: 52px; height: 52px; background: var(--orange); border-radius: var(--radius-sm); color: var(--ink); }
.contact-phone small { display: block; font-size: var(--fs-xs); color: var(--muted-light); text-transform: uppercase; letter-spacing: 0.1em; }
.contact-phone strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--white); }

.contact-facts { list-style: none; display: grid; gap: 18px; margin-bottom: 32px; }
.contact-facts li { display: flex; gap: 14px; font-size: var(--fs-small); color: var(--muted); }
.contact-facts .icon { margin-top: 3px; color: var(--orange); }
.contact-facts strong { display: block; color: var(--ink); font-family: var(--font-head); }
.contact-social p { margin: 0; font-family: var(--font-head); font-weight: var(--fw-semibold); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.contact-social .social { margin-top: 12px; }

/* ---------- Form ---------- */
.contact-form {
    padding: clamp(24px, 4vw, 44px);
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--orange);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}
.contact-form h2 { font-size: 1.6rem; margin-bottom: 6px; }
.contact-form__intro { font-size: var(--fs-small); color: var(--muted); margin-bottom: 24px; }
.contact-form__privacy { margin-top: 14px; font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.contact-form__submit { margin-top: 8px; }
.contact-form__submit[disabled] { opacity: 0.7; cursor: progress; }

.field { margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-head);
    font-size: 0.92rem;
    font-weight: var(--fw-semibold);
    color: var(--ink);
}
.field label span, .field legend span { color: var(--orange-ink); }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #cfc8bc;
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 1rem;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(242, 111, 34, 0.25);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b42318; }
.field__error { margin: 6px 0 0; font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: #b42318; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segmented label { margin: 0; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 10px;
    border: 1px solid #cfc8bc;
    border-radius: var(--radius-sm);
    font-weight: var(--fw-semibold);
    color: var(--muted);
    transition: all 0.2s;
}
.segmented span .icon { width: 18px; height: 18px; }
.segmented input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.segmented input:checked + span .icon { color: var(--orange); }
.segmented input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

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

.form-status { margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: var(--fw-semibold); font-size: var(--fs-small); }
.form-status.is-success { background: #ecfdf3; color: #05603a; border: 1px solid #a6f4c5; }
.form-status.is-error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }

@media (max-width: 900px) {
    .contact-hero { background: var(--paper); }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .contact-phone strong { font-size: 1.35rem; }
}
