/* ─────────────────────────────────────
   CONTACT PAGE — contact.css
───────────────────────────────────── */

/* ── Hero ── */
.contact-hero {
    padding: 140px 8% 80px;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37,99,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: 50%; left: 30%;
    transform: translate(-50%,-50%);
    width: 500px; height: 300px;
    background: radial-gradient(ellipse, rgba(37,99,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.contact-hero-content h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    margin: 12px 0 20px;
    background: linear-gradient(135deg, #fff 40%, #4d8aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero-sub {
    font-family: 'Outfit', sans-serif;
    color: #888ea8;
    font-size: 17px;
    line-height: 1.7;
    max-width: 460px;
}


/* ── Contact body ── */
.contact-body {
    padding: 80px 8% 100px;
    background: #0a0a0a;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}


/* ── Left — info ── */
.contact-info h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.contact-info-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.contact-method:hover {
    border-color: rgba(37,99,255,0.35);
    transform: translateX(4px);
}

.contact-method-wa:hover {
    border-color: rgba(37,211,102,0.35);
}

.cm-icon {
    width: 44px; height: 44px;
    min-width: 44px;
    background: #1a2a5e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #4d8aff;
}

.cm-icon-wa {
    background: rgba(37,211,102,0.1);
    color: #25d366;
}

.cm-label {
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 4px;
}

.cm-text strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.contact-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    color: #555;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
}

.contact-info-tags i { color: #4d8aff; }


/* ── Right — form ── */
.contact-form-wrap {
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 44px 40px;
    position: relative;
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-group label {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    letter-spacing: 0.3px;
}

.req { color: #4d8aff; }

.form-group input,
.form-group select,
.form-group textarea {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2563ff;
    box-shadow: 0 0 0 3px rgba(37,99,255,0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #444;
}

/* error state */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.field-error {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    color: #ef4444;
    display: none;
    margin-top: -4px;
}

.char-count {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: #555;
    text-align: right;
    margin-top: -4px;
}

/* submit button */
.form-submit {
    background: #2563ff;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 30px rgba(37,99,255,0.3);
    width: 100%;
    margin-top: 4px;
}

.form-submit:hover:not(:disabled) {
    background: #4d8aff;
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(37,99,255,0.5);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-note {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: #444;
    text-align: center;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-note i { color: #2563ff; }

/* ── Success state ── */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 20px 0;
    min-height: 400px;
}

.success-icon {
    font-size: 64px;
    color: #22c55e;
    animation: popIn 0.5s cubic-bezier(0.23,1,0.32,1) both;
}

@keyframes popIn {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.form-success h3 {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: white;
}

.form-success p {
    font-family: 'Outfit', sans-serif;
    color: #888ea8;
    font-size: 15px;
    line-height: 1.7;
    max-width: 320px;
}

.success-back {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #aaa;
    padding: 10px 24px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    margin-top: 8px;
}

.success-back:hover {
    border-color: rgba(255,255,255,0.3);
    color: white;
}

/* ── Footer simple ── */
footer {
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8%;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: #333;
    letter-spacing: 1px;
}


/* ── Mobile ── */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-hero { padding: 110px 5% 60px; }
    .contact-hero-content h1 { font-size: clamp(32px, 9vw, 48px); }
    .contact-body { padding: 50px 5% 80px; }
    .contact-form-wrap { padding: 28px 20px; border-radius: 18px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-bottom-simple { flex-direction: column; gap: 8px; text-align: center; padding: 20px 5%; }
}
