/* ============================================
   CONTACT CSS — Contact Page
   ============================================ */

/* ---- Glass Input ---- */
.glass-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.58);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 13px 16px;
    transition: border-color 0.25s ease,
                box-shadow 0.25s ease,
                background 0.25s ease,
                transform 0.2s ease;
    font-size: 14px;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    -webkit-appearance: none;
}

.glass-input::placeholder {
    color: #b5b5b5;
    font-weight: 400;
}

.glass-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 4px rgba(184, 132, 77, 0.11);
    transform: translateY(-1px);
}

.glass-input:disabled {
    background: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    opacity: 0.6;
}

label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: #888;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .glass-input {
        border-radius: 16px;
        padding: 15px 18px;
        font-size: 15px;
    }
}

/* ---- Submit Button — All States ---- */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #B8844D, #8B6F47);
    color: white;
    padding: 15px 24px;
    border-radius: 14px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1)),
                box-shadow 0.3s ease,
                opacity 0.3s ease;
}

.submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.submit-btn:hover:not(:disabled)::before {
    opacity: 1;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(184, 132, 77, 0.42);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    cursor: not-allowed;
    transform: none !important;
}

.submit-btn.btn-loading {
    background: linear-gradient(135deg, #c4956a, #9d7a52);
    opacity: 0.82;
    pointer-events: none;
}

.submit-btn.btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    pointer-events: none;
}

.submit-btn.btn-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.submit-btn .material-icons {
    font-size: 18px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .submit-btn {
        padding: 16px 28px;
        border-radius: 16px;
        font-size: 15px;
    }
    .submit-btn .material-icons {
        font-size: 20px;
    }
}

/* ---- FAQ Accordion ---- */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1.5px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    border-color: rgba(184, 132, 77, 0.15);
}

.faq-item.active {
    box-shadow: 0 12px 32px rgba(184, 132, 77, 0.12);
    border-color: rgba(184, 132, 77, 0.25);
}

.faq-trigger {
    width: 100%;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-size: 14px;
    transition: color 0.25s ease,
                background 0.25s ease;
    font-family: 'Poppins', sans-serif;
    gap: 12px;
}

.faq-trigger:hover {
    color: var(--primary);
}

.faq-trigger .material-icons {
    transition: transform 0.4s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.faq-item.active .faq-trigger {
    color: var(--primary);
    background: rgba(184, 132, 77, 0.055);
}

.faq-item.active .faq-trigger .material-icons {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out, cubic-bezier(0.4, 0, 0.2, 1)),
                padding-bottom 0.3s ease,
                opacity 0.3s ease;
    padding: 0 18px;
    opacity: 0;
    color: #666;
}

.faq-item.active .faq-content {
    max-height: 350px;
    padding-bottom: 18px;
    opacity: 1;
}

.faq-content p {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

@media (min-width: 768px) {
    .faq-container             { gap: 14px; }
    .faq-item                  { border-radius: 20px; }
    .faq-trigger               { padding: 20px 24px; font-size: 15px; }
    .faq-trigger .material-icons { font-size: 22px; }
    .faq-content               { padding: 0 24px; }
    .faq-item.active .faq-content { padding-bottom: 20px; }
    .faq-content p             { font-size: 14px; }
}

/* ---- Contact Link ---- */
.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #666;
    transition: color 0.25s ease,
                transform 0.25s ease;
    padding: 8px 0;
    font-size: 14px;
}

.contact-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.contact-link .material-icons {
    font-size: 18px;
    color: var(--primary);
}

/* ---- Group ---- */
.group {
    margin-bottom: 14px;
}

.group:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .group {
        margin-bottom: 20px;
    }
}

/* ---- Accessibility ---- */
.glass-input:focus-visible,
.submit-btn:focus-visible,
.faq-trigger:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ---- Print ---- */
@media print {
    .floating-nav,
    .floating-logo { display: none; }
    .faq-item      { break-inside: avoid; }
}
