/* ============================================
   CONTACT.CSS — page-specific styles
   Loaded after base + layout + components.
   ============================================ */

.page-hero {
    padding: 180px 0 100px; text-align: center;
    background: linear-gradient(180deg, var(--black) 0%, #0A0A14 100%);
}

.page-hero h1 {
    font-family: var(--font-heading); font-size: 52px; font-weight: 300;
    color: var(--white); margin-bottom: 16px;
}

.page-hero p { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto; }

.contact-section { background: linear-gradient(180deg, #0A0A14 0%, var(--black) 100%); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.contact-form h2 {
    font-family: var(--font-heading); font-size: 32px; font-weight: 300;
    color: var(--white); margin-bottom: 8px;
}

.contact-form h2 strong { font-weight: 600; }

.form-subtitle { font-size: 15px; color: var(--muted); margin-bottom: 40px; }

.form-group { margin-bottom: 24px; }

.form-group label {
    display: block; font-family: var(--font-heading); font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--off-white); margin-bottom: 10px;
}

.form-group input:not([type=checkbox]):not([type=radio]),
.form-group select,
.form-group textarea {
    width: 100%; padding: 16px 20px; background: var(--card);
    border: 1px solid rgba(255,255,255,0.06); color: var(--white);
    font-family: var(--font-body); font-size: 15px; font-weight: 300;
    outline: none; transition: border-color 0.3s ease;
    -webkit-appearance: none; appearance: none;
}

.form-group input:not([type=checkbox]):not([type=radio]):focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(25, 164, 166, 0.4); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 20px center; padding-right: 48px; cursor: pointer;
}

.form-group select option { background: #111119; color: var(--white); }

.form-group textarea { min-height: 140px; resize: vertical; line-height: 1.7; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-submit {
    font-family: var(--font-heading); font-size: 13px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--white);
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    border: none; padding: 20px 56px; cursor: pointer;
    transition: all 0.3s ease; width: 100%; margin-top: 8px;
}

.form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(25,164,166,0.25); }

.form-note { font-size: 12px; color: var(--muted); margin-top: 16px; opacity: 0.6; }

.contact-info h2 {
    font-family: var(--font-heading); font-size: 32px; font-weight: 300;
    color: var(--white); margin-bottom: 8px;
}

.contact-info h2 strong { font-weight: 600; }

.info-subtitle { font-size: 15px; color: var(--muted); margin-bottom: 48px; }

.info-card {
    padding: 32px; background: var(--card); border: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 20px; display: flex; gap: 20px; align-items: flex-start;
    transition: all 0.3s ease;
}

.info-card:hover { border-color: rgba(25,164,166,0.12); }

.info-icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    background: var(--teal-dim); flex-shrink: 0;
}

.info-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--teal); stroke-width: 1.5; }

.info-content h4 { font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 6px; }

.info-content p { font-size: 14px; color: var(--muted); line-height: 1.7; }

.info-content a { color: var(--teal); text-decoration: none; transition: opacity 0.3s; }

.info-content a:hover { opacity: 0.7; }

.social-links { display: flex; gap: 16px; margin-top: 40px; }

.social-link {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    background: var(--card); border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease; text-decoration: none;
}

.social-link:hover { border-color: rgba(25,164,166,0.3); background: var(--teal-dim); }

.social-link svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.5; transition: stroke 0.3s; }

.social-link:hover svg { stroke: var(--teal); }

.map-section {
    background: var(--card);
    border-top: 1px solid rgba(255,255,255,0.04);
}

.map-placeholder {
    width: 100%;
    height: 360px;
    background: linear-gradient(135deg, #0e0e1a 0%, #111119 50%, #0e0e1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.map-placeholder svg { width: 48px; height: 48px; opacity: 0.15; }

.map-placeholder p {
    font-family: var(--font-heading); font-size: 12px; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); opacity: 0.4;
}

.response-banner {
    text-align: center; padding: 80px 40px; background: var(--card);
    border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.04);
}

.response-banner p {
    font-family: var(--font-heading); font-size: 14px; font-weight: 400;
    letter-spacing: 0.08em; color: var(--muted);
}

.response-banner strong { color: var(--teal); font-weight: 600; }

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 64px; }
}

@media (max-width: 768px) {
    .page-hero h1 { font-size: 34px; }
    .page-hero { padding: 140px 0 60px; }
    .form-row { grid-template-columns: 1fr; }
    .map-placeholder { height: 240px; }
}

/* Phase 11 placeholder — shown until the actual form module ships. */
.form-placeholder {
    background: var(--card);
    border: 1px dashed rgba(25, 164, 166, 0.35);
    padding: 48px 32px;
    text-align: center;
    margin-top: 16px;
    color: var(--off-white);
    border-radius: 4px;
}
.form-placeholder svg {
    width: 36px;
    height: 36px;
    color: var(--teal);
    margin-bottom: 16px;
    opacity: 0.7;
}
.form-placeholder p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
    opacity: 0.85;
}

/* === Form (live) — submission UX, errors, consent, honeypot === */

/* Honeypot — hide from sighted users, keep for bots */
.contact-form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 8px 0 24px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--off-white);
    opacity: 0.85;
}
.form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
.form-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--teal);
    cursor: pointer;
    flex-shrink: 0;
}

.field-error {
    color: #ff6b7a;
    font-size: 12px;
    margin-top: 6px;
    letter-spacing: 0.02em;
}
.form-error {
    background: rgba(255, 107, 122, 0.08);
    border: 1px solid rgba(255, 107, 122, 0.3);
    color: #ff8b95;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    border-radius: 4px;
}

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

.form-success {
    background: var(--card);
    border: 1px solid rgba(25, 164, 166, 0.35);
    padding: 56px 40px;
    text-align: center;
    margin-top: 16px;
    color: var(--off-white);
    border-radius: 4px;
}
.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--teal);
    margin-bottom: 20px;
}
.form-success p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 8px;
}
.form-success p:last-child { margin-bottom: 0; opacity: 0.8; font-size: 14px; }

/* ===== FAQ (moved from /faq/, rendered on /contact/#faq) =====
   Native <details>/<summary> accordion — accessible, no JS. Mirrors the
   styles that used to live inline in faq/faq_page.html. */
.faq-section { scroll-margin-top: 96px; }
.faq-section .faq-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.faq-section .faq-subtitle { margin-top: 16px; color: var(--muted); }
.faq-intro { max-width: 760px; margin: 0 auto 40px; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.faq-item > summary {
    list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
    font-family: var(--font-headline, inherit); font-weight: 600; font-size: 1.05rem;
    line-height: 1.4; color: var(--white);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
    content: "+"; position: absolute; right: 8px; top: 22px;
    font-size: 1.6rem; line-height: 1; font-weight: 400;
    color: var(--teal); transition: transform .2s ease;
}
.faq-item[open] > summary::after { content: "\2013"; }
.faq-item > summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.faq-answer { padding: 0 48px 28px 0; line-height: 1.75; color: var(--muted); }
.faq-answer p { margin: 0 0 14px; }
.faq-answer ul, .faq-answer ol { margin: 0 0 14px; padding-left: 22px; }
.faq-answer li { margin: 6px 0; }
.faq-answer a { color: var(--teal); text-decoration: underline; }
