/* ========================================== */
/* TSE CONTACT PAGE — contact.css             */
/* ========================================== */

/* ---- Aurora hero: shorter for inner page ---- */
.contact-hero-zone {
    min-height: 52vh !important;
    padding: 12rem 0 5rem 0 !important;
    align-items: flex-end !important;
}

/* ========================================== */
/* CONTACT MAIN SECTION                       */
/* ========================================== */
.contact-main-section {
    padding: 5rem 0 4rem;
    background: var(--light-bg);
}

/* ========================================== */
/* INFO PANEL (left column)                   */
/* ========================================== */
.contact-info-panel {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.contact-info-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-border-subtle);
}

.contact-info-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0.5rem 0 0.75rem;
    letter-spacing: -0.02em;
}

.contact-info-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
}

/* Channel Items */
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.contact-channel-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--light-border-subtle);
    background: var(--light-bg);
    text-decoration: none;
    color: inherit;
    transition: all var(--duration-fast) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.contact-channel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 164, 166, 0.04) 100%);
    opacity: 0;
    transition: opacity var(--duration-fast) ease;
}

.contact-channel-item:hover {
    border-color: var(--itoms-teal);
    background: var(--light-card);
    transform: translateX(4px);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--itoms-teal-glow);
}

.contact-channel-item:hover::before {
    opacity: 1;
}

.contact-channel-item:hover .channel-arrow {
    transform: translateX(4px);
    color: var(--itoms-teal);
}

/* Channel icon wrappers */
.channel-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.channel-icon-red {
    background: var(--brand-red-light);
    color: var(--brand-red);
}

.channel-icon-teal {
    background: var(--itoms-teal-light);
    color: var(--itoms-teal);
}

.channel-icon-neutral {
    background: rgba(71, 85, 105, 0.08);
    color: var(--text-body);
}

.channel-detail {
    flex: 1;
    min-width: 0;
}

.channel-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.channel-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.channel-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all var(--duration-fast) ease;
}

/* Response time badge */
.response-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 164, 166, 0.06);
    border: 1px solid rgba(0, 164, 166, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--itoms-teal);
}

.response-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--itoms-teal);
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 164, 166, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(0, 164, 166, 0);
    }
}

/* ========================================== */
/* FORM PANEL (right column)                  */
/* ========================================== */
.contact-form-panel {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-xl);
    padding: 2.75rem;
    box-shadow: var(--shadow-lg);
}

.form-panel-header {
    margin-bottom: 2.25rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-border-subtle);
}

.form-panel-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0.5rem 0 0.75rem;
    letter-spacing: -0.02em;
}

.form-panel-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
}

/* ========================================== */
/* TSE FORM CONTROLS                          */
/* ========================================== */
.tse-form-group {
    position: relative;
    margin-bottom: 0.25rem;
}

.tse-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    transition: color var(--duration-fast) ease;
}

.tse-form-group:focus-within .tse-label {
    color: var(--itoms-teal);
}

.tse-input {
    width: 100%;
    background: var(--light-bg);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-heading);
    transition: all var(--duration-fast) var(--ease-out-expo);
    outline: none;
    -webkit-appearance: none;
}

.tse-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.tse-input:hover {
    border-color: rgba(0, 164, 166, 0.4);
    background: var(--light-card);
}

.tse-input:focus {
    border-color: var(--itoms-teal);
    background: var(--light-card);
    box-shadow: 0 0 0 3px rgba(0, 164, 166, 0.12);
}

.tse-input.is-invalid {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(211, 30, 36, 0.1);
}

.tse-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Product chip selector */
.product-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-chip {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--light-border);
    background: var(--light-bg);
    color: var(--text-body);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out-expo);
}

.product-chip:hover {
    border-color: var(--itoms-teal);
    color: var(--itoms-teal);
    background: var(--itoms-teal-light);
}

