/* ------------------------------------------------------------------ *
 * Contact page + thanks page
 * ------------------------------------------------------------------ */

body.contact-body {
    background-color: #f5f5f5;
    color: #000;
    min-height: 100vh;
}

.contact-hero {
    margin-top: var(--header-h);
    padding: 80px 0 2px;
    text-align: center;
    position: relative;
}
.contact-hero h1 {
    font-size: 44px;
    font-weight: 300;
    letter-spacing: 6px;
    margin-bottom: 20px;
    color: #000;
}
.contact-hero p {
    font-size: 14px;
    letter-spacing: 1.5px;
    font-weight: 300;
    color: #666;
}

.contact-section {
    padding: 40px 0 80px;
    position: relative;
}
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,0,0,0.02) 0%, transparent 70%);
    pointer-events: none;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 2px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}
.form-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.2), transparent);
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}
.form-label {
    display: block;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    color: #000;
    font-size: 16px;
    letter-spacing: 0.3px;
    transition: border-color 0.3s;
    border-radius: 0;
    font-family: inherit;
}
.form-control:focus {
    outline: none;
    border-bottom-color: #000;
    box-shadow: none;
    background: transparent;
}
.form-control::placeholder { color: #bbb; }
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #000, #666);
    transition: width 0.3s;
    pointer-events: none;
}
.form-group:focus-within .input-line { width: 100%; }

.submit-btn {
    width: 100%;
    padding: 16px 40px;
    background: #000;
    border: 1px solid #000;
    color: #fff;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
    font-family: inherit;
}
.submit-btn:hover,
.submit-btn:focus-visible { background: #333; border-color: #333; }
.submit-btn[disabled] { opacity: 0.7; cursor: progress; }

.contact-info {
    margin-top: 60px;
    text-align: center;
}
.contact-info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 30px;
    color: #666;
    font-size: 13px;
    letter-spacing: 1px;
}
.contact-info-item .icon { color: #000; }

/* Decorative background */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}
.glow-orb {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    pointer-events: none;
    z-index: -1;
}
.glow-orb-1 { top: 20%; left: 10%; background: #000; }
.glow-orb-2 { bottom: 20%; right: 10%; background: #666; }

/* Thanks page */
.thanks-section {
    margin-top: var(--header-h);
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.thanks-container {
    max-width: 600px;
    text-align: center;
    padding: 60px 50px;
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 2px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}
.thanks-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 30px;
    line-height: 1;
}
.thanks-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.thanks-message {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    letter-spacing: 0.3px;
    margin-bottom: 40px;
}
.back-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #000;
    border: 1px solid #000;
    color: #fff;
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s;
}
.back-btn:hover,
.back-btn:focus-visible { background: #333; border-color: #333; color: #fff; }

@media (max-width: 768px) {
    .contact-hero h1 { font-size: 30px; letter-spacing: 4px; }
    .form-container { margin: 0 16px; padding: 30px 22px; }
    .contact-info-item { display: flex; justify-content: center; margin: 12px 0; }
    .thanks-title { font-size: 24px; letter-spacing: 3px; }
    .thanks-container { margin: 0 16px; padding: 40px 22px; }
    .thanks-icon { font-size: 56px; }
}
