/* ============================================
   RENABEL CONCEPT — Contact Page
   ============================================ */

/* CONTACT PAGE WRAPPER */
.rnb-contact-page {
    background-color: var(--rnb-dark);
}

/* CONTACT HEADER */
.rnb-contact-header {
    margin-bottom: 64px;
}

.rnb-contact-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.75rem);
    color: var(--rnb-text);
    margin: 16px 0 24px;
    line-height: 1.15;
}

.rnb-contact-subtitle {
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* CONTACT GRID — sidebar (4 cols) + form (8 cols) */
.rnb-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .rnb-contact-grid {
        grid-template-columns: 4fr 8fr;
    }
}

/* SIDEBAR — stacked info cards */
.rnb-contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* INFO CARDS */
.rnb-info-card {
    padding: 32px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.rnb-info-card:hover {
    border-color: rgba(var(--rnb-accent-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Icon boxes */
.rnb-info-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.rnb-info-card__icon--amber {
    background: rgba(var(--rnb-accent-rgb), 0.1);
    color: var(--rnb-accent);
    border: 1px solid rgba(var(--rnb-accent-rgb), 0.2);
}

.rnb-info-card__icon--blue {
    background: rgba(var(--rnb-blue-rgb), 0.1);
    color: var(--rnb-blue);
    border: 1px solid rgba(var(--rnb-blue-rgb), 0.2);
}

.rnb-info-card__icon--green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--rnb-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Card content */
.rnb-info-card__label {
    color: var(--rnb-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin: 0 0 8px;
}

.rnb-info-card__value {
    font-size: 1.5rem;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: var(--rnb-text);
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.3s;
}

.rnb-info-card__value--link:hover {
    color: var(--rnb-accent);
}

.rnb-info-card__value--blue:hover {
    color: var(--rnb-blue);
}

.rnb-info-card__note {
    font-size: 0.875rem;
    color: var(--rnb-text-dim);
    margin: 0;
}

.rnb-info-card__address {
    font-size: 1.125rem;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: var(--rnb-text);
    margin: 0 0 4px;
}

.rnb-info-card__address-sub {
    color: var(--rnb-text);
    opacity: 0.8;
    margin: 0 0 16px;
}

.rnb-info-card__map-link {
    font-size: 0.875rem;
    color: var(--rnb-accent);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: text-decoration 0.3s;
}

.rnb-info-card__map-link:hover {
    text-decoration: underline;
}

/* FORM COLUMN */
.rnb-contact-form-col {
    min-height: 100%;
}

.rnb-contact-form-panel {
    padding: 32px;
    height: 100%;
    position: relative;
}

@media (min-width: 768px) {
    .rnb-contact-form-panel {
        padding: 48px;
    }
}

.rnb-contact-form-panel:hover {
    border-color: rgba(var(--rnb-accent-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Form header */
.rnb-form-title {
    font-size: 1.875rem;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: var(--rnb-text);
    margin: 0 0 8px;
}

.rnb-form-desc {
    color: var(--rnb-text-muted);
    margin: 0 0 32px;
}

/* Form layout */
.rnb-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rnb-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .rnb-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.rnb-form-group {
    display: flex;
    flex-direction: column;
}

/* INPUTS — kept custom-input, input-label, btn-submit classes */
.custom-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--rnb-border);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    color: var(--rnb-text);
    outline: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    box-sizing: border-box;
}

.custom-input:focus {
    border-color: var(--rnb-accent);
    box-shadow: 0 0 0 4px rgba(var(--rnb-accent-rgb), 0.1);
}

.input-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--rnb-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Select wrapper (Regula 15b — height explicit + vertical centering) */
.rnb-select-wrapper {
    position: relative;
}

.rnb-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer;
    padding: 0 48px 0 1.2rem !important;
    height: 54px !important;
    min-height: 54px !important;
    line-height: 54px !important;
    border-radius: 12px !important;
    box-sizing: border-box;
}

.rnb-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rnb-accent);
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* Textarea */
.rnb-textarea {
    resize: none;
}

/* Form actions */
.rnb-form-actions {
    padding-top: 16px;
    text-align: right;
}

/* BUTTONS */
.btn-submit {
    background: linear-gradient(135deg, var(--rnb-accent) 0%, var(--rnb-accent-light) 100%);
    color: var(--rnb-dark);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(var(--rnb-accent-rgb), 0.4);
}

/* SUCCESS MESSAGE — hidden initially */
.rnb-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    animation: rnb-fadeIn 0.6s ease forwards;
}

.rnb-success-message.active {
    display: flex;
}

@keyframes rnb-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rnb-success-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--rnb-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.rnb-success-title {
    font-size: 1.875rem;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: var(--rnb-text);
    margin: 0 0 16px;
}

.rnb-success-desc {
    color: var(--rnb-text-muted);
    font-size: 1.125rem;
    max-width: 28rem;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* MAP SECTION */
.rnb-map-section {
    margin-top: 80px;
}

.rnb-map-panel {
    padding: 8px;
    height: 500px;
}

.rnb-map-container {
    width: 100%;
    height: 100%;
    border-radius: var(--rnb-radius);
    overflow: hidden;
    position: relative;
}

.rnb-map-container iframe {
    filter: grayscale(100%) invert(92%) contrast(83%);
    transition: filter 0.5s ease;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--rnb-radius);
}

.rnb-map-panel:hover .rnb-map-container iframe {
    filter: grayscale(80%) invert(90%) contrast(90%);
}

.rnb-map-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, var(--rnb-dark), transparent, transparent);
    opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .rnb-contact-header {
        margin-bottom: 40px;
    }

    .rnb-info-card {
        padding: 24px;
    }

    .rnb-contact-form-panel {
        padding: 24px;
    }

    .rnb-map-panel {
        height: 350px;
    }

    .rnb-map-section {
        margin-top: 48px;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .rnb-form-actions {
        text-align: center;
    }
}
