/* ============================================
   CONTACT PAGE STYLES — contact.css
   ============================================ */

/* ---- Hero ---- */
.contact-hero {
    position: relative;
    padding: 8rem 0 5rem;
    overflow: hidden;
    background: #0f0a0a;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(165, 16, 13, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 100%, rgba(165, 16, 13, 0.15) 0%, transparent 70%);
}

.contact-hero-content {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(165, 16, 13, 0.15);
    border: 1px solid rgba(165, 16, 13, 0.35);
    color: #fca5a5;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.contact-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.contact-hero-accent {
    background: linear-gradient(135deg, #ff6b6b, #a5100d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    max-width: 520px;
    margin: 0 auto;
}

/* ---- Main Section ---- */
.contact-main {
    padding: 5rem 0 6rem;
    background: #fafafa;
    min-height: 60vh;
}

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

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ---- Info Cards ---- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s, transform 0.2s;
}

.contact-info-card:hover {
    box-shadow: 0 8px 32px rgba(165, 16, 13, 0.08);
    transform: translateY(-2px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, rgba(165, 16, 13, 0.1), rgba(196, 18, 16, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5100d;
    flex-shrink: 0;
}

.contact-info-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #171717;
    margin-bottom: 0.2rem;
}

.contact-info-body p {
    font-size: 0.82rem;
    color: #737373;
    margin-bottom: 0.4rem;
}

.contact-info-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #a5100d;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-link:hover {
    color: #c41210;
}

/* ---- FAQ Quick Links ---- */
.contact-faq {
    background: white;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-top: 0.25rem;
}

.contact-faq-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #404040;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.contact-faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.contact-faq-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a5100d;
    font-size: 0.85rem;
}

.contact-faq-list li a {
    color: #404040;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-faq-list li a:hover {
    color: #a5100d;
}

/* ---- Form Card ---- */
.contact-form-wrapper {
    position: relative;
}

.contact-form-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.contact-form-header {
    background: linear-gradient(135deg, #a5100d, #c41210);
    padding: 2rem 2.5rem;
    color: white;
}

.contact-form-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.contact-form-header p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-form {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 600px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-form-header {
        padding: 1.5rem;
    }
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #404040;
}

.contact-label span {
    color: #a5100d;
}

.contact-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e5e5;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: #171717;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    box-sizing: border-box;
}

.contact-input:focus {
    border-color: #a5100d;
    background: white;
    box-shadow: 0 0 0 3px rgba(165, 16, 13, 0.1);
}

.contact-input::placeholder {
    color: #a3a3a3;
}

.contact-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.contact-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.contact-error {
    background: #fff5f5;
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ---- Submit Button ---- */
.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    background: linear-gradient(135deg, #a5100d, #c41210);
    color: white;
    border: none;
    border-radius: 0.875rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    width: 100%;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}

.contact-submit-btn:hover::before {
    opacity: 1;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(165, 16, 13, 0.35);
}

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

.contact-btn-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: contact-spin 0.7s linear infinite;
}

@keyframes contact-spin {
    to { transform: rotate(360deg); }
}

/* ---- Success State ---- */
.contact-success {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
    padding: 4rem 2.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    animation: contact-fade-in 0.5s ease;
}

.contact-success-animate {
    display: flex !important;
}

@keyframes contact-fade-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.contact-success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(165, 16, 13, 0.12), rgba(196, 18, 16, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5100d;
    margin-bottom: 0.5rem;
}

.contact-success h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #171717;
}

.contact-success p {
    font-size: 1rem;
    color: #737373;
    max-width: 360px;
    line-height: 1.65;
}
