/* =========================================================
   CONTACT PAGE PREMIUM - ODONTOLOGÍA CIUDAD JARDÍN
========================================================= */

/* =========================
   CONTACT HERO
========================= */

/* ==================== HERO CONTACTO CON IMAGEN DE FONDO ==================== */
.contact-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imagenes/hero-contacto.png'); /* Cambia por tu imagen */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 31, 63, 0.85) 0%,
        rgba(0, 51, 102, 0.75) 50%,
        rgba(0, 31, 63, 0.85) 100%
    );
    z-index: 2;
}

.contact-hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.contact-hero-content {
    max-width: 700px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.contact-hero h1 span {
    color: var(--accent);
    display: block;
}

.contact-hero p {
    font-size: 1.25rem;
    max-width: 520px;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Mini Cards */
.hero-contact-cards {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-mini-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    padding: 1.2rem 1.6rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 220px;
}

.hero-mini-card i {
    font-size: 1.8rem;
    color: var(--accent);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-hero {
        min-height: 65vh;
    }
    
    .hero-contact-cards {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-hero-bg {
        background-attachment: scroll;
    }
}

/* =========================
   CONTACT SECTION
========================= */

.contact-main-section {
    padding: 8rem 0;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fbff 100%
        );
    position: relative;
}

.contact-main-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(0,168,232,0.08);
    bottom: -200px;
    left: -200px;
    filter: blur(120px);
}

.contact-grid-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-information h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.contact-information h2 span {
    display: block;
    color: var(--secondary);
}

.contact-information p {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 3rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    display: flex;
    gap: 1.3rem;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.contact-info-card i {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient-secondary);
    color: white;
    font-size: 1.3rem;
}

.contact-info-card h4 {
    color: var(--primary-dark);
    margin-bottom: .4rem;
}

.contact-info-card span {
    color: var(--text-light);
}

/* =========================
   FORMULARIOS
========================= */

.contact-form-wrapper,
.pqrs-form {
    background: rgba(255,255,255,0.95);
    padding: 3rem;
    border-radius: 34px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,168,232,0.08);
}

.premium-contact-form,
.pqrs-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: .8rem;
    font-size: .95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    border: 1px solid #d7e8f5;
    border-radius: 18px;
    padding: 1rem 1.2rem;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #fbfdff;
}

.form-group textarea {
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--secondary);
    box-shadow:
        0 0 0 4px rgba(0,168,232,0.12);
}

.full-width {
    width: 100%;
}

.honeypot {
    display: none;
}

/* =========================
   MAP SECTION
========================= */

.map-section {
    padding: 8rem 0;
    background: #eef7fd;
}

.map-header {
    text-align: center;
    margin-bottom: 4rem;
}

.map-header h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--primary-dark);
}

.map-wrapper {
    width: min(92%, 1400px);
    margin: auto;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
    filter: grayscale(0.1) contrast(1.05);
}

/* =========================
   PQRS
========================= */

.pqrs-section {
    padding: 8rem 0;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fbff 100%
        );
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: auto auto 5rem;
}

.section-header h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.section-header p {
    color: var(--text-light);
    line-height: 2;
}

/* =========================
   BUTTONS
========================= */

.btn-primary {
    border: none;
    cursor: pointer;
    padding: 1rem 2rem;
    border-radius: 18px;
    background: var(--gradient-secondary);
    color: rgb(13, 30, 100);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow:
        0 18px 40px rgba(0,168,232,0.24);
}

.btn-primary:hover {
    transform: translateY(-5px);
    background: var(--gradient-primary);
}

/* =========================
   ANIMATIONS
========================= */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes pulseGlow {

    0%,100% {
        transform: scale(1);
        opacity: .7;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }

}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .contact-grid-premium {
        grid-template-columns: 1fr;
    }

    .contact-information {
        order: 2;
    }

    .contact-form-wrapper {
        order: 1;
    }

    .map-wrapper iframe {
        height: 450px;
    }

}

@media (max-width: 768px) {

    .contact-hero {
        padding-top: 8rem;
        min-height: auto;
        padding-bottom: 5rem;
    }

    .contact-hero-content h1 {
        font-size: 3rem;
    }

    .hero-contact-cards {
        flex-direction: column;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper,
    .pqrs-form {
        padding: 2rem;
    }

    .map-wrapper iframe {
        height: 350px;
    }

    .section-header {
        margin-bottom: 3rem;
    }

}

/* ==================== CONTACTO PAGE - ESTILOS ESPECÍFICOS ==================== */

.hero-contacto {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-contacto .hero-overlay {
    background: linear-gradient(90deg, rgba(0,31,63,0.9), rgba(0,51,102,0.75));
}

.hero-contacto .hero-title {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    line-height: 1.1;
    color: white;
}

.hero-contacto .hero-description {
    color: rgba(255,255,255,0.95);
    font-size: 1.3rem;
    max-width: 600px;
}

/* ==================== SECCIÓN PRINCIPAL DE CONTACTO ==================== */
.contact-page-section {
    padding: 6rem 0;
    background: #f8fbff;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================== INFORMACIÓN DE CONTACTO ==================== */
.contact-info-box {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.contact-info-box h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 4px;
}

.info-item strong {
    font-size: 1.1rem;
}

.horario {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.horario h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
}

/* ==================== FORMULARIO ==================== */
.contact-form-box {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.contact-form-box h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.6rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 22px;
    border: 2px solid #e0e7f0;
    border-radius: 16px;
    font-size: 1.05rem;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.1);
}

.contact-form .full-width {
    margin-top: 1rem;
    padding: 18px;
    font-size: 1.15rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info-box {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-page-section {
        padding: 4rem 0;
    }
    
    .contact-info-box,
    .contact-form-box {
        padding: 2rem;
    }
}

/* ==================== DOCUMENTOS PARA ATENCIÓN RÁPIDA ==================== */
.documentos-section {
    padding: 5rem 0;
    background: white;
}

.documentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.documento-item {
    background: #f8fbff;
    padding: 2rem 1.8rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.4rem;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.documento-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.documento-icon {
    font-size: 2.8rem;
    color: var(--accent);
    flex-shrink: 0;
    width: 70px;
}

.documento-content h3 {
    color: var(--primary);
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
}

.tip-text {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 2.5rem auto 0;
}