/* =====================================================
   CONTACT.CSS
   ===================================================== */

:root {
    --accent: #2f7dff;
    --panel:  #141414;
    --line:   rgba(255,255,255,0.08);
}

/* ===================== HERO ===================== */
.contact-hero {
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding: 0 60px 70px;
    background:
        linear-gradient(to top, #0b0b0b 10%, rgba(0,0,0,0.5) 70%),
        url('https://images.unsplash.com/photo-1515169067868-5387ec356754?q=80&w=1800&auto=format&fit=crop') center/cover no-repeat;
}

.contact-hero .hero-content {
    padding-top: 110px;
    max-width: 760px;
}

.contact-hero h1 {
    font-size: 54px;
    font-weight: 900;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.contact-hero p {
    font-size: 18px;
    color: #ccc;
    line-height: 1.7;
}

/* ===================== SECTION ===================== */
.contact-section {
    padding: 80px 60px 120px;
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===================== INTRO ===================== */
.contact-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.contact-intro h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.contact-intro p {
    font-size: 17px;
    color: #bbb;
    line-height: 1.7;
}

/* ===================== CARD GRID ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.contact-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
    opacity: 0;
    transform: translateY(20px);
}

.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity .55s cubic-bezier(.16,1,.3,1),
        transform .55s cubic-bezier(.16,1,.3,1),
        background .25s ease,
        box-shadow .25s ease;
}

.contact-card:hover {
    background: #1b1b1b;
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(0,0,0,0.55);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(47,125,255,0.1);
    border: 1px solid rgba(47,125,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}

.contact-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 28px;
    flex: 1;
}

.card-btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    align-self: flex-start;
    transition: transform .2s ease, box-shadow .2s ease;
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(47,125,255,0.35);
    color: #fff;
}

/* ===================== FORM WRAPPER ===================== */
.form-wrapper {
    max-width: 860px;
    margin: 0 auto 90px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 56px;
}

.form-wrapper h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

.form-wrapper > p {
    color: #888;
    font-size: 15px;
    margin-bottom: 36px;
    line-height: 1.6;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: flex;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.field-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #555;
}

.field-label span { color: var(--accent); }

.field-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color .2s, background .2s;
    resize: vertical;
}

.field-input::placeholder { color: #444; }

.field-input:focus {
    border-color: var(--accent);
    background: rgba(47,125,255,0.04);
}

/* Submit */
.submit-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(47,125,255,0.35);
}

/* Success / Error */
.form-success {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(47,200,100,0.08);
    border: 1px solid rgba(47,200,100,0.2);
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 15px;
    color: #7de0a0;
    line-height: 1.6;
}

.form-success svg { color: #7de0a0; flex-shrink: 0; margin-top: 2px; }
.form-success strong { color: #fff; }

.form-error {
    background: rgba(214,0,0,0.08);
    border: 1px solid rgba(214,0,0,0.2);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    color: #ff8080;
    margin-bottom: 4px;
    line-height: 1.5;
}

.response-note {
    margin-top: 20px;
    font-size: 13px;
    color: #555;
}

/* ===================== NOVA SECTION ===================== */
.nova-section {
    border-top: 1px solid var(--line);
    padding-top: 72px;
}

.nova-section h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
}

.nova-section > p {
    max-width: 720px;
    color: #888;
    line-height: 1.8;
    margin-bottom: 44px;
    font-size: 15px;
}

.nova-info {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
}

.nova-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 8px;
}

.nova-value {
    font-size: 15px;
    color: #bbb;
    line-height: 1.65;
}

.nova-value a {
    color: var(--accent);
    text-decoration: none;
    transition: color .2s;
}

.nova-value a:hover { color: #fff; }

/* ===================== SCROLL REVEAL ===================== */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity .7s cubic-bezier(.16,1,.3,1),
        transform .7s cubic-bezier(.16,1,.3,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-card, .contact-card {
        opacity: 1 !important;
        transform: none !important;
        transition: background .2s, box-shadow .2s !important;
    }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .contact-hero       { padding: 0 20px 50px; }
    .contact-hero h1    { font-size: 38px; }
    .contact-section    { padding: 60px 20px 80px; }
    .contact-grid       { grid-template-columns: 1fr; gap: 16px; }
    .form-wrapper       { padding: 32px 20px; }
    .form-row           { flex-direction: column; }
    .nova-info          { gap: 32px; }
}
