﻿/* ============================================================

   ============================================================ */

/* ---- Layout secțiune ---- */
.rc-section {
    padding: 52px 0 64px;
}

.rc-sec-hdr {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.rc-sec-hdr__lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #888780;
    white-space: nowrap;
}

.rc-sec-hdr__line {
    flex: 1;
    height: 0.5px;
    background: rgba(0,0,0,0.08);
}

.rc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* ---- Card reCAPTCHA ---- */
.rc-captcha-card {
    background: #ffffff;
    border: 0.5px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
}

.rc-captcha-card__hdr {
    padding: 18px 24px;
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rc-captcha-card__hdr-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #378ADD;
    flex-shrink: 0;
}

.rc-captcha-card__hdr h3 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888780;
}

.rc-captcha-body {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.rc-lock-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #E6F1FB;
    border: 0.5px solid #B5D4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #185FA5;
}

.rc-captcha-body__desc {
    text-align: center;
    font-size: 0.85rem;
    color: #5F5E5A;
    line-height: 1.65;
    font-weight: 300;
    max-width: 280px;
}

/* Widget reCAPTCHA — centrare */
.g-recaptcha {
    display: flex;
    justify-content: center;
}

/* Buton reveal */
.rc-reveal-btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    background: #042C53;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    width: 100%;
    max-width: 304px;
    transition: background 0.2s, transform 0.15s, opacity 0.2s;
    opacity: 0.4;
}

    .rc-reveal-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        pointer-events: none;
    }

    .rc-reveal-btn--active,
    .rc-reveal-btn:not(:disabled) {
        opacity: 1;
        pointer-events: auto;
    }

        .rc-reveal-btn--active:hover,
        .rc-reveal-btn:not(:disabled):hover {
            background: #185FA5;
            transform: translateY(-1px);
        }

    .rc-reveal-btn:active {
        transform: scale(0.98);
    }

.rc-captcha-body__note {
    text-align: center;
    font-size: 0.7rem;
    color: #B4B2A9;
    line-height: 1.55;
    max-width: 280px;
}

    .rc-captcha-body__note a {
        color: #888780;
        text-decoration: none;
    }

        .rc-captcha-body__note a:hover {
            color: #185FA5;
        }

/* ---- Card date de contact ---- */
.rc-contact-card {
    background: #ffffff;
    border: 0.5px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.rc-contact-card__hdr {
    padding: 18px 24px;
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rc-contact-card__hdr-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1D9E75;
    flex-shrink: 0;
}

.rc-contact-card__hdr h3 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888780;
}

/* ---- Overlay blur ---- */
.rc-overlay {
    position: absolute;
    inset: 57px 0 0 0; /* sub header */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 2;
    border-radius: 0 0 16px 16px;
    padding: 24px;
    transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
}

.rc-overlay--hidden {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    pointer-events: none;
}

.rc-overlay__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #E6F1FB;
    border: 0.5px solid #B5D4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #185FA5;
}

.rc-overlay p {
    font-size: 0.78rem;
    color: #5F5E5A;
    text-align: center;
    line-height: 1.6;
    max-width: 200px;
}

/* ---- Rânduri date contact ---- */
.rc-contact-list {
    font-style: normal;
}

.rc-contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 0.5px solid rgba(0,0,0,0.06);
}

    .rc-contact-row:last-child {
        border-bottom: none;
    }

.rc-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rc-contact-icon--email {
    background: #E6F1FB;
    color: #185FA5;
}

.rc-contact-icon--phone {
    background: #E1F5EE;
    color: #0F6E56;
}

.rc-contact-icon--addr {
    background: #FAEEDA;
    color: #854F0B;
}

.rc-contact-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
}

.rc-contact-meta__lbl {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888780;
    font-weight: 500;
}

.rc-contact-meta__val {
    font-size: 0.92rem;
    color: #1a1a1a;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

a.rc-contact-meta__val:hover {
    color: #185FA5;
}

/* ==========================================
   Contact links — aspect profesional
========================================== */
.rc-contact-card a {
    color: #1e293b;
    text-decoration: none;
    transition: all .25s ease;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

    /* Hover elegant */
    .rc-contact-card a:hover {
        color: #244da8;
        border-bottom: 1px solid rgba(36,77,168,.25);
    }

    /* Telefon / Email */
    .rc-contact-card a[href^="mailto:"],
    .rc-contact-card a[href^="tel:"] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        word-break: break-word;
    }

/* ============================================================
   MOBILE RESPONSIVE — FULL WIDTH CONTACT
   ============================================================ */
@media (max-width: 760px) {

    .rc-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .rc-contact-card,
    .rc-captcha-card {
        width: 100%;
        min-width: 100%;
    }

    .rc-contact-list {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .rc-contact-row {
        width: 100%;
        box-sizing: border-box;
    }

    .rc-contact-card__hdr h3,
    .rc-captcha-card__hdr h3 {
        font-size: 18px;
    }

    .rc-overlay {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .rc-overlay--hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all .35s ease;
    }
}

/* Ajustări pentru ecrane foarte mici (iPhone SE, etc) */
@media (max-width: 380px) {
    .rc-contact-row a,
    .rc-contact-row .rc-val {
        font-size: 16px;
    }

    .rc-contact-row {
        padding: 20px 15px;
    }
}