/* ========================================
   PÁGINA CONTACTO - ESTILOS ESPECÍFICOS
   ======================================== */

/* Estilos base del hero (del home) */
.quirozchile-hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 25%, #3b82f6 50%, #2563eb 75%, #1d4ed8 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-badge {
    margin-bottom: 20px;
}

.badge-text {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    color: white;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.subtitle-icon {
    margin-right: 10px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-modern {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e3a8a;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
    color: #1e3a8a;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-icon {
    font-size: 1.1rem;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Section Personalizado para Contacto */
.contacto-hero .hero-background {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 25%, #c084fc 50%, #d8b4fe 75%, #e9d5ff 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Secciones */
.quirozchile-section {
    padding: 80px 0;
}

/* Títulos de sección con líneas */
h2.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

h2.section-title::after {
    content: '' !important;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b) !important;
    border-radius: 2px;
    display: block !important;
}

/* Alternativa con elemento real */
.section-title-line {
    width: 60px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #fbbf24, #f59e0b) !important;
    border-radius: 2px !important;
    margin: 10px auto 30px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Tarjetas de información de contacto */
.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.contact-info-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-action {
    margin-top: 20px;
}

/* Formulario de contacto */
.form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.form-header p {
    color: #6b7280;
    font-size: 1.1rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control:invalid {
    border-color: #ef4444;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check-input {
    margin-top: 4px;
}

.form-check-label {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

.form-check-label a {
    color: #3b82f6;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    color: white;
}

/* Horarios y ubicación */
.schedule-card, .map-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    height: 100%;
}

.schedule-header, .map-header {
    margin-bottom: 25px;
}

.schedule-header h3, .map-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-header i, .map-header i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.schedule-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
    color: #374151;
}

.time {
    color: #6b7280;
    font-size: 0.9rem;
}

.map-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.map-placeholder i {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 20px;
}

.map-placeholder p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Tarjetas de sucursales */
.sucursal-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.sucursal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.sucursal-header {
    margin-bottom: 20px;
}

.sucursal-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.sucursal-header i {
    color: #f59e0b;
    font-size: 1.1rem;
}

.location {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-details {
    margin-bottom: 20px;
}

.contact-details p {
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.contact-details i {
    color: #3b82f6;
    width: 16px;
    font-size: 0.9rem;
}

.sucursal-action {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Información de Contacto */
.contacto-info {
    background: #f8fafc;
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #a855f7;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 30px;
}

.contact-info-card h3 {
    color: #7c3aed;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.contact-info-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-action {
    margin-top: 20px;
}

/* Formulario de Contacto */
.contacto-form {
    background: white;
}

.form-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: #7c3aed;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 0.2rem rgba(168, 85, 247, 0.25);
    outline: none;
}

.form-check {
    margin-top: 20px;
}

.form-check-input:checked {
    background-color: #a855f7;
    border-color: #a855f7;
}

.form-check-label {
    color: #64748b;
    font-size: 0.9rem;
}

.form-check-label a {
    color: #7c3aed;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.btn-primary {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

.btn-outline-primary {
    color: #7c3aed;
    border-color: #7c3aed;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #7c3aed;
    border-color: #7c3aed;
    color: white;
}

/* Horarios y Ubicación */
.contacto-schedule {
    background: #f8fafc;
}

.schedule-card,
.map-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.schedule-header h3,
.map-header h3 {
    color: #7c3aed;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.schedule-header i,
.map-header i {
    color: #a855f7;
    margin-right: 10px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.schedule-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
    color: #7c3aed;
}

.time {
    color: #64748b;
    font-weight: 500;
}

.map-placeholder {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    color: #64748b;
}

.map-placeholder i {
    font-size: 40px;
    color: #a855f7;
    margin-bottom: 15px;
}

.map-placeholder p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Sucursales */
.contacto-sucursales {
    background: white;
}

.sucursal-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sucursal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #a855f7;
}

.sucursal-header h4 {
    color: #7c3aed;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.sucursal-header h4 i {
    color: #a855f7;
    margin-right: 10px;
}

.location {
    color: #a855f7;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 8px;
    color: #475569;
    display: flex;
    align-items: center;
}

.contact-details i {
    color: #a855f7;
    margin-right: 10px;
    width: 16px;
}

.sucursal-action {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .contact-info-card {
        padding: 30px 20px;
    }
    
    .form-container {
        padding: 40px 20px;
    }
    
    .schedule-card,
    .map-card {
        padding: 30px 20px;
    }
    
    .sucursal-card {
        padding: 25px 20px;
    }
    
    .quirozchile-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .form-control {
        padding: 10px 12px;
    }
    
    .btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}