/**
 * Contact Page Styles (fără formular)
 * Full width + Phone/WhatsApp buttons
 * 
 * @package TractariAuto
 */

/* ========================================
   CONTACT PAGE LAYOUT
   ======================================== */
.contact-page-main {
    min-height: calc(100vh - 70px);
    background: linear-gradient(135deg, #fef8f3 0%, #f0e8d8 50%, #fef8f3 100%);
    margin-top: 70px;
    padding: 1.25rem 0 2rem;
    overflow-x: hidden;
    box-sizing: border-box;
}

.contact-page-fullwidth {
    width: 100%;
}

.contact-page-section-full {
    width: 100%;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
}

/* ========================================
   HEADER
   ======================================== */
.contact-page-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.contact-page-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #003d5c;
    margin: 0 0 0.5rem;
    text-shadow: 0 0 30px rgba(255, 193, 7, 0.18);
}

.contact-page-subtitle {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(0.95rem, 1.8vw, 1.08rem);
    color: #8b7355;
    line-height: 1.5;
}

/* ========================================
   CONTENT / CTA BLOCK
   ======================================== */
.contact-page-content {
    margin-bottom: 1.25rem;
}

.contact-page-content-fullwidth {
    display: block;
}

.contact-page-cta-card {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 193, 7, 0.22);
    border-radius: 22px;
    padding: clamp(1rem, 2.2vw, 1.6rem);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.contact-card-title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.2rem, 2.3vw, 1.6rem);
    color: #003d5c;
    font-weight: 800;
}

.contact-card-text {
    margin: 0;
    font-size: clamp(0.92rem, 1.6vw, 1rem);
    color: #6d5a43;
    line-height: 1.6;
}

/* ========================================
   BUTTONS (PHONE / WHATSAPP)
   ======================================== */
.contact-page-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1rem;
}

.contact-page-buttons-center {
    justify-content: center;
}

.btn-phone,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.5vw, 0.98rem);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    box-sizing: border-box;
    min-height: 48px;
    line-height: 1.2;
    position: relative;
    text-align: center;
}

/* IMPORTANT: ascunde orice icon injectat din tema (pseudo-elemente) */
.btn-phone::before,
.btn-phone::after,
.btn-whatsapp::before,
.btn-whatsapp::after {
    content: none !important;
    display: none !important;
}

/* dacă tema pune icon pe <i> / <svg> în interior, îl ascundem */
.btn-phone i,
.btn-phone svg,
.btn-whatsapp i,
.btn-whatsapp svg {
    display: none !important;
}

.btn-phone {
    background: linear-gradient(135deg, #003d5c 0%, #1a6a8a 100%);
    color: #fff;
    border: 1px solid rgba(0, 61, 92, 0.25);
    box-shadow: 0 8px 18px rgba(0, 61, 92, 0.18);
}

.btn-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 61, 92, 0.22);
    opacity: 0.98;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #1fa855 0%, #25D366 100%);
    color: #ffffff;
    border: 1px solid rgba(37, 211, 102, 0.3);
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(37, 211, 102, 0.25);
    opacity: 0.98;
}

/* ========================================
   INFO BLOCKS
   ======================================== */
.contact-page-info-block {
    margin-bottom: 1.25rem;
}

.contact-info-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.contact-info-card {
    background: rgba(0, 61, 92, 0.04);
    border: 1px solid rgba(0, 61, 92, 0.12);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.contact-info-card h3 {
    margin: 0 0 0.45rem;
    color: #003d5c;
    font-size: 1.03rem;
    font-weight: 800;
}

.contact-info-card p {
    margin: 0;
    color: #7b664d;
    line-height: 1.55;
    font-size: 0.94rem;
}

/* ========================================
   FINAL CTA
   ======================================== */
.contact-page-final-cta {
    padding-bottom: 0.25rem;
}

.contact-page-final-cta > .contact-final-title,
.contact-page-final-cta > .contact-final-text,
.contact-page-final-cta > .contact-page-buttons {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.contact-final-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #003d5c;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    font-weight: 800;
}

.contact-final-text {
    margin-top: 0;
    margin-bottom: 0.9rem;
    text-align: center;
    color: #7b664d;
    line-height: 1.6;
    font-size: clamp(0.92rem, 1.6vw, 1rem);
}

/* ========================================
   LINKS FOCUS (ACCESSIBILITY)
   ======================================== */
.btn-phone:focus-visible,
.btn-whatsapp:focus-visible {
    outline: 3px solid rgba(255, 193, 7, 0.45);
    outline-offset: 2px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-page-main {
        padding-top: 1rem;
    }

    .contact-page-buttons {
        flex-direction: column;
    }

    .btn-phone,
    .btn-whatsapp {
        width: 100%;
    }

    .contact-page-cta-card {
        border-radius: 18px;
    }

    .contact-info-card {
        border-radius: 16px;
    }
}