/* =========================================================
   CONTACT / FOOTER SECTION — REPLICA
   ========================================================= */

.contact-section {
    background: #1a3a3a;
    padding: 0;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-content {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 80px 42px 40px;
    flex: 1;
}

.contact-character {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 10;
    transform: translateY(25px);
}

.contact-character-img {
    width: 110%;
    max-width: 550px;
    height: auto;
    object-fit: contain;
    transform: translate(-50px, 0px);
    cursor: grab;
}

.contact-main {
    display: flex;
    gap: 60px;
    flex: 1;
    padding-bottom: 40px;
    padding-left: 450px;
}

.contact-left {
    flex: 1;
    padding-top: 20px;
}

.contact-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--cream);
    margin-bottom: 20px;
}

.contact-highlight {
    color: var(--orange);
}

.section-label-light {
    color: rgba(255, 255, 255, 0.7);
}

.section-label-light .label-dot {
    background: var(--orange);
}

.contact-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    gap: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}

.contact-item a,
.contact-item span {
    color: var(--cream);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--orange);
}

.contact-right {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--cream);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    resize: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232, 93, 38, 0.2);
}

.submit-btn {
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 30px;
    padding: 14px 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(232, 93, 38, 0.3);
}

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

.form-feedback {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.form-feedback--success {
    background: rgba(232, 93, 38, 0.12);
    border: 1px solid rgba(232, 93, 38, 0.4);
    color: var(--orange);
}

.form-feedback--error {
    background: rgba(220, 60, 60, 0.1);
    border: 1px solid rgba(220, 60, 60, 0.35);
    color: #e07070;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: #111;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.footer-brand {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--cream);
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    gap: 4px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: var(--orange);
}

.footer-social-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-social-section span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--orange);
}

/* =========================================================
   CONTACT RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .contact-main {
        gap: 40px;
        padding-left: 300px;
    }

    .contact-title {
        font-size: clamp(28px, 3.5vw, 44px);
    }

    .contact-character-img {
        max-width: 300px;
    }
}

/* =========================================================
   CONTACT + FOOTER — MOBILE
   ========================================================= */

@media (max-width: 800px) {

    /* --- Contact Section --- */
    .contact-section {
        overflow: hidden;
        position: relative;
    }

    .contact-content {
        flex-direction: column;
        padding: 40px 20px 140px; /* bottom padding leaves room for character */
        gap: 0;
        position: relative;
    }

    /* Restore character — pinned to bottom-left of the contact content */
    .contact-character {
        display: block;
        position: absolute;
        bottom: -20px;
        left: -10px;
        right: auto;
        transform: none;
        z-index: 10;
        pointer-events: none;
    }

    .contact-character-img {
        width: auto;
        max-width: 160px;
        height: auto;
        transform: none;
    }

    .contact-main {
        flex-direction: column;
        padding-left: 0;
        gap: 28px;
        width: 100%;
    }

    .contact-left {
        padding-top: 0;
        text-align: center;
    }

    .contact-title {
        font-size: clamp(28px, 9vw, 42px);
        letter-spacing: -1px;
    }

    .section-label-light {
        justify-content: center;
    }

    .contact-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* Keep email / phone / location in a single row */
    .contact-info {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .contact-item {
        align-items: center;
        flex-shrink: 0;
    }

    .contact-item a,
    .contact-item span {
        font-size: 12px;
    }

    .contact-label {
        font-size: 9px;
    }

    .contact-right {
        width: 100%;
    }

    .contact-form {
        width: 100%;
        align-items: stretch;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    .submit-btn {
        align-self: center;
        width: 100%;
        text-align: center;
    }

    /* --- Footer: single compact row --- */
    .footer {
        flex-direction: row;
        flex-wrap: nowrap;
        height: auto;
        gap: 0;
        padding: 10px 14px;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .footer-left {
        flex-shrink: 0;
    }

    .footer-logo {
        width: 48px;
        height: 48px;
    }

    .footer-center {
        flex: 1;
        align-items: center;
        font-size: 9px;
        gap: 1px;
        padding: 0 8px;
        order: 0;
    }

    .footer-right {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        order: 0;
    }

    .footer-contact-info {
        display: none; /* hide email/phone in footer on mobile — already in contact section */
    }

    .footer-social-section {
        align-items: flex-end;
        gap: 4px;
    }

    .footer-social-section span {
        display: none; /* hide "Follow the chaos" label to save space */
    }

    .footer-social {
        gap: 10px;
    }

    .footer-social a {
        font-size: 12px;
    }
}