/* ===================== Página: Contacto ==================== */

body { background: #f5f5f0; }

nav { border-bottom: 4px solid #ef4444; }

.hero-contacto {
    background: #f5f5f0;
    padding: 60px;
    text-align: center;
}

.hero-contacto-title {
    font-size: 48px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.hero-contacto-title::before,
.hero-contacto-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 150px;
    height: 2px;
    background: #1e293b;
}

.hero-contacto-title::before { right: 100%; margin-right: 20px; }
.hero-contacto-title::after { left: 100%; margin-left: 20px; }

.hero-contacto-desc {
    font-size: 18px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.contacto-section {
    padding: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.map-container {
    background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%);
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.map-container iframe { width: 100%; height: 100%; min-height: 600px; }

.info-container {
    background: #1e293b;
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: #ef4444;
}

.info-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.info-text { font-size: 15px; line-height: 1.6; }

.info-text a { color: white; text-decoration: none; transition: color 0.3s; }
.info-text a:hover { color: #ef4444; }

.form-section {
    background: #1e293b;
    color: white;
    padding: 50px 40px;
}

.form-title { font-size: 24px; font-weight: 700; margin-bottom: 30px; }

.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.form-label .required { color: #ef4444; }

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    background: white;
    color: #1e293b;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
}

.form-input::placeholder,
.form-textarea::placeholder { color: #94a3b8; }

.form-input:focus,
.form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3);
}

.form-textarea { resize: vertical; min-height: 120px; }

.char-count {
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 5px;
    text-align: right;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.form-checkbox input { width: 18px; height: 18px; cursor: pointer; }
.form-checkbox label { font-size: 14px; cursor: pointer; }

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

@media (max-width: 1024px) {
    .contacto-section { padding: 40px; }
    .contacto-container { grid-template-columns: 1fr; }
    .map-container, .map-container iframe { min-height: 400px; }
}

@media (max-width: 768px) {
    .hero-contacto { padding: 40px 20px; }
    .hero-contacto-title { font-size: 32px; }
    .hero-contacto-title::before,
    .hero-contacto-title::after { display: none; }
    .contacto-section { padding: 20px; }
    .info-container, .form-section { padding: 30px 20px; }
}
