/*
 * Rozana Himachal - Contact page (2026-10)
 * Loaded only on the contact page.
 */
.rh-contact {
    --rh-c-border: #eceef2;
    --rh-c-card: #fff;
    --rh-c-muted: #6b7280;
    --rh-c-text: #1f2937;
    --rh-c-input: #f8f9fb;
}

/* ---------- header ---------- */
.rh-contact-hero {
    position: relative;
    margin-bottom: 24px;
    padding: 30px 32px;
    overflow: hidden;
    border: 1px solid var(--rh-c-border);
    border-radius: 18px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--vr-theme-color) 13%, #fff) 0%, #fff 70%);
}

.rh-contact-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--vr-theme-color) 10%, transparent);
    pointer-events: none;
}

.rh-contact-hero .page-title {
    margin-bottom: 10px;
}

.rh-contact-lead {
    position: relative;
    z-index: 1;
    margin: 0 0 6px;
    color: var(--rh-c-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

.rh-contact-about {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0;
    color: var(--rh-c-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- contact cards ---------- */
.rh-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.rh-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--rh-c-border);
    border-radius: 16px;
    background-color: var(--rh-c-card);
    color: var(--rh-c-text);
    box-shadow: 0 4px 18px rgba(17, 24, 39, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.rh-contact-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--vr-theme-color) 40%, transparent);
    box-shadow: 0 10px 28px rgba(17, 24, 39, .10);
    color: var(--rh-c-text);
}

.rh-contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background-color: var(--vr-theme-color);
    color: #fff;
    font-size: 22px;
}

.rh-contact-card-whatsapp .rh-contact-card-icon {
    background-color: #25d366;
}

.rh-contact-card-mail .rh-contact-card-icon {
    background-color: #2563eb;
}

.rh-contact-card-address .rh-contact-card-icon {
    background-color: #7c3aed;
}

.rh-contact-card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rh-contact-card-label {
    color: var(--rh-c-muted);
    font-size: 13px;
    font-weight: 600;
}

.rh-contact-card-value {
    font-size: 16px;
    font-weight: 700;
    word-break: break-word;
}

/* ---------- form ---------- */
.rh-contact .rh-contact-form {
    height: 100%;
    margin-bottom: 0;
    padding: 28px;
    border: 1px solid var(--rh-c-border);
    border-radius: 18px;
    background-color: var(--rh-c-card);
    box-shadow: 0 6px 24px rgba(17, 24, 39, .06);
}

.rh-contact-form-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--rh-c-text);
    font-size: 22px;
    font-weight: 700;
}

.rh-contact-form-title svg {
    color: var(--vr-theme-color);
}

.rh-contact-form .form-label {
    margin-bottom: 6px;
    color: var(--rh-c-text);
    font-size: 14px;
    font-weight: 600;
}

.rh-contact-form .form-label small {
    color: var(--rh-c-muted);
    font-weight: 400;
}

.rh-contact-form .form-control {
    min-height: 48px;
    border: 1px solid #e3e6eb;
    border-radius: 12px;
    background-color: var(--rh-c-input);
    font-size: 15px;
}

.rh-contact-form .form-control:focus {
    background-color: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--vr-theme-color) 15%, transparent);
}

.rh-contact-form textarea.form-control {
    min-height: 160px;
}

.rh-contact-terms {
    gap: 8px;
    margin: 18px 0 14px;
    font-size: 14px;
}

.rh-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 700;
}

/* ---------- advertising and social ---------- */
.rh-contact-ads {
    position: relative;
    margin-bottom: 20px;
    padding: 26px 24px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(140deg, var(--vr-theme-color), color-mix(in srgb, var(--vr-theme-color) 70%, #000));
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--vr-theme-color) 30%, transparent);
}

.rh-contact-ads-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .18);
}

.rh-contact-ads-text {
    font-size: 17px;
    line-height: 1.6;
}

.rh-contact-ads-text p {
    margin: 0 0 6px;
}

.rh-contact-ads-text a {
    color: #fff;
    font-weight: 700;
}

.rh-contact-ads-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 22px;
    border-radius: 999px;
    background-color: #fff;
    color: var(--vr-theme-color);
    font-weight: 700;
    transition: transform .2s ease;
}