.product-chip.active {
    border-color: var(--itoms-teal);
    background: var(--itoms-teal-light);
    color: var(--itoms-teal);
    font-weight: 600;
    box-shadow: 0 0 0 3px rgba(0, 164, 166, 0.1);
}

/* Submit Button full-width override */
.contact-submit-btn {
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-top: 0.5rem;
}

/* ========================================== */
/* FORM SUCCESS STATE                         */
/* ========================================== */
.form-success-state {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 164, 166, 0.1);
    border: 2px solid rgba(0, 164, 166, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--itoms-teal);
    animation: successPop 0.5s var(--ease-out-expo) both;
}

@keyframes successPop {
    from {
        transform: scale(0.6);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.form-success-state h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.form-success-state p {
    color: var(--text-body);
    font-size: 0.95rem;
}

/* ========================================== */
/* MAP SECTION                                */
/* ========================================== */
.map-section {
    padding: 0 0 5rem;
    background: var(--light-bg);
}

.map-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
    display: block;
    filter: saturate(0.85) contrast(1.05);
}

.map-label-overlay {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 10;
}

.map-label-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-full);
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-heading);
    box-shadow: var(--shadow-md);
}

.map-label-content svg {
    color: var(--brand-red);
    flex-shrink: 0;
}

.map-open-link {
    color: var(--itoms-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    margin-left: 0.5rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--light-border);
    transition: color var(--duration-fast) ease;
}

.map-open-link:hover {
    color: var(--brand-red);
}

/* ========================================== */
/* RTL ADAPTATIONS                            */
/* ========================================== */
html[dir="rtl"] .contact-channel-item:hover {
    transform: translateX(-4px);
}

html[dir="rtl"] .map-label-overlay {
    left: auto;
    right: 1.25rem;
}

html[dir="rtl"] .map-open-link {
    margin-left: 0;
    margin-right: 0.5rem;
    padding-left: 0;
    padding-right: 0.75rem;
    border-left: none;
    border-right: 1px solid var(--light-border);
}

html[dir="rtl"] .channel-arrow svg {
    transform: rotate(180deg);
}

/* ========================================== */
/* CLICKABLE MAP OVERLAY                      */
/* ========================================== */
.map-clickable-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 21, 36, 0);
    transition: background var(--duration-fast) ease;
    text-decoration: none;
    border-radius: var(--radius-xl);
}

.map-clickable-overlay:hover {
    background: rgba(15, 21, 36, 0.25);
}

.map-overlay-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-full);
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(8px) scale(0.95);
    transition: all var(--duration-fast) var(--ease-out-expo);
    pointer-events: none;
}

.map-clickable-overlay:hover .map-overlay-hint {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.map-overlay-hint svg {
    color: var(--itoms-teal);
    flex-shrink: 0;
}

/* RTL */
html[dir="rtl"] .map-clickable-overlay {
    /* No directional changes needed */
}

/* Mobile: always show hint since hover doesn't exist */
@media (max-width: 576px) {
    .map-overlay-hint {
        opacity: 0.9;
        transform: translateY(0) scale(1);
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
}

/* ========================================== */
/* RESPONSIVE                                 */
/* ========================================== */
@media (max-width: 991px) {
    .contact-hero-zone {
        min-height: 45vh !important;
        padding: 10rem 0 4rem 0 !important;
    }

    .contact-info-panel {
        position: static;
    }

    .contact-form-panel,
    .contact-info-panel {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-main-section {
        padding: 3rem 0 2rem;
    }

    .form-panel-title,
    .contact-info-title {
        font-size: 1.35rem;
    }

    .product-chips {
        gap: 0.4rem;
    }

    .product-chip {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .map-label-content {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
}

/* ========================================== */
/* HONEYPOT FIELD — invisible to real users   */
/* ========================================== */
.tse-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    tab-index: -1;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(10, 17, 31, 0.95);
        /* Matches your dark hero theme */
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: var(--radius-lg);
        margin-top: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
}