/* ══════════════════════════════════════════════════════════
   CONTACT PAGE — FOLDED
   Extends index.css
   ══════════════════════════════════════════════════════════ */

/* ── Hero ───────────────────────────────────────────────── */

.contact-hero {
    padding-block: 90px 80px;
}

.contact-hero h1 {
    font-size: 85px;
    line-height: 94px;
    margin-bottom: 16px;
}

.contact-hero p {
    font-size: 20px;
    line-height: 30px;
    color: rgba(0, 0, 0, 0.6);
    max-width: 480px;
}

/* ── Body section ───────────────────────────────────────── */

.contact-body {
    padding-block: 0 100px;
}

/* ── Grid ───────────────────────────────────────────────── */

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

/* ══════════════════════════════════════════════════════════
   CONTACT FORM CARD
   ══════════════════════════════════════════════════════════ */

.contact-form-card {
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 40px;
}

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

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

.cf-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cf-group label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
}

.cf-input {
    width: 100%;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    color: #000;
    background-color: #fff;
    outline: none;
    transition: background-color 0.15s ease;
    appearance: none;
    -webkit-appearance: none;
    display: block;
}

.cf-input::placeholder {
    color: rgba(0, 0, 0, 0.28);
}

.cf-input:focus {
    background-color: rgba(255, 222, 89, 0.18);
}

.cf-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 24px;
    font-family: 'DM Sans', sans-serif;
}

/* Error */
.cf-error {
    display: none;
    padding: 12px 16px;
    background-color: #000;
    color: #FFDE59;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    animation: errIn 0.2s ease;
}

.cf-error.visible {
    display: block;
}

@keyframes errIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Submit button */
.cf-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    align-self: flex-start;
}

.cf-submit:hover {
    background-color: #FFDE59;
    color: #000;
}

/* ══════════════════════════════════════════════════════════
   SUCCESS STATE
   ══════════════════════════════════════════════════════════ */

.contact-success {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 40px;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #FFDE59;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-success h2 {
    font-size: 40px;
    line-height: 48px;
}

.contact-success p {
    font-size: 17px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.55);
    margin: 0;
}

.cf-reset {
    background: none;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cf-reset:hover {
    background-color: #000;
    color: #fff;
}

/* ══════════════════════════════════════════════════════════
   INFO CARDS
   ══════════════════════════════════════════════════════════ */

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

.info-card {
    background-color: #FFDE59;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    display: block;
    line-height: 1.3;
}

a.info-value:hover {
    text-decoration: underline;
}

.info-sub {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media screen and (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 720px) {
    .contact-hero {
        padding-block: 70px 60px;
    }

    .contact-hero h1 {
        font-size: 60px;
        line-height: 68px;
    }

    .contact-body {
        padding-bottom: 70px;
    }

    .contact-form-card,
    .contact-success {
        padding: 28px 24px;
    }

    .cf-row {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 500px) {
    .contact-hero h1 {
        font-size: 46px;
        line-height: 54px;
    }
}