.rh-contact-ads-btn:hover {
    transform: translateY(-2px);
    color: var(--vr-theme-color);
}

.rh-contact-follow {
    padding: 24px;
    border: 1px solid var(--rh-c-border);
    border-radius: 18px;
    background-color: var(--rh-c-card);
}

.rh-contact-follow-title {
    margin-bottom: 16px;
    color: var(--rh-c-text);
    font-size: 18px;
    font-weight: 700;
}

.rh-contact-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rh-social-btn {
    --rh-brand: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    background-color: color-mix(in srgb, var(--rh-brand) 10%, #fff);
    color: var(--rh-brand);
    font-size: 14px;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease;
}

.rh-social-btn i {
    font-size: 18px;
}

.rh-social-btn:hover {
    background-color: var(--rh-brand);
    color: #fff;
}

.rh-social-facebook { --rh-brand: #1877f2; }
.rh-social-twitter { --rh-brand: #111827; }
.rh-social-instagram { --rh-brand: #e1306c; }
.rh-social-youtube { --rh-brand: #ff0033; }
.rh-social-whatsapp { --rh-brand: #128c7e; }
.rh-social-telegram { --rh-brand: #229ed9; }
.rh-social-linkedin { --rh-brand: #0a66c2; }
.rh-social-pinterest { --rh-brand: #e60023; }
.rh-social-tiktok { --rh-brand: #111827; }
.rh-social-discord { --rh-brand: #5865f2; }
.rh-social-twitch { --rh-brand: #9146ff; }
.rh-social-vk { --rh-brand: #0077ff; }

/* ---------- text of Admin -> Pages -> Contact ---------- */
.rh-contact-content {
    margin-top: 28px;
    padding: 30px 32px;
    border: 1px solid var(--rh-c-border);
    border-radius: 18px;
    background-color: var(--rh-c-card);
    color: var(--rh-c-text);
    font-size: 16px;
    line-height: 1.85;
}

.rh-contact-content h2,
.rh-contact-content h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 10px;
    color: var(--rh-c-text);
    font-weight: 700;
}

.rh-contact-content h2 {
    margin-top: 0;
    font-size: 22px;
}

.rh-contact-content h3 {
    font-size: 18px;
}

.rh-contact-content h2::before,
.rh-contact-content h3::before {
    content: "";
    flex-shrink: 0;
    width: 5px;
    height: 1.1em;
    border-radius: 3px;
    background: var(--vr-theme-color);
}

.rh-contact-content ul {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.rh-contact-content li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 28px;
}

.rh-contact-content li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .55em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--vr-theme-color) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ed6211' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.rh-contact-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .rh-contact-content {
        padding: 22px 18px;
    }
}

/* ---------- map ---------- */
.rh-contact-map {
    height: 380px;
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--rh-c-border);
    border-radius: 18px;
}

.rh-contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- small screens ---------- */
@media (max-width: 767.98px) {
    .rh-contact-hero {
        padding: 22px 20px;
    }

    .rh-contact-lead {
        font-size: 16px;
    }

    .rh-contact .rh-contact-form {
        padding: 20px 16px;
    }

    .rh-contact-submit {
        width: 100%;
    }
}

/* ---------- dark mode ---------- */
.dark-mode .rh-contact {
    --rh-c-border: #2a2a2a;
    --rh-c-card: #1b1b1b;
    --rh-c-muted: #9ca3af;
    --rh-c-text: #e5e7eb;
    --rh-c-input: #232323;
}

.dark-mode .rh-contact-hero {
    background: linear-gradient(135deg, color-mix(in srgb, var(--vr-theme-color) 22%, #1b1b1b) 0%, #1b1b1b 70%);
}

.dark-mode .rh-contact-form .form-control {
    border-color: #333;
    color: #e5e7eb;
}

.dark-mode .rh-contact-form .form-control:focus {
    background-color: #262626;
}

.dark-mode .rh-social-btn {
    background-color: color-mix(in srgb, var(--rh-brand) 22%, #1b1b1b);
    color: #f3f4f6;
}
